cnhis-design-vue 3.1.13-beta.0 → 3.1.13-beta.11

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 (102) hide show
  1. package/es/packages/big-table/src/BigTable.vue.d.ts +3 -16
  2. package/es/packages/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.js +40 -21
  3. package/es/packages/big-table/src/bigTableEmits.js +2 -1
  4. package/es/packages/big-table/src/utils.js +2 -1
  5. package/es/packages/big-table/style/index.css +5 -0
  6. package/es/packages/bpmn-workflow/src/BpmnWorkflow.d.ts +5 -0
  7. package/es/packages/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  8. package/es/packages/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  9. package/es/packages/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  10. package/es/packages/button-print/index.d.ts +15 -1
  11. package/es/packages/button-print/src/ButtonPrint.vue.d.ts +199 -185
  12. package/es/packages/button-print/src/ButtonPrint.vue_vue_type_script_setup_true_lang.js +39 -4
  13. package/es/packages/button-print/src/utils/print.d.ts +41 -0
  14. package/es/packages/button-print/src/utils/print.js +325 -0
  15. package/es/packages/fabric-chart/index.d.ts +3 -4
  16. package/es/packages/fabric-chart/src/FabricChart.vue.d.ts +3 -4
  17. package/es/packages/fabric-chart/src/FabricChart.vue_vue_type_script_setup_true_lang.js +24 -18
  18. package/es/packages/fabric-chart/src/hooks/useBottom.js +1 -2
  19. package/es/packages/fabric-chart/src/hooks/useCenter.js +89 -19
  20. package/es/packages/fabric-chart/src/hooks/useCumputedPoint.d.ts +2 -2
  21. package/es/packages/fabric-chart/src/hooks/useCumputedPoint.js +27 -13
  22. package/es/packages/fabric-chart/src/hooks/useDraw.d.ts +1 -1
  23. package/es/packages/fabric-chart/src/hooks/useDraw.js +64 -7
  24. package/es/packages/fabric-chart/src/hooks/useLeft.js +83 -22
  25. package/es/packages/fabric-chart/src/hooks/useOther.js +3 -2
  26. package/es/packages/fabric-chart/src/hooks/useShadow.js +1 -1
  27. package/es/packages/fabric-chart/src/hooks/useTop.js +6 -4
  28. package/es/packages/fabric-chart/src/interface.d.ts +2 -2
  29. package/es/packages/fabric-chart/src/utils/index.d.ts +6823 -2
  30. package/es/packages/form-render/index.d.ts +311 -0
  31. package/es/packages/form-render/src/FormRender.vue.d.ts +313 -2
  32. package/es/packages/form-render/src/FormRender.vue_vue_type_script_setup_true_lang.js +58 -27
  33. package/es/packages/form-render/src/components/renderer/cascader.d.ts +7 -1
  34. package/es/packages/form-render/src/components/renderer/cascader.js +65 -53
  35. package/es/packages/form-render/src/components/renderer/formItem.d.ts +8 -293
  36. package/es/packages/form-render/src/components/renderer/formItem.js +137 -2
  37. package/es/packages/form-render/src/components/renderer/input.js +3 -3
  38. package/es/packages/form-render/src/components/renderer/select.d.ts +7 -5
  39. package/es/packages/form-render/src/components/renderer/select.js +35 -40
  40. package/es/packages/form-render/src/components/renderer/simpleComponent.js +2 -15
  41. package/es/packages/form-render/src/constants/index.d.ts +2 -1
  42. package/es/packages/form-render/src/constants/index.js +2 -1
  43. package/es/packages/form-render/src/hooks/useFieldListAdaptor.js +4 -2
  44. package/es/packages/form-render/src/hooks/useFormContext.d.ts +2 -1
  45. package/es/packages/form-render/src/hooks/useFormContext.js +13 -2
  46. package/es/packages/form-render/src/types/fieldItem.d.ts +58 -7
  47. package/es/packages/form-render/src/types/index.d.ts +5 -0
  48. package/es/packages/form-render/src/utils/index.d.ts +13 -4
  49. package/es/packages/form-render/src/utils/index.js +44 -3
  50. package/es/packages/form-render/style/index.css +44 -6
  51. package/es/packages/form-table/src/hooks/useNuiThemeOverrides.d.ts +4 -0
  52. package/es/packages/form-table/src/hooks/useNuiThemeOverrides.js +18 -0
  53. package/es/packages/index.css +228 -8
  54. package/es/packages/index.d.ts +5 -1
  55. package/es/packages/index.js +12 -1
  56. package/es/packages/scale-view/src/hooks/scaleview-init.js +1 -5
  57. package/es/packages/scale-view/src/hooks/scaleview-submit.js +1 -6
  58. package/es/packages/scale-view/src/hooks/scaleview-validate.js +0 -3
  59. package/es/packages/shortcut-provider/index.d.ts +17 -0
  60. package/es/packages/shortcut-provider/index.js +13 -0
  61. package/es/packages/shortcut-provider/src/ShortcutProvider.js +4 -0
  62. package/es/packages/shortcut-provider/src/ShortcutProvider.vue.d.ts +15 -0
  63. package/es/packages/shortcut-provider/src/ShortcutProvider.vue_vue_type_script_setup_true_lang.js +32 -0
  64. package/es/packages/shortcut-provider/src/constants/index.d.ts +7 -0
  65. package/es/packages/shortcut-provider/src/constants/index.js +8 -0
  66. package/es/packages/shortcut-provider/src/hooks/index.d.ts +2 -0
  67. package/es/packages/shortcut-provider/src/hooks/index.js +2 -0
  68. package/es/packages/shortcut-provider/src/hooks/useShortcutSignature.d.ts +4 -0
  69. package/es/packages/shortcut-provider/src/hooks/useShortcutSignature.js +12 -0
  70. package/es/packages/shortcut-provider/src/hooks/useShortcuts.d.ts +30 -0
  71. package/es/packages/shortcut-provider/src/hooks/useShortcuts.js +157 -0
  72. package/es/packages/shortcut-provider/src/types/index.d.ts +30 -0
  73. package/es/packages/shortcut-provider/src/types/index.js +1 -0
  74. package/es/packages/shortcut-provider/src/utils/index.d.ts +7 -0
  75. package/es/packages/shortcut-provider/src/utils/index.js +49 -0
  76. package/es/packages/shortcut-provider/style/index.css +3 -0
  77. package/es/packages/shortcut-setter/constant/index.d.ts +4 -0
  78. package/es/packages/shortcut-setter/constant/index.js +7 -0
  79. package/es/packages/shortcut-setter/index.d.ts +4258 -0
  80. package/es/packages/shortcut-setter/index.js +11 -0
  81. package/es/packages/shortcut-setter/src/ShortcutSetter.js +4 -0
  82. package/es/packages/shortcut-setter/src/ShortcutSetter.vue.d.ts +4258 -0
  83. package/es/packages/shortcut-setter/src/ShortcutSetter.vue_vue_type_script_setup_true_lang.js +38 -0
  84. package/es/packages/shortcut-setter/src/ShortcutSetterItem.js +4 -0
  85. package/es/packages/shortcut-setter/src/ShortcutSetterItem.vue.d.ts +4238 -0
  86. package/es/packages/shortcut-setter/src/ShortcutSetterItem.vue_vue_type_script_setup_true_lang.js +125 -0
  87. package/es/packages/shortcut-setter/style/index.css +8 -0
  88. package/es/packages/steps-wheel/index.d.ts +548 -0
  89. package/es/packages/steps-wheel/index.js +11 -0
  90. package/es/packages/steps-wheel/src/StepsWheel.js +4 -0
  91. package/es/packages/steps-wheel/src/StepsWheel.vue.d.ts +547 -0
  92. package/es/packages/steps-wheel/src/StepsWheel.vue_vue_type_script_setup_true_lang.js +252 -0
  93. package/es/packages/steps-wheel/style/index.css +161 -0
  94. package/es/packages/time-line/index.d.ts +1 -0
  95. package/es/packages/time-line/src/TimeLine.vue.d.ts +1 -0
  96. package/es/packages/time-line/src/TimeLine.vue_vue_type_script_setup_true_lang.js +6 -1
  97. package/es/packages/time-line/style/index.css +7 -2
  98. package/es/src/types/index.d.ts +1 -0
  99. package/package.json +153 -153
  100. package/es/packages/button-print/src/utils/print.es.min.d.ts +0 -2
  101. package/es/packages/button-print/src/utils/print.es.min.js +0 -2532
  102. package/test.ts +0 -326
