@antcde/component-library 0.1.30 → 0.1.31-rc.10
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 +58 -43
- package/dist/build/uno.shortcuts.js +0 -3
- package/dist/index.js +12145 -9159
- package/dist/test/vitest.js +2 -0
- package/dist/types/components/AntNoticeAlert.vue.d.ts +24 -0
- package/dist/types/components/BaseAppCard/_BaseAppCardHint.vue.d.ts +1 -0
- package/dist/types/components/BaseAppCard/index.vue.d.ts +1 -0
- package/dist/types/components/BaseConfirmDialog.vue.d.ts +4 -4
- package/dist/types/components/BaseDialog.vue.d.ts +3 -3
- package/dist/types/components/ScriptTrigger/AntDatasetFileSource.vue.d.ts +21 -0
- package/dist/types/components/ScriptTrigger/AntDatasetTableSource.vue.d.ts +16 -0
- package/dist/types/components/ScriptTrigger/AntPayloadFieldsEditor.vue.d.ts +13 -0
- package/dist/types/components/ScriptTrigger/AntRunScriptFields.vue.d.ts +32 -0
- package/dist/types/components/ScriptTrigger/AntTransformScriptFields.vue.d.ts +19 -0
- package/dist/types/components/ScriptTrigger/AntTriggerExecutionUser.vue.d.ts +10 -0
- package/dist/types/components/ScriptTrigger/_DatasetFileColumnList.vue.d.ts +8 -0
- package/dist/types/components/ScriptTrigger/_ScriptVersionPicker.vue.d.ts +10 -0
- package/dist/types/components/ScriptTrigger/composables/useDatasetColumnMapping.d.ts +43 -0
- package/dist/types/components/ScriptTrigger/composables/useDatasetFileColumns.d.ts +51 -0
- package/dist/types/components/ScriptTrigger/composables/useDatasetFileProposal.d.ts +96 -0
- package/dist/types/components/ScriptTrigger/composables/useFieldIssue.d.ts +16 -0
- package/dist/types/components/ScriptTrigger/composables/useScriptSelection.d.ts +68 -0
- package/dist/types/components/ScriptTrigger/composables/useTableColumns.d.ts +30 -0
- package/dist/types/components/ScriptTrigger/composables/useTableSelection.d.ts +227 -0
- package/dist/types/components/ScriptTrigger/context.d.ts +459 -0
- package/dist/types/components/ScriptTrigger/messages/de.json.d.ts +151 -0
- package/dist/types/components/ScriptTrigger/messages/en.json.d.ts +151 -0
- package/dist/types/components/ScriptTrigger/messages/nl.json.d.ts +151 -0
- package/dist/types/components/ScriptTrigger/utils/payloadFields.d.ts +6 -0
- package/dist/types/components/ScriptTrigger/utils/triggerDataset.d.ts +4 -0
- package/dist/types/components/ScriptTrigger/utils/withSavedOption.d.ts +7 -0
- package/dist/types/components/TasksFlow/composables/useEdgeConditionTables.d.ts +6 -0
- package/dist/types/components/Usage/ResourceTrash.vue.d.ts +8 -0
- package/dist/types/components/Usage/UsageActions.vue.d.ts +21 -0
- package/dist/types/components/Usage/UsagePanel.vue.d.ts +8 -0
- package/dist/types/components/Usage/_EmptyTrashBar.vue.d.ts +8 -0
- package/dist/types/components/Usage/_PurgeConfirmDialog.vue.d.ts +25 -0
- package/dist/types/components/Usage/_UsageCarbon.vue.d.ts +9 -0
- package/dist/types/components/Usage/_UsageClassRow.vue.d.ts +22 -0
- package/dist/types/components/Usage/formatBytes.d.ts +2 -0
- package/dist/types/components/Usage/usageMessages.d.ts +188 -0
- package/dist/types/components/Usage/useResourceTrash.d.ts +39 -0
- package/dist/types/components/Usage/useResourceUsage.d.ts +34 -0
- package/dist/types/components/Usage/useShowUsageSizes.d.ts +1 -0
- package/dist/types/components/Usage/useUsageJob.d.ts +4 -0
- package/dist/types/components/form/AntFilterSelect.vue.d.ts +2 -0
- package/dist/types/components/form/AntRadioCards.vue.d.ts +1 -0
- package/dist/types/components/form/AntSelect.vue.d.ts +4 -0
- package/dist/types/components/form/useMenuSearch.d.ts +12 -0
- package/dist/types/index.d.ts +308 -17
- package/lib/build/genSafelist.mjs +9 -2
- package/lib/build/uno.safelist.ts +58 -43
- package/lib/build/uno.shortcuts.ts +0 -3
- package/lib/test/createMockAppContext.ts +9 -0
- package/lib/test/vitest.ts +2 -0
- package/package.json +3 -3
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
export declare const usageMessages: {
|
|
2
|
+
en: {
|
|
3
|
+
carbon: {
|
|
4
|
+
title: string;
|
|
5
|
+
retention: string;
|
|
6
|
+
basis: string;
|
|
7
|
+
export: string;
|
|
8
|
+
};
|
|
9
|
+
title: string;
|
|
10
|
+
measuredAt: string;
|
|
11
|
+
notMeasured: string;
|
|
12
|
+
recalculate: string;
|
|
13
|
+
recalculating: string;
|
|
14
|
+
recalculateFailed: string;
|
|
15
|
+
total: string;
|
|
16
|
+
inUse: string;
|
|
17
|
+
inTrash: string;
|
|
18
|
+
documents: string;
|
|
19
|
+
documentsHint: string;
|
|
20
|
+
database: string;
|
|
21
|
+
documentsElsewhere: string;
|
|
22
|
+
databaseHint: string;
|
|
23
|
+
compactable: string;
|
|
24
|
+
categories: {
|
|
25
|
+
records: string;
|
|
26
|
+
history: string;
|
|
27
|
+
fal: string;
|
|
28
|
+
metadata: string;
|
|
29
|
+
};
|
|
30
|
+
size: string;
|
|
31
|
+
showSizes: string;
|
|
32
|
+
trash: {
|
|
33
|
+
title: string;
|
|
34
|
+
subtitle: string;
|
|
35
|
+
close: string;
|
|
36
|
+
empty: string;
|
|
37
|
+
emptyHint: string;
|
|
38
|
+
count: string;
|
|
39
|
+
emptyAll: {
|
|
40
|
+
action: string;
|
|
41
|
+
title: string;
|
|
42
|
+
body: string;
|
|
43
|
+
typeToConfirm: string;
|
|
44
|
+
skipped: string;
|
|
45
|
+
};
|
|
46
|
+
deletedAt: string;
|
|
47
|
+
reclaimable: string;
|
|
48
|
+
unmeasured: string;
|
|
49
|
+
restore: string;
|
|
50
|
+
purge: string;
|
|
51
|
+
selected: string;
|
|
52
|
+
select: string;
|
|
53
|
+
restoreFailed: string;
|
|
54
|
+
purgeFailed: string;
|
|
55
|
+
confirmTitle: string;
|
|
56
|
+
confirmBody: string;
|
|
57
|
+
confirmFrees: string;
|
|
58
|
+
confirm: string;
|
|
59
|
+
cancel: string;
|
|
60
|
+
previous: string;
|
|
61
|
+
next: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
nl: {
|
|
65
|
+
carbon: {
|
|
66
|
+
title: string;
|
|
67
|
+
retention: string;
|
|
68
|
+
basis: string;
|
|
69
|
+
export: string;
|
|
70
|
+
};
|
|
71
|
+
title: string;
|
|
72
|
+
measuredAt: string;
|
|
73
|
+
notMeasured: string;
|
|
74
|
+
recalculate: string;
|
|
75
|
+
recalculating: string;
|
|
76
|
+
recalculateFailed: string;
|
|
77
|
+
total: string;
|
|
78
|
+
inUse: string;
|
|
79
|
+
inTrash: string;
|
|
80
|
+
documents: string;
|
|
81
|
+
documentsHint: string;
|
|
82
|
+
database: string;
|
|
83
|
+
documentsElsewhere: string;
|
|
84
|
+
databaseHint: string;
|
|
85
|
+
compactable: string;
|
|
86
|
+
categories: {
|
|
87
|
+
records: string;
|
|
88
|
+
history: string;
|
|
89
|
+
fal: string;
|
|
90
|
+
metadata: string;
|
|
91
|
+
};
|
|
92
|
+
size: string;
|
|
93
|
+
showSizes: string;
|
|
94
|
+
trash: {
|
|
95
|
+
title: string;
|
|
96
|
+
subtitle: string;
|
|
97
|
+
close: string;
|
|
98
|
+
empty: string;
|
|
99
|
+
emptyHint: string;
|
|
100
|
+
count: string;
|
|
101
|
+
emptyAll: {
|
|
102
|
+
action: string;
|
|
103
|
+
title: string;
|
|
104
|
+
body: string;
|
|
105
|
+
typeToConfirm: string;
|
|
106
|
+
skipped: string;
|
|
107
|
+
};
|
|
108
|
+
deletedAt: string;
|
|
109
|
+
reclaimable: string;
|
|
110
|
+
unmeasured: string;
|
|
111
|
+
restore: string;
|
|
112
|
+
purge: string;
|
|
113
|
+
selected: string;
|
|
114
|
+
select: string;
|
|
115
|
+
restoreFailed: string;
|
|
116
|
+
purgeFailed: string;
|
|
117
|
+
confirmTitle: string;
|
|
118
|
+
confirmBody: string;
|
|
119
|
+
confirmFrees: string;
|
|
120
|
+
confirm: string;
|
|
121
|
+
cancel: string;
|
|
122
|
+
previous: string;
|
|
123
|
+
next: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
de: {
|
|
127
|
+
carbon: {
|
|
128
|
+
title: string;
|
|
129
|
+
retention: string;
|
|
130
|
+
basis: string;
|
|
131
|
+
export: string;
|
|
132
|
+
};
|
|
133
|
+
title: string;
|
|
134
|
+
measuredAt: string;
|
|
135
|
+
notMeasured: string;
|
|
136
|
+
recalculate: string;
|
|
137
|
+
recalculating: string;
|
|
138
|
+
recalculateFailed: string;
|
|
139
|
+
total: string;
|
|
140
|
+
inUse: string;
|
|
141
|
+
inTrash: string;
|
|
142
|
+
documents: string;
|
|
143
|
+
documentsHint: string;
|
|
144
|
+
database: string;
|
|
145
|
+
documentsElsewhere: string;
|
|
146
|
+
databaseHint: string;
|
|
147
|
+
compactable: string;
|
|
148
|
+
categories: {
|
|
149
|
+
records: string;
|
|
150
|
+
history: string;
|
|
151
|
+
fal: string;
|
|
152
|
+
metadata: string;
|
|
153
|
+
};
|
|
154
|
+
size: string;
|
|
155
|
+
showSizes: string;
|
|
156
|
+
trash: {
|
|
157
|
+
title: string;
|
|
158
|
+
subtitle: string;
|
|
159
|
+
close: string;
|
|
160
|
+
empty: string;
|
|
161
|
+
emptyHint: string;
|
|
162
|
+
count: string;
|
|
163
|
+
emptyAll: {
|
|
164
|
+
action: string;
|
|
165
|
+
title: string;
|
|
166
|
+
body: string;
|
|
167
|
+
typeToConfirm: string;
|
|
168
|
+
skipped: string;
|
|
169
|
+
};
|
|
170
|
+
deletedAt: string;
|
|
171
|
+
reclaimable: string;
|
|
172
|
+
unmeasured: string;
|
|
173
|
+
restore: string;
|
|
174
|
+
purge: string;
|
|
175
|
+
selected: string;
|
|
176
|
+
select: string;
|
|
177
|
+
restoreFailed: string;
|
|
178
|
+
purgeFailed: string;
|
|
179
|
+
confirmTitle: string;
|
|
180
|
+
confirmBody: string;
|
|
181
|
+
confirmFrees: string;
|
|
182
|
+
confirm: string;
|
|
183
|
+
cancel: string;
|
|
184
|
+
previous: string;
|
|
185
|
+
next: string;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { TrashedResource } from '@antcde/connect-ts';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
import { UseResourceUsage } from './useResourceUsage';
|
|
4
|
+
export declare function useResourceTrash(usage: UseResourceUsage, options?: {
|
|
5
|
+
onChanged?: () => void;
|
|
6
|
+
}): {
|
|
7
|
+
isAvailable: import('vue').ComputedRef<boolean>;
|
|
8
|
+
items: Ref<TrashedResource[], TrashedResource[]>;
|
|
9
|
+
meta: Ref<{
|
|
10
|
+
current_page: number;
|
|
11
|
+
per_page: number;
|
|
12
|
+
total: number;
|
|
13
|
+
last_page: number;
|
|
14
|
+
} | null, {
|
|
15
|
+
current_page: number;
|
|
16
|
+
per_page: number;
|
|
17
|
+
total: number;
|
|
18
|
+
last_page: number;
|
|
19
|
+
} | {
|
|
20
|
+
current_page: number;
|
|
21
|
+
per_page: number;
|
|
22
|
+
total: number;
|
|
23
|
+
last_page: number;
|
|
24
|
+
} | null>;
|
|
25
|
+
isLoading: Ref<boolean, boolean>;
|
|
26
|
+
selected: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
|
|
27
|
+
selectedItems: import('vue').ComputedRef<TrashedResource[]>;
|
|
28
|
+
failed: Ref<"restore" | "purge" | null, "restore" | "purge" | null>;
|
|
29
|
+
load: (page?: number) => Promise<void>;
|
|
30
|
+
restore: (item: TrashedResource) => Promise<void>;
|
|
31
|
+
purge: (targets: TrashedResource[]) => Promise<void>;
|
|
32
|
+
emptyTrash: () => Promise<{
|
|
33
|
+
purged: number;
|
|
34
|
+
skipped: number;
|
|
35
|
+
}>;
|
|
36
|
+
emptying: Ref<boolean, boolean>;
|
|
37
|
+
toggle: (id: string) => void;
|
|
38
|
+
};
|
|
39
|
+
export type UseResourceTrash = ReturnType<typeof useResourceTrash>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AntConnect, Context, LiveTrashed, ResourceFootprint, SignalReceiver, SignalSender, UsageResourceType } from '@antcde/connect-ts';
|
|
2
|
+
import { ComputedRef, MaybeRefOrGetter, Ref } from 'vue';
|
|
3
|
+
export interface UseResourceUsageOptions {
|
|
4
|
+
connect: AntConnect;
|
|
5
|
+
context: Ref<Context>;
|
|
6
|
+
signal: SignalReceiver & SignalSender;
|
|
7
|
+
resourceType: MaybeRefOrGetter<UsageResourceType>;
|
|
8
|
+
resourceId: MaybeRefOrGetter<string | null | undefined>;
|
|
9
|
+
}
|
|
10
|
+
export interface UseResourceUsage {
|
|
11
|
+
/** Admin of this context. False → no request is ever sent. */
|
|
12
|
+
isAvailable: ComputedRef<boolean>;
|
|
13
|
+
usage: Readonly<Ref<ResourceFootprint | null>>;
|
|
14
|
+
isLoading: Readonly<Ref<boolean>>;
|
|
15
|
+
/** Live DMS bytes from `limit.change` (project scope), fresher than the nightly snapshot. */
|
|
16
|
+
liveDms: Readonly<Ref<LiveTrashed | null>>;
|
|
17
|
+
isRecalculating: Readonly<Ref<boolean>>;
|
|
18
|
+
recalculateError: Readonly<Ref<boolean>>;
|
|
19
|
+
refresh: () => Promise<void>;
|
|
20
|
+
recalculate: () => Promise<void>;
|
|
21
|
+
/** Purge a live table's soft-deleted record versions (AAD-1069); rejects if the job fails. */
|
|
22
|
+
purgeHistory: (tableId: string) => Promise<void>;
|
|
23
|
+
/** Empty this project's DMS trash (AAD-1100); rejects if the job fails. */
|
|
24
|
+
emptyDmsTrash: () => Promise<void>;
|
|
25
|
+
connect: AntConnect;
|
|
26
|
+
signal: SignalReceiver & SignalSender;
|
|
27
|
+
resourceType: ComputedRef<UsageResourceType>;
|
|
28
|
+
resourceId: ComputedRef<string | null | undefined>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The one place usage gating lives (AAD-1061). Consumers render on `isAvailable` and never
|
|
32
|
+
* re-derive admin status, so no panel can forget the rule.
|
|
33
|
+
*/
|
|
34
|
+
export declare function useResourceUsage(options: UseResourceUsageOptions): UseResourceUsage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useShowUsageSizes(): import('@vueuse/core').RemovableRef<boolean>;
|
|
@@ -5,6 +5,8 @@ declare const __VLS_export: <T extends string | number | null>(__VLS_props: NonN
|
|
|
5
5
|
options: FilterSelectOption<T>[];
|
|
6
6
|
prependIcon: string;
|
|
7
7
|
labelPrefix: string;
|
|
8
|
+
/** The compact control size (h-9, as the Store search) for toolbars that sit beside chips. */
|
|
9
|
+
dense?: boolean;
|
|
8
10
|
} & {
|
|
9
11
|
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
10
12
|
}> & (typeof globalThis extends {
|
|
@@ -56,6 +56,10 @@ declare const __VLS_export: <T extends string>(__VLS_props: NonNullable<Awaited<
|
|
|
56
56
|
* select as valid while the form refused to submit.
|
|
57
57
|
*/
|
|
58
58
|
error?: boolean;
|
|
59
|
+
/** Placeholder of the filter box, shown once the list is long (see useMenuSearch). */
|
|
60
|
+
searchPlaceholder?: string;
|
|
61
|
+
/** Shown when the filter matches nothing. */
|
|
62
|
+
noResultsText?: string;
|
|
59
63
|
} & {
|
|
60
64
|
modelValue: T;
|
|
61
65
|
}) & {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export declare function isImeKey(event: KeyboardEvent): boolean;
|
|
3
|
+
export declare function useMenuSearch<O extends {
|
|
4
|
+
title: string;
|
|
5
|
+
}>(options: () => O[]): {
|
|
6
|
+
query: Ref<string, string>;
|
|
7
|
+
input: Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
8
|
+
searchable: import('vue').ComputedRef<boolean>;
|
|
9
|
+
visible: import('vue').ComputedRef<O[]>;
|
|
10
|
+
onOpened: () => Promise<void>;
|
|
11
|
+
onClosed: () => void;
|
|
12
|
+
};
|
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';
|
|
@@ -26,6 +18,16 @@ import { default as UnifiedWindow } from './components/UnifiedWindow/index.vue';
|
|
|
26
18
|
import { default as TaskFlow } from './components/TasksFlow/index.vue';
|
|
27
19
|
import { default as VersionPublishDialog } from './components/VersionPublishDialog.vue';
|
|
28
20
|
import { default as AntTourZone } from './components/AntTourZone/index.vue';
|
|
21
|
+
import { default as ResourceTrash } from './components/Usage/ResourceTrash.vue';
|
|
22
|
+
import { default as UsageActions } from './components/Usage/UsageActions.vue';
|
|
23
|
+
import { default as UsagePanel } from './components/Usage/UsagePanel.vue';
|
|
24
|
+
import { default as AntNoticeAlert } from './components/AntNoticeAlert.vue';
|
|
25
|
+
import { default as AntDatasetFileSource } from './components/ScriptTrigger/AntDatasetFileSource.vue';
|
|
26
|
+
import { default as AntDatasetTableSource } from './components/ScriptTrigger/AntDatasetTableSource.vue';
|
|
27
|
+
import { default as AntPayloadFieldsEditor } from './components/ScriptTrigger/AntPayloadFieldsEditor.vue';
|
|
28
|
+
import { default as AntRunScriptFields } from './components/ScriptTrigger/AntRunScriptFields.vue';
|
|
29
|
+
import { default as AntTransformScriptFields } from './components/ScriptTrigger/AntTransformScriptFields.vue';
|
|
30
|
+
import { default as AntTriggerExecutionUser } from './components/ScriptTrigger/AntTriggerExecutionUser.vue';
|
|
29
31
|
import { default as AntActionMenu } from './components/form/AntActionMenu.vue';
|
|
30
32
|
import { default as AntCheckboxCards } from './components/form/AntCheckboxCards.vue';
|
|
31
33
|
import { default as AntColumnMapRow } from './components/form/AntColumnMapRow.vue';
|
|
@@ -59,22 +61,311 @@ export type { RadioCardOption } from './components/form/AntRadioCards.vue';
|
|
|
59
61
|
export type { SelectOption } from './components/form/AntSelect.vue';
|
|
60
62
|
export type { PillTone } from './components/form/AntStatusPill.vue';
|
|
61
63
|
export type { MentionItem } from './components/RichTextEditor/index.vue';
|
|
64
|
+
export type { FieldIssue, FieldIssues } from './components/ScriptTrigger/composables/useFieldIssue';
|
|
65
|
+
export { FIELD_ISSUES_KEY, useFieldIssue } from './components/ScriptTrigger/composables/useFieldIssue';
|
|
66
|
+
export { useScriptSelection, WORKING_COPY } from './components/ScriptTrigger/composables/useScriptSelection';
|
|
67
|
+
export type { DatasetColumnChoice } from './components/ScriptTrigger/composables/useTableColumns';
|
|
68
|
+
export { useTableColumns } from './components/ScriptTrigger/composables/useTableColumns';
|
|
69
|
+
export { useTableSelection } from './components/ScriptTrigger/composables/useTableSelection';
|
|
70
|
+
export type { ScriptTriggerContext } from './components/ScriptTrigger/context';
|
|
71
|
+
export { provideScriptTriggerContext } from './components/ScriptTrigger/context';
|
|
72
|
+
export type { PayloadField } from './components/ScriptTrigger/utils/payloadFields';
|
|
73
|
+
export { convertPayloadFieldsToJson, initializePayloadFields } from './components/ScriptTrigger/utils/payloadFields';
|
|
74
|
+
export { withSavedOption } from './components/ScriptTrigger/utils/withSavedOption';
|
|
62
75
|
export type { StackedLabel } from './components/StackedLabels/index.vue';
|
|
63
76
|
export type { FlowChannelSubscriber } from './components/TasksFlow/composables/useTaskFlow';
|
|
64
77
|
export type { WindowSizePreset, WindowTab } from './components/UnifiedWindow/types';
|
|
78
|
+
export { formatBytes } from './components/Usage/formatBytes';
|
|
79
|
+
export { type UseResourceTrash, useResourceTrash } from './components/Usage/useResourceTrash';
|
|
80
|
+
export { type UseResourceUsage, useResourceUsage, type UseResourceUsageOptions } from './components/Usage/useResourceUsage';
|
|
81
|
+
export { useShowUsageSizes } from './components/Usage/useShowUsageSizes';
|
|
65
82
|
export * from '@antcde/vue-utils';
|
|
66
|
-
|
|
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, };
|
|
67
362
|
/**
|
|
68
|
-
* ⚠️ `BaseAntInput` and `BaseAntDatePicker` are the SUPERSEDED field idiom
|
|
69
|
-
* wrappers
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
* For new work use the `Ant*` form primitives above (`AntInput`, `AntSelect`,
|
|
73
|
-
* `AntToggle`, `AntRadioCards`, …). They are left in place because rewriting
|
|
74
|
-
* `BaseAntInput` — 289 lines fanning a 30-member enum out to nine Vuetify
|
|
75
|
-
* 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`, …).
|
|
76
366
|
*
|
|
77
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)
|
|
78
369
|
*/
|
|
79
370
|
export declare const SUPERSEDED_FIELD_COMPONENTS: readonly ["BaseAntInput", "BaseAntDatePicker"];
|
|
80
371
|
declare const _default: {
|