dfish-widget 1.1.12 → 2.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/README.md +26 -28
  2. package/css/style.css +1 -1
  3. package/lib/assets/entity.d.ts +1 -0
  4. package/lib/dfish.d.ts +22 -0
  5. package/lib/directive/dialog-move.d.ts +5 -0
  6. package/lib/directive/form-ignore.d.ts +6 -0
  7. package/lib/directive/index.d.ts +1 -0
  8. package/lib/directive/label-width.d.ts +6 -0
  9. package/lib/directive/tip.d.ts +4 -0
  10. package/lib/index.cjs.js +46 -1
  11. package/lib/index.d.ts +6 -0
  12. package/lib/index.esm.js +10870 -1
  13. package/lib/template/TemplateAlert.vue.d.ts +41 -0
  14. package/lib/template/TemplateConfirm.vue.d.ts +43 -0
  15. package/lib/template/TemplateDateSheet.vue.d.ts +59 -0
  16. package/lib/template/TemplateJigsaw.vue.d.ts +20 -0
  17. package/lib/template/TemplatePreviewMedia.vue.d.ts +14 -0
  18. package/lib/template/TemplateTip.vue.d.ts +23 -0
  19. package/lib/util/browser.d.ts +44 -0
  20. package/lib/util/css.d.ts +2 -0
  21. package/lib/util/date.d.ts +10 -0
  22. package/lib/util/elem.d.ts +8 -0
  23. package/lib/util/event.d.ts +18 -0
  24. package/lib/util/json.d.ts +3 -0
  25. package/lib/util/loc/zh-CN.d.ts +155 -0
  26. package/lib/util/mime.d.ts +1 -0
  27. package/lib/util/number.d.ts +9 -0
  28. package/lib/util/range.d.ts +6 -0
  29. package/lib/util/snap.d.ts +5 -0
  30. package/lib/util/str.d.ts +14 -0
  31. package/lib/util/uid.d.ts +1 -0
  32. package/lib/util/v-directive.d.ts +8 -0
  33. package/lib/widgets/Album.vue.d.ts +167 -0
  34. package/lib/widgets/Alert.vue.d.ts +334 -0
  35. package/lib/widgets/AlignParent.vue.d.ts +20 -0
  36. package/lib/widgets/Button.vue.d.ts +150 -0
  37. package/lib/widgets/ButtonAbs.vue.d.ts +171 -0
  38. package/lib/widgets/ButtonBar.vue.d.ts +177 -0
  39. package/lib/widgets/Calendar.vue.d.ts +202 -0
  40. package/lib/widgets/CheckBox.vue.d.ts +293 -0
  41. package/lib/widgets/CheckBoxGroup.vue.d.ts +254 -0
  42. package/lib/widgets/ComboBox.vue.d.ts +296 -0
  43. package/lib/widgets/Confirm.vue.d.ts +338 -0
  44. package/lib/widgets/DatePicker.vue.d.ts +353 -0
  45. package/lib/widgets/Dialog.vue.d.ts +331 -0
  46. package/lib/widgets/DialogTarget.vue.d.ts +17 -0
  47. package/lib/widgets/DocView.vue.d.ts +129 -0
  48. package/lib/widgets/DropBox.vue.d.ts +254 -0
  49. package/lib/widgets/FileUpload.vue.d.ts +324 -0
  50. package/lib/widgets/Form.vue.d.ts +226 -0
  51. package/lib/widgets/FormBase.vue.d.ts +232 -0
  52. package/lib/widgets/FormGroup.vue.d.ts +241 -0
  53. package/lib/widgets/Grid.vue.d.ts +168 -0
  54. package/lib/widgets/Hidden.vue.d.ts +210 -0
  55. package/lib/widgets/Horizontal.vue.d.ts +153 -0
  56. package/lib/widgets/Html.vue.d.ts +97 -0
  57. package/lib/widgets/ImageUpload.vue.d.ts +328 -0
  58. package/lib/widgets/Img.vue.d.ts +136 -0
  59. package/lib/widgets/Jigsaw.vue.d.ts +255 -0
  60. package/lib/widgets/Label.vue.d.ts +108 -0
  61. package/lib/widgets/Leaf.vue.d.ts +158 -0
  62. package/lib/widgets/LinkBox.vue.d.ts +295 -0
  63. package/lib/widgets/Loading.vue.d.ts +306 -0
  64. package/lib/widgets/MediaUpload.vue.d.ts +326 -0
  65. package/lib/widgets/MediaUploadItem.vue.d.ts +27 -0
  66. package/lib/widgets/Menu.vue.d.ts +318 -0
  67. package/lib/widgets/MenuButton.vue.d.ts +163 -0
  68. package/lib/widgets/Option.vue.d.ts +93 -0
  69. package/lib/widgets/PageBar.vue.d.ts +248 -0
  70. package/lib/widgets/Password.vue.d.ts +267 -0
  71. package/lib/widgets/PickBox.vue.d.ts +261 -0
  72. package/lib/widgets/Progress.vue.d.ts +93 -0
  73. package/lib/widgets/PubParent.vue.d.ts +18 -0
  74. package/lib/widgets/Radio.vue.d.ts +297 -0
  75. package/lib/widgets/RadioGroup.vue.d.ts +239 -0
  76. package/lib/widgets/Range.vue.d.ts +223 -0
  77. package/lib/widgets/Rate.vue.d.ts +246 -0
  78. package/lib/widgets/Scroll.vue.d.ts +129 -0
  79. package/lib/widgets/SlidePicker.vue.d.ts +125 -0
  80. package/lib/widgets/Slider.vue.d.ts +238 -0
  81. package/lib/widgets/SlotDefault.vue.d.ts +17 -0
  82. package/lib/widgets/Spinner.vue.d.ts +317 -0
  83. package/lib/widgets/Split.vue.d.ts +110 -0
  84. package/lib/widgets/SrcParent.vue.d.ts +24 -0
  85. package/lib/widgets/Swiper.vue.d.ts +117 -0
  86. package/lib/widgets/SwiperItem.vue.d.ts +91 -0
  87. package/lib/widgets/Switch.vue.d.ts +236 -0
  88. package/lib/widgets/Tab.vue.d.ts +2 -0
  89. package/lib/widgets/TabBar.vue.d.ts +235 -0
  90. package/lib/widgets/TabButton.vue.d.ts +151 -0
  91. package/lib/widgets/Table.vue.d.ts +109 -0
  92. package/lib/widgets/TableColumn.vue.d.ts +13 -0
  93. package/lib/widgets/TableColumns.vue.d.ts +2 -0
  94. package/lib/widgets/TableTBody.vue.d.ts +246 -0
  95. package/lib/widgets/TableTD.vue.d.ts +34 -0
  96. package/lib/widgets/TableTH.vue.d.ts +125 -0
  97. package/lib/widgets/TableTHead.vue.d.ts +112 -0
  98. package/lib/widgets/TableTR.vue.d.ts +130 -0
  99. package/lib/widgets/TableV2.vue.d.ts +85 -0
  100. package/lib/widgets/Tabs.vue.d.ts +115 -0
  101. package/lib/widgets/Text.vue.d.ts +262 -0
  102. package/lib/widgets/Textarea.vue.d.ts +252 -0
  103. package/lib/widgets/Timeline.vue.d.ts +147 -0
  104. package/lib/widgets/TimelineItem.vue.d.ts +101 -0
  105. package/lib/widgets/Tip.vue.d.ts +328 -0
  106. package/lib/widgets/Toggle.vue.d.ts +120 -0
  107. package/lib/widgets/Tree.vue.d.ts +163 -0
  108. package/lib/widgets/TreeV2.vue.d.ts +75 -0
  109. package/lib/widgets/TreeV2Wrap.vue.d.ts +155 -0
  110. package/lib/widgets/TripleBox.vue.d.ts +304 -0
  111. package/lib/widgets/Vertical.vue.d.ts +150 -0
  112. package/lib/widgets/Video.vue.d.ts +94 -0
  113. package/lib/widgets/View.vue.d.ts +197 -0
  114. package/lib/widgets/ViewAbs.vue.d.ts +48 -0
  115. package/lib/widgets/WidgetAbs.vue.d.ts +87 -0
  116. package/lib/widgets/WidgetBase.vue.d.ts +72 -0
  117. package/lib/widgets/index.d.ts +2 -0
  118. package/package.json +11 -25
  119. package/css/f/iconfont.ttf +0 -0
  120. package/css/f/iconfont.woff +0 -0
  121. package/css/f/iconfont.woff2 +0 -0
  122. package/css/g/f.png +0 -0
  123. package/css/g/i.png +0 -0
  124. package/css/reset.css +0 -32
