@antcde/component-library 0.1.31-rc.5 → 0.1.31-rc.7
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/dist/build/uno.safelist.d.ts +1 -1
- package/dist/build/uno.safelist.js +37 -36
- package/dist/build/uno.shortcuts.js +0 -3
- package/dist/index.js +20 -32
- package/dist/types/components/BaseConfirmDialog.vue.d.ts +4 -4
- package/dist/types/components/BaseDialog.vue.d.ts +3 -3
- package/dist/types/index.d.ts +283 -17
- package/lib/build/uno.safelist.ts +37 -36
- package/lib/build/uno.shortcuts.ts +0 -3
- package/package.json +3 -3
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Every utility class this library's own components use, so a consuming app emits
|
|
5
5
|
* them even though UnoCSS never scans `dist/index.js`. See the generator for why.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* 355 classes, from 1676 candidates, filtered by asking Uno
|
|
8
8
|
* which ones actually resolve.
|
|
9
9
|
*/
|
|
10
10
|
export declare const libraryClassSafelist: string[];
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Every utility class this library's own components use, so a consuming app emits
|
|
5
5
|
* them even though UnoCSS never scans `dist/index.js`. See the generator for why.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* 355 classes, from 1676 candidates, filtered by asking Uno
|
|
8
8
|
* which ones actually resolve.
|
|
9
9
|
*/
|
|
10
10
|
export const libraryClassSafelist = [
|
|
@@ -32,39 +32,40 @@ export const libraryClassSafelist = [
|
|
|
32
32
|
'gap-x-2', 'gap-x-3', 'gap-y-1', 'grayscale', 'grid', 'grid-cols-1',
|
|
33
33
|
'grid-cols-2', 'grid-cols-3', 'grid-cols-4', 'group-hover:bg-primary/4', 'group-hover:border-primary/60', 'h-11',
|
|
34
34
|
'h-2', 'h-4', 'h-7', 'h-8', 'h-9', 'h-9.5',
|
|
35
|
-
'h-[18px]', 'h-[22px]', 'h-[30px]', 'h-
|
|
36
|
-
'hover:bg-ant-hover', 'hover:bg-primary/6', 'hover:bg-primary/8', 'hover:bg-warning/10', 'hover:bg-white/10',
|
|
37
|
-
'inline', 'inline-block', 'inline-flex', 'inset-0', 'italic',
|
|
38
|
-
'items-center', 'items-start', 'items-stretch', 'justify-between', 'justify-center',
|
|
39
|
-
'justify-start', 'last:border-b-0', 'leading-none', 'leading-relaxed', 'leading-snug',
|
|
40
|
-
'left-0.5', 'lg:flex-initial', 'lg:min-w-[180px]', 'lg:min-w-[220px]', 'line-clamp-2',
|
|
41
|
-
'list-none', 'm-0', 'max-h-[88vh]', 'max-w-[180px]', 'max-w-[240px]',
|
|
42
|
-
'max-w-[
|
|
43
|
-
'mb-3', 'mb-4', 'md:basis-auto', 'md:flex-1', 'md:max-w-[420px]',
|
|
44
|
-
'min-h-0', 'min-h-11', 'min-h-[34px]', 'min-w-0', 'min-w-[140px]',
|
|
45
|
-
'min-w-[168px]', 'min-w-[180px]', 'min-w-[200px]', 'min-w-[240px]', 'ml-1',
|
|
46
|
-
'mr-1', 'mr-2', 'mr-2.5', 'ms', 'ms-auto',
|
|
47
|
-
'mt-0.5', 'mt-1', 'mt-1.5', 'mt-2', 'mt-3',
|
|
48
|
-
'my-1', 'my-1.5', 'object-cover', 'opacity-0', 'opacity-20',
|
|
49
|
-
'opacity-
|
|
50
|
-
'opacity-80', 'outline-none', 'overflow-hidden', 'overflow-y-auto', 'p-0',
|
|
51
|
-
'p-5', 'pa-2', 'pa-3', 'pa-4', 'pb-0',
|
|
52
|
-
'pb-10', 'pb-2', 'pb-5', 'pb-6', 'pl-1',
|
|
53
|
-
'position-relative', 'pr-1', 'pr-1.5', 'pt-1', 'pt-1.5',
|
|
54
|
-
'pt-3', 'pt-5', 'px', 'px-0', 'px-1.5',
|
|
55
|
-
'px-2', 'px-2.5', 'px-3', 'px-3.5', 'px-4',
|
|
56
|
-
'px-5.5', 'px-6', 'py-0', 'py-0.5', 'py-1',
|
|
57
|
-
'py-2', 'py-2.5', 'py-3', 'py-4', 'py-5',
|
|
58
|
-
'py-7', 'py-8', 'relative', 'resize', 'resize-y',
|
|
59
|
-
'rounded', 'rounded-2xl', 'rounded-[10px]', 'rounded-[12px]', 'rounded-[20px]',
|
|
60
|
-
'rounded-lg', 'rounded-xl', 'select-none', 'shadow', 'shadow-sm',
|
|
61
|
-
'sm:grid-cols-2', 'sm:grid-cols-[auto_minmax(0,1fr)_minmax(0,1fr)_auto]', 'table', 'tabular-nums', 'text-[10px]',
|
|
62
|
-
'text-[11px]', 'text-[12.5px]', 'text-[12px]', 'text-[13.5px]', 'text-[13px]',
|
|
63
|
-
'text-
|
|
64
|
-
'text-
|
|
65
|
-
'text-warning', 'text-warning-emphasis', 'text-white', 'text-white/45', 'text-wrap',
|
|
66
|
-
'top-0.5', 'tracking-[0.16em]', 'transform', 'transition-[border-color]', 'transition-all',
|
|
67
|
-
'transition-opacity', 'transition-transform', 'translate-x-0', 'translate-x-4', 'translate-y-4',
|
|
68
|
-
'uppercase', 'w-2', 'w-4', 'w-8', 'w-9',
|
|
69
|
-
'w-[34%]', 'w-[38px]', 'w-
|
|
35
|
+
'h-[18px]', 'h-[22px]', 'h-[30px]', 'h-[60px]', 'h-full', 'hidden',
|
|
36
|
+
'hover:!text-error', 'hover:bg-ant-hover', 'hover:bg-primary/6', 'hover:bg-primary/8', 'hover:bg-warning/10', 'hover:bg-white/10',
|
|
37
|
+
'hover:opacity-100', 'inline', 'inline-block', 'inline-flex', 'inset-0', 'italic',
|
|
38
|
+
'items-baseline', 'items-center', 'items-start', 'items-stretch', 'justify-between', 'justify-center',
|
|
39
|
+
'justify-end', 'justify-start', 'last:border-b-0', 'leading-none', 'leading-relaxed', 'leading-snug',
|
|
40
|
+
'leading-tight', 'left-0.5', 'lg:flex-initial', 'lg:min-w-[180px]', 'lg:min-w-[220px]', 'line-clamp-2',
|
|
41
|
+
'line-clamp-3', 'list-none', 'm-0', 'max-h-[88vh]', 'max-w-[180px]', 'max-w-[240px]',
|
|
42
|
+
'max-w-[280px]', 'max-w-[320px]', 'max-w-[340px]', 'max-w-[380px]', 'mb-1', 'mb-2',
|
|
43
|
+
'mb-2.5', 'mb-3', 'mb-4', 'md:basis-auto', 'md:flex-1', 'md:max-w-[420px]',
|
|
44
|
+
'md:min-w-[260px]', 'min-h-0', 'min-h-11', 'min-h-[34px]', 'min-w-0', 'min-w-[140px]',
|
|
45
|
+
'min-w-[160px]', 'min-w-[168px]', 'min-w-[180px]', 'min-w-[200px]', 'min-w-[240px]', 'ml-1',
|
|
46
|
+
'ml-2', 'mr-1', 'mr-2', 'mr-2.5', 'ms', 'ms-auto',
|
|
47
|
+
'mt-0', 'mt-0.5', 'mt-1', 'mt-1.5', 'mt-2', 'mt-3',
|
|
48
|
+
'mt-px', 'my-1', 'my-1.5', 'object-cover', 'opacity-0', 'opacity-20',
|
|
49
|
+
'opacity-30', 'opacity-40', 'opacity-45', 'opacity-50', 'opacity-55', 'opacity-60',
|
|
50
|
+
'opacity-70', 'opacity-80', 'outline-none', 'overflow-hidden', 'overflow-y-auto', 'p-0',
|
|
51
|
+
'p-3.5', 'p-5', 'pa-2', 'pa-3', 'pa-4', 'pb-0',
|
|
52
|
+
'pb-1', 'pb-10', 'pb-2', 'pb-5', 'pb-6', 'pl-1',
|
|
53
|
+
'pointer-events-none', 'position-relative', 'pr-1', 'pr-1.5', 'pt-1', 'pt-1.5',
|
|
54
|
+
'pt-2', 'pt-3', 'pt-5', 'px', 'px-0', 'px-1.5',
|
|
55
|
+
'px-15', 'px-2', 'px-2.5', 'px-3', 'px-3.5', 'px-4',
|
|
56
|
+
'px-5', 'px-5.5', 'px-6', 'py-0', 'py-0.5', 'py-1',
|
|
57
|
+
'py-1.5', 'py-2', 'py-2.5', 'py-3', 'py-4', 'py-5',
|
|
58
|
+
'py-6', 'py-7', 'py-8', 'relative', 'resize', 'resize-y',
|
|
59
|
+
'right-0', 'rounded', 'rounded-2xl', 'rounded-[10px]', 'rounded-[12px]', 'rounded-[20px]',
|
|
60
|
+
'rounded-full', 'rounded-lg', 'rounded-xl', 'select-none', 'shadow', 'shadow-sm',
|
|
61
|
+
'shrink-0', 'sm:grid-cols-2', 'sm:grid-cols-[auto_minmax(0,1fr)_minmax(0,1fr)_auto]', 'table', 'tabular-nums', 'text-[10px]',
|
|
62
|
+
'text-[11.5px]', 'text-[11px]', 'text-[12.5px]', 'text-[12px]', 'text-[13.5px]', 'text-[13px]',
|
|
63
|
+
'text-black', 'text-body', 'text-center', 'text-error', 'text-heading', 'text-info',
|
|
64
|
+
'text-left', 'text-lg', 'text-muted', 'text-primary', 'text-sm', 'text-success',
|
|
65
|
+
'text-truncate', 'text-warning', 'text-warning-emphasis', 'text-white', 'text-white/45', 'text-wrap',
|
|
66
|
+
'text-xs', 'top-0.5', 'tracking-[0.16em]', 'transform', 'transition-[border-color]', 'transition-all',
|
|
67
|
+
'transition-colors', 'transition-opacity', 'transition-transform', 'translate-x-0', 'translate-x-4', 'translate-y-4',
|
|
68
|
+
'truncate', 'uppercase', 'w-2', 'w-4', 'w-8', 'w-9',
|
|
69
|
+
'w-[18px]', 'w-[34%]', 'w-[38px]', 'w-[60px]', 'w-full', 'whitespace-normal',
|
|
70
|
+
'whitespace-nowrap',
|
|
70
71
|
];
|
|
@@ -107,7 +107,6 @@ export const antShortcuts = [
|
|
|
107
107
|
// variant is unreadable everywhere it links.
|
|
108
108
|
['ant-cta', 'h-[34px] px-3.5 inline-flex items-center gap-1.5 rounded-lg text-[14px] font-medium whitespace-nowrap cursor-pointer border-0 no-underline [font-family:inherit]'],
|
|
109
109
|
['ant-cta--flat', 'bg-primary !text-white hover:brightness-[0.96]'],
|
|
110
|
-
['ant-cta--outlined', 'bg-transparent !text-primary border border-[rgba(18,92,255,0.5)] hover:bg-[rgba(18,92,255,0.06)]'],
|
|
111
110
|
['ant-cta--tonal', 'bg-[rgba(18,92,255,0.10)] !text-primary hover:bg-[rgba(18,92,255,0.14)]'],
|
|
112
111
|
['ant-cta--ghost', 'bg-transparent !text-primary hover:bg-[rgba(18,92,255,0.08)]'],
|
|
113
112
|
// Neutral secondary button — same 34px geometry as a CTA, no colour claim.
|
|
@@ -175,14 +174,12 @@ export const antShortcuts = [
|
|
|
175
174
|
['ant-tab-tray', 'inline-flex items-center p-1 rounded-[10px] bg-ant-inset border border-ant'],
|
|
176
175
|
['ant-tab-pill', 'h-9 px-3.5 mx-0.5 inline-flex items-center gap-2 rounded-lg bg-transparent border-0 [font-family:inherit] text-sm text-muted cursor-pointer ant-hover-transition hover:text-body'],
|
|
177
176
|
['ant-tab-pill--active', 'bg-ant-surface !text-heading font-medium shadow-[0_1px_2px_rgba(0,0,0,0.05)]'],
|
|
178
|
-
['ant-tab-badge', 'min-w-5 h-5 px-1.5 rounded-[10px] bg-[rgba(var(--v-theme-on-surface),0.10)] text-body font-mono text-xs font-semibold leading-none inline-flex items-center justify-center'],
|
|
179
177
|
// Two more CTA variants. Neutral is the secondary action that makes no colour
|
|
180
178
|
// claim; danger states its consequence without filling, because a filled red
|
|
181
179
|
// button reads as the primary path.
|
|
182
180
|
//
|
|
183
181
|
// ⚠️ `!border-solid` and the explicit width beat `ant-cta`'s own `border-0` for the
|
|
184
182
|
// same source-order reason as the active tab pill.
|
|
185
|
-
['ant-cta--neutral', 'bg-transparent !text-heading !border-1 !border-solid border-ant hover:bg-ant-hover'],
|
|
186
183
|
['ant-cta--danger', 'bg-transparent !text-error !border-1 !border-solid !border-error/40 hover:bg-error/6'],
|
|
187
184
|
// ── The lens rail (AAD-980) ─────────────────────────────────────────────
|
|
188
185
|
//
|
package/dist/index.js
CHANGED
|
@@ -57,11 +57,11 @@ var dt = Object.create, ft = Object.defineProperty, pt = Object.getOwnPropertyDe
|
|
|
57
57
|
}, 8, ["size"]));
|
|
58
58
|
}
|
|
59
59
|
}), xt = {
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
key: 0,
|
|
61
|
+
class: "d-flex justify-center align-center py-2 fs-25 bg-ant-inset"
|
|
62
62
|
}, St = {
|
|
63
|
-
key:
|
|
64
|
-
|
|
63
|
+
key: 3,
|
|
64
|
+
class: "bg-ant-panel"
|
|
65
65
|
}, Ct = /* @__PURE__ */ h({
|
|
66
66
|
__name: "BaseAntCard",
|
|
67
67
|
props: {
|
|
@@ -84,13 +84,13 @@ var dt = Object.create, ft = Object.defineProperty, pt = Object.getOwnPropertyDe
|
|
|
84
84
|
class: k([e.transparent ? "ant-glass" : "ant-background", "d-flex flex-column overflow-hidden text-black"]),
|
|
85
85
|
style: j({ width: `${e.width}px` })
|
|
86
86
|
}, [
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
e.header ? (I(), c("div", xt, [B(t.$slots, "title")])) : s("", !0),
|
|
88
|
+
e.header ? (I(), o(be, { key: 1 })) : s("", !0),
|
|
89
89
|
l("div", {
|
|
90
90
|
class: "px-15 py-5 flex-grow-1 overflow-y-auto",
|
|
91
91
|
style: j({ maxHeight: e.footer ? "70%" : "100%" })
|
|
92
92
|
}, [B(t.$slots, "content")], 4),
|
|
93
|
-
e.footer ? (I(), o(be, { key:
|
|
93
|
+
e.footer ? (I(), o(be, { key: 2 })) : s("", !0),
|
|
94
94
|
e.footer ? (I(), c("div", St, [B(t.$slots, "actions")])) : s("", !0)
|
|
95
95
|
], 6));
|
|
96
96
|
}
|
|
@@ -3720,10 +3720,7 @@ var vs = { class: "d-flex justify-space-between flex-1 pb-2" }, ys = { class: "d
|
|
|
3720
3720
|
_: 1
|
|
3721
3721
|
}, 8, ["loading", "size"]));
|
|
3722
3722
|
}
|
|
3723
|
-
}), [["__scopeId", "data-v-9de477f4"]]), Gs = { class: "d-flex flex-column overflow-hidden text-black bg-white" }, Ks = {
|
|
3724
|
-
class: "d-flex justify-center align-center py-2 fs-25 text-center",
|
|
3725
|
-
style: { "background-color": "#f2f2f2" }
|
|
3726
|
-
}, qs = { class: "px-15 py-5 text-center flex-grow-1" }, Js = { style: { "background-color": "#eef1f5" } }, Ys = { class: "d-flex pa-2" }, Xs = /* @__PURE__ */ h({
|
|
3723
|
+
}), [["__scopeId", "data-v-9de477f4"]]), Gs = { class: "d-flex flex-column overflow-hidden text-black bg-white" }, Ks = { class: "d-flex justify-center align-center py-2 fs-25 text-center bg-ant-inset" }, qs = { class: "px-15 py-5 text-center flex-grow-1" }, Js = { class: "bg-ant-panel" }, Ys = { class: "d-flex pa-2" }, Xs = /* @__PURE__ */ h({
|
|
3727
3724
|
__name: "BaseConfirmDialog",
|
|
3728
3725
|
props: {
|
|
3729
3726
|
displayed: { type: Boolean },
|
|
@@ -3756,13 +3753,10 @@ var vs = { class: "d-flex justify-space-between flex-1 pb-2" }, ys = { class: "d
|
|
|
3756
3753
|
p(be),
|
|
3757
3754
|
l("div", qs, [l("div", null, [
|
|
3758
3755
|
p(q, {
|
|
3759
|
-
class: "mb-4",
|
|
3756
|
+
class: "mb-4 !h-[60px] !w-[60px]",
|
|
3760
3757
|
color: "primary",
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
height: "60px"
|
|
3764
|
-
},
|
|
3765
|
-
variant: "tonal"
|
|
3758
|
+
variant: "tonal",
|
|
3759
|
+
"aria-label": e.title
|
|
3766
3760
|
}, {
|
|
3767
3761
|
default: G(() => [p(J, {
|
|
3768
3762
|
color: "primary",
|
|
@@ -3773,7 +3767,7 @@ var vs = { class: "d-flex justify-space-between flex-1 pb-2" }, ys = { class: "d
|
|
|
3773
3767
|
_: 1
|
|
3774
3768
|
})]),
|
|
3775
3769
|
_: 1
|
|
3776
|
-
}),
|
|
3770
|
+
}, 8, ["aria-label"]),
|
|
3777
3771
|
l("div", null, V(e.title), 1),
|
|
3778
3772
|
B(t.$slots, "content")
|
|
3779
3773
|
])]),
|
|
@@ -3896,10 +3890,7 @@ var vs = { class: "d-flex justify-space-between flex-1 pb-2" }, ys = { class: "d
|
|
|
3896
3890
|
_: 3
|
|
3897
3891
|
}, 8, ["modelValue"]));
|
|
3898
3892
|
}
|
|
3899
|
-
}), [["__scopeId", "data-v-a9f68f5e"]]), ic = { class: "d-flex flex-column overflow-hidden ant-background text-black" }, ac = {
|
|
3900
|
-
class: "d-flex justify-center align-center text-center capitalize",
|
|
3901
|
-
style: { "background-color": "#f2f2f2" }
|
|
3902
|
-
}, oc = { class: "pa-2 text-wrap word-break fs-20" }, sc = { class: "text-center flex-grow-1 px-15 py-5" }, cc = { style: { "background-color": "#eef1f5" } }, lc = { class: "d-flex pa-2" }, uc = /* @__PURE__ */ h({
|
|
3893
|
+
}), [["__scopeId", "data-v-a9f68f5e"]]), ic = { class: "d-flex flex-column overflow-hidden ant-background text-black" }, ac = { class: "d-flex justify-center align-center text-center capitalize bg-ant-inset" }, oc = { class: "pa-2 text-wrap word-break fs-20" }, sc = { class: "text-center flex-grow-1 px-15 py-5" }, cc = { class: "bg-ant-panel" }, lc = { class: "d-flex pa-2" }, uc = /* @__PURE__ */ h({
|
|
3903
3894
|
__name: "BaseDialog",
|
|
3904
3895
|
props: {
|
|
3905
3896
|
displayed: { type: Boolean },
|
|
@@ -3936,13 +3927,10 @@ var vs = { class: "d-flex justify-space-between flex-1 pb-2" }, ys = { class: "d
|
|
|
3936
3927
|
p(be),
|
|
3937
3928
|
l("div", sc, [l("div", null, [
|
|
3938
3929
|
p(q, {
|
|
3939
|
-
class: "mb-4",
|
|
3930
|
+
class: "mb-4 !h-[60px] !w-[60px]",
|
|
3940
3931
|
color: "primary",
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
height: "60px"
|
|
3944
|
-
},
|
|
3945
|
-
variant: "tonal"
|
|
3932
|
+
variant: "tonal",
|
|
3933
|
+
"aria-label": e.title
|
|
3946
3934
|
}, {
|
|
3947
3935
|
default: G(() => [p(J, {
|
|
3948
3936
|
color: "primary",
|
|
@@ -3953,7 +3941,7 @@ var vs = { class: "d-flex justify-space-between flex-1 pb-2" }, ys = { class: "d
|
|
|
3953
3941
|
_: 1
|
|
3954
3942
|
})]),
|
|
3955
3943
|
_: 1
|
|
3956
|
-
}),
|
|
3944
|
+
}, 8, ["aria-label"]),
|
|
3957
3945
|
l("div", null, V(e.description), 1),
|
|
3958
3946
|
B(t.$slots, "content")
|
|
3959
3947
|
])]),
|
|
@@ -45438,8 +45426,8 @@ function h7() {
|
|
|
45438
45426
|
}
|
|
45439
45427
|
//#endregion
|
|
45440
45428
|
//#region src/index.ts
|
|
45441
|
-
var g7 = ["BaseAntInput", "BaseAntDatePicker"],
|
|
45442
|
-
e.component("TaskFlow", g2), e.component("UsageActions", s3), e.component("UsagePanel", r3), e.component("ResourceTrash", M4), e.component("BaseAntButton",
|
|
45429
|
+
var g7 = bt, _7 = Ct, v7 = Dt, y7 = ws, b7 = Ds, x7 = Xs, S7 = uc, C7 = _c, w7 = ["BaseAntInput", "BaseAntDatePicker"], T7 = { install: (e) => {
|
|
45430
|
+
e.component("TaskFlow", g2), e.component("UsageActions", s3), e.component("UsagePanel", r3), e.component("ResourceTrash", M4), e.component("BaseAntButton", g7), e.component("BaseAntCard", _7), e.component("BaseResizePanel", C7), e.component("BaseAntInput", Cs), e.component("BaseAntCreateCard", v7), e.component("BaseAntDatePicker", y7), e.component("BaseAntLoading", b7), e.component("BaseClickableIcon", Ws), e.component("BaseConfirmDialog", x7), e.component("BaseDeleteDialog", rc), e.component("BaseDialog", S7), e.component("BaseLimitedButton", dc), e.component("PermissionCard", od), e.component("BaseAppCard", Hs), e.component("BaseAppCardSkeleton", Us), e.component("BulkLabelsMenu", mu), e.component("DmsFilePicker", id), e.component("GlobalLabelBadge", su), e.component("StackedLabels", jd);
|
|
45443
45431
|
} };
|
|
45444
45432
|
//#endregion
|
|
45445
|
-
export { o5 as AntActionMenu, u5 as AntCheckboxCards, J3 as AntColumnMapRow, N6 as AntDatasetFileSource, Z6 as AntDatasetTableSource, Y2 as AntDialogShell, x3 as AntField, m5 as AntFilterChips, C5 as AntFilterSelect, T5 as AntHintBanner, D5 as AntHintTip, $2 as AntInput, I5 as AntMultiSelect, p3 as AntNoticeAlert, I8 as AntNumberField, p8 as AntOptionPicker, _8 as AntPanelSection, a8 as AntPayloadFieldsEditor, H5 as AntRadioCards, K5 as AntResourceTile, k8 as AntRunScriptFields, $5 as AntSaveBar, Y8 as AntScopePanel, i7 as AntSearchField, H8 as AntSectionCard, L3 as AntSelect, o8 as AntStatusPill, o7 as AntToggle, OY as AntTourZone, n5 as AntTransformScriptFields, S8 as AntTriggerExecutionUser,
|
|
45433
|
+
export { o5 as AntActionMenu, u5 as AntCheckboxCards, J3 as AntColumnMapRow, N6 as AntDatasetFileSource, Z6 as AntDatasetTableSource, Y2 as AntDialogShell, x3 as AntField, m5 as AntFilterChips, C5 as AntFilterSelect, T5 as AntHintBanner, D5 as AntHintTip, $2 as AntInput, I5 as AntMultiSelect, p3 as AntNoticeAlert, I8 as AntNumberField, p8 as AntOptionPicker, _8 as AntPanelSection, a8 as AntPayloadFieldsEditor, H5 as AntRadioCards, K5 as AntResourceTile, k8 as AntRunScriptFields, $5 as AntSaveBar, Y8 as AntScopePanel, i7 as AntSearchField, H8 as AntSectionCard, L3 as AntSelect, o8 as AntStatusPill, o7 as AntToggle, OY as AntTourZone, n5 as AntTransformScriptFields, S8 as AntTriggerExecutionUser, g7 as BaseAntButton, _7 as BaseAntCard, v7 as BaseAntCreateCard, y7 as BaseAntDatePicker, Cs as BaseAntInput, b7 as BaseAntLoading, Hs as BaseAppCard, Us as BaseAppCardSkeleton, Ws as BaseClickableIcon, x7 as BaseConfirmDialog, rc as BaseDeleteDialog, S7 as BaseDialog, dc as BaseLimitedButton, C7 as BaseResizePanel, mu as BulkLabelsMenu, id as DmsFilePicker, Q6 as FIELD_ISSUES_KEY, DN as FilePreviewContent, x2 as FlowWindowContent, su as GlobalLabelBadge, bd as LabelsMenuCard, od as PermissionCard, M4 as ResourceTrash, AM as RichTextEditor, w7 as SUPERSEDED_FIELD_COMPONENTS, jd as StackedLabels, g2 as TaskFlow, I2 as UnifiedWindow, s3 as UsageActions, r3 as UsagePanel, S0 as VersionPublishDialog, v8 as WORKING_COPY, w8 as convertPayloadFieldsToJson, T7 as default, f4 as formatBytes, T8 as initializePayloadFields, $3 as provideScriptTriggerContext, $6 as useFieldIssue, f7 as useResourceTrash, m7 as useResourceUsage, y8 as useScriptSelection, h7 as useShowUsageSizes, F6 as useTableColumns, I6 as useTableSelection, L6 as withSavedOption };
|
|
@@ -10,11 +10,11 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
content?: (props: typeof __VLS_28) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
close: (
|
|
14
|
-
action: (
|
|
13
|
+
close: () => any;
|
|
14
|
+
action: () => any;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
onClose?: ((
|
|
17
|
-
onAction?: ((
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
|
+
onAction?: (() => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
icon: string;
|
|
20
20
|
isLoading: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface Props {
|
|
1
|
+
export interface Props {
|
|
2
2
|
displayed: boolean;
|
|
3
3
|
action: () => PromiseLike<unknown> | unknown;
|
|
4
4
|
title: string;
|
|
@@ -14,9 +14,9 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
content?: (props: typeof __VLS_28) => any;
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
-
close: (
|
|
17
|
+
close: () => any;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
19
|
-
onClose?: ((
|
|
19
|
+
onClose?: (() => any) | undefined;
|
|
20
20
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
import { default as BaseAntButton } from './components/BaseAntButton.vue';
|
|
3
|
-
import { default as BaseAntCard } from './components/BaseAntCard.vue';
|
|
4
|
-
import { default as BaseAntCreateCard } from './components/BaseAntCreateCard.vue';
|
|
5
|
-
import { default as BaseAntDatePicker } from './components/BaseAntDatePicker.vue';
|
|
6
2
|
import { default as BaseAntInput } from './components/BaseAntInput.vue';
|
|
7
|
-
import { default as BaseAntLoading } from './components/BaseAntLoading.vue';
|
|
8
3
|
import { default as BaseAppCard } from './components/BaseAppCard/index.vue';
|
|
9
4
|
import { default as BaseAppCardSkeleton } from './components/BaseAppCardSkeleton.vue';
|
|
10
5
|
import { default as BaseClickableIcon } from './components/BaseClickableIcon.vue';
|
|
11
|
-
import { default as BaseConfirmDialog } from './components/BaseConfirmDialog.vue';
|
|
12
6
|
import { default as BaseDeleteDialog } from './components/BaseDeleteDialog.vue';
|
|
13
|
-
import { default as BaseDialog } from './components/BaseDialog.vue';
|
|
14
7
|
import { default as BaseLimitedButton } from './components/BaseLimitedButton.vue';
|
|
15
|
-
import { default as BaseResizePanel } from './components/BaseResizePanel.vue';
|
|
16
8
|
import { default as BulkLabelsMenu } from './components/BulkLabelsMenu.vue';
|
|
17
9
|
import { default as DmsFilePicker } from './components/DmsFilePicker/index.vue';
|
|
18
10
|
import { default as GlobalLabelBadge } from './components/GlobalLabelBadge.vue';
|
|
@@ -88,18 +80,292 @@ export { type UseResourceTrash, useResourceTrash } from './components/Usage/useR
|
|
|
88
80
|
export { type UseResourceUsage, useResourceUsage, type UseResourceUsageOptions } from './components/Usage/useResourceUsage';
|
|
89
81
|
export { useShowUsageSizes } from './components/Usage/useShowUsageSizes';
|
|
90
82
|
export * from '@antcde/vue-utils';
|
|
91
|
-
|
|
83
|
+
/** @deprecated Unused on the platform; removed in the next minor. Use the `Ant*` components instead. */
|
|
84
|
+
export declare const BaseAntButton: import('vue').DefineComponent<{
|
|
85
|
+
text: string;
|
|
86
|
+
size?: string;
|
|
87
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
88
|
+
text: string;
|
|
89
|
+
size?: string;
|
|
90
|
+
}> & Readonly<{}>, {
|
|
91
|
+
size: string;
|
|
92
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
93
|
+
/** @deprecated Unused on the platform; removed in the next minor. Use the `Ant*` components instead. */
|
|
94
|
+
export declare const BaseAntCard: {
|
|
95
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
96
|
+
width?: number;
|
|
97
|
+
transparent?: boolean;
|
|
98
|
+
header?: boolean;
|
|
99
|
+
footer?: boolean;
|
|
100
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
101
|
+
width: number;
|
|
102
|
+
transparent: boolean;
|
|
103
|
+
header: boolean;
|
|
104
|
+
footer: boolean;
|
|
105
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
106
|
+
P: {};
|
|
107
|
+
B: {};
|
|
108
|
+
D: {};
|
|
109
|
+
C: {};
|
|
110
|
+
M: {};
|
|
111
|
+
Defaults: {};
|
|
112
|
+
}, Readonly<{
|
|
113
|
+
width?: number;
|
|
114
|
+
transparent?: boolean;
|
|
115
|
+
header?: boolean;
|
|
116
|
+
footer?: boolean;
|
|
117
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
118
|
+
width: number;
|
|
119
|
+
transparent: boolean;
|
|
120
|
+
header: boolean;
|
|
121
|
+
footer: boolean;
|
|
122
|
+
}>;
|
|
123
|
+
__isFragment?: never;
|
|
124
|
+
__isTeleport?: never;
|
|
125
|
+
__isSuspense?: never;
|
|
126
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
127
|
+
width?: number;
|
|
128
|
+
transparent?: boolean;
|
|
129
|
+
header?: boolean;
|
|
130
|
+
footer?: boolean;
|
|
131
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
132
|
+
width: number;
|
|
133
|
+
transparent: boolean;
|
|
134
|
+
header: boolean;
|
|
135
|
+
footer: boolean;
|
|
136
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
137
|
+
$slots: {
|
|
138
|
+
title?: (props: {}) => any;
|
|
139
|
+
} & {
|
|
140
|
+
content?: (props: {}) => any;
|
|
141
|
+
} & {
|
|
142
|
+
actions?: (props: {}) => any;
|
|
143
|
+
};
|
|
144
|
+
});
|
|
145
|
+
/** @deprecated Unused on the platform; removed in the next minor. Use the `Ant*` components instead. */
|
|
146
|
+
export declare const BaseAntCreateCard: import('vue').DefineComponent<{
|
|
147
|
+
width?: string;
|
|
148
|
+
height?: string;
|
|
149
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
150
|
+
width?: string;
|
|
151
|
+
height?: string;
|
|
152
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
153
|
+
/** @deprecated Unused on the platform; removed in the next minor. Use the `Ant*` components instead. */
|
|
154
|
+
export declare const BaseAntDatePicker: import('vue').DefineComponent<{
|
|
155
|
+
value?: string;
|
|
156
|
+
label?: string;
|
|
157
|
+
required?: boolean;
|
|
158
|
+
placeholder: string;
|
|
159
|
+
rules?: string[];
|
|
160
|
+
locale?: string;
|
|
161
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
162
|
+
input: (...args: any[]) => void;
|
|
163
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
164
|
+
value?: string;
|
|
165
|
+
label?: string;
|
|
166
|
+
required?: boolean;
|
|
167
|
+
placeholder: string;
|
|
168
|
+
rules?: string[];
|
|
169
|
+
locale?: string;
|
|
170
|
+
}> & Readonly<{
|
|
171
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
172
|
+
}>, {
|
|
173
|
+
required: boolean;
|
|
174
|
+
locale: string;
|
|
175
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
176
|
+
/** @deprecated Unused on the platform; removed in the next minor. Use the `Ant*` components instead. */
|
|
177
|
+
export declare const BaseAntLoading: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
178
|
+
/** @deprecated Unused on the platform; removed in the next minor. Use the `Ant*` components instead. */
|
|
179
|
+
export declare const BaseConfirmDialog: {
|
|
180
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
181
|
+
displayed: boolean;
|
|
182
|
+
title: string;
|
|
183
|
+
isLoading?: boolean;
|
|
184
|
+
icon?: string;
|
|
185
|
+
confirmTitle?: string | null;
|
|
186
|
+
}> & Readonly<{
|
|
187
|
+
onClose?: (() => any) | undefined;
|
|
188
|
+
onAction?: (() => any) | undefined;
|
|
189
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
190
|
+
close: () => any;
|
|
191
|
+
action: () => any;
|
|
192
|
+
}, import('vue').PublicProps, {
|
|
193
|
+
icon: string;
|
|
194
|
+
isLoading: boolean;
|
|
195
|
+
confirmTitle: string | null;
|
|
196
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
197
|
+
P: {};
|
|
198
|
+
B: {};
|
|
199
|
+
D: {};
|
|
200
|
+
C: {};
|
|
201
|
+
M: {};
|
|
202
|
+
Defaults: {};
|
|
203
|
+
}, Readonly<{
|
|
204
|
+
displayed: boolean;
|
|
205
|
+
title: string;
|
|
206
|
+
isLoading?: boolean;
|
|
207
|
+
icon?: string;
|
|
208
|
+
confirmTitle?: string | null;
|
|
209
|
+
}> & Readonly<{
|
|
210
|
+
onClose?: (() => any) | undefined;
|
|
211
|
+
onAction?: (() => any) | undefined;
|
|
212
|
+
}>, {}, {}, {}, {}, {
|
|
213
|
+
icon: string;
|
|
214
|
+
isLoading: boolean;
|
|
215
|
+
confirmTitle: string | null;
|
|
216
|
+
}>;
|
|
217
|
+
__isFragment?: never;
|
|
218
|
+
__isTeleport?: never;
|
|
219
|
+
__isSuspense?: never;
|
|
220
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
221
|
+
displayed: boolean;
|
|
222
|
+
title: string;
|
|
223
|
+
isLoading?: boolean;
|
|
224
|
+
icon?: string;
|
|
225
|
+
confirmTitle?: string | null;
|
|
226
|
+
}> & Readonly<{
|
|
227
|
+
onClose?: (() => any) | undefined;
|
|
228
|
+
onAction?: (() => any) | undefined;
|
|
229
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
230
|
+
close: () => any;
|
|
231
|
+
action: () => any;
|
|
232
|
+
}, string, {
|
|
233
|
+
icon: string;
|
|
234
|
+
isLoading: boolean;
|
|
235
|
+
confirmTitle: string | null;
|
|
236
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
237
|
+
$slots: {
|
|
238
|
+
content?: (props: {}) => any;
|
|
239
|
+
};
|
|
240
|
+
});
|
|
241
|
+
/** @deprecated Unused on the platform; removed in the next minor. Use the `Ant*` components instead. */
|
|
242
|
+
export declare const BaseDialog: {
|
|
243
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./components/BaseDialog.vue').Props> & Readonly<{
|
|
244
|
+
onClose?: (() => any) | undefined;
|
|
245
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
246
|
+
close: () => any;
|
|
247
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
248
|
+
P: {};
|
|
249
|
+
B: {};
|
|
250
|
+
D: {};
|
|
251
|
+
C: {};
|
|
252
|
+
M: {};
|
|
253
|
+
Defaults: {};
|
|
254
|
+
}, Readonly<import('./components/BaseDialog.vue').Props> & Readonly<{
|
|
255
|
+
onClose?: (() => any) | undefined;
|
|
256
|
+
}>, {}, {}, {}, {}, {}>;
|
|
257
|
+
__isFragment?: never;
|
|
258
|
+
__isTeleport?: never;
|
|
259
|
+
__isSuspense?: never;
|
|
260
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./components/BaseDialog.vue').Props> & Readonly<{
|
|
261
|
+
onClose?: (() => any) | undefined;
|
|
262
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
263
|
+
close: () => any;
|
|
264
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
265
|
+
$slots: {
|
|
266
|
+
content?: (props: {}) => any;
|
|
267
|
+
};
|
|
268
|
+
});
|
|
269
|
+
/** @deprecated Unused on the platform; removed in the next minor. Use the `Ant*` components instead. */
|
|
270
|
+
export declare const BaseResizePanel: {
|
|
271
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
272
|
+
minWidth?: number;
|
|
273
|
+
maxWidth?: number | null;
|
|
274
|
+
defaultWidth?: number;
|
|
275
|
+
minHeight?: number;
|
|
276
|
+
maxHeight?: number | null;
|
|
277
|
+
defaultHeight?: number;
|
|
278
|
+
side?: import('./components/useResizePanel').ResizePanelSide;
|
|
279
|
+
collapsible?: boolean;
|
|
280
|
+
}> & Readonly<{
|
|
281
|
+
onResize?: ((...args: any[]) => any) | undefined;
|
|
282
|
+
"onResize-end"?: ((...args: any[]) => any) | undefined;
|
|
283
|
+
onCollapse?: ((...args: any[]) => any) | undefined;
|
|
284
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
285
|
+
resize: (...args: any[]) => void;
|
|
286
|
+
"resize-end": (...args: any[]) => void;
|
|
287
|
+
collapse: (...args: any[]) => void;
|
|
288
|
+
}, import('vue').PublicProps, {
|
|
289
|
+
maxHeight: number | null;
|
|
290
|
+
minWidth: number;
|
|
291
|
+
maxWidth: number | null;
|
|
292
|
+
defaultWidth: number;
|
|
293
|
+
minHeight: number;
|
|
294
|
+
defaultHeight: number;
|
|
295
|
+
side: import('./components/useResizePanel').ResizePanelSide;
|
|
296
|
+
collapsible: boolean;
|
|
297
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
298
|
+
P: {};
|
|
299
|
+
B: {};
|
|
300
|
+
D: {};
|
|
301
|
+
C: {};
|
|
302
|
+
M: {};
|
|
303
|
+
Defaults: {};
|
|
304
|
+
}, Readonly<{
|
|
305
|
+
minWidth?: number;
|
|
306
|
+
maxWidth?: number | null;
|
|
307
|
+
defaultWidth?: number;
|
|
308
|
+
minHeight?: number;
|
|
309
|
+
maxHeight?: number | null;
|
|
310
|
+
defaultHeight?: number;
|
|
311
|
+
side?: import('./components/useResizePanel').ResizePanelSide;
|
|
312
|
+
collapsible?: boolean;
|
|
313
|
+
}> & Readonly<{
|
|
314
|
+
onResize?: ((...args: any[]) => any) | undefined;
|
|
315
|
+
"onResize-end"?: ((...args: any[]) => any) | undefined;
|
|
316
|
+
onCollapse?: ((...args: any[]) => any) | undefined;
|
|
317
|
+
}>, {}, {}, {}, {}, {
|
|
318
|
+
maxHeight: number | null;
|
|
319
|
+
minWidth: number;
|
|
320
|
+
maxWidth: number | null;
|
|
321
|
+
defaultWidth: number;
|
|
322
|
+
minHeight: number;
|
|
323
|
+
defaultHeight: number;
|
|
324
|
+
side: import('./components/useResizePanel').ResizePanelSide;
|
|
325
|
+
collapsible: boolean;
|
|
326
|
+
}>;
|
|
327
|
+
__isFragment?: never;
|
|
328
|
+
__isTeleport?: never;
|
|
329
|
+
__isSuspense?: never;
|
|
330
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
331
|
+
minWidth?: number;
|
|
332
|
+
maxWidth?: number | null;
|
|
333
|
+
defaultWidth?: number;
|
|
334
|
+
minHeight?: number;
|
|
335
|
+
maxHeight?: number | null;
|
|
336
|
+
defaultHeight?: number;
|
|
337
|
+
side?: import('./components/useResizePanel').ResizePanelSide;
|
|
338
|
+
collapsible?: boolean;
|
|
339
|
+
}> & Readonly<{
|
|
340
|
+
onResize?: ((...args: any[]) => any) | undefined;
|
|
341
|
+
"onResize-end"?: ((...args: any[]) => any) | undefined;
|
|
342
|
+
onCollapse?: ((...args: any[]) => any) | undefined;
|
|
343
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
344
|
+
resize: (...args: any[]) => void;
|
|
345
|
+
"resize-end": (...args: any[]) => void;
|
|
346
|
+
collapse: (...args: any[]) => void;
|
|
347
|
+
}, string, {
|
|
348
|
+
maxHeight: number | null;
|
|
349
|
+
minWidth: number;
|
|
350
|
+
maxWidth: number | null;
|
|
351
|
+
defaultWidth: number;
|
|
352
|
+
minHeight: number;
|
|
353
|
+
defaultHeight: number;
|
|
354
|
+
side: import('./components/useResizePanel').ResizePanelSide;
|
|
355
|
+
collapsible: boolean;
|
|
356
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
357
|
+
$slots: {
|
|
358
|
+
default?: (props: {}) => any;
|
|
359
|
+
};
|
|
360
|
+
});
|
|
361
|
+
export { AntActionMenu, AntCheckboxCards, AntColumnMapRow, AntDatasetFileSource, AntDatasetTableSource, AntDialogShell, AntField, AntFilterChips, AntFilterSelect, AntHintBanner, AntHintTip, AntInput, AntMultiSelect, AntNoticeAlert, AntNumberField, AntOptionPicker, AntPanelSection, AntPayloadFieldsEditor, AntRadioCards, AntResourceTile, AntRunScriptFields, AntSaveBar, AntScopePanel, AntSearchField, AntSectionCard, AntSelect, AntStatusPill, AntToggle, AntTourZone, AntTransformScriptFields, AntTriggerExecutionUser, BaseAntInput, BaseAppCard, BaseAppCardSkeleton, BaseClickableIcon, BaseDeleteDialog, BaseLimitedButton, BulkLabelsMenu, DmsFilePicker, FilePreviewContent, FlowWindowContent, GlobalLabelBadge, LabelsMenuCard, PermissionCard, ResourceTrash, RichTextEditor, StackedLabels, TaskFlow, UnifiedWindow, UsageActions, UsagePanel, VersionPublishDialog, };
|
|
92
362
|
/**
|
|
93
|
-
* ⚠️ `BaseAntInput` and `BaseAntDatePicker` are the SUPERSEDED field idiom
|
|
94
|
-
* wrappers
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* For new work use the `Ant*` form primitives above (`AntInput`, `AntSelect`,
|
|
98
|
-
* `AntToggle`, `AntRadioCards`, …). They are left in place because rewriting
|
|
99
|
-
* `BaseAntInput` — 289 lines fanning a 30-member enum out to nine Vuetify
|
|
100
|
-
* components — is its own piece of work, not a side effect of anyone else's.
|
|
363
|
+
* ⚠️ `BaseAntInput` and `BaseAntDatePicker` are the SUPERSEDED field idiom: Vuetify-field
|
|
364
|
+
* wrappers whose border weight and floating notched label make forms read as "raw Vuetify".
|
|
365
|
+
* New work uses the `Ant*` form primitives (`AntInput`, `AntSelect`, `AntToggle`, …).
|
|
101
366
|
*
|
|
102
367
|
* @deprecated for new code. Do not mix the two idioms in one form.
|
|
368
|
+
* comment-budget: allow (deprecation notice on a public library export)
|
|
103
369
|
*/
|
|
104
370
|
export declare const SUPERSEDED_FIELD_COMPONENTS: readonly ["BaseAntInput", "BaseAntDatePicker"];
|
|
105
371
|
declare const _default: {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Every utility class this library's own components use, so a consuming app emits
|
|
5
5
|
* them even though UnoCSS never scans `dist/index.js`. See the generator for why.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* 355 classes, from 1676 candidates, filtered by asking Uno
|
|
8
8
|
* which ones actually resolve.
|
|
9
9
|
*/
|
|
10
10
|
export const libraryClassSafelist: string[] = [
|
|
@@ -32,39 +32,40 @@ export const libraryClassSafelist: string[] = [
|
|
|
32
32
|
'gap-x-2', 'gap-x-3', 'gap-y-1', 'grayscale', 'grid', 'grid-cols-1',
|
|
33
33
|
'grid-cols-2', 'grid-cols-3', 'grid-cols-4', 'group-hover:bg-primary/4', 'group-hover:border-primary/60', 'h-11',
|
|
34
34
|
'h-2', 'h-4', 'h-7', 'h-8', 'h-9', 'h-9.5',
|
|
35
|
-
'h-[18px]', 'h-[22px]', 'h-[30px]', 'h-
|
|
36
|
-
'hover:bg-ant-hover', 'hover:bg-primary/6', 'hover:bg-primary/8', 'hover:bg-warning/10', 'hover:bg-white/10',
|
|
37
|
-
'inline', 'inline-block', 'inline-flex', 'inset-0', 'italic',
|
|
38
|
-
'items-center', 'items-start', 'items-stretch', 'justify-between', 'justify-center',
|
|
39
|
-
'justify-start', 'last:border-b-0', 'leading-none', 'leading-relaxed', 'leading-snug',
|
|
40
|
-
'left-0.5', 'lg:flex-initial', 'lg:min-w-[180px]', 'lg:min-w-[220px]', 'line-clamp-2',
|
|
41
|
-
'list-none', 'm-0', 'max-h-[88vh]', 'max-w-[180px]', 'max-w-[240px]',
|
|
42
|
-
'max-w-[
|
|
43
|
-
'mb-3', 'mb-4', 'md:basis-auto', 'md:flex-1', 'md:max-w-[420px]',
|
|
44
|
-
'min-h-0', 'min-h-11', 'min-h-[34px]', 'min-w-0', 'min-w-[140px]',
|
|
45
|
-
'min-w-[168px]', 'min-w-[180px]', 'min-w-[200px]', 'min-w-[240px]', 'ml-1',
|
|
46
|
-
'mr-1', 'mr-2', 'mr-2.5', 'ms', 'ms-auto',
|
|
47
|
-
'mt-0.5', 'mt-1', 'mt-1.5', 'mt-2', 'mt-3',
|
|
48
|
-
'my-1', 'my-1.5', 'object-cover', 'opacity-0', 'opacity-20',
|
|
49
|
-
'opacity-
|
|
50
|
-
'opacity-80', 'outline-none', 'overflow-hidden', 'overflow-y-auto', 'p-0',
|
|
51
|
-
'p-5', 'pa-2', 'pa-3', 'pa-4', 'pb-0',
|
|
52
|
-
'pb-10', 'pb-2', 'pb-5', 'pb-6', 'pl-1',
|
|
53
|
-
'position-relative', 'pr-1', 'pr-1.5', 'pt-1', 'pt-1.5',
|
|
54
|
-
'pt-3', 'pt-5', 'px', 'px-0', 'px-1.5',
|
|
55
|
-
'px-2', 'px-2.5', 'px-3', 'px-3.5', 'px-4',
|
|
56
|
-
'px-5.5', 'px-6', 'py-0', 'py-0.5', 'py-1',
|
|
57
|
-
'py-2', 'py-2.5', 'py-3', 'py-4', 'py-5',
|
|
58
|
-
'py-7', 'py-8', 'relative', 'resize', 'resize-y',
|
|
59
|
-
'rounded', 'rounded-2xl', 'rounded-[10px]', 'rounded-[12px]', 'rounded-[20px]',
|
|
60
|
-
'rounded-lg', 'rounded-xl', 'select-none', 'shadow', 'shadow-sm',
|
|
61
|
-
'sm:grid-cols-2', 'sm:grid-cols-[auto_minmax(0,1fr)_minmax(0,1fr)_auto]', 'table', 'tabular-nums', 'text-[10px]',
|
|
62
|
-
'text-[11px]', 'text-[12.5px]', 'text-[12px]', 'text-[13.5px]', 'text-[13px]',
|
|
63
|
-
'text-
|
|
64
|
-
'text-
|
|
65
|
-
'text-warning', 'text-warning-emphasis', 'text-white', 'text-white/45', 'text-wrap',
|
|
66
|
-
'top-0.5', 'tracking-[0.16em]', 'transform', 'transition-[border-color]', 'transition-all',
|
|
67
|
-
'transition-opacity', 'transition-transform', 'translate-x-0', 'translate-x-4', 'translate-y-4',
|
|
68
|
-
'uppercase', 'w-2', 'w-4', 'w-8', 'w-9',
|
|
69
|
-
'w-[34%]', 'w-[38px]', 'w-
|
|
35
|
+
'h-[18px]', 'h-[22px]', 'h-[30px]', 'h-[60px]', 'h-full', 'hidden',
|
|
36
|
+
'hover:!text-error', 'hover:bg-ant-hover', 'hover:bg-primary/6', 'hover:bg-primary/8', 'hover:bg-warning/10', 'hover:bg-white/10',
|
|
37
|
+
'hover:opacity-100', 'inline', 'inline-block', 'inline-flex', 'inset-0', 'italic',
|
|
38
|
+
'items-baseline', 'items-center', 'items-start', 'items-stretch', 'justify-between', 'justify-center',
|
|
39
|
+
'justify-end', 'justify-start', 'last:border-b-0', 'leading-none', 'leading-relaxed', 'leading-snug',
|
|
40
|
+
'leading-tight', 'left-0.5', 'lg:flex-initial', 'lg:min-w-[180px]', 'lg:min-w-[220px]', 'line-clamp-2',
|
|
41
|
+
'line-clamp-3', 'list-none', 'm-0', 'max-h-[88vh]', 'max-w-[180px]', 'max-w-[240px]',
|
|
42
|
+
'max-w-[280px]', 'max-w-[320px]', 'max-w-[340px]', 'max-w-[380px]', 'mb-1', 'mb-2',
|
|
43
|
+
'mb-2.5', 'mb-3', 'mb-4', 'md:basis-auto', 'md:flex-1', 'md:max-w-[420px]',
|
|
44
|
+
'md:min-w-[260px]', 'min-h-0', 'min-h-11', 'min-h-[34px]', 'min-w-0', 'min-w-[140px]',
|
|
45
|
+
'min-w-[160px]', 'min-w-[168px]', 'min-w-[180px]', 'min-w-[200px]', 'min-w-[240px]', 'ml-1',
|
|
46
|
+
'ml-2', 'mr-1', 'mr-2', 'mr-2.5', 'ms', 'ms-auto',
|
|
47
|
+
'mt-0', 'mt-0.5', 'mt-1', 'mt-1.5', 'mt-2', 'mt-3',
|
|
48
|
+
'mt-px', 'my-1', 'my-1.5', 'object-cover', 'opacity-0', 'opacity-20',
|
|
49
|
+
'opacity-30', 'opacity-40', 'opacity-45', 'opacity-50', 'opacity-55', 'opacity-60',
|
|
50
|
+
'opacity-70', 'opacity-80', 'outline-none', 'overflow-hidden', 'overflow-y-auto', 'p-0',
|
|
51
|
+
'p-3.5', 'p-5', 'pa-2', 'pa-3', 'pa-4', 'pb-0',
|
|
52
|
+
'pb-1', 'pb-10', 'pb-2', 'pb-5', 'pb-6', 'pl-1',
|
|
53
|
+
'pointer-events-none', 'position-relative', 'pr-1', 'pr-1.5', 'pt-1', 'pt-1.5',
|
|
54
|
+
'pt-2', 'pt-3', 'pt-5', 'px', 'px-0', 'px-1.5',
|
|
55
|
+
'px-15', 'px-2', 'px-2.5', 'px-3', 'px-3.5', 'px-4',
|
|
56
|
+
'px-5', 'px-5.5', 'px-6', 'py-0', 'py-0.5', 'py-1',
|
|
57
|
+
'py-1.5', 'py-2', 'py-2.5', 'py-3', 'py-4', 'py-5',
|
|
58
|
+
'py-6', 'py-7', 'py-8', 'relative', 'resize', 'resize-y',
|
|
59
|
+
'right-0', 'rounded', 'rounded-2xl', 'rounded-[10px]', 'rounded-[12px]', 'rounded-[20px]',
|
|
60
|
+
'rounded-full', 'rounded-lg', 'rounded-xl', 'select-none', 'shadow', 'shadow-sm',
|
|
61
|
+
'shrink-0', 'sm:grid-cols-2', 'sm:grid-cols-[auto_minmax(0,1fr)_minmax(0,1fr)_auto]', 'table', 'tabular-nums', 'text-[10px]',
|
|
62
|
+
'text-[11.5px]', 'text-[11px]', 'text-[12.5px]', 'text-[12px]', 'text-[13.5px]', 'text-[13px]',
|
|
63
|
+
'text-black', 'text-body', 'text-center', 'text-error', 'text-heading', 'text-info',
|
|
64
|
+
'text-left', 'text-lg', 'text-muted', 'text-primary', 'text-sm', 'text-success',
|
|
65
|
+
'text-truncate', 'text-warning', 'text-warning-emphasis', 'text-white', 'text-white/45', 'text-wrap',
|
|
66
|
+
'text-xs', 'top-0.5', 'tracking-[0.16em]', 'transform', 'transition-[border-color]', 'transition-all',
|
|
67
|
+
'transition-colors', 'transition-opacity', 'transition-transform', 'translate-x-0', 'translate-x-4', 'translate-y-4',
|
|
68
|
+
'truncate', 'uppercase', 'w-2', 'w-4', 'w-8', 'w-9',
|
|
69
|
+
'w-[18px]', 'w-[34%]', 'w-[38px]', 'w-[60px]', 'w-full', 'whitespace-normal',
|
|
70
|
+
'whitespace-nowrap',
|
|
70
71
|
]
|
|
@@ -115,7 +115,6 @@ export const antShortcuts: [string, string][] = [
|
|
|
115
115
|
// variant is unreadable everywhere it links.
|
|
116
116
|
['ant-cta', 'h-[34px] px-3.5 inline-flex items-center gap-1.5 rounded-lg text-[14px] font-medium whitespace-nowrap cursor-pointer border-0 no-underline [font-family:inherit]'],
|
|
117
117
|
['ant-cta--flat', 'bg-primary !text-white hover:brightness-[0.96]'],
|
|
118
|
-
['ant-cta--outlined', 'bg-transparent !text-primary border border-[rgba(18,92,255,0.5)] hover:bg-[rgba(18,92,255,0.06)]'],
|
|
119
118
|
['ant-cta--tonal', 'bg-[rgba(18,92,255,0.10)] !text-primary hover:bg-[rgba(18,92,255,0.14)]'],
|
|
120
119
|
['ant-cta--ghost', 'bg-transparent !text-primary hover:bg-[rgba(18,92,255,0.08)]'],
|
|
121
120
|
|
|
@@ -196,7 +195,6 @@ export const antShortcuts: [string, string][] = [
|
|
|
196
195
|
['ant-tab-tray', 'inline-flex items-center p-1 rounded-[10px] bg-ant-inset border border-ant'],
|
|
197
196
|
['ant-tab-pill', 'h-9 px-3.5 mx-0.5 inline-flex items-center gap-2 rounded-lg bg-transparent border-0 [font-family:inherit] text-sm text-muted cursor-pointer ant-hover-transition hover:text-body'],
|
|
198
197
|
['ant-tab-pill--active', 'bg-ant-surface !text-heading font-medium shadow-[0_1px_2px_rgba(0,0,0,0.05)]'],
|
|
199
|
-
['ant-tab-badge', 'min-w-5 h-5 px-1.5 rounded-[10px] bg-[rgba(var(--v-theme-on-surface),0.10)] text-body font-mono text-xs font-semibold leading-none inline-flex items-center justify-center'],
|
|
200
198
|
|
|
201
199
|
// Two more CTA variants. Neutral is the secondary action that makes no colour
|
|
202
200
|
// claim; danger states its consequence without filling, because a filled red
|
|
@@ -204,7 +202,6 @@ export const antShortcuts: [string, string][] = [
|
|
|
204
202
|
//
|
|
205
203
|
// ⚠️ `!border-solid` and the explicit width beat `ant-cta`'s own `border-0` for the
|
|
206
204
|
// same source-order reason as the active tab pill.
|
|
207
|
-
['ant-cta--neutral', 'bg-transparent !text-heading !border-1 !border-solid border-ant hover:bg-ant-hover'],
|
|
208
205
|
['ant-cta--danger', 'bg-transparent !text-error !border-1 !border-solid !border-error/40 hover:bg-error/6'],
|
|
209
206
|
|
|
210
207
|
// ── The lens rail (AAD-980) ─────────────────────────────────────────────
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antcde/component-library",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.31-rc.
|
|
4
|
+
"version": "0.1.31-rc.7",
|
|
5
5
|
"description": "Helper to use ant components in Vue 3",
|
|
6
6
|
"author": "CollaborAll",
|
|
7
7
|
"exports": {
|
|
@@ -208,8 +208,8 @@
|
|
|
208
208
|
"vue-i18n": "^11.4.12"
|
|
209
209
|
},
|
|
210
210
|
"devDependencies": {
|
|
211
|
-
"@antcde/connect-ts": "0.4.33-rc.
|
|
212
|
-
"@antcde/vue-utils": "0.2.28-rc.
|
|
211
|
+
"@antcde/connect-ts": "0.4.33-rc.7",
|
|
212
|
+
"@antcde/vue-utils": "0.2.28-rc.7",
|
|
213
213
|
"@iconify-json/mdi": "^1.2.3",
|
|
214
214
|
"@iconify/vue": "^5.0.3",
|
|
215
215
|
"@intlify/unplugin-vue-i18n": "^11.2.5",
|