@@ -0,0 +1,125 @@
1
+ import { defineComponent, computed, ref, openBlock, createElementBlock, createVNode, unref, withModifiers, createElementVNode, withCtx, createTextVNode, toDisplayString } from 'vue';
2
+ import { debounce, isString } from 'lodash-es';
3
+ import { useMessage, NInput, NButton, NPopconfirm } from 'naive-ui';
4
+ import { useShortcuts } from '../../../packages/shortcut-provider';
5
+ import { transformKey2DisplaySignature, getDisplaySignature } from '../../../packages/shortcut-provider/src/utils';
6
+ import { ShortcutInputState } from '../../../packages/shortcut-setter/constant';
7
+
8
+ const _hoisted_1 = { class: "shortcut-setter-item__wrapper" };
9
+ const _hoisted_2 = { class: "shortcut-setter-item__operation" };
10
+ const _hoisted_3 = /* @__PURE__ */ createTextVNode("\u91CD\u7F6E");
11
+ const _hoisted_4 = /* @__PURE__ */ createTextVNode(" \u786E\u8BA4\u91CD\u7F6E\u5FEB\u6377\u952E\u5417 ");
12
+ var script = /* @__PURE__ */ defineComponent({
13
+ __name: "ShortcutSetterItem",
14
+ props: {
15
+ glob: { type: Boolean, required: false },
16
+ value: { type: null, required: true },
17
+ onChange: { type: null, required: true },
18
+ onFocus: { type: null, required: true },
19
+ fieldItem: { type: null, required: true }
20
+ },
21
+ setup(__props) {
22
+ const props = __props;
23
+ const { query, update, updateState } = useShortcuts(props.glob);
24
+ const shortcutItem = computed(() => {
25
+ return query(props.fieldItem.val_key);
26
+ });
27
+ const disabledState = computed(() => {
28
+ var _a;
29
+ return !!((_a = shortcutItem.value) == null ? void 0 : _a.disabled);
30
+ });
31
+ const currentSetShortcut = computed(() => {
32
+ var _a, _b;
33
+ return transformKey2DisplaySignature((_b = (_a = shortcutItem.value) == null ? void 0 : _a.currentKeySignature) != null ? _b : "");
34
+ });
35
+ const state = ref(ShortcutInputState.STATIC);
36
+ const currentEditShortcut = ref("");
37
+ const showContent = computed(() => {
38
+ return state.value === ShortcutInputState.STATIC ? currentSetShortcut.value : currentEditShortcut.value;
39
+ });
40
+ function onInputFocus() {
41
+ state.value = ShortcutInputState.EDIT;
42
+ }
43
+ const inputRef = ref();
44
+ function onInputBlur() {
45
+ var _a;
46
+ state.value = ShortcutInputState.STATIC;
47
+ currentEditShortcut.value = "";
48
+ (_a = inputRef.value) == null ? void 0 : _a.blur();
49
+ }
50
+ const onInputKeyDown = debounce((event) => {
51
+ currentEditShortcut.value = getDisplaySignature(event);
52
+ }, 200, { leading: true, trailing: false });
53
+ const $message = useMessage();
54
+ function updateDecorator(fn, afterUpdate) {
55
+ try {
56
+ fn();
57
+ } catch (e) {
58
+ isString(e) && $message.error(e);
59
+ currentEditShortcut.value = "";
60
+ } finally {
61
+ afterUpdate == null ? void 0 : afterUpdate();
62
+ }
63
+ }
64
+ const onInputKeyUp = debounce((event) => {
65
+ updateDecorator(() => update(props.fieldItem.val_key, event), () => event.target.blur());
66
+ }, 200, { leading: true, trailing: false });
67
+ function onStop() {
68
+ if (!shortcutItem.value)
69
+ return;
70
+ updateDecorator(() => updateState(props.fieldItem.val_key, !disabledState.value), onInputBlur);
71
+ }
72
+ function onReset() {
73
+ if (!shortcutItem.value)
74
+ return;
75
+ updateDecorator(() => update(props.fieldItem.val_key, shortcutItem.value.defaultShortcut), onInputBlur);
76
+ }
77
+ return (_ctx, _cache) => {
78
+ return openBlock(), createElementBlock("section", _hoisted_1, [
79
+ createVNode(unref(NInput), {
80
+ ref_key: "inputRef",
81
+ ref: inputRef,
82
+ disabled: unref(disabledState),
83
+ value: unref(showContent),
84
+ onFocus: onInputFocus,
85
+ onBlur: onInputBlur,
86
+ onKeydown: withModifiers(unref(onInputKeyDown), ["prevent", "stop"]),
87
+ onKeyup: withModifiers(unref(onInputKeyUp), ["prevent", "stop"])
88
+ }, null, 8, ["disabled", "value", "onKeydown", "onKeyup"]),
89
+ createElementVNode("section", _hoisted_2, [
90
+ createVNode(unref(NButton), {
91
+ text: "",
92
+ onClick: onStop,
93
+ type: unref(disabledState) ? "info" : "warning"
94
+ }, {
95
+ default: withCtx(() => [
96
+ createTextVNode(toDisplayString(unref(disabledState) ? "\u542F\u7528" : "\u7981\u7528"), 1)
97
+ ]),
98
+ _: 1
99
+ }, 8, ["type"]),
100
+ createVNode(unref(NPopconfirm), { onPositiveClick: onReset }, {
101
+ trigger: withCtx(() => [
102
+ createVNode(unref(NButton), {
103
+ disabled: unref(disabledState),
104
+ text: "",
105
+ onClick: onInputBlur,
106
+ type: "info"
107
+ }, {
108
+ default: withCtx(() => [
109
+ _hoisted_3
110
+ ]),
111
+ _: 1
112
+ }, 8, ["disabled"])
113
+ ]),
114
+ default: withCtx(() => [
115
+ _hoisted_4
116
+ ]),
117
+ _: 1
118
+ })
119
+ ])
120
+ ]);
121
+ };
122
+ }
123
+ });
124
+
125
+ export { script as default };
@@ -0,0 +1,8 @@
1
+ .shortcut-setter-item__wrapper {
2
+ display: flex;
3
+ }
4
+ .shortcut-setter-item__operation {
5
+ margin-left: 12px;
6
+ display: flex;
7
+ gap: 12px;
8
+ }
@@ -0,0 +1,548 @@
1
+ import { SFCWithInstall } from '../../../es/src/types';
2
+ declare const StepsWheel: SFCWithInstall<import("vue").DefineComponent<{
3
+ stepInfo: {
4
+ type: ObjectConstructor;
5
+ default: () => {
6
+ list: never[];
7
+ cols: number;
8
+ };
9
+ };
10
+ currentStep: {
11
+ type: NumberConstructor;
12
+ default: number;
13
+ };
14
+ toolTipShow: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ }, {
19
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
20
+ stepInfo: {
21
+ type: ObjectConstructor;
22
+ default: () => {
23
+ list: never[];
24
+ cols: number;
25
+ };
26
+ };
27
+ currentStep: {
28
+ type: NumberConstructor;
29
+ default: number;
30
+ };
31
+ toolTipShow: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ }>> & {
36
+ [x: `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
37
+ }>>;
38
+ nodeRowCount: import("vue").ComputedRef<number>;
39
+ stepInfoList: import("vue").Ref<any[]>;
40
+ handleNode: (nodeList: any[], cols: number) => void;
41
+ lineCircleLeft: (stepItem: any) => boolean;
42
+ lineCircleRight: (stepItem: any) => boolean;
43
+ lineActiveShow: (stepItem: any, index: number) => boolean;
44
+ format2DArray: (baseArray: any[], cols: number) => never[];
45
+ lastLineHidden: (index: number) => boolean;
46
+ handleFinishLastNodeCss: (index: number) => boolean;
47
+ handleFinishLastNodeLine: (index: number) => boolean;
48
+ NTooltip: import("vue").DefineComponent<{
49
+ theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Tooltip", {
50
+ borderRadius: string;
51
+ boxShadow: string;
52
+ color: string;
53
+ textColor: string;
54
+ padding: string;
55
+ }, {
56
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
57
+ fontSize: string;
58
+ borderRadius: string;
59
+ color: string;
60
+ dividerColor: string;
61
+ textColor: string;
62
+ boxShadow: string;
63
+ space: string;
64
+ spaceArrow: string;
65
+ arrowOffset: string;
66
+ arrowOffsetVertical: string;
67
+ arrowHeight: string;
68
+ padding: string;
69
+ }, any>;
70
+ }>>;
71
+ themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Tooltip", {
72
+ borderRadius: string;
73
+ boxShadow: string;
74
+ color: string;
75
+ textColor: string;
76
+ padding: string;
77
+ }, {
78
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
79
+ fontSize: string;
80
+ borderRadius: string;
81
+ color: string;
82
+ dividerColor: string;
83
+ textColor: string;
84
+ boxShadow: string;
85
+ space: string;
86
+ spaceArrow: string;
87
+ arrowOffset: string;
88
+ arrowOffsetVertical: string;
89
+ arrowHeight: string;
90
+ padding: string;
91
+ }, any>;
92
+ }>>>;
93
+ builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Tooltip", {
94
+ borderRadius: string;
95
+ boxShadow: string;
96
+ color: string;
97
+ textColor: string;
98
+ padding: string;
99
+ }, {
100
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
101
+ fontSize: string;
102
+ borderRadius: string;
103
+ color: string;
104
+ dividerColor: string;
105
+ textColor: string;
106
+ boxShadow: string;
107
+ space: string;
108
+ spaceArrow: string;
109
+ arrowOffset: string;
110
+ arrowOffsetVertical: string;
111
+ arrowHeight: string;
112
+ padding: string;
113
+ }, any>;
114
+ }>>>;
115
+ show: {
116
+ type: import("vue").PropType<boolean | undefined>;
117
+ default: undefined;
118
+ };
119
+ defaultShow: BooleanConstructor;
120
+ showArrow: {
121
+ type: BooleanConstructor;
122
+ default: boolean;
123
+ };
124
+ trigger: {
125
+ type: import("vue").PropType<import("naive-ui").PopoverTrigger>;
126
+ default: string;
127
+ };
128
+ delay: {
129
+ type: NumberConstructor;
130
+ default: number;
131
+ };
132
+ duration: {
133
+ type: NumberConstructor;
134
+ default: number;
135
+ };
136
+ raw: BooleanConstructor;
137
+ placement: {
138
+ type: import("vue").PropType<import("vueuc").FollowerPlacement>;
139
+ default: string;
140
+ };
141
+ x: NumberConstructor;
142
+ y: NumberConstructor;
143
+ arrowPointToCenter: BooleanConstructor;
144
+ disabled: BooleanConstructor;
145
+ getDisabled: import("vue").PropType<() => boolean>;
146
+ displayDirective: {
147
+ type: import("vue").PropType<"show" | "if">;
148
+ default: string;
149
+ };
150
+ arrowStyle: import("vue").PropType<string | import("vue").CSSProperties>;
151
+ flip: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ };
155
+ animated: {
156
+ type: BooleanConstructor;
157
+ default: boolean;
158
+ };
159
+ width: {
160
+ type: import("vue").PropType<number | "trigger">;
161
+ default: undefined;
162
+ };
163
+ overlap: BooleanConstructor;
164
+ keepAliveOnHover: {
165
+ type: BooleanConstructor;
166
+ default: boolean;
167
+ };
168
+ zIndex: NumberConstructor;
169
+ to: {
170
+ type: import("vue").PropType<string | boolean | HTMLElement>;
171
+ default: undefined;
172
+ };
173
+ scrollable: BooleanConstructor;
174
+ contentStyle: import("vue").PropType<string | import("vue").CSSProperties>;
175
+ headerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
176
+ footerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
177
+ onClickoutside: import("vue").PropType<(e: MouseEvent) => void>;
178
+ 'onUpdate:show': import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void>>;
179
+ onUpdateShow: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void>>;
180
+ internalDeactivateImmediately: BooleanConstructor;
181
+ internalSyncTargetWithParent: BooleanConstructor;
182
+ internalInheritedEventHandlers: {
183
+ type: import("vue").PropType<import("naive-ui/es/popover/src/Popover").TriggerEventHandlers[]>;
184
+ default: () => never[];
185
+ };
186
+ internalTrapFocus: BooleanConstructor;
187
+ internalExtraClass: {
188
+ type: import("vue").PropType<string[]>;
189
+ default: () => never[];
190
+ };
191
+ onShow: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void> | undefined>;
192
+ onHide: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void> | undefined>;
193
+ arrow: {
194
+ type: import("vue").PropType<boolean | undefined>;
195
+ default: undefined;
196
+ };
197
+ minWidth: NumberConstructor;
198
+ maxWidth: NumberConstructor;
199
+ }, {
200
+ popoverRef: import("vue").Ref<{
201
+ syncPosition: () => void;
202
+ setShow: (value: boolean) => void;
203
+ } | null>;
204
+ mergedTheme: import("vue").ComputedRef<{
205
+ common: {
206
+ baseColor: string;
207
+ primaryColor: string;
208
+ primaryColorHover: string;
209
+ primaryColorPressed: string;
210
+ primaryColorSuppl: string;
211
+ infoColor: string;
212
+ infoColorHover: string;
213
+ infoColorPressed: string;
214
+ infoColorSuppl: string;
215
+ successColor: string;
216
+ successColorHover: string;
217
+ successColorPressed: string;
218
+ successColorSuppl: string;
219
+ warningColor: string;
220
+ warningColorHover: string;
221
+ warningColorPressed: string;
222
+ warningColorSuppl: string;
223
+ errorColor: string;
224
+ errorColorHover: string;
225
+ errorColorPressed: string;
226
+ errorColorSuppl: string;
227
+ textColorBase: string;
228
+ textColor1: string;
229
+ textColor2: string;
230
+ textColor3: string;
231
+ textColorDisabled: string;
232
+ placeholderColor: string;
233
+ placeholderColorDisabled: string;
234
+ iconColor: string;
235
+ iconColorHover: string;
236
+ iconColorPressed: string;
237
+ iconColorDisabled: string;
238
+ opacity1: string;
239
+ opacity2: string;
240
+ opacity3: string;
241
+ opacity4: string;
242
+ opacity5: string;
243
+ dividerColor: string;
244
+ borderColor: string;
245
+ closeIconColor: string;
246
+ closeIconColorHover: string;
247
+ closeIconColorPressed: string;
248
+ closeColorHover: string;
249
+ closeColorPressed: string;
250
+ clearColor: string;
251
+ clearColorHover: string;
252
+ clearColorPressed: string;
253
+ scrollbarColor: string;
254
+ scrollbarColorHover: string;
255
+ scrollbarWidth: string;
256
+ scrollbarHeight: string;
257
+ scrollbarBorderRadius: string;
258
+ progressRailColor: string;
259
+ railColor: string;
260
+ popoverColor: string;
261
+ tableColor: string;
262
+ cardColor: string;
263
+ modalColor: string;
264
+ bodyColor: string;
265
+ tagColor: string;
266
+ avatarColor: string;
267
+ invertedColor: string;
268
+ inputColor: string;
269
+ codeColor: string;
270
+ tabColor: string;
271
+ actionColor: string;
272
+ tableHeaderColor: string;
273
+ hoverColor: string;
274
+ tableColorHover: string;
275
+ tableColorStriped: string;
276
+ pressedColor: string;
277
+ opacityDisabled: string;
278
+ inputColorDisabled: string;
279
+ buttonColor2: string;
280
+ buttonColor2Hover: string;
281
+ buttonColor2Pressed: string;
282
+ boxShadow1: string;
283
+ boxShadow2: string;
284
+ boxShadow3: string;
285
+ fontFamily: string;
286
+ fontFamilyMono: string;
287
+ fontWeight: string;
288
+ fontWeightStrong: string;
289
+ cubicBezierEaseInOut: string;
290
+ cubicBezierEaseOut: string;
291
+ cubicBezierEaseIn: string;
292
+ borderRadius: string;
293
+ borderRadiusSmall: string;
294
+ fontSize: string;
295
+ fontSizeMini: string;
296
+ fontSizeTiny: string;
297
+ fontSizeSmall: string;
298
+ fontSizeMedium: string;
299
+ fontSizeLarge: string;
300
+ fontSizeHuge: string;
301
+ lineHeight: string;
302
+ heightMini: string;
303
+ heightTiny: string;
304
+ heightSmall: string;
305
+ heightMedium: string;
306
+ heightLarge: string;
307
+ heightHuge: string;
308
+ name: "common";
309
+ };
310
+ self: {
311
+ borderRadius: string;
312
+ boxShadow: string;
313
+ color: string;
314
+ textColor: string;
315
+ padding: string;
316
+ };
317
+ peers: {
318
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
319
+ fontSize: string;
320
+ borderRadius: string;
321
+ color: string;
322
+ dividerColor: string;
323
+ textColor: string;
324
+ boxShadow: string;
325
+ space: string;
326
+ spaceArrow: string;
327
+ arrowOffset: string;
328
+ arrowOffsetVertical: string;
329
+ arrowHeight: string;
330
+ padding: string;
331
+ }, any>;
332
+ };
333
+ peerOverrides: {
334
+ Popover?: {
335
+ peers?: {
336
+ [x: string]: any;
337
+ } | undefined;
338
+ } | undefined;
339
+ };
340
+ }>;
341
+ popoverThemeOverrides: import("vue").ComputedRef<{
342
+ borderRadius: string;
343
+ boxShadow: string;
344
+ color: string;
345
+ textColor: string;
346
+ padding: string;
347
+ }>;
348
+ syncPosition: () => void;
349
+ setShow: (value: boolean) => void;
350
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
351
+ theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Tooltip", {
352
+ borderRadius: string;
353
+ boxShadow: string;
354
+ color: string;
355
+ textColor: string;
356
+ padding: string;
357
+ }, {
358
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
359
+ fontSize: string;
360
+ borderRadius: string;
361
+ color: string;
362
+ dividerColor: string;
363
+ textColor: string;
364
+ boxShadow: string;
365
+ space: string;
366
+ spaceArrow: string;
367
+ arrowOffset: string;
368
+ arrowOffsetVertical: string;
369
+ arrowHeight: string;
370
+ padding: string;
371
+ }, any>;
372
+ }>>;
373
+ themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Tooltip", {
374
+ borderRadius: string;
375
+ boxShadow: string;
376
+ color: string;
377
+ textColor: string;
378
+ padding: string;
379
+ }, {
380
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
381
+ fontSize: string;
382
+ borderRadius: string;
383
+ color: string;
384
+ dividerColor: string;
385
+ textColor: string;
386
+ boxShadow: string;
387
+ space: string;
388
+ spaceArrow: string;
389
+ arrowOffset: string;
390
+ arrowOffsetVertical: string;
391
+ arrowHeight: string;
392
+ padding: string;
393
+ }, any>;
394
+ }>>>;
395
+ builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Tooltip", {
396
+ borderRadius: string;
397
+ boxShadow: string;
398
+ color: string;
399
+ textColor: string;
400
+ padding: string;
401
+ }, {
402
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
403
+ fontSize: string;
404
+ borderRadius: string;
405
+ color: string;
406
+ dividerColor: string;
407
+ textColor: string;
408
+ boxShadow: string;
409
+ space: string;
410
+ spaceArrow: string;
411
+ arrowOffset: string;
412
+ arrowOffsetVertical: string;
413
+ arrowHeight: string;
414
+ padding: string;
415
+ }, any>;
416
+ }>>>;
417
+ show: {
418
+ type: import("vue").PropType<boolean | undefined>;
419
+ default: undefined;
420
+ };
421
+ defaultShow: BooleanConstructor;
422
+ showArrow: {
423
+ type: BooleanConstructor;
424
+ default: boolean;
425
+ };
426
+ trigger: {
427
+ type: import("vue").PropType<import("naive-ui").PopoverTrigger>;
428
+ default: string;
429
+ };
430
+ delay: {
431
+ type: NumberConstructor;
432
+ default: number;
433
+ };
434
+ duration: {
435
+ type: NumberConstructor;
436
+ default: number;
437
+ };
438
+ raw: BooleanConstructor;
439
+ placement: {
440
+ type: import("vue").PropType<import("vueuc").FollowerPlacement>;
441
+ default: string;
442
+ };
443
+ x: NumberConstructor;
444
+ y: NumberConstructor;
445
+ arrowPointToCenter: BooleanConstructor;
446
+ disabled: BooleanConstructor;
447
+ getDisabled: import("vue").PropType<() => boolean>;
448
+ displayDirective: {
449
+ type: import("vue").PropType<"show" | "if">;
450
+ default: string;
451
+ };
452
+ arrowStyle: import("vue").PropType<string | import("vue").CSSProperties>;
453
+ flip: {
454
+ type: BooleanConstructor;
455
+ default: boolean;
456
+ };
457
+ animated: {
458
+ type: BooleanConstructor;
459
+ default: boolean;
460
+ };
461
+ width: {
462
+ type: import("vue").PropType<number | "trigger">;
463
+ default: undefined;
464
+ };
465
+ overlap: BooleanConstructor;
466
+ keepAliveOnHover: {
467
+ type: BooleanConstructor;
468
+ default: boolean;
469
+ };
470
+ zIndex: NumberConstructor;
471
+ to: {
472
+ type: import("vue").PropType<string | boolean | HTMLElement>;
473
+ default: undefined;
474
+ };
475
+ scrollable: BooleanConstructor;
476
+ contentStyle: import("vue").PropType<string | import("vue").CSSProperties>;
477
+ headerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
478
+ footerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
479
+ onClickoutside: import("vue").PropType<(e: MouseEvent) => void>;
480
+ 'onUpdate:show': import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void>>;
481
+ onUpdateShow: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void>>;
482
+ internalDeactivateImmediately: BooleanConstructor;
483
+ internalSyncTargetWithParent: BooleanConstructor;
484
+ internalInheritedEventHandlers: {
485
+ type: import("vue").PropType<import("naive-ui/es/popover/src/Popover").TriggerEventHandlers[]>;
486
+ default: () => never[];
487
+ };
488
+ internalTrapFocus: BooleanConstructor;
489
+ internalExtraClass: {
490
+ type: import("vue").PropType<string[]>;
491
+ default: () => never[];
492
+ };
493
+ onShow: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void> | undefined>;
494
+ onHide: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void> | undefined>;
495
+ arrow: {
496
+ type: import("vue").PropType<boolean | undefined>;
497
+ default: undefined;
498
+ };
499
+ minWidth: NumberConstructor;
500
+ maxWidth: NumberConstructor;
501
+ }>>, {
502
+ show: boolean | undefined;
503
+ flip: boolean;
504
+ width: number | "trigger";
505
+ disabled: boolean;
506
+ duration: number;
507
+ to: string | boolean | HTMLElement;
508
+ raw: boolean;
509
+ placement: import("vueuc").FollowerPlacement;
510
+ overlap: boolean;
511
+ scrollable: boolean;
512
+ trigger: import("naive-ui").PopoverTrigger;
513
+ showArrow: boolean;
514
+ delay: number;
515
+ arrowPointToCenter: boolean;
516
+ displayDirective: "show" | "if";
517
+ keepAliveOnHover: boolean;
518
+ internalDeactivateImmediately: boolean;
519
+ animated: boolean;
520
+ internalTrapFocus: boolean;
521
+ defaultShow: boolean;
522
+ internalSyncTargetWithParent: boolean;
523
+ internalInheritedEventHandlers: import("naive-ui/es/popover/src/Popover").TriggerEventHandlers[];
524
+ internalExtraClass: string[];
525
+ arrow: boolean | undefined;
526
+ }>;
527
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
528
+ stepInfo: {
529
+ type: ObjectConstructor;
530
+ default: () => {
531
+ list: never[];
532
+ cols: number;
533
+ };
534
+ };
535
+ currentStep: {
536
+ type: NumberConstructor;
537
+ default: number;
538
+ };
539
+ toolTipShow: {
540
+ type: BooleanConstructor;
541
+ default: boolean;
542
+ };
543
+ }>>, {
544
+ stepInfo: Record<string, any>;
545
+ currentStep: number;
546
+ toolTipShow: boolean;
547
+ }>>;
548
+ export default StepsWheel;
@@ -0,0 +1,11 @@
1
+ import { COMPONENT_NAMESPACE } from '../../src/global/variable';
2
+ import { safeComponentRegister } from '../../src/utils';
3
+ import './src/StepsWheel.js';
4
+ import script from './src/StepsWheel.vue_vue_type_script_setup_true_lang.js';
5
+
6
+ const StepsWheel = script;
7
+ StepsWheel.install = function(app) {
8
+ safeComponentRegister(app, StepsWheel, COMPONENT_NAMESPACE + "StepsWheel");
9
+ };
10
+
11
+ export { StepsWheel as default };