@@ -0,0 +1,110 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ /** 折叠状态图标 */
4
+ collapsedIcon: PropType<string>;
5
+ /** 展开状态图标 */
6
+ expandedIcon: PropType<string>;
7
+ /** 是否可拖动 */
8
+ movable: PropType<boolean>;
9
+ /** 拖动范围 */
10
+ range: PropType<any>;
11
+ /** 是否作用于后一个元素 */
12
+ toNext: PropType<boolean>;
13
+ /** 是否展开 */
14
+ expanded: PropType<boolean>;
15
+ }>, {}, {}, {
16
+ inVertical(): boolean;
17
+ html_props(): {
18
+ class: (string | {
19
+ 'z-tonext': any;
20
+ })[];
21
+ };
22
+ }, {
23
+ toggle(exp: any): void;
24
+ dragstart(e: any): void;
25
+ html_slots(): any[];
26
+ }, import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
27
+ data: PropType<any>;
28
+ width: PropType<string | number>;
29
+ height: PropType<string | number>;
30
+ colspan: PropType<number>;
31
+ rowspan: PropType<number>;
32
+ ownproperty: PropType<boolean>;
33
+ orientUid: PropType<string>;
34
+ }>, {}, {
35
+ isWidget: boolean;
36
+ uid: any;
37
+ runtimeX: {};
38
+ x: any;
39
+ }, {
40
+ dfish(): import('../dfish').Dfish;
41
+ ownerView(): any;
42
+ pubParent(): any;
43
+ parentNode(): any;
44
+ tagName(): "div";
45
+ html_attrs(): {
46
+ id: any;
47
+ class: any[];
48
+ style: any[];
49
+ 'w-key': any;
50
+ 'w-width': string;
51
+ 'w-height': string;
52
+ };
53
+ html_style(): void;
54
+ html_class(): void;
55
+ html_props(): void;
56
+ html_binds(): {
57
+ [x: string]: unknown;
58
+ };
59
+ }, {
60
+ x_default(): void;
61
+ getDefaultProp(): any;
62
+ attr(name: any, value: any): any;
63
+ ajax(cmd: any): any;
64
+ submit(request: any, cmd: any): Promise<unknown>;
65
+ pop(template: any, props: any, options: any): any;
66
+ closePop(template: any): void;
67
+ createEvent(type: any, props: any): any;
68
+ trigger(ev: any, ...args: any[]): void;
69
+ getOn(type: any): any;
70
+ getKey(): any;
71
+ closest(target: any, range: any): any;
72
+ contains(a: any): any;
73
+ el(a: any): any;
74
+ snapElem(): any;
75
+ scrollIntoView(opt?: any): void;
76
+ hasBubble(a: any): any;
77
+ bind(name: any, fn: any): any;
78
+ slots_children(name: any): any;
79
+ slot(name?: string): any;
80
+ html_icon(src: any, cls: any, onclick: any): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
81
+ [key: string]: any;
82
+ }>;
83
+ html_slots(): any;
84
+ html_self(a: any): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
85
+ [key: string]: any;
86
+ }>;
87
+ html(): any;
88
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
89
+ data: PropType<any>;
90
+ width: PropType<string | number>;
91
+ height: PropType<string | number>;
92
+ colspan: PropType<number>;
93
+ rowspan: PropType<number>;
94
+ ownproperty: PropType<boolean>;
95
+ orientUid: PropType<string>;
96
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
97
+ /** 折叠状态图标 */
98
+ collapsedIcon: PropType<string>;
99
+ /** 展开状态图标 */
100
+ expandedIcon: PropType<string>;
101
+ /** 是否可拖动 */
102
+ movable: PropType<boolean>;
103
+ /** 拖动范围 */
104
+ range: PropType<any>;
105
+ /** 是否作用于后一个元素 */
106
+ toNext: PropType<boolean>;
107
+ /** 是否展开 */
108
+ expanded: PropType<boolean>;
109
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
110
+ export default _default;
@@ -0,0 +1,24 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ /** 数据源(URL 字符串或返回 Promise 的函数) */
4
+ src: PropType<any>;
5
+ /** 子节点数据 */
6
+ children: PropType<any>;
7
+ /** 父项数据 */
8
+ parentItem: PropType<any>;
9
+ }>, {}, {
10
+ loading: boolean;
11
+ loaded: boolean;
12
+ }, {}, {
13
+ getSrc(): any;
14
+ request(fn: any): any;
15
+ showLoading(a: any): void;
16
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ /** 数据源(URL 字符串或返回 Promise 的函数) */
18
+ src: PropType<any>;
19
+ /** 子节点数据 */
20
+ children: PropType<any>;
21
+ /** 父项数据 */
22
+ parentItem: PropType<any>;
23
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
24
+ export default _default;
@@ -0,0 +1,117 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ /** 是否显示左右切换箭头 */
4
+ arrow: PropType<boolean>;
5
+ /** 是否显示指示圆点 */
6
+ indicatorDots: PropType<boolean>;
7
+ /** 切换动画时长(毫秒) */
8
+ duration: PropType<number>;
9
+ }>, {}, {
10
+ focusIndex: any;
11
+ }, {
12
+ html_class(): {
13
+ 'z-at-first': boolean;
14
+ 'z-at-last': boolean;
15
+ };
16
+ html_style(): {
17
+ '--w-swiper-translate-x': string;
18
+ '--w-swiper-transition': string | number;
19
+ };
20
+ }, {
21
+ setFocus(a: any): void;
22
+ getCurrentItem(): any;
23
+ clickArrow(a: any): void;
24
+ clickIndicator(a: any): void;
25
+ html_slots(): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
26
+ [key: string]: any;
27
+ }>[];
28
+ }, import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
29
+ data: PropType<any>;
30
+ width: PropType<string | number>;
31
+ height: PropType<string | number>;
32
+ colspan: PropType<number>;
33
+ rowspan: PropType<number>;
34
+ ownproperty: PropType<boolean>;
35
+ orientUid: PropType<string>;
36
+ }>, {}, {
37
+ isWidget: boolean;
38
+ uid: any;
39
+ runtimeX: {};
40
+ x: any;
41
+ }, {
42
+ dfish(): import('../dfish').Dfish;
43
+ ownerView(): any;
44
+ pubParent(): any;
45
+ parentNode(): any;
46
+ tagName(): "div";
47
+ html_attrs(): {
48
+ id: any;
49
+ class: any[];
50
+ style: any[];
51
+ 'w-key': any;
52
+ 'w-width': string;
53
+ 'w-height': string;
54
+ };
55
+ html_style(): void;
56
+ html_class(): void;
57
+ html_props(): void;
58
+ html_binds(): {
59
+ [x: string]: unknown;
60
+ };
61
+ }, {
62
+ x_default(): void;
63
+ getDefaultProp(): any;
64
+ attr(name: any, value: any): any;
65
+ ajax(cmd: any): any;
66
+ submit(request: any, cmd: any): Promise<unknown>;
67
+ pop(template: any, props: any, options: any): any;
68
+ closePop(template: any): void;
69
+ createEvent(type: any, props: any): any;
70
+ trigger(ev: any, ...args: any[]): void;
71
+ getOn(type: any): any;
72
+ getKey(): any;
73
+ closest(target: any, range: any): any;
74
+ contains(a: any): any;
75
+ el(a: any): any;
76
+ snapElem(): any;
77
+ scrollIntoView(opt?: any): void;
78
+ hasBubble(a: any): any;
79
+ bind(name: any, fn: any): any;
80
+ slots_children(name: any): any;
81
+ slot(name?: string): any;
82
+ html_icon(src: any, cls: any, onclick: any): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
83
+ [key: string]: any;
84
+ }>;
85
+ html_slots(): any;
86
+ html_self(a: any): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
87
+ [key: string]: any;
88
+ }>;
89
+ html(): any;
90
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
91
+ data: PropType<any>;
92
+ width: PropType<string | number>;
93
+ height: PropType<string | number>;
94
+ colspan: PropType<number>;
95
+ rowspan: PropType<number>;
96
+ ownproperty: PropType<boolean>;
97
+ orientUid: PropType<string>;
98
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<import('vue').ExtractPropTypes<{
99
+ pub: PropType<any>;
100
+ current: PropType<any>;
101
+ }>, {}, {}, {}, {
102
+ inCurrent(target: any): any;
103
+ isCurrentChild(current: any, target: any): true;
104
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
105
+ pub: PropType<any>;
106
+ current: PropType<any>;
107
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, () => {
108
+ providePubParent: any;
109
+ }, true, {}, any>, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
110
+ /** 是否显示左右切换箭头 */
111
+ arrow: PropType<boolean>;
112
+ /** 是否显示指示圆点 */
113
+ indicatorDots: PropType<boolean>;
114
+ /** 切换动画时长(毫秒) */
115
+ duration: PropType<number>;
116
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
117
+ export default _default;
@@ -0,0 +1,91 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ /** 是否懒加载(仅当前项渲染) */
4
+ lazy: PropType<boolean>;
5
+ }>, {}, {
6
+ loaded: boolean;
7
+ }, {
8
+ html_class(): {
9
+ 'z-on': any;
10
+ };
11
+ isCurrent(): any;
12
+ }, {
13
+ x_default(): {
14
+ lazy: boolean;
15
+ };
16
+ html_slots(): any;
17
+ }, import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
18
+ data: PropType<any>;
19
+ width: PropType<string | number>;
20
+ height: PropType<string | number>;
21
+ colspan: PropType<number>;
22
+ rowspan: PropType<number>;
23
+ ownproperty: PropType<boolean>;
24
+ orientUid: PropType<string>;
25
+ }>, {}, {
26
+ isWidget: boolean;
27
+ uid: any;
28
+ runtimeX: {};
29
+ x: any;
30
+ }, {
31
+ dfish(): import('../dfish').Dfish;
32
+ ownerView(): any;
33
+ pubParent(): any;
34
+ parentNode(): any;
35
+ tagName(): "div";
36
+ html_attrs(): {
37
+ id: any;
38
+ class: any[];
39
+ style: any[];
40
+ 'w-key': any;
41
+ 'w-width': string;
42
+ 'w-height': string;
43
+ };
44
+ html_style(): void;
45
+ html_class(): void;
46
+ html_props(): void;
47
+ html_binds(): {
48
+ [x: string]: unknown;
49
+ };
50
+ }, {
51
+ x_default(): void;
52
+ getDefaultProp(): any;
53
+ attr(name: any, value: any): any;
54
+ ajax(cmd: any): any;
55
+ submit(request: any, cmd: any): Promise<unknown>;
56
+ pop(template: any, props: any, options: any): any;
57
+ closePop(template: any): void;
58
+ createEvent(type: any, props: any): any;
59
+ trigger(ev: any, ...args: any[]): void;
60
+ getOn(type: any): any;
61
+ getKey(): any;
62
+ closest(target: any, range: any): any;
63
+ contains(a: any): any;
64
+ el(a: any): any;
65
+ snapElem(): any;
66
+ scrollIntoView(opt?: any): void;
67
+ hasBubble(a: any): any;
68
+ bind(name: any, fn: any): any;
69
+ slots_children(name: any): any;
70
+ slot(name?: string): any;
71
+ html_icon(src: any, cls: any, onclick: any): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
72
+ [key: string]: any;
73
+ }>;
74
+ html_slots(): any;
75
+ html_self(a: any): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
76
+ [key: string]: any;
77
+ }>;
78
+ html(): any;
79
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
80
+ data: PropType<any>;
81
+ width: PropType<string | number>;
82
+ height: PropType<string | number>;
83
+ colspan: PropType<number>;
84
+ rowspan: PropType<number>;
85
+ ownproperty: PropType<boolean>;
86
+ orientUid: PropType<string>;
87
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
88
+ /** 是否懒加载(仅当前项渲染) */
89
+ lazy: PropType<boolean>;
90
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
91
+ export default _default;
@@ -0,0 +1,236 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ /** 选中状态的显示文本 */
4
+ checkedText: PropType<string>;
5
+ /** 未选中状态的显示文本 */
6
+ uncheckedText: PropType<string>;
7
+ /** 选中状态对应的值(默认 1,可为任意类型) */
8
+ checkedValue: PropType<string | number>;
9
+ /** 未选中状态对应的值(默认 0,可为任意类型) */
10
+ uncheckedValue: PropType<string | number>;
11
+ }>, {}, {}, {
12
+ input_value(): any;
13
+ html_class(): "z-checked" | "z-unchecked";
14
+ isChecked(): boolean;
15
+ }, {
16
+ x_default(): {
17
+ checkedValue: number;
18
+ uncheckedValue: number;
19
+ };
20
+ onclick(e: any): void;
21
+ formText(): any;
22
+ html_input(): any[];
23
+ }, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
24
+ name: PropType<string>;
25
+ value: PropType<any>;
26
+ modelValue: PropType<any>;
27
+ placeholder: PropType<string>;
28
+ label: PropType<Record<string, any>>;
29
+ readonly: PropType<boolean>;
30
+ readonlyValidate: PropType<boolean>;
31
+ disabled: PropType<boolean>;
32
+ required: PropType<boolean>;
33
+ validateDefault: PropType<Record<string, any>>;
34
+ validateHandler: PropType<any>;
35
+ inputWidth: PropType<string | number>;
36
+ inputHeight: PropType<string | number>;
37
+ }>, {}, {
38
+ isFormWidget: boolean;
39
+ isFocus: boolean;
40
+ hasBorder: boolean;
41
+ isPlural: boolean;
42
+ isEdit: boolean;
43
+ loading: boolean;
44
+ warnClass: string;
45
+ labelVertical: boolean;
46
+ modifiedValue: any;
47
+ defaultValue: any;
48
+ placeholder_type: string;
49
+ validIndex: number;
50
+ }, {
51
+ rules(): any;
52
+ pubValidHooks(): {
53
+ required: (v: any, rule: any, que: any) => any;
54
+ pattern: (v: any, rule: any, que: any) => any;
55
+ validateHandler: (v: any, rule: any, que: any) => Promise<any>;
56
+ };
57
+ validHooks(): any;
58
+ validQueues(): any[];
59
+ validTriggers(): {};
60
+ input_value(): any;
61
+ input_name(): any;
62
+ input_tag(): "input";
63
+ input_type(): "text";
64
+ input_title(): void;
65
+ input_prop(): void;
66
+ input_placeholder(): any;
67
+ form_prop(): void;
68
+ hasVal(): boolean;
69
+ isNormal(): boolean;
70
+ isDisabled(): boolean;
71
+ isReadonly(): boolean;
72
+ errorTipTarget(): any;
73
+ hasClassSlotDown(): boolean;
74
+ html_on(): void;
75
+ html_props(): any;
76
+ }, {
77
+ val(v: any, originalEvent: any): any;
78
+ formVal(): any;
79
+ isUsableVal(v: any): true;
80
+ defaultRuleValue(name: any): any;
81
+ watchModelValue(v: any, ov: any): void;
82
+ valid(trigger: any): Promise<boolean>;
83
+ getValidError(trigger: any, val: any): Promise<any>;
84
+ formErr(que: any, arg: any): {
85
+ wid: any;
86
+ name: any;
87
+ type: any;
88
+ label: any;
89
+ text: any;
90
+ };
91
+ warn(a: any): void;
92
+ showErrorTip(text: any): void;
93
+ focus(): any;
94
+ formText(): any;
95
+ getLabelText(): any;
96
+ onCloseDrop(): void;
97
+ mergeDropProps(dropProps: any): any;
98
+ oninput(e: any): void;
99
+ baseFocus(e: any): void;
100
+ baseBlur(e: any): void;
101
+ baseValid(trigger: any): void;
102
+ snapElem(): any;
103
+ hasBubble(a: any): any;
104
+ isFocusTarget(el: any): void;
105
+ getInputValue(mv: any): any;
106
+ isModified(original: any): boolean;
107
+ saveModified(original: any): void;
108
+ reset(empty: any): void;
109
+ html_label(): any;
110
+ html_input(): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
111
+ [key: string]: any;
112
+ }>;
113
+ html_input_hidden(): any[] | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
114
+ [key: string]: any;
115
+ }>;
116
+ html_button(): any[];
117
+ html_form_slot(): any[];
118
+ html_slot_down(): any;
119
+ html_main(): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
120
+ [key: string]: any;
121
+ }>;
122
+ html_form(): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
123
+ [key: string]: any;
124
+ }>;
125
+ html_slots(): any[];
126
+ }, import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
127
+ data: PropType<any>;
128
+ width: PropType<string | number>;
129
+ height: PropType<string | number>;
130
+ colspan: PropType<number>;
131
+ rowspan: PropType<number>;
132
+ ownproperty: PropType<boolean>;
133
+ orientUid: PropType<string>;
134
+ }>, {}, {
135
+ isWidget: boolean;
136
+ uid: any;
137
+ runtimeX: {};
138
+ x: any;
139
+ }, {
140
+ dfish(): import('../dfish').Dfish;
141
+ ownerView(): any;
142
+ pubParent(): any;
143
+ parentNode(): any;
144
+ tagName(): "div";
145
+ html_attrs(): {
146
+ id: any;
147
+ class: any[];
148
+ style: any[];
149
+ 'w-key': any;
150
+ 'w-width': string;
151
+ 'w-height': string;
152
+ };
153
+ html_style(): void;
154
+ html_class(): void;
155
+ html_props(): void;
156
+ html_binds(): {
157
+ [x: string]: unknown;
158
+ };
159
+ }, {
160
+ x_default(): void;
161
+ getDefaultProp(): any;
162
+ attr(name: any, value: any): any;
163
+ ajax(cmd: any): any;
164
+ submit(request: any, cmd: any): Promise<unknown>;
165
+ pop(template: any, props: any, options: any): any;
166
+ closePop(template: any): void;
167
+ createEvent(type: any, props: any): any;
168
+ trigger(ev: any, ...args: any[]): void;
169
+ getOn(type: any): any;
170
+ getKey(): any;
171
+ closest(target: any, range: any): any;
172
+ contains(a: any): any;
173
+ el(a: any): any;
174
+ snapElem(): any;
175
+ scrollIntoView(opt?: any): void;
176
+ hasBubble(a: any): any;
177
+ bind(name: any, fn: any): any;
178
+ slots_children(name: any): any;
179
+ slot(name?: string): any;
180
+ html_icon(src: any, cls: any, onclick: any): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
181
+ [key: string]: any;
182
+ }>;
183
+ html_slots(): any;
184
+ html_self(a: any): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
185
+ [key: string]: any;
186
+ }>;
187
+ html(): any;
188
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
189
+ data: PropType<any>;
190
+ width: PropType<string | number>;
191
+ height: PropType<string | number>;
192
+ colspan: PropType<number>;
193
+ rowspan: PropType<number>;
194
+ ownproperty: PropType<boolean>;
195
+ orientUid: PropType<string>;
196
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<import('vue').ExtractPropTypes<{
197
+ align: PropType<string>;
198
+ valign: PropType<string>;
199
+ gap: PropType<string | number>;
200
+ }>, {}, {}, {
201
+ dir(): "h";
202
+ html_align_class(): string[];
203
+ }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
204
+ align: PropType<string>;
205
+ valign: PropType<string>;
206
+ gap: PropType<string | number>;
207
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, import('vue').ComponentOptionsMixin, ("blur" | "change" | "focus" | "update:modelValue")[], "blur" | "change" | "focus" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
208
+ name: PropType<string>;
209
+ value: PropType<any>;
210
+ modelValue: PropType<any>;
211
+ placeholder: PropType<string>;
212
+ label: PropType<Record<string, any>>;
213
+ readonly: PropType<boolean>;
214
+ readonlyValidate: PropType<boolean>;
215
+ disabled: PropType<boolean>;
216
+ required: PropType<boolean>;
217
+ validateDefault: PropType<Record<string, any>>;
218
+ validateHandler: PropType<any>;
219
+ inputWidth: PropType<string | number>;
220
+ inputHeight: PropType<string | number>;
221
+ }>> & Readonly<{
222
+ onBlur?: (...args: any[]) => any;
223
+ onChange?: (...args: any[]) => any;
224
+ onFocus?: (...args: any[]) => any;
225
+ "onUpdate:modelValue"?: (...args: any[]) => any;
226
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
227
+ /** 选中状态的显示文本 */
228
+ checkedText: PropType<string>;
229
+ /** 未选中状态的显示文本 */
230
+ uncheckedText: PropType<string>;
231
+ /** 选中状态对应的值(默认 1,可为任意类型) */
232
+ checkedValue: PropType<string | number>;
233
+ /** 未选中状态对应的值(默认 0,可为任意类型) */
234
+ uncheckedValue: PropType<string | number>;
235
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
236
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;