// // KMGlobal.swift // PDF Master // // Created by wanjun on 2022/12/21. // import Cocoa class KMGlobal: NSObject { var sizing: [String : Any] = [:] var spacing: [String : Any] = [:] var color: [String : Any] = [:] var border_radius: [String : Any] = [:] var border_width: [String : Any] = [:] var shadow: [String : Any] = [:] var text_mac: [String : Any] = [:] var text_windows: [String : Any] = [:] } // MARK: sizing class KMGlobal_sizing: NSObject { var sizing1: [String : Any] = [:] var sizing4: [String : Any] = [:] var sizing8: [String : Any] = [:] var sizing10: [String : Any] = [:] var sizing12: [String : Any] = [:] var sizing14: [String : Any] = [:] var sizing16: [String : Any] = [:] var sizing18: [String : Any] = [:] var sizing20: [String : Any] = [:] var sizing21: [String : Any] = [:] var sizing22: [String : Any] = [:] var sizing24: [String : Any] = [:] var sizing26: [String : Any] = [:] var sizing28: [String : Any] = [:] var sizing30: [String : Any] = [:] var sizing32: [String : Any] = [:] var sizing34: [String : Any] = [:] var sizing36: [String : Any] = [:] var sizing40: [String : Any] = [:] var sizing48: [String : Any] = [:] var sizing50: [String : Any] = [:] var sizing58: [String : Any] = [:] var sizing60: [String : Any] = [:] var sizing64: [String : Any] = [:] var sizing68: [String : Any] = [:] var sizing72: [String : Any] = [:] var sizing110: [String : Any] = [:] var sizing116: [String : Any] = [:] var sizing120: [String : Any] = [:] var sizing132: [String : Any] = [:] var sizing139: [String : Any] = [:] var sizing180: [String : Any] = [:] var sizing200: [String : Any] = [:] var sizing228: [String : Any] = [:] var sizing260: [String : Any] = [:] } // MARK: spacing class KMGlobal_spacing: NSObject { var spacing0: [String : Any] = [:] var spacing1: [String : Any] = [:] var spacing2: [String : Any] = [:] var spacing4: [String : Any] = [:] var spacing5: [String : Any] = [:] var spacing6: [String : Any] = [:] var spacing8: [String : Any] = [:] var spacing10: [String : Any] = [:] var spacing12: [String : Any] = [:] var spacing16: [String : Any] = [:] var spacing24: [String : Any] = [:] var spacing32: [String : Any] = [:] var spacing40: [String : Any] = [:] var spacing56: [String : Any] = [:] var spacing64: [String : Any] = [:] var spacing80: [String : Any] = [:] var spacing88: [String : Any] = [:] } // MARK: color class KMGlobal_color: NSObject { var light: [String : Any] = [:] var dark: [String : Any] = [:] } // MARK: border-radius class KMGlobal_borderRadius: NSObject { var number2: [String : Any] = [:] var number4: [String : Any] = [:] var number6: [String : Any] = [:] var number8: [String : Any] = [:] var number10: [String : Any] = [:] var number12: [String : Any] = [:] var number16: [String : Any] = [:] var number20: [String : Any] = [:] } // MARK: border-Width class KMGlobal_borderWidth: NSObject { var number1: [String : Any] = [:] var number2: [String : Any] = [:] } // MARK: shadow class KMGlobal_shadow: NSObject { var black_2_2: [String : Any] = [:] var black_4_8: [String : Any] = [:] var black_2_8: [String : Any] = [:] var blue_0_4: [String : Any] = [:] var red_0_4: [String : Any] = [:] } // MARK: text-mac class KMGlobal_textMac: NSObject { var regular: [String : Any] = [:] var semibold: [String : Any] = [:] } // MARK: text-Windows class KMGlobal_textWindows: NSObject { var regular: [String : Any] = [:] var semibold: [String : Any] = [:] } // MARK: - class KMGlobal_number: NSObject { var number11: [String : Any] = [:] var number12: [String : Any] = [:] var number14: [String : Any] = [:] var number16: [String : Any] = [:] var number20: [String : Any] = [:] } class KMGlobal_colorNumber: NSObject { var number1: [String : Any] = [:] var number2: [String : Any] = [:] var number3: [String : Any] = [:] var number4: [String : Any] = [:] var number5: [String : Any] = [:] var number6: [String : Any] = [:] var number7: [String : Any] = [:] var number8: [String : Any] = [:] var number9: [String : Any] = [:] var number10: [String : Any] = [:] var number11: [String : Any] = [:] var number12: [String : Any] = [:] } class KMGlobal_colorValue: NSObject { var blue: [String : Any] = [:] var gray: [String : Any] = [:] var navy_blue: [String : Any] = [:] var green: [String : Any] = [:] var gold: [String : Any] = [:] var red: [String : Any] = [:] var orange: [String : Any] = [:] var cyan: [String : Any] = [:] var purple: [String : Any] = [:] var pink: [String : Any] = [:] } // MARK: Final data class KMGlobal_valueType: NSObject { var value: [String : Any] = [:] var type: [String : String] = [:] } class KMGlobal_UIValue: NSObject { var fontFamily: [String : String] = [:] var fontWeight: [String : String] = [:] var lineHeight: [String : String] = [:] var fontSize: [String : String] = [:] var x: [String : String] = [:] var y: [String : String] = [:] var blur: [String : String] = [:] var spread: [String : String] = [:] var color: [String : String] = [:] var type: [String : String] = [:] } // MARK: PDF Master 初版数据 @objcMembers class KMBoxShadowValue: NSObject { var x : String = "" var y : String = "" var blur : String = "" var spread : String = "" var color : NSColor = .clear var type : String = "" } @objcMembers class KMTypographyValue: NSObject { var fontFamily : String = "" var fontWeight : String = "" var lineHeight : String = "" var fontSize : String = "" } @objcMembers class KMBorderValue: NSObject { }