123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345 |
- //
- // KMCompLight.swift
- // PDF Reader Pro
- //
- // Created by wanjun on 2022/12/21.
- //
- import Cocoa
- class KMCompLight: NSObject {
- var btn : [String: KMCompLight_btn]?
- var dropdown : [String : KMCompLight_dropdown]?
- var navmenu : [String : KMCompLight_navmenu]?
- var multi_tab : [String : KMCompLight_multiTab]?
- var checkbox_radio : [String : KMCompLight_checkboxRadio]?
- var input : [String : KMCompLight_input]?
- var pagination : [String : KMCompLight_pagination]?
- var select : [String : KMCompLight_select]?
- var slider : [String : KMCompLight_slider]?
- var stepper : [String : KMCompLight_stepper]?
- var badge : [String : KMCompLight_badge]?
- var card : [String : KMCompLight_card]?
- var collapse : [String : KMCompLight_collapse]?
- var list : [String : KMCompLight_list]?
- var progress : [String : KMCompLight_progress]?
- var segmented : [String : KMCompLight_segmented]?
- var tree : [String : KMCompLight_tree]?
- var alert : [String : KMCompLight_alert]?
- var drawer : [String : KMCompLight_drawer]?
- var notification : [String : KMCompLight_notification]?
- var table : [String : KMCompLight_table]?
- var divider : [String : KMCompLight_divider]?
- }
- // MARK: - btn
- class KMCompLight_btn: NSObject {
- var cta : [String: Any]?
- var brand : [String : Any]?
- var sec : [String : Any]?
- var ghost : [String : Any]?
- var link : [String : Any]?
- var upgrade : [String : Any]?
- var icon_fill : [String : Any]?
- var sec_icon : [String : Any]?
- }
- // MARK: - dropdown
- class KMCompLight_dropdown: NSObject {
- var s : [String : Any]?
- var m : [String : Any]?
- }
- // MARK: - navmenu
- class KMCompLight_navmenu: NSObject {
- var mac_text : [String : Any]?
- var base : [String : Any]?
- var has_icon : [String : Any]?
- var win_text : [String : Any]?
- }
- // MARK: - multiTab
- class KMCompLight_multiTab: NSObject {
- var bg : [String : Any]?
- var mac_text : [String : Any]?
- var win_text : [String : Any]?
- }
- // MARK: - checkboxRadio
- class KMCompLight_checkboxRadio: NSObject {
- var bg : [String : Any]?
- var mac_text : [String : Any]?
- var win_text : [String : Any]?
- }
- // MARK: - input
- class KMCompLight_input: NSObject {
- var m : [String : Any]?
- var tips : [String : Any]?
- var s : [String : Any]?
- }
- // MARK: - pagination
- class KMCompLight_pagination: NSObject {
- var simple : [String : Any]?
- var multiple : [String : Any]?
- }
- // MARK: - select
- class KMCompLight_select: NSObject {
- var s : [String : Any]?
- var m : [String : Any]?
- var simple : [String : Any]?
- }
- // MARK: - slider
- class KMCompLight_slider: NSObject {
- var knob : [String : Any]?
- var track : [String : Any]?
- var track_filled : [String : Any]?
- }
- // MARK: - stepper
- class KMCompLight_stepper: NSObject {
- var item_spacing : [String : Any]?
- var mac_text : [String : Any]?
- var bg : [String : Any]?
- var arrow : [String : Any]?
- var win_text : [String : Any]?
- }
- // MARK: - badge
- class KMCompLight_badge: NSObject {
- var dot : [String : Any]?
- var text : [String : Any]?
- }
- // MARK: - card
- class KMCompLight_card: NSObject {
- var has_desc : [String : Any]?
- var simple : [String : Any]?
- var mac_text : [String : Any]?
- var item_spacing : [String : Any]?
- var win_text : [String : Any]?
- }
- // MARK: - collapse
- class KMCompLight_collapse: NSObject {
- var ad_list : [String : Any]?
- var bota_list : [String : Any]?
- }
- // MARK: - list
- class KMCompLight_list: NSObject {
- var bookmark : [String : Any]?
- var markup_header : [String : Any]?
- var markup_note : [String : Any]?
- }
- // MARK: - progress
- class KMCompLight_progress: NSObject {
- var popup : [String : Any]?
- var loading : [String : Any]?
- }
- // MARK: - segmented
- class KMCompLight_segmented: NSObject {
- var bg : [String : Any]?
- var bg_item : [String : Any]?
- var mac_text : [String : Any]?
- var win_text : [String : Any]?
- }
- // MARK: - tree
- class KMCompLight_tree: NSObject {
- var base : [String : Any]?
- var mac_text : [String : Any]?
- var rename : [String : Any]?
- var has_arrow : [String : Any]?
- var win_text : [String : Any]?
- }
- // MARK: - alert
- class KMCompLight_alert: NSObject {
- var mac_text : [String : Any]?
- var win_text : [String : Any]?
- var bg : [String : Any]?
- var item_spacing : [String : Any]?
- }
- // MARK: - drawer
- class KMCompLight_drawer: NSObject {
- var bg : [String : Any]?
- var mac_text : [String : Any]?
- var win_text : [String : Any]?
- var item_spacing : [String : Any]?
- }
- // MARK: - notification
- class KMCompLight_notification: NSObject {
- var toast : [String : Any]?
- var modal : [String : Any]?
- }
- // MARK: - table
- class KMCompLight_table: NSObject {
- var header : [String : Any]?
- var mac_text : [String : Any]?
- var list : [String : Any]?
- var win_text : [String : Any]?
- }
- // MARK: - divider
- class KMCompLight_divider: NSObject {
- var horiz : [String : Any]?
- var vert : [String : Any]?
- }
- // MARK: - Child Node
- class KMCompLight_sizeNode: NSObject {
- var s : [String: Any] = [:]
- var m : [String: Any] = [:]
- var l : [String: Any] = [:]
- }
- class KMCompLight_tableListNode: NSObject {
- var file : [String: Any] = [:]
- var batch : [String: Any] = [:]
- }
- class KMCompLight_UIAttribute: NSObject {
- var mac_text : [String : Any] = [:]
- var bg : [String : Any] = [:]
- var win_text : [String : Any] = [:]
- var mac_text_title : [String : Any] = [:]
- var mac_text_desc : [String : Any] = [:]
- var win_text_title : [String : Any] = [:]
- var win_text_desc : [String : Any] = [:]
- var item_spacing : [String : Any] = [:]
- var progress_bar : [String : Any] = [:]
- var bg_item : [String : Any] = [:]
- var bg_text : [String : Any] = [:]
- var bg_field : [String : Any] = [:]
- }
- class KMCompLight_progressBar: NSObject {
- var track : [String : Any] = [:]
- var track_filled : [String : Any] = [:]
- }
- class KMCompLight_baseNode: NSObject {
- var parent : [String : Any] = [:]
- var children_lv2 : [String : Any] = [:]
- var children_lv3 : [String : Any] = [:]
- var children_lv4 : [String : Any] = [:]
- }
- class KMCompLight_valueType: NSObject {
- var value : [String : Any] = [:]
- var type : [String : String] = [:]
- }
- class KMCompLight_UIState: NSObject {
- var norm : [String : Any] = [:]
- var hov : [String : Any] = [:]
- var act : [String : Any] = [:]
- var dis : [String : Any] = [:]
- var sel : [String : Any] = [:]
- var placeholder : [String : Any] = [:]
- var focus : [String : Any] = [:]
- var error_def : [String : Any] = [:]
- var error_focus : [String : Any] = [:]
- var error : [String : Any] = [:]
- var none : [String : Any] = [:]
- var custom : [String : Any] = [:]
- var move : [String : Any] = [:]
- var change : [String : Any] = [:]
- var title : [String : Any] = [:]
- var desc : [String : Any] = [:]
- var unsel : [String : Any] = [:]
- var main : [String : Any] = [:]
- var def : [String : Any] = [:]
- var info : [String : Any] = [:]
- var warning : [String : Any] = [:]
- var item : [String : Any] = [:]
- var item1 : [String : Any] = [:]
- var item2 : [String : Any] = [:]
- var item3 : [String : Any] = [:]
- }
- class KMCompLight_UIValue: NSObject {
- var height : [String : String] = [:]
- var horizontalPadding : [String : String] = [:]
- var fill : [String : String] = [:]
- var typography : [String : String] = [:]
- var borderRadius : [String : String] = [:]
- var itemSpacing : [String : String] = [:]
- var borderWidth : [String : String] = [:]
- var border : [String : String] = [:]
- var borderRadiusTopLeft : [String : String] = [:]
- var borderRadiusTopRight : [String : String] = [:]
- var borderWidthBottom : [String : String] = [:]
- var boxShadow : [String : String] = [:]
- var paddingLeft : [String : String] = [:]
- var paddingRight : [String : String] = [:]
- var paddingTop : [String : String] = [:]
- var paddingBottom : [String : String] = [:]
- }
- // MARK: PDF Reader Pro 初版数据
- class KMDesignTokenValue: NSObject {
- var sizing : Any = "" // 控件大小,圆形控件
- var height : Any = "" // (常用)高度
- var width : Any = "" // (常用)宽度
- var spacing : Any = "" // (常用)组件内控件与边框 上下左右 距离
- var verticalPadding : Any = "" // (常用)组件内控件与边框 垂直(上下)距离
- var horizontalPadding : Any = "" // (常用)组件内控件与边框 水平(左右)距离
- var paddingTop : Any = "" // 组件内控件与边框 上 边距
- var paddingRight : Any = "" // 组件内控件与边框 右 边距
- var paddingBottom : Any = "" // 间距, 组件内控件与边框 下 边距
- var paddingLeft : Any = "" // 间距, 组件内控件与边框 左 边距
- var itemSpacing : Any = "" // 组件内多个控件间距,多个控件水平排列,属于水平间距;多个控件垂直排列,属于垂直间距
- var fill : Any = "" // (常用)填充颜色
- var border : Any = "" // (常用)边框属性合集,包括边框颜色、边框宽度、边框样式(虚线/直线)
- var borderColor : Any = "" // (常用)边框颜色
- var borderTop : Any = "" // 上边框颜色
- var borderRight : Any = "" // 右边框颜色
- var borderBottom : Any = "" // 下边框颜色
- var borderLeft : Any = "" // 左边框颜色
- var borderRadius : Any = "" // (常用)圆角大小
- var borderRadiusTopLeft : Any = "" // 左上圆角大小
- var borderRadiusTopRight : Any = "" // 右上圆角大小
- var borderRadiusBottomRight : Any = "" // 右下圆角大小
- var borderRadiusBottomLeft : Any = "" // 左下圆角大小
- var borderWidth : Any = "" // (常用)边框宽度
- var borderWidthTop : Any = "" // 上边框宽度
- var borderWidthRight : Any = "" // 右边框宽度
- var borderWidthBottom : Any = "" // 下边框宽度
- var borderWidthLeft : Any = "" // 左边框宽度
- var boxShadow : Any = "" // 包含x/y 倾斜度、blur(模糊间距)
- var typography : Any = "" // (常用)字体合集,包含字体/大小/字重/行高
- }
|