@robot-admin/naive-ui-components 0.31.5 → 0.33.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.
- package/CHANGELOG.md +18 -0
- package/README.md +11 -5
- package/README_EN.md +11 -5
- package/dist/C_AutoComplete.cjs +1 -0
- package/dist/C_AutoComplete.css +36 -0
- package/dist/C_AutoComplete.d.cts +4 -0
- package/dist/C_AutoComplete.d.ts +4 -0
- package/dist/C_AutoComplete.js +1 -0
- package/dist/C_AutoComplete2.cjs +1 -0
- package/dist/C_AutoComplete2.js +1 -0
- package/dist/C_AvatarGroup.d.cts +1 -1
- package/dist/C_AvatarGroup.d.ts +1 -1
- package/dist/C_Barcode.d.cts +1 -1
- package/dist/C_Barcode.d.ts +1 -1
- package/dist/C_BatchResult.d.cts +1 -1
- package/dist/C_BatchResult.d.ts +1 -1
- package/dist/C_Breadcrumb.d.cts +2 -2
- package/dist/C_Breadcrumb.d.ts +1 -1
- package/dist/C_Cascade.d.cts +1 -1
- package/dist/C_Cascade.d.ts +1 -1
- package/dist/C_Chat.d.cts +1 -1
- package/dist/C_Chat.d.ts +1 -1
- package/dist/C_City.d.cts +1 -1
- package/dist/C_City.d.ts +1 -1
- package/dist/C_Code.d.cts +1 -1
- package/dist/C_Code.d.ts +1 -1
- package/dist/C_ContextMenu.d.cts +1 -1
- package/dist/C_ContextMenu.d.ts +1 -1
- package/dist/C_DataPicker.css +235 -31
- package/dist/C_DataPicker.d.cts +2 -2
- package/dist/C_DataPicker.d.ts +2 -2
- package/dist/C_Date.d.cts +1 -1
- package/dist/C_Date.d.ts +1 -1
- package/dist/C_Density.d.cts +1 -1
- package/dist/C_Density.d.ts +1 -1
- package/dist/C_Editor.d.cts +1 -1
- package/dist/C_Editor.d.ts +1 -1
- package/dist/C_ErrorSummary.d.cts +1 -1
- package/dist/C_ErrorSummary.d.ts +1 -1
- package/dist/C_Form.base.css +68 -1
- package/dist/C_Form.cjs +1 -1
- package/dist/C_Form.css +68 -1
- package/dist/C_Form.d.cts +3 -3
- package/dist/C_Form.d.ts +5 -3
- package/dist/C_Form.js +1 -1
- package/dist/C_FormModal.cjs +1 -1
- package/dist/C_FormModal.d.cts +1 -1
- package/dist/C_FormModal.d.ts +3 -1
- package/dist/C_FormModal.js +1 -1
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- package/dist/C_FormSearch.css +160 -72
- package/dist/C_FormSearch.d.cts +3 -3
- package/dist/C_FormSearch.d.ts +3 -3
- package/dist/C_GlobalSearch2.cjs +1 -1
- package/dist/C_GlobalSearch2.js +1 -1
- package/dist/C_Guide.d.cts +1 -1
- package/dist/C_Guide.d.ts +1 -1
- package/dist/C_Icon.d.cts +1 -1
- package/dist/C_Icon.d.ts +1 -1
- package/dist/C_Language.d.cts +1 -1
- package/dist/C_Language.d.ts +1 -1
- package/dist/C_Loading.d.cts +1 -1
- package/dist/C_Loading.d.ts +1 -1
- package/dist/C_Login.d.cts +1 -1
- package/dist/C_Login.d.ts +1 -1
- package/dist/C_Markdown.d.cts +1 -1
- package/dist/C_Markdown.d.ts +1 -1
- package/dist/C_Menu.d.cts +2 -2
- package/dist/C_Menu.d.ts +1 -1
- package/dist/C_OrgChart.d.cts +1 -1
- package/dist/C_OrgChart.d.ts +1 -1
- package/dist/C_Progress.d.cts +1 -1
- package/dist/C_Progress.d.ts +1 -1
- package/dist/C_SectionNav.d.cts +1 -1
- package/dist/C_SectionNav.d.ts +1 -1
- package/dist/C_Select.css +32 -1
- package/dist/C_Select.d.cts +4 -2
- package/dist/C_Select.d.ts +4 -2
- package/dist/C_Select2.cjs +1 -1
- package/dist/C_Select2.js +1 -1
- package/dist/C_Skeleton.d.cts +1 -1
- package/dist/C_Skeleton.d.ts +1 -1
- package/dist/C_Steps.d.cts +1 -1
- package/dist/C_Steps.d.ts +1 -1
- package/dist/C_Table.base.css +214 -147
- package/dist/C_Table.cjs +1 -1
- package/dist/C_Table.css +146 -146
- package/dist/C_Table.d.cts +3 -3
- package/dist/C_Table.d.ts +13 -10
- package/dist/C_Table.js +1 -1
- package/dist/C_Table2.cjs +4 -3
- package/dist/C_Table2.js +4 -3
- package/dist/C_TagsView.css +51 -51
- package/dist/C_TagsView.d.cts +2 -2
- package/dist/C_TagsView.d.ts +1 -1
- package/dist/C_TagsView2.cjs +1 -1
- package/dist/C_TagsView2.js +1 -1
- package/dist/C_Theme.d.cts +1 -1
- package/dist/C_Theme.d.ts +1 -1
- package/dist/C_Timeline.d.cts +1 -1
- package/dist/C_Timeline.d.ts +1 -1
- package/dist/C_Transfer.d.cts +1 -1
- package/dist/C_Transfer.d.ts +1 -1
- package/dist/C_Tree.cjs +1 -1
- package/dist/C_Tree.css +60 -23
- package/dist/C_Tree.d.cts +2 -2
- package/dist/C_Tree.d.ts +12 -9
- package/dist/C_Tree.js +1 -1
- package/dist/C_Tree2.cjs +1 -1
- package/dist/C_Tree2.js +1 -1
- package/dist/OptionStatus.cjs +1 -0
- package/dist/OptionStatus.js +1 -0
- package/dist/SearchFieldSettings.cjs +1 -0
- package/dist/SearchFieldSettings.js +1 -0
- package/dist/constants4.d.cts +9 -9
- package/dist/constants4.d.ts +9 -9
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.cts +2 -1
- package/dist/data.d.ts +2 -1
- package/dist/data2.d.cts +7 -7
- package/dist/data2.d.ts +7 -7
- package/dist/dateRange.d.cts +52 -7
- package/dist/dateRange.d.ts +52 -7
- package/dist/editors.cjs +1 -0
- package/dist/{useTableQuery.d.cts → editors.d.cts} +120 -13
- package/dist/{useTableQuery.d.ts → editors.d.ts} +120 -13
- package/dist/editors.js +1 -0
- package/dist/fieldRenderers.cjs +1 -0
- package/dist/fieldRenderers.js +1 -0
- package/dist/formField.cjs +1 -1
- package/dist/formField.d.cts +79 -29
- package/dist/formField.d.ts +79 -29
- package/dist/formField.js +1 -1
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +63 -59
- package/dist/index.d.ts +63 -58
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +5 -5
- package/dist/index.vue.d.ts +5 -5
- package/dist/index10.vue.d.cts +27 -35
- package/dist/index10.vue.d.ts +37 -80
- package/dist/index11.vue.d.cts +37 -80
- package/dist/index11.vue.d.ts +83 -16
- package/dist/index12.vue.d.cts +83 -16
- package/dist/index12.vue.d.ts +16 -59
- package/dist/index13.vue.d.cts +16 -59
- package/dist/index13.vue.d.ts +57 -17
- package/dist/index14.vue.d.cts +57 -17
- package/dist/index14.vue.d.ts +18 -55
- package/dist/index15.vue.d.cts +18 -55
- package/dist/index15.vue.d.ts +53 -124
- package/dist/index16.vue.d.cts +53 -124
- package/dist/index16.vue.d.ts +123 -51
- package/dist/index17.vue.d.cts +123 -51
- package/dist/index17.vue.d.ts +52 -25
- package/dist/index18.vue.d.cts +52 -25
- package/dist/index18.vue.d.ts +25 -12
- package/dist/index19.vue.d.cts +25 -12
- package/dist/index19.vue.d.ts +13 -129
- package/dist/index2.vue.d.cts +26 -82
- package/dist/index2.vue.d.ts +26 -82
- package/dist/index20.vue.d.cts +13 -129
- package/dist/index20.vue.d.ts +129 -76
- package/dist/index21.vue.d.cts +129 -76
- package/dist/index21.vue.d.ts +78 -72
- package/dist/index22.vue.d.cts +75 -97
- package/dist/index22.vue.d.ts +68 -96
- package/dist/index23.vue.d.cts +91 -40
- package/dist/index23.vue.d.ts +91 -40
- package/dist/index24.vue.d.cts +49 -23
- package/dist/index24.vue.d.ts +49 -23
- package/dist/index25.vue.d.cts +19 -46
- package/dist/index25.vue.d.ts +19 -46
- package/dist/index26.vue.d.cts +25 -98
- package/dist/index26.vue.d.ts +25 -98
- package/dist/index27.vue.d.cts +95 -37
- package/dist/index27.vue.d.ts +95 -37
- package/dist/index28.vue.d.cts +34 -8
- package/dist/index28.vue.d.ts +34 -8
- package/dist/index29.vue.d.cts +9 -86
- package/dist/index29.vue.d.ts +9 -86
- package/dist/index3.vue.d.cts +80 -30
- package/dist/index3.vue.d.ts +80 -30
- package/dist/index30.vue.d.cts +85 -99
- package/dist/index30.vue.d.ts +85 -99
- package/dist/index31.vue.d.cts +94 -63
- package/dist/index31.vue.d.ts +94 -63
- package/dist/index32.vue.d.cts +79 -0
- package/dist/index32.vue.d.ts +79 -0
- package/dist/index4.vue.d.cts +30 -19
- package/dist/index4.vue.d.ts +30 -19
- package/dist/index5.vue.d.cts +19 -128
- package/dist/index5.vue.d.ts +17 -34
- package/dist/index6.vue.d.cts +127 -35
- package/dist/index6.vue.d.ts +30 -22
- package/dist/index7.vue.d.cts +30 -22
- package/dist/index7.vue.d.ts +25 -118
- package/dist/index8.vue.d.cts +25 -118
- package/dist/index8.vue.d.ts +112 -21
- package/dist/index9.vue.d.cts +112 -21
- package/dist/index9.vue.d.ts +27 -35
- package/dist/mapUtils.d.cts +3 -3
- package/dist/mapUtils.d.ts +3 -3
- package/dist/optionSource.d.cts +30 -0
- package/dist/optionSource.d.ts +30 -0
- package/dist/public.d.ts +2 -0
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.d.cts +1 -1
- package/dist/resolver.d.ts +1 -1
- package/dist/resolver.js +1 -1
- package/dist/selectPresentation.cjs +1 -1
- package/dist/selectPresentation.js +1 -1
- package/dist/serializeSearch.cjs +1 -1
- package/dist/serializeSearch.js +1 -1
- package/dist/sourceControls.cjs +1 -0
- package/dist/sourceControls.js +1 -0
- package/dist/style.css +513 -324
- package/dist/types2.d.cts +29 -103
- package/dist/types2.d.ts +30 -55
- package/dist/types3.d.cts +106 -55
- package/dist/types3.d.ts +60 -0
- package/dist/types4.d.cts +60 -0
- package/dist/types4.d.ts +50 -0
- package/dist/types5.d.cts +50 -0
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +3 -3
- package/dist/useCollapsePanel.d.ts +3 -3
- package/dist/useComponentLocale.cjs +1 -1
- package/dist/useComponentLocale.js +1 -1
- package/dist/useCropperCore.d.cts +9 -9
- package/dist/useCropperCore.d.ts +9 -9
- package/dist/useDataResource.cjs +1 -1
- package/dist/useDataResource.js +1 -1
- package/dist/useDraggableLayout.d.cts +2 -2
- package/dist/useDraggableLayout.d.ts +2 -2
- package/dist/useDynamicFormState.d.cts +17 -3
- package/dist/useDynamicFormState.d.ts +17 -3
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useFormConfig.d.cts +5 -2
- package/dist/useFormConfig.d.ts +5 -2
- package/dist/useFormRenderer.d.cts +1 -1
- package/dist/useFormRenderer.d.ts +1 -1
- package/dist/useFullscreen.d.cts +2 -2
- package/dist/useFullscreen.d.ts +2 -2
- package/dist/useGlobalSearch.d.cts +8 -0
- package/dist/useGlobalSearch.d.ts +8 -0
- package/dist/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSignatureHistory.d.cts +4 -4
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.cts +7 -7
- package/dist/useSplitResize.d.ts +7 -7
- package/dist/useWorkflowValidation.d.cts +4 -4
- package/dist/useWorkflowValidation.d.ts +4 -4
- package/dist/verification.d.cts +6 -6
- package/dist/verification.d.ts +6 -6
- package/docs/architecture.md +3 -1
- package/docs/components.en.md +2 -1
- package/docs/components.md +2 -1
- package/docs/engineering.en.md +11 -1
- package/docs/engineering.md +11 -1
- package/docs/guides/component-contracts.md +72 -0
- package/docs/guides/data-picker.md +37 -1
- package/docs/guides/remote-options.md +117 -0
- package/docs/guides/search-workflows.md +162 -2
- package/docs/guides/table-editing.md +79 -0
- package/docs/guides/tree.en.md +41 -0
- package/docs/guides/tree.md +80 -1
- package/docs/search-selection-coverage.md +59 -0
- package/docs/wl-ui-produce-coverage.md +2 -0
- package/package.json +6 -3
- package/dist/helpers2.cjs +0 -1
- package/dist/helpers2.js +0 -1
- package/dist/temporalField.cjs +0 -1
- package/dist/temporalField.js +0 -1
- package/dist/useTableQuery.cjs +0 -1
- package/dist/useTableQuery.js +0 -1
package/dist/C_DataPicker.css
CHANGED
|
@@ -1,43 +1,240 @@
|
|
|
1
1
|
@import "./C_Table.base.css";
|
|
2
|
-
.c-
|
|
2
|
+
.c-tree[data-v-d7f39843] {
|
|
3
|
+
--c-tree-padding: 12px;
|
|
4
|
+
--c-tree-gap: 10px;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
min-width: 0;
|
|
8
|
+
min-height: 0;
|
|
9
|
+
height: 100%;
|
|
10
|
+
gap: var(--c-tree-gap);
|
|
11
|
+
}
|
|
12
|
+
.c-tree--compact[data-v-d7f39843] {
|
|
13
|
+
--c-tree-padding: 8px;
|
|
14
|
+
--c-tree-gap: 8px;
|
|
15
|
+
}
|
|
16
|
+
.c-tree--comfortable[data-v-d7f39843] {
|
|
17
|
+
--c-tree-padding: 16px;
|
|
18
|
+
--c-tree-gap: 14px;
|
|
19
|
+
}
|
|
20
|
+
.c-tree .c-tree-toolbar[data-v-d7f39843] {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-wrap: wrap;
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: var(--c-tree-gap);
|
|
25
|
+
padding: var(--c-tree-padding);
|
|
26
|
+
background: var(--c-tree-surface);
|
|
27
|
+
border-radius: var(--c-tree-radius);
|
|
28
|
+
flex-shrink: 0;
|
|
29
|
+
}
|
|
30
|
+
.c-tree .toolbar-left[data-v-d7f39843] {
|
|
31
|
+
flex: 1 1 140px;
|
|
32
|
+
min-width: 0;
|
|
33
|
+
}
|
|
34
|
+
.c-tree .toolbar-left .search-input[data-v-d7f39843] {
|
|
3
35
|
width: 100%;
|
|
36
|
+
}
|
|
37
|
+
.c-tree .toolbar-right[data-v-d7f39843] {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-wrap: wrap;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: 6px;
|
|
42
|
+
margin-left: auto;
|
|
43
|
+
}
|
|
44
|
+
.c-tree .c-tree-container[data-v-d7f39843] {
|
|
45
|
+
flex: 1 1 auto;
|
|
4
46
|
min-width: 0;
|
|
47
|
+
min-height: 0;
|
|
48
|
+
border: 1px solid var(--c-tree-border);
|
|
49
|
+
border-radius: var(--c-tree-radius);
|
|
50
|
+
padding: var(--c-tree-padding);
|
|
51
|
+
overflow: auto;
|
|
52
|
+
scrollbar-width: thin;
|
|
5
53
|
}
|
|
6
|
-
.c-
|
|
7
|
-
|
|
54
|
+
.c-tree .c-tree-search-status[data-v-d7f39843] {
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
justify-content: space-between;
|
|
58
|
+
flex-wrap: wrap;
|
|
59
|
+
gap: 8px;
|
|
60
|
+
padding-inline: var(--c-tree-padding);
|
|
61
|
+
font-size: 12px;
|
|
62
|
+
color: var(--c-tree-text-secondary);
|
|
63
|
+
flex-shrink: 0;
|
|
64
|
+
}
|
|
65
|
+
.c-tree .c-tree-search-navigation[data-v-d7f39843] {
|
|
66
|
+
display: inline-flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
gap: 12px;
|
|
69
|
+
}
|
|
70
|
+
.c-tree--virtual .c-tree-container[data-v-d7f39843] {
|
|
71
|
+
overflow: hidden;
|
|
72
|
+
}
|
|
73
|
+
.c-tree--virtual .tree-instance[data-v-d7f39843] {
|
|
74
|
+
height: 100%;
|
|
75
|
+
}
|
|
76
|
+
.c-tree[data-v-d7f39843] .n-tree-node-content,
|
|
77
|
+
.c-tree[data-v-d7f39843] .n-tree-node-content__text {
|
|
8
78
|
min-width: 0;
|
|
9
79
|
}
|
|
10
|
-
.c-
|
|
11
|
-
|
|
80
|
+
.c-tree[data-v-d7f39843] .c-tree-node-label {
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
min-width: 0;
|
|
84
|
+
width: 100%;
|
|
85
|
+
gap: 6px;
|
|
86
|
+
}
|
|
87
|
+
.c-tree[data-v-d7f39843] .c-tree-node-title {
|
|
88
|
+
overflow: hidden;
|
|
89
|
+
white-space: nowrap;
|
|
90
|
+
text-overflow: ellipsis;
|
|
91
|
+
}
|
|
92
|
+
.c-tree[data-v-d7f39843] .c-tree-node-status,
|
|
93
|
+
.c-tree[data-v-d7f39843] .c-tree-node-icon {
|
|
94
|
+
flex-shrink: 0;
|
|
95
|
+
}
|
|
96
|
+
.c-tree[data-v-d7f39843] .tree-actions {
|
|
97
|
+
display: inline-flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
gap: 2px;
|
|
100
|
+
margin-left: 6px;
|
|
101
|
+
opacity: 0;
|
|
102
|
+
transition: opacity 0.15s ease;
|
|
103
|
+
}
|
|
104
|
+
.c-tree[data-v-d7f39843] .c-tree-suffix {
|
|
105
|
+
display: inline-flex;
|
|
106
|
+
align-items: center;
|
|
107
|
+
gap: 6px;
|
|
108
|
+
}
|
|
109
|
+
.c-tree[data-v-d7f39843] .c-tree-node-loading {
|
|
110
|
+
width: 12px;
|
|
111
|
+
height: 12px;
|
|
112
|
+
border: 2px solid currentColor;
|
|
113
|
+
border-right-color: transparent;
|
|
114
|
+
border-radius: 50%;
|
|
115
|
+
animation: c-tree-spin-d7f39843 0.8s linear infinite;
|
|
116
|
+
}
|
|
117
|
+
.c-tree[data-v-d7f39843] .n-tree-node:hover .tree-actions,
|
|
118
|
+
.c-tree[data-v-d7f39843] .n-tree-node:focus-within .tree-actions,
|
|
119
|
+
.c-tree[data-v-d7f39843] .tree-actions:focus-within {
|
|
120
|
+
opacity: 1;
|
|
12
121
|
}
|
|
13
|
-
|
|
122
|
+
@media (hover: none), (max-width: 640px) {
|
|
123
|
+
.c-tree[data-v-d7f39843] .tree-actions {
|
|
124
|
+
opacity: 1;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
@media (prefers-reduced-motion: reduce) {
|
|
128
|
+
.c-tree[data-v-d7f39843] .tree-actions {
|
|
129
|
+
transition: none;
|
|
130
|
+
}
|
|
131
|
+
.c-tree[data-v-d7f39843] .c-tree-node-loading {
|
|
132
|
+
animation: none;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
@keyframes c-tree-spin-d7f39843 {
|
|
136
|
+
to {
|
|
137
|
+
transform: rotate(360deg);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* layer: default */
|
|
142
|
+
.filter[data-v-d7f39843]{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
|
|
143
|
+
|
|
144
|
+
.c-data-picker[data-v-70a385cc] {
|
|
145
|
+
width: 100%;
|
|
146
|
+
min-width: 0;
|
|
147
|
+
}
|
|
148
|
+
.c-data-picker__inline[data-v-70a385cc] {
|
|
149
|
+
margin-top: 8px;
|
|
150
|
+
min-width: 0;
|
|
151
|
+
}
|
|
152
|
+
.c-data-picker__trigger[data-v-70a385cc] {
|
|
14
153
|
display: flex;
|
|
15
154
|
align-items: center;
|
|
16
155
|
gap: 8px;
|
|
17
156
|
}
|
|
18
|
-
.c-data-
|
|
157
|
+
.c-data-picker[data-v-70a385cc] .c-data-picker__open {
|
|
19
158
|
flex: 1;
|
|
20
159
|
min-width: 0;
|
|
21
160
|
}
|
|
22
|
-
.c-data-
|
|
161
|
+
.c-data-picker[data-v-70a385cc] .c-data-picker__open .n-button__content {
|
|
23
162
|
display: flex;
|
|
24
163
|
gap: 12px;
|
|
25
164
|
width: 100%;
|
|
26
165
|
justify-content: space-between;
|
|
27
166
|
overflow: hidden;
|
|
28
167
|
}
|
|
29
|
-
.c-data-
|
|
168
|
+
.c-data-picker[data-v-70a385cc] .c-data-picker__open span:first-child {
|
|
30
169
|
overflow: hidden;
|
|
31
170
|
text-overflow: ellipsis;
|
|
32
171
|
white-space: nowrap;
|
|
33
172
|
}
|
|
34
|
-
.c-data-
|
|
173
|
+
.c-data-picker[data-v-70a385cc] .c-data-picker__placeholder {
|
|
35
174
|
opacity: 0.55;
|
|
36
175
|
}
|
|
37
|
-
.c-data-
|
|
176
|
+
.c-data-picker__label-error[data-v-70a385cc] {
|
|
177
|
+
font-size: 12px;
|
|
178
|
+
color: var(--n-text-color);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* layer: icons */
|
|
182
|
+
.i-mdi\:close[data-v-70a385cc]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;}
|
|
183
|
+
.i-mdi\:magnify[data-v-70a385cc]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5l-1.5 1.5l-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14S14 12 14 9.5S12 5 9.5 5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;}
|
|
184
|
+
.i-mdi\:refresh[data-v-70a385cc]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17.65 6.35A7.96 7.96 0 0 0 12 4a8 8 0 0 0-8 8a8 8 0 0 0 8 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18a6 6 0 0 1-6-6a6 6 0 0 1 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;}
|
|
185
|
+
/* layer: default */
|
|
186
|
+
.visible[data-v-70a385cc]{visibility:visible;}
|
|
187
|
+
.\!inline[data-v-70a385cc]{display:inline !important;}
|
|
188
|
+
.inline[data-v-70a385cc]{display:inline;}
|
|
189
|
+
.h-4[data-v-70a385cc]{height:1rem;}
|
|
190
|
+
.w-4[data-v-70a385cc]{width:1rem;}
|
|
191
|
+
.shrink-0[data-v-70a385cc]{flex-shrink:0;}
|
|
192
|
+
.table[data-v-70a385cc]{display:table;}
|
|
193
|
+
|
|
194
|
+
.c-data-picker__layout[data-v-fc3e13b4] {
|
|
195
|
+
display: flex;
|
|
196
|
+
gap: 12px;
|
|
197
|
+
align-items: stretch;
|
|
198
|
+
}
|
|
199
|
+
.c-data-picker__navigation[data-v-fc3e13b4] {
|
|
200
|
+
flex: 0 0 180px;
|
|
201
|
+
max-height: 420px;
|
|
202
|
+
overflow: auto;
|
|
203
|
+
}
|
|
204
|
+
.c-data-picker__navigation-title[data-v-fc3e13b4] {
|
|
205
|
+
margin-block: 4px 8px;
|
|
206
|
+
font-weight: 600;
|
|
207
|
+
}
|
|
208
|
+
.c-data-picker__favorite[data-v-fc3e13b4] {
|
|
209
|
+
display: inline-flex;
|
|
210
|
+
gap: 2px;
|
|
211
|
+
}
|
|
212
|
+
.c-data-picker__main[data-v-fc3e13b4] {
|
|
213
|
+
min-width: 0;
|
|
214
|
+
flex: 1;
|
|
215
|
+
}
|
|
216
|
+
.c-data-picker__footer[data-v-fc3e13b4] {
|
|
217
|
+
margin-top: 12px;
|
|
218
|
+
}
|
|
219
|
+
.c-data-picker__history > div[data-v-fc3e13b4] {
|
|
220
|
+
display: flex;
|
|
221
|
+
flex-wrap: wrap;
|
|
222
|
+
align-items: center;
|
|
223
|
+
gap: 6px;
|
|
224
|
+
margin-block: 8px;
|
|
225
|
+
}
|
|
226
|
+
.c-data-picker__content[data-v-fc3e13b4]:focus {
|
|
227
|
+
outline: none;
|
|
228
|
+
}
|
|
229
|
+
.c-data-picker__search[data-v-fc3e13b4], .c-data-picker__actions[data-v-fc3e13b4], .c-data-picker__selection[data-v-fc3e13b4] {
|
|
230
|
+
display: flex;
|
|
231
|
+
align-items: center;
|
|
232
|
+
gap: 8px;
|
|
233
|
+
}
|
|
234
|
+
.c-data-picker__search[data-v-fc3e13b4] {
|
|
38
235
|
margin-bottom: 12px;
|
|
39
236
|
}
|
|
40
|
-
.c-data-picker__result-bar[data-v-
|
|
237
|
+
.c-data-picker__result-bar[data-v-fc3e13b4] {
|
|
41
238
|
display: flex;
|
|
42
239
|
align-items: center;
|
|
43
240
|
justify-content: space-between;
|
|
@@ -45,47 +242,54 @@
|
|
|
45
242
|
gap: 6px 12px;
|
|
46
243
|
margin-block-start: 10px;
|
|
47
244
|
}
|
|
48
|
-
.c-data-picker__pagination[data-v-
|
|
245
|
+
.c-data-picker__pagination[data-v-fc3e13b4] {
|
|
49
246
|
margin-inline-start: auto;
|
|
50
247
|
max-width: 100%;
|
|
51
248
|
}
|
|
52
|
-
.c-data-picker__pagination[data-v-
|
|
249
|
+
.c-data-picker__pagination[data-v-fc3e13b4] .n-pagination {
|
|
53
250
|
flex-wrap: wrap;
|
|
54
251
|
justify-content: flex-end;
|
|
55
252
|
}
|
|
56
|
-
.c-data-picker__selection[data-v-
|
|
253
|
+
.c-data-picker__selection[data-v-fc3e13b4] {
|
|
57
254
|
flex-wrap: wrap;
|
|
58
255
|
min-width: 0;
|
|
59
256
|
max-width: 100%;
|
|
60
257
|
font-size: 12px;
|
|
61
258
|
}
|
|
62
|
-
.c-data-picker__selection[data-v-
|
|
259
|
+
.c-data-picker__selection[data-v-fc3e13b4] .n-tag {
|
|
63
260
|
max-width: 100%;
|
|
64
261
|
}
|
|
65
|
-
.c-data-picker__selection[data-v-
|
|
262
|
+
.c-data-picker__selection[data-v-fc3e13b4] .n-tag__content {
|
|
66
263
|
overflow: hidden;
|
|
67
264
|
text-overflow: ellipsis;
|
|
68
265
|
white-space: nowrap;
|
|
69
266
|
}
|
|
70
|
-
.c-data-picker__actions[data-v-
|
|
267
|
+
.c-data-picker__actions[data-v-fc3e13b4] {
|
|
71
268
|
justify-content: flex-end;
|
|
72
269
|
}
|
|
73
|
-
.c-data-picker__error[data-v-
|
|
270
|
+
.c-data-picker__error[data-v-fc3e13b4] {
|
|
74
271
|
font-size: 12px;
|
|
75
272
|
color: var(--n-text-color);
|
|
76
273
|
}
|
|
274
|
+
@media (max-width: 640px) {
|
|
275
|
+
.c-data-picker__layout[data-v-fc3e13b4] {
|
|
276
|
+
flex-direction: column;
|
|
277
|
+
}
|
|
278
|
+
.c-data-picker__navigation[data-v-fc3e13b4] {
|
|
279
|
+
flex-basis: auto;
|
|
280
|
+
max-height: 160px;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
77
283
|
|
|
78
284
|
/* layer: icons */
|
|
79
|
-
.i-mdi\:check[data-v-
|
|
80
|
-
.i-mdi\:close[data-v-
|
|
81
|
-
.i-mdi\:magnify[data-v-
|
|
82
|
-
.i-mdi\:refresh[data-v-
|
|
285
|
+
.i-mdi\:check[data-v-fc3e13b4]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;}
|
|
286
|
+
.i-mdi\:close[data-v-fc3e13b4]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;}
|
|
287
|
+
.i-mdi\:magnify[data-v-fc3e13b4]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5l-1.5 1.5l-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14S14 12 14 9.5S12 5 9.5 5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;}
|
|
288
|
+
.i-mdi\:refresh[data-v-fc3e13b4]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17.65 6.35A7.96 7.96 0 0 0 12 4a8 8 0 0 0-8 8a8 8 0 0 0 8 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18a6 6 0 0 1-6-6a6 6 0 0 1 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;}
|
|
83
289
|
/* layer: default */
|
|
84
|
-
.visible[data-v-
|
|
85
|
-
|
|
86
|
-
.
|
|
87
|
-
.
|
|
88
|
-
.
|
|
89
|
-
.
|
|
90
|
-
.shrink-0[data-v-53b96a9d]{flex-shrink:0;}
|
|
91
|
-
.table[data-v-53b96a9d]{display:table;}
|
|
290
|
+
.visible[data-v-fc3e13b4]{visibility:visible;}
|
|
291
|
+
.inline[data-v-fc3e13b4]{display:inline;}
|
|
292
|
+
.hidden[data-v-fc3e13b4]{display:none;}
|
|
293
|
+
.h-4[data-v-fc3e13b4]{height:1rem;}
|
|
294
|
+
.w-4[data-v-fc3e13b4]{width:1rem;}
|
|
295
|
+
.table[data-v-fc3e13b4]{display:table;}
|
package/dist/C_DataPicker.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { _default as C_DataPicker, type DataPickerEmits, type DataPickerProps, type DataPickerRequest, type DataPickerSource, type DataPickerSourceInput, type DataPickerValue, createDataPickerField };
|
|
1
|
+
import { a as DataPickerNavigation, c as DataPickerRequest, d as DataPickerValue, i as DataPickerHistoryOptions, l as DataPickerSource, n as _default, o as DataPickerNavigationNode, r as DataPickerEmits, s as DataPickerProps, t as createDataPickerField, u as DataPickerSourceInput } from "./formField.cjs";
|
|
2
|
+
export { _default as C_DataPicker, type DataPickerEmits, type DataPickerHistoryOptions, type DataPickerNavigation, type DataPickerNavigationNode, type DataPickerProps, type DataPickerRequest, type DataPickerSource, type DataPickerSourceInput, type DataPickerValue, createDataPickerField };
|
package/dist/C_DataPicker.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./types.js";
|
|
2
2
|
import "./useFormConfig.js";
|
|
3
3
|
import "./config2.js";
|
|
4
|
-
import { a as
|
|
4
|
+
import { a as DataPickerNavigation, c as DataPickerRequest, d as DataPickerValue, i as DataPickerHistoryOptions, l as DataPickerSource, n as _default, o as DataPickerNavigationNode, r as DataPickerEmits, s as DataPickerProps, t as createDataPickerField, u as DataPickerSourceInput } from "./formField.js";
|
|
5
5
|
import "./useFormRenderer.js";
|
|
6
|
-
export { _default as C_DataPicker, type DataPickerEmits, type DataPickerProps, type DataPickerRequest, type DataPickerSource, type DataPickerSourceInput, type DataPickerValue, createDataPickerField };
|
|
6
|
+
export { _default as C_DataPicker, type DataPickerEmits, type DataPickerHistoryOptions, type DataPickerNavigation, type DataPickerNavigationNode, type DataPickerProps, type DataPickerRequest, type DataPickerSource, type DataPickerSourceInput, type DataPickerValue, createDataPickerField };
|
package/dist/C_Date.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DateProps, i as DatePickerMode, n as DateExpose, o as DateRangeValue, r as DateModelValue, s as DateValue, t as DateEmits } from "./
|
|
1
|
+
import { a as DateProps, i as DatePickerMode, n as DateExpose, o as DateRangeValue, r as DateModelValue, s as DateValue, t as DateEmits } from "./types4.cjs";
|
|
2
2
|
import { AllowedComponentProps, ComponentCustomProps, EmitFn, VNode, VNodeProps } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/C_Date/index.d.ts
|
package/dist/C_Date.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DateProps, i as DatePickerMode, n as DateExpose, o as DateRangeValue, r as DateModelValue, s as DateValue, t as DateEmits } from "./
|
|
1
|
+
import { a as DateProps, i as DatePickerMode, n as DateExpose, o as DateRangeValue, r as DateModelValue, s as DateValue, t as DateEmits } from "./types3.js";
|
|
2
2
|
import { AllowedComponentProps, ComponentCustomProps, EmitFn, VNode, VNodeProps } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/C_Date/index.d.ts
|
package/dist/C_Density.d.cts
CHANGED
package/dist/C_Density.d.ts
CHANGED
package/dist/C_Editor.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./
|
|
1
|
+
import { t as _default } from "./index14.vue.cjs";
|
|
2
2
|
export { _default as C_Editor };
|
package/dist/C_Editor.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./
|
|
1
|
+
import { t as _default } from "./index13.vue.js";
|
|
2
2
|
export { _default as C_Editor };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as ValidationTarget, t as ValidationIssue } from "./validation.cjs";
|
|
2
|
-
import { n as ErrorSummaryProps, t as _default } from "./
|
|
2
|
+
import { n as ErrorSummaryProps, t as _default } from "./index15.vue.cjs";
|
|
3
3
|
export { _default as C_ErrorSummary, type ErrorSummaryProps, type ValidationIssue, type ValidationTarget };
|
package/dist/C_ErrorSummary.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as ValidationTarget, t as ValidationIssue } from "./validation.js";
|
|
2
|
-
import { n as ErrorSummaryProps, t as _default } from "./
|
|
2
|
+
import { n as ErrorSummaryProps, t as _default } from "./index14.vue.js";
|
|
3
3
|
export { _default as C_ErrorSummary, type ErrorSummaryProps, type ValidationIssue, type ValidationTarget };
|
package/dist/C_Form.base.css
CHANGED
|
@@ -1,4 +1,35 @@
|
|
|
1
1
|
@import "./shared-tokens.css";
|
|
2
|
+
.c-option-status {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: 8px;
|
|
6
|
+
min-width: 0;
|
|
7
|
+
padding: 6px 2px;
|
|
8
|
+
color: inherit;
|
|
9
|
+
font-size: 12px;
|
|
10
|
+
line-height: 1.5;
|
|
11
|
+
}
|
|
12
|
+
.c-option-status--compact {
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
padding: 0;
|
|
15
|
+
white-space: nowrap;
|
|
16
|
+
}
|
|
17
|
+
.c-option-status button {
|
|
18
|
+
border: 0;
|
|
19
|
+
padding: 0 2px;
|
|
20
|
+
background: transparent;
|
|
21
|
+
color: var(--n-loading-color, var(--n-caret-color, var(--c-primary, #18a058)));
|
|
22
|
+
font: inherit;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
}
|
|
25
|
+
.c-option-status button:focus-visible {
|
|
26
|
+
outline: 2px solid currentColor;
|
|
27
|
+
outline-offset: 2px;
|
|
28
|
+
}
|
|
29
|
+
.c-select-field {
|
|
30
|
+
min-width: 0;
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
2
33
|
.c-select {
|
|
3
34
|
min-width: 0;
|
|
4
35
|
max-width: 100%;
|
|
@@ -27,7 +58,43 @@
|
|
|
27
58
|
}
|
|
28
59
|
|
|
29
60
|
/* layer: default */
|
|
30
|
-
.blur[data-v-
|
|
61
|
+
.blur[data-v-50c4de6d]{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
|
|
62
|
+
|
|
63
|
+
.c-option-status {
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
gap: 8px;
|
|
67
|
+
min-width: 0;
|
|
68
|
+
padding: 6px 2px;
|
|
69
|
+
color: inherit;
|
|
70
|
+
font-size: 12px;
|
|
71
|
+
line-height: 1.5;
|
|
72
|
+
}
|
|
73
|
+
.c-option-status--compact {
|
|
74
|
+
display: inline-flex;
|
|
75
|
+
padding: 0;
|
|
76
|
+
white-space: nowrap;
|
|
77
|
+
}
|
|
78
|
+
.c-option-status button {
|
|
79
|
+
border: 0;
|
|
80
|
+
padding: 0 2px;
|
|
81
|
+
background: transparent;
|
|
82
|
+
color: var(--n-loading-color, var(--n-caret-color, var(--c-primary, #18a058)));
|
|
83
|
+
font: inherit;
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
}
|
|
86
|
+
.c-option-status button:focus-visible {
|
|
87
|
+
outline: 2px solid currentColor;
|
|
88
|
+
outline-offset: 2px;
|
|
89
|
+
}
|
|
90
|
+
.c-auto-complete {
|
|
91
|
+
min-width: 0;
|
|
92
|
+
width: 100%;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* layer: default */
|
|
96
|
+
.fixed[data-v-52f22b9b]{position:fixed;}
|
|
97
|
+
.blur[data-v-52f22b9b]{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
|
|
31
98
|
|
|
32
99
|
.c-form[data-v-75867577] .c-form-option-state {
|
|
33
100
|
width: 100%;
|
package/dist/C_Form.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./chunk.cjs`);const e=require(`./config.cjs`);require(`./C_Icon2.cjs`);const t=require(`./useFormConfig.cjs`),n=require(`./
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./chunk.cjs`);const e=require(`./config.cjs`);require(`./C_Icon2.cjs`);const t=require(`./useFormConfig.cjs`),n=require(`./fieldRenderers.cjs`),r=require(`./useDynamicFormState.cjs`);let i=require(`@robot-admin/form-validate`);exports.C_Form=n.o,exports.DYNAMIC_FORM_STATE_KEY=r.t,exports.FIELD_TYPE_OPTIONS=r.n,exports.FORM_DEFAULTS=t.t,exports.FORM_GLOBAL_CONFIG_KEY=e.FORM_GLOBAL_CONFIG_KEY,exports.FORM_RENDERER_REGISTRY_KEY=n.s,exports.LAYOUTS_WITH_OWN_CONTROLS=t.n,Object.defineProperty(exports,`NAIVE_COMBOS`,{enumerable:!0,get:function(){return i.NAIVE_COMBOS}}),Object.defineProperty(exports,`PRESET_RULES`,{enumerable:!0,get:function(){return i.PRESET_RULES}}),Object.defineProperty(exports,`SPEC_RULES`,{enumerable:!0,get:function(){return i.SPEC_RULES}}),exports.createAutoCompleteField=n.t,exports.createFormRendererRegistry=n.c,exports.createSelectField=n.n,exports.defineFormConfig=n.r,exports.defineFormOptions=n.i,exports.mergeFormConfig=t.r,exports.registerRenderer=n.l,exports.resolveFormConfig=t.i,exports.shouldShowActions=t.a,exports.unregisterRenderer=n.u,exports.useCForm=n.a,exports.useDynamicFormState=r.r,exports.useFormDirty=n.p,exports.useFormGlobalConfig=t.o,exports.useFormRenderer=n.d,exports.useFormState=n.f;
|
package/dist/C_Form.css
CHANGED
|
@@ -1,4 +1,35 @@
|
|
|
1
1
|
@import "./C_Editor.css";
|
|
2
|
+
.c-option-status {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: 8px;
|
|
6
|
+
min-width: 0;
|
|
7
|
+
padding: 6px 2px;
|
|
8
|
+
color: inherit;
|
|
9
|
+
font-size: 12px;
|
|
10
|
+
line-height: 1.5;
|
|
11
|
+
}
|
|
12
|
+
.c-option-status--compact {
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
padding: 0;
|
|
15
|
+
white-space: nowrap;
|
|
16
|
+
}
|
|
17
|
+
.c-option-status button {
|
|
18
|
+
border: 0;
|
|
19
|
+
padding: 0 2px;
|
|
20
|
+
background: transparent;
|
|
21
|
+
color: var(--n-loading-color, var(--n-caret-color, var(--c-primary, #18a058)));
|
|
22
|
+
font: inherit;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
}
|
|
25
|
+
.c-option-status button:focus-visible {
|
|
26
|
+
outline: 2px solid currentColor;
|
|
27
|
+
outline-offset: 2px;
|
|
28
|
+
}
|
|
29
|
+
.c-select-field {
|
|
30
|
+
min-width: 0;
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
2
33
|
.c-select {
|
|
3
34
|
min-width: 0;
|
|
4
35
|
max-width: 100%;
|
|
@@ -27,7 +58,43 @@
|
|
|
27
58
|
}
|
|
28
59
|
|
|
29
60
|
/* layer: default */
|
|
30
|
-
.blur[data-v-
|
|
61
|
+
.blur[data-v-50c4de6d]{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
|
|
62
|
+
|
|
63
|
+
.c-option-status {
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
gap: 8px;
|
|
67
|
+
min-width: 0;
|
|
68
|
+
padding: 6px 2px;
|
|
69
|
+
color: inherit;
|
|
70
|
+
font-size: 12px;
|
|
71
|
+
line-height: 1.5;
|
|
72
|
+
}
|
|
73
|
+
.c-option-status--compact {
|
|
74
|
+
display: inline-flex;
|
|
75
|
+
padding: 0;
|
|
76
|
+
white-space: nowrap;
|
|
77
|
+
}
|
|
78
|
+
.c-option-status button {
|
|
79
|
+
border: 0;
|
|
80
|
+
padding: 0 2px;
|
|
81
|
+
background: transparent;
|
|
82
|
+
color: var(--n-loading-color, var(--n-caret-color, var(--c-primary, #18a058)));
|
|
83
|
+
font: inherit;
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
}
|
|
86
|
+
.c-option-status button:focus-visible {
|
|
87
|
+
outline: 2px solid currentColor;
|
|
88
|
+
outline-offset: 2px;
|
|
89
|
+
}
|
|
90
|
+
.c-auto-complete {
|
|
91
|
+
min-width: 0;
|
|
92
|
+
width: 100%;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* layer: default */
|
|
96
|
+
.fixed[data-v-52f22b9b]{position:fixed;}
|
|
97
|
+
.blur[data-v-52f22b9b]{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
|
|
31
98
|
|
|
32
99
|
.c-form[data-v-75867577] .c-form-option-state {
|
|
33
100
|
width: 100%;
|
package/dist/C_Form.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { t as ComponentDensity } from "./density.cjs";
|
|
1
2
|
import { t as OptionsState } from "./options.cjs";
|
|
2
3
|
import { A as FormTabActionsSlotProps, B as TabsLayoutConfig, C as FormMode, D as FormSlots, E as FormRecord, F as LayoutType, G as SPEC_RULES, H as NAIVE_COMBOS, I as MaybePromise, L as OptionItem, M as InlineLayoutConfig, N as LabelPlacement, O as FormStepActionsSlotProps, P as LayoutConfig, R as StepsLayoutConfig, S as FormInstance, T as FormOption, U as PRESET_RULES, V as FormValidationRule, W as RuleSpec, _ as DynamicFormState, a as ResolvedFormConfig, b as FormActionSlotProps, c as shouldShowActions, d as CardLayoutConfig, f as ComponentType, g as DynamicFormController, h as DynamicFormConfig, i as LayoutCallbacks, j as GridLayoutConfig, k as FormSubmitContext, l as useFormGlobalConfig, m as DynamicFieldConfig, n as FormConfig, o as mergeFormConfig, p as CustomLayoutConfig, r as LAYOUTS_WITH_OWN_CONTROLS, s as resolveFormConfig, t as FORM_DEFAULTS, u as AsyncOptionsContext, v as FieldPath, w as FormModel, x as FormErrorContext, y as FieldPathValue, z as SubmitEventPayload } from "./useFormConfig.cjs";
|
|
3
|
-
import { t as ComponentDensity } from "./density.cjs";
|
|
4
4
|
import { FORM_GLOBAL_CONFIG_KEY } from "./config.cjs";
|
|
5
5
|
import { a as FormRendererRegistry, c as createFormRendererRegistry, d as useFormRenderer, i as FormRendererContext, l as registerRenderer, n as FORM_RENDERER_REGISTRY_KEY, o as RendererProps, r as FormRenderer, s as UseFormRendererOptions, t as ComponentMap, u as unregisterRenderer } from "./useFormRenderer.cjs";
|
|
6
|
-
import { a as UseFormDirtyReturn, c as
|
|
7
|
-
export { type AsyncOptionsContext, _default as C_Form, type CardLayoutConfig, type ComponentDensity, type ComponentMap, type ComponentType, type CustomLayoutConfig, DYNAMIC_FORM_STATE_KEY, type DynamicFieldConfig, type DynamicFormConfig, type DynamicFormController, type DynamicFormState, type DynamicFormStateType, FIELD_TYPE_OPTIONS, FORM_DEFAULTS, FORM_GLOBAL_CONFIG_KEY, FORM_RENDERER_REGISTRY_KEY, type FieldPath, type FieldPathValue, type FormActionSlotProps, type FormConfig, type FormErrorContext, type FormInstance, type FormMode, type FormModel, type FormOption, type FormRecord, type FormRenderer, type FormRendererContext, type FormRendererRegistry, type FormSlots, type FormStepActionsSlotProps, type FormSubmitContext, type FormTabActionsSlotProps, type FormValidationRule, type GridLayoutConfig, type InlineLayoutConfig, LAYOUTS_WITH_OWN_CONTROLS, type LabelPlacement, type LayoutCallbacks, type LayoutConfig, type LayoutType, type MaybePromise, NAIVE_COMBOS, type OptionItem, type OptionsState, PRESET_RULES, type RendererProps, type ResolvedFormConfig, type RuleSpec, SPEC_RULES, type StepsLayoutConfig, type SubmitEventPayload, type TabsLayoutConfig, type UseCFormOptions, type UseCFormReturn, type UseFormDirtyReturn, type UseFormRendererOptions, createFormRendererRegistry, defineFormConfig, defineFormOptions, mergeFormConfig, registerRenderer, resolveFormConfig, shouldShowActions, unregisterRenderer, useCForm, useDynamicFormState, useFormDirty, useFormGlobalConfig, useFormRenderer, useFormState };
|
|
6
|
+
import { a as UseFormDirtyReturn, c as createAutoCompleteField, d as UseCFormReturn, f as defineFormConfig, h as _default, i as useDynamicFormState, l as createSelectField, m as useCForm, n as DynamicFormStateType, o as useFormDirty, p as defineFormOptions, r as FIELD_TYPE_OPTIONS, s as useFormState, t as DYNAMIC_FORM_STATE_KEY, u as UseCFormOptions } from "./useDynamicFormState.cjs";
|
|
7
|
+
export { type AsyncOptionsContext, _default as C_Form, type CardLayoutConfig, type ComponentDensity, type ComponentMap, type ComponentType, type CustomLayoutConfig, DYNAMIC_FORM_STATE_KEY, type DynamicFieldConfig, type DynamicFormConfig, type DynamicFormController, type DynamicFormState, type DynamicFormStateType, FIELD_TYPE_OPTIONS, FORM_DEFAULTS, FORM_GLOBAL_CONFIG_KEY, FORM_RENDERER_REGISTRY_KEY, type FieldPath, type FieldPathValue, type FormActionSlotProps, type FormConfig, type FormErrorContext, type FormInstance, type FormMode, type FormModel, type FormOption, type FormRecord, type FormRenderer, type FormRendererContext, type FormRendererRegistry, type FormSlots, type FormStepActionsSlotProps, type FormSubmitContext, type FormTabActionsSlotProps, type FormValidationRule, type GridLayoutConfig, type InlineLayoutConfig, LAYOUTS_WITH_OWN_CONTROLS, type LabelPlacement, type LayoutCallbacks, type LayoutConfig, type LayoutType, type MaybePromise, NAIVE_COMBOS, type OptionItem, type OptionsState, PRESET_RULES, type RendererProps, type ResolvedFormConfig, type RuleSpec, SPEC_RULES, type StepsLayoutConfig, type SubmitEventPayload, type TabsLayoutConfig, type UseCFormOptions, type UseCFormReturn, type UseFormDirtyReturn, type UseFormRendererOptions, createAutoCompleteField, createFormRendererRegistry, createSelectField, defineFormConfig, defineFormOptions, mergeFormConfig, registerRenderer, resolveFormConfig, shouldShowActions, unregisterRenderer, useCForm, useDynamicFormState, useFormDirty, useFormGlobalConfig, useFormRenderer, useFormState };
|
package/dist/C_Form.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { A as FormTabActionsSlotProps, B as TabsLayoutConfig, C as FormMode, D as FormSlots, E as FormRecord, F as LayoutType, G as SPEC_RULES, H as NAIVE_COMBOS, I as MaybePromise, K as OptionsState, L as OptionItem, M as InlineLayoutConfig, N as LabelPlacement, O as FormStepActionsSlotProps, P as LayoutConfig, R as StepsLayoutConfig, S as FormInstance, T as FormOption, U as PRESET_RULES, V as FormValidationRule, W as RuleSpec, _ as DynamicFormState, a as ResolvedFormConfig, b as FormActionSlotProps, c as shouldShowActions, d as CardLayoutConfig, f as ComponentType, g as DynamicFormController, h as DynamicFormConfig, i as LayoutCallbacks, j as GridLayoutConfig, k as FormSubmitContext, l as useFormGlobalConfig, m as DynamicFieldConfig, n as FormConfig, o as mergeFormConfig, p as CustomLayoutConfig, r as LAYOUTS_WITH_OWN_CONTROLS, s as resolveFormConfig, t as FORM_DEFAULTS, u as AsyncOptionsContext, v as FieldPath, w as FormModel, x as FormErrorContext, y as FieldPathValue, z as SubmitEventPayload } from "./useFormConfig.js";
|
|
2
1
|
import { t as ComponentDensity } from "./density.js";
|
|
2
|
+
import "./types2.js";
|
|
3
|
+
import { A as FormTabActionsSlotProps, B as TabsLayoutConfig, C as FormMode, D as FormSlots, E as FormRecord, F as LayoutType, G as SPEC_RULES, H as NAIVE_COMBOS, I as MaybePromise, K as OptionsState, L as OptionItem, M as InlineLayoutConfig, N as LabelPlacement, O as FormStepActionsSlotProps, P as LayoutConfig, R as StepsLayoutConfig, S as FormInstance, T as FormOption, U as PRESET_RULES, V as FormValidationRule, W as RuleSpec, _ as DynamicFormState, a as ResolvedFormConfig, b as FormActionSlotProps, c as shouldShowActions, d as CardLayoutConfig, f as ComponentType, g as DynamicFormController, h as DynamicFormConfig, i as LayoutCallbacks, j as GridLayoutConfig, k as FormSubmitContext, l as useFormGlobalConfig, m as DynamicFieldConfig, n as FormConfig, o as mergeFormConfig, p as CustomLayoutConfig, r as LAYOUTS_WITH_OWN_CONTROLS, s as resolveFormConfig, t as FORM_DEFAULTS, u as AsyncOptionsContext, v as FieldPath, w as FormModel, x as FormErrorContext, y as FieldPathValue, z as SubmitEventPayload } from "./useFormConfig.js";
|
|
3
4
|
import { FORM_GLOBAL_CONFIG_KEY } from "./config.js";
|
|
4
5
|
import { a as FormRendererRegistry, c as createFormRendererRegistry, d as useFormRenderer, i as FormRendererContext, l as registerRenderer, n as FORM_RENDERER_REGISTRY_KEY, o as RendererProps, r as FormRenderer, s as UseFormRendererOptions, t as ComponentMap, u as unregisterRenderer } from "./useFormRenderer.js";
|
|
5
|
-
import { a as UseFormDirtyReturn, c as
|
|
6
|
-
|
|
6
|
+
import { a as UseFormDirtyReturn, c as createAutoCompleteField, d as UseCFormReturn, f as defineFormConfig, h as _default, i as useDynamicFormState, l as createSelectField, m as useCForm, n as DynamicFormStateType, o as useFormDirty, p as defineFormOptions, r as FIELD_TYPE_OPTIONS, s as useFormState, t as DYNAMIC_FORM_STATE_KEY, u as UseCFormOptions } from "./useDynamicFormState.js";
|
|
7
|
+
import "./types4.js";
|
|
8
|
+
export { type AsyncOptionsContext, _default as C_Form, type CardLayoutConfig, type ComponentDensity, type ComponentMap, type ComponentType, type CustomLayoutConfig, DYNAMIC_FORM_STATE_KEY, type DynamicFieldConfig, type DynamicFormConfig, type DynamicFormController, type DynamicFormState, type DynamicFormStateType, FIELD_TYPE_OPTIONS, FORM_DEFAULTS, FORM_GLOBAL_CONFIG_KEY, FORM_RENDERER_REGISTRY_KEY, type FieldPath, type FieldPathValue, type FormActionSlotProps, type FormConfig, type FormErrorContext, type FormInstance, type FormMode, type FormModel, type FormOption, type FormRecord, type FormRenderer, type FormRendererContext, type FormRendererRegistry, type FormSlots, type FormStepActionsSlotProps, type FormSubmitContext, type FormTabActionsSlotProps, type FormValidationRule, type GridLayoutConfig, type InlineLayoutConfig, LAYOUTS_WITH_OWN_CONTROLS, type LabelPlacement, type LayoutCallbacks, type LayoutConfig, type LayoutType, type MaybePromise, NAIVE_COMBOS, type OptionItem, type OptionsState, PRESET_RULES, type RendererProps, type ResolvedFormConfig, type RuleSpec, SPEC_RULES, type StepsLayoutConfig, type SubmitEventPayload, type TabsLayoutConfig, type UseCFormOptions, type UseCFormReturn, type UseFormDirtyReturn, type UseFormRendererOptions, createAutoCompleteField, createFormRendererRegistry, createSelectField, defineFormConfig, defineFormOptions, mergeFormConfig, registerRenderer, resolveFormConfig, shouldShowActions, unregisterRenderer, useCForm, useDynamicFormState, useFormDirty, useFormGlobalConfig, useFormRenderer, useFormState };
|
package/dist/C_Form.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{FORM_GLOBAL_CONFIG_KEY as e}from"./config.js";import"./C_Icon2.js";import{a as t,i as n,n as r,o as i,r as a,t as o}from"./useFormConfig.js";import{a as s,c,d as l,
|
|
1
|
+
import{FORM_GLOBAL_CONFIG_KEY as e}from"./config.js";import"./C_Icon2.js";import{a as t,i as n,n as r,o as i,r as a,t as o}from"./useFormConfig.js";import{a as s,c,d as l,f as u,i as d,l as f,n as p,o as m,p as h,r as g,s as _,t as v,u as y}from"./fieldRenderers.js";import{n as b,r as x,t as S}from"./formValidation.js";import{n as C,r as w,t as T}from"./useDynamicFormState.js";export{m as C_Form,T as DYNAMIC_FORM_STATE_KEY,C as FIELD_TYPE_OPTIONS,o as FORM_DEFAULTS,e as FORM_GLOBAL_CONFIG_KEY,_ as FORM_RENDERER_REGISTRY_KEY,r as LAYOUTS_WITH_OWN_CONTROLS,S as NAIVE_COMBOS,b as PRESET_RULES,x as SPEC_RULES,v as createAutoCompleteField,c as createFormRendererRegistry,p as createSelectField,g as defineFormConfig,d as defineFormOptions,a as mergeFormConfig,f as registerRenderer,n as resolveFormConfig,t as shouldShowActions,y as unregisterRenderer,s as useCForm,w as useDynamicFormState,h as useFormDirty,i as useFormGlobalConfig,l as useFormRenderer,u as useFormState};
|
package/dist/C_FormModal.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./C_Icon2.cjs`),require(`./C_ActionBar2.cjs`),require(`./
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./C_Icon2.cjs`),require(`./C_ActionBar2.cjs`),require(`./fieldRenderers.cjs`);const e=require(`./C_FormModal2.cjs`);exports.C_FormModal=e.t;
|
package/dist/C_FormModal.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FormModalProps, i as FormModalMode, n as FormModalEditor, r as FormModalEmits, t as _default } from "./
|
|
1
|
+
import { a as FormModalProps, i as FormModalMode, n as FormModalEditor, r as FormModalEmits, t as _default } from "./index16.vue.cjs";
|
|
2
2
|
export { _default as C_FormModal, type FormModalEditor, type FormModalEmits, type FormModalMode, type FormModalProps };
|
package/dist/C_FormModal.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import "./types2.js";
|
|
1
2
|
import "./useFormConfig.js";
|
|
2
3
|
import "./useFormRenderer.js";
|
|
3
4
|
import "./useDynamicFormState.js";
|
|
4
|
-
import
|
|
5
|
+
import "./types4.js";
|
|
6
|
+
import { a as FormModalProps, i as FormModalMode, n as FormModalEditor, r as FormModalEmits, t as _default } from "./index15.vue.js";
|
|
5
7
|
export { _default as C_FormModal, type FormModalEditor, type FormModalEmits, type FormModalMode, type FormModalProps };
|
package/dist/C_FormModal.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./C_Icon2.js";import"./C_ActionBar2.js";import"./
|
|
1
|
+
import"./C_Icon2.js";import"./C_ActionBar2.js";import"./fieldRenderers.js";import{t as e}from"./C_FormModal2.js";export{e as C_FormModal};
|