@antcde/component-library 0.1.30 → 0.1.31-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/build/uno.safelist.d.ts +1 -1
  2. package/dist/build/uno.safelist.js +56 -44
  3. package/dist/index.js +12303 -9288
  4. package/dist/types/components/AntNoticeAlert.vue.d.ts +24 -0
  5. package/dist/types/components/ScriptTrigger/AntDatasetFileSource.vue.d.ts +21 -0
  6. package/dist/types/components/ScriptTrigger/AntDatasetTableSource.vue.d.ts +16 -0
  7. package/dist/types/components/ScriptTrigger/AntPayloadFieldsEditor.vue.d.ts +13 -0
  8. package/dist/types/components/ScriptTrigger/AntRunScriptFields.vue.d.ts +32 -0
  9. package/dist/types/components/ScriptTrigger/AntTransformScriptFields.vue.d.ts +19 -0
  10. package/dist/types/components/ScriptTrigger/AntTriggerExecutionUser.vue.d.ts +10 -0
  11. package/dist/types/components/ScriptTrigger/_DatasetFileColumnList.vue.d.ts +8 -0
  12. package/dist/types/components/ScriptTrigger/_ScriptVersionPicker.vue.d.ts +10 -0
  13. package/dist/types/components/ScriptTrigger/composables/useDatasetColumnMapping.d.ts +43 -0
  14. package/dist/types/components/ScriptTrigger/composables/useDatasetFileColumns.d.ts +51 -0
  15. package/dist/types/components/ScriptTrigger/composables/useDatasetFileProposal.d.ts +96 -0
  16. package/dist/types/components/ScriptTrigger/composables/useFieldIssue.d.ts +16 -0
  17. package/dist/types/components/ScriptTrigger/composables/useScriptSelection.d.ts +68 -0
  18. package/dist/types/components/ScriptTrigger/composables/useTableColumns.d.ts +30 -0
  19. package/dist/types/components/ScriptTrigger/composables/useTableSelection.d.ts +221 -0
  20. package/dist/types/components/ScriptTrigger/context.d.ts +459 -0
  21. package/dist/types/components/ScriptTrigger/messages/de.json.d.ts +151 -0
  22. package/dist/types/components/ScriptTrigger/messages/en.json.d.ts +151 -0
  23. package/dist/types/components/ScriptTrigger/messages/nl.json.d.ts +151 -0
  24. package/dist/types/components/ScriptTrigger/utils/payloadFields.d.ts +6 -0
  25. package/dist/types/components/ScriptTrigger/utils/triggerDataset.d.ts +4 -0
  26. package/dist/types/components/ScriptTrigger/utils/withSavedOption.d.ts +7 -0
  27. package/dist/types/components/Usage/ResourceTrash.vue.d.ts +8 -0
  28. package/dist/types/components/Usage/UsageActions.vue.d.ts +21 -0
  29. package/dist/types/components/Usage/UsagePanel.vue.d.ts +8 -0
  30. package/dist/types/components/Usage/_EmptyTrashBar.vue.d.ts +8 -0
  31. package/dist/types/components/Usage/_PurgeConfirmDialog.vue.d.ts +24 -0
  32. package/dist/types/components/Usage/_UsageCarbon.vue.d.ts +9 -0
  33. package/dist/types/components/Usage/_UsageClassRow.vue.d.ts +22 -0
  34. package/dist/types/components/Usage/formatBytes.d.ts +2 -0
  35. package/dist/types/components/Usage/usageMessages.d.ts +188 -0
  36. package/dist/types/components/Usage/useResourceTrash.d.ts +39 -0
  37. package/dist/types/components/Usage/useResourceUsage.d.ts +34 -0
  38. package/dist/types/components/Usage/useShowUsageSizes.d.ts +1 -0
  39. package/dist/types/components/Usage/useUsageJob.d.ts +4 -0
  40. package/dist/types/components/form/AntFilterSelect.vue.d.ts +2 -0
  41. package/dist/types/components/form/AntRadioCards.vue.d.ts +1 -0
  42. package/dist/types/components/form/AntSelect.vue.d.ts +4 -0
  43. package/dist/types/components/form/useMenuSearch.d.ts +12 -0
  44. package/dist/types/index.d.ts +26 -1
  45. package/lib/build/genSafelist.mjs +9 -2
  46. package/lib/build/uno.safelist.ts +56 -44
  47. 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
+ /** License admin AND the usage module switched on. 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>;
@@ -0,0 +1,4 @@
1
+ import { JobProgressEvent, SignalReceiver } from '@antcde/connect-ts';
2
+ export declare function useUsageJob(signal: SignalReceiver): {
3
+ track: (jobId: string, timeoutMs?: number) => Promise<JobProgressEvent>;
4
+ };
@@ -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 {
@@ -31,6 +31,7 @@ declare const __VLS_export: <T extends string>(__VLS_props: NonNullable<Awaited<
31
31
  options: RadioCardOption<T>[];
32
32
  columns?: number;
33
33
  disabled?: boolean;
34
+ ariaLabel?: string;
34
35
  } & {
35
36
  modelValue: T;
36
37
  }) & {
@@ -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
+ };
@@ -26,6 +26,16 @@ import { default as UnifiedWindow } from './components/UnifiedWindow/index.vue';
26
26
  import { default as TaskFlow } from './components/TasksFlow/index.vue';
27
27
  import { default as VersionPublishDialog } from './components/VersionPublishDialog.vue';
28
28
  import { default as AntTourZone } from './components/AntTourZone/index.vue';
29
+ import { default as ResourceTrash } from './components/Usage/ResourceTrash.vue';
30
+ import { default as UsageActions } from './components/Usage/UsageActions.vue';
31
+ import { default as UsagePanel } from './components/Usage/UsagePanel.vue';
32
+ import { default as AntNoticeAlert } from './components/AntNoticeAlert.vue';
33
+ import { default as AntDatasetFileSource } from './components/ScriptTrigger/AntDatasetFileSource.vue';
34
+ import { default as AntDatasetTableSource } from './components/ScriptTrigger/AntDatasetTableSource.vue';
35
+ import { default as AntPayloadFieldsEditor } from './components/ScriptTrigger/AntPayloadFieldsEditor.vue';
36
+ import { default as AntRunScriptFields } from './components/ScriptTrigger/AntRunScriptFields.vue';
37
+ import { default as AntTransformScriptFields } from './components/ScriptTrigger/AntTransformScriptFields.vue';
38
+ import { default as AntTriggerExecutionUser } from './components/ScriptTrigger/AntTriggerExecutionUser.vue';
29
39
  import { default as AntActionMenu } from './components/form/AntActionMenu.vue';
30
40
  import { default as AntCheckboxCards } from './components/form/AntCheckboxCards.vue';
31
41
  import { default as AntColumnMapRow } from './components/form/AntColumnMapRow.vue';
@@ -59,11 +69,26 @@ export type { RadioCardOption } from './components/form/AntRadioCards.vue';
59
69
  export type { SelectOption } from './components/form/AntSelect.vue';
60
70
  export type { PillTone } from './components/form/AntStatusPill.vue';
61
71
  export type { MentionItem } from './components/RichTextEditor/index.vue';
72
+ export type { FieldIssue, FieldIssues } from './components/ScriptTrigger/composables/useFieldIssue';
73
+ export { FIELD_ISSUES_KEY, useFieldIssue } from './components/ScriptTrigger/composables/useFieldIssue';
74
+ export { useScriptSelection, WORKING_COPY } from './components/ScriptTrigger/composables/useScriptSelection';
75
+ export type { DatasetColumnChoice } from './components/ScriptTrigger/composables/useTableColumns';
76
+ export { useTableColumns } from './components/ScriptTrigger/composables/useTableColumns';
77
+ export { useTableSelection } from './components/ScriptTrigger/composables/useTableSelection';
78
+ export type { ScriptTriggerContext } from './components/ScriptTrigger/context';
79
+ export { provideScriptTriggerContext } from './components/ScriptTrigger/context';
80
+ export type { PayloadField } from './components/ScriptTrigger/utils/payloadFields';
81
+ export { convertPayloadFieldsToJson, initializePayloadFields } from './components/ScriptTrigger/utils/payloadFields';
82
+ export { withSavedOption } from './components/ScriptTrigger/utils/withSavedOption';
62
83
  export type { StackedLabel } from './components/StackedLabels/index.vue';
63
84
  export type { FlowChannelSubscriber } from './components/TasksFlow/composables/useTaskFlow';
64
85
  export type { WindowSizePreset, WindowTab } from './components/UnifiedWindow/types';
86
+ export { formatBytes } from './components/Usage/formatBytes';
87
+ export { type UseResourceTrash, useResourceTrash } from './components/Usage/useResourceTrash';
88
+ export { type UseResourceUsage, useResourceUsage, type UseResourceUsageOptions } from './components/Usage/useResourceUsage';
89
+ export { useShowUsageSizes } from './components/Usage/useShowUsageSizes';
65
90
  export * from '@antcde/vue-utils';
66
- export { AntActionMenu, AntCheckboxCards, AntColumnMapRow, AntDialogShell, AntField, AntFilterChips, AntFilterSelect, AntHintBanner, AntHintTip, AntInput, AntMultiSelect, AntNumberField, AntOptionPicker, AntPanelSection, AntRadioCards, AntResourceTile, AntSaveBar, AntScopePanel, AntSearchField, AntSectionCard, AntSelect, AntStatusPill, AntToggle, AntTourZone, BaseAntButton, BaseAntCard, BaseAntCreateCard, BaseAntDatePicker, BaseAntInput, BaseAntLoading, BaseAppCard, BaseAppCardSkeleton, BaseClickableIcon, BaseConfirmDialog, BaseDeleteDialog, BaseDialog, BaseLimitedButton, BaseResizePanel, BulkLabelsMenu, DmsFilePicker, FilePreviewContent, FlowWindowContent, GlobalLabelBadge, LabelsMenuCard, PermissionCard, RichTextEditor, StackedLabels, TaskFlow, UnifiedWindow, VersionPublishDialog, };
91
+ 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, BaseAntButton, BaseAntCard, BaseAntCreateCard, BaseAntDatePicker, BaseAntInput, BaseAntLoading, BaseAppCard, BaseAppCardSkeleton, BaseClickableIcon, BaseConfirmDialog, BaseDeleteDialog, BaseDialog, BaseLimitedButton, BaseResizePanel, BulkLabelsMenu, DmsFilePicker, FilePreviewContent, FlowWindowContent, GlobalLabelBadge, LabelsMenuCard, PermissionCard, ResourceTrash, RichTextEditor, StackedLabels, TaskFlow, UnifiedWindow, UsageActions, UsagePanel, VersionPublishDialog, };
67
92
  /**
68
93
  * ⚠️ `BaseAntInput` and `BaseAntDatePicker` are the SUPERSEDED field idiom —
69
94
  * wrappers around Vuetify fields, whose border weight and floating notched label
@@ -91,8 +91,15 @@ function tokenize(value) {
91
91
  const candidates = new Set()
92
92
  for (const f of vueFiles(SRC)) {
93
93
  const src = readFileSync(f, 'utf8')
94
- for (const m of src.matchAll(/(?:class|:class)\s*=\s*"([^"]*)"/g)) {
95
- for (const tok of tokenize(m[1])) {
94
+ // Classes built in <script> (`frameClass = 'ant-section'`) never sit in a class attribute,
95
+ // so its string literals are candidates too; Uno rejects everything that is not a class.
96
+ const script = (src.match(/<script[^>]*>[\s\S]*?<\/script>/g) ?? []).join('\n')
97
+ const values = [
98
+ ...[...src.matchAll(/(?:class|:class)\s*=\s*"([^"]*)"/g)].map(m => m[1]),
99
+ ...[...script.matchAll(/'([^'\n]*)'|"([^"\n]*)"|`([^`]*)`/g)].map(m => m[1] ?? m[2] ?? m[3]),
100
+ ]
101
+ for (const value of values) {
102
+ for (const tok of tokenize(value)) {
96
103
  const t = tok.replace(/^!/, '')
97
104
  // ⚠️ A DOT IS NOT A DISQUALIFIER. This used to drop every token containing
98
105
  // one, which silently excluded every fractional utility — `h-1.5`, `w-1.5`,
@@ -4,53 +4,65 @@
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
- * 265 classes, from 974 candidates, filtered by asking Uno
7
+ * 337 classes, from 1657 candidates, filtered by asking Uno
8
8
  * which ones actually resolve.
9
9
  */
10
10
  export const libraryClassSafelist: string[] = [
11
11
  'absolute', 'align-middle', 'align-start', 'ant-cat-chip', 'ant-check', 'ant-check--on',
12
- 'ant-field-label', 'ant-hint-banner', 'ant-icon-button', 'ant-option-row', 'ant-option-row--on', 'ant-pill',
13
- 'ant-pill--sm', 'ant-pill-input', 'ant-pill-input--button', 'ant-pill-menu', 'ant-pill-menu__item', 'ant-pill-menu__item--active',
14
- 'ant-radio', 'ant-radio--on', 'ant-radio__dot', 'ant-save-bar', 'ant-section__header', 'basis-full',
15
- 'bg-ant-inset', 'bg-ant-panel', 'bg-ant-surface', 'bg-error', 'bg-primary', 'bg-primary/4',
16
- 'bg-primary/5', 'bg-success', 'bg-transparent', 'bg-warning', 'bg-white', 'bg-white/12',
17
- 'block', 'border', 'border-0', 'border-2', 'border-ant', 'border-b',
18
- 'border-error', 'border-none', 'border-opacity-50', 'border-primary', 'border-t', 'border-white/20',
19
- 'bottom-0', 'capitalize', 'cursor-help', 'cursor-not-allowed', 'cursor-pointer', 'disabled:cursor-not-allowed',
20
- 'disabled:hover:bg-transparent', 'disabled:opacity-50', 'duration-150', 'duration-200', 'ease-in', 'ease-out',
21
- 'flex', 'flex-1', 'flex-col', 'flex-grow-1', 'flex-shrink-0', 'flex-wrap',
22
- 'focus-visible:border-primary', 'focus-visible:opacity-100', 'focus-visible:outline-2', 'focus-visible:outline-offset-2', 'focus-visible:outline-primary', 'focus-within:border-primary',
23
- 'focus:border-error', 'focus:border-primary', 'focus:outline-none', 'focus:ring-error/10', 'focus:ring-primary/10', 'font-[inherit]',
24
- 'font-medium', 'font-mono', 'font-normal', 'font-semibold', 'gap-0.5', 'gap-1',
25
- 'gap-1.5', 'gap-2', 'gap-3', 'gap-8', 'gap-[5px]', 'gap-[6px]',
26
- 'gap-x-2', 'gap-y-1', 'grid', 'group-hover:bg-primary/4', 'group-hover:border-primary/60', 'h-11',
27
- 'h-2', 'h-4', 'h-7', 'h-8', 'h-[18px]', 'h-[22px]',
28
- 'h-full', 'hover:bg-ant-hover', 'hover:bg-primary/6', 'hover:bg-primary/8', 'hover:bg-white/10', 'hover:opacity-100',
29
- 'inline-block', 'inline-flex', 'items-baseline', 'items-center', 'items-start', 'justify-between',
30
- 'justify-center', 'justify-end', 'justify-start', 'last:border-b-0', 'leading-none', 'leading-relaxed',
31
- 'leading-snug', 'leading-tight', 'left-0.5', 'lg:flex-initial', 'lg:min-w-[220px]', 'm-0',
32
- 'max-h-[88vh]', 'max-w-[180px]', 'max-w-[240px]', 'mb-1', 'mb-2', 'mb-2.5',
33
- 'mb-3', 'mb-4', 'md:basis-auto', 'md:flex-1', 'md:max-w-[420px]', 'md:min-w-[260px]',
34
- 'min-h-11', 'min-w-0', 'min-w-[140px]', 'min-w-[168px]', 'min-w-[180px]', 'min-w-[200px]',
35
- 'min-w-[240px]', 'ml-1', 'ml-2', 'mr-1', 'mr-2', 'mr-2.5',
36
- 'ms-auto', 'mt-0.5', 'mt-1', 'mt-1.5', 'mt-2', 'mt-3',
37
- 'mt-px', 'my-1', 'object-cover', 'opacity-0', 'opacity-20', 'opacity-30',
38
- 'opacity-40', 'opacity-45', 'opacity-50', 'opacity-55', 'opacity-60', 'opacity-70',
39
- 'outline-none', 'overflow-hidden', 'overflow-y-auto', 'p-0', 'p-3.5', 'pa-2',
40
- 'pa-3', 'pb-0', 'pb-1', 'pb-2', 'pb-5', 'pl-1',
41
- 'pointer-events-none', 'position-relative', 'pr-1', 'pr-1.5', 'pt-1', 'pt-1.5',
42
- 'pt-2', 'pt-3', 'pt-5', 'px-0', 'px-1.5', 'px-15',
43
- 'px-2', 'px-3', 'px-3.5', 'px-4', 'px-5', 'px-5.5',
44
- 'py-0', 'py-0.5', 'py-1', 'py-1.5', 'py-2', 'py-2.5',
45
- 'py-3', 'py-4', 'py-5', 'py-6', 'relative', 'resize-y',
46
- 'right-0', 'rounded', 'rounded-2xl', 'rounded-[12px]', 'rounded-[20px]', 'rounded-full',
47
- 'rounded-xl', 'select-none', 'shadow', 'shadow-sm', 'shrink-0', 'sm:grid-cols-[auto_minmax(0,1fr)_minmax(0,1fr)_auto]',
48
- 'tabular-nums', 'text-[10px]', 'text-[11.5px]', 'text-[11px]', 'text-[12.5px]', 'text-[13.5px]',
49
- 'text-[13px]', 'text-black', 'text-body', 'text-center', 'text-error', 'text-heading',
50
- 'text-left', 'text-lg', 'text-muted', 'text-primary', 'text-sm', 'text-truncate',
51
- 'text-warning', 'text-warning-emphasis', 'text-white', 'text-white/45', 'text-wrap', 'text-xs',
52
- 'top-0.5', 'tracking-[0.16em]', 'transition-[border-color]', 'transition-all', 'transition-colors', 'transition-opacity',
53
- 'transition-transform', 'translate-x-0', 'translate-x-4', 'translate-y-4', 'truncate', 'uppercase',
54
- 'w-2', 'w-4', 'w-[18px]', 'w-[38px]', 'w-full', 'whitespace-normal',
12
+ 'ant-cta', 'ant-cta--tonal', 'ant-empty-icon', 'ant-field-label', 'ant-hint-banner', 'ant-icon-button',
13
+ 'ant-info-box', 'ant-install-another-btn', 'ant-option-row', 'ant-option-row--on', 'ant-pill', 'ant-pill--sm',
14
+ 'ant-pill-input', 'ant-pill-input--button', 'ant-pill-menu', 'ant-pill-menu__item', 'ant-pill-menu__item--active', 'ant-radio',
15
+ 'ant-radio--on', 'ant-radio__dot', 'ant-save-bar', 'ant-section', 'ant-section__header', 'ant-section__row',
16
+ 'ant-warning-box', 'b', 'basis-full', 'bg-ant-inset', 'bg-ant-panel', 'bg-ant-surface',
17
+ 'bg-error', 'bg-error/10', 'bg-info', 'bg-primary', 'bg-primary/10', 'bg-primary/4',
18
+ 'bg-primary/5', 'bg-success', 'bg-success/10', 'bg-transparent', 'bg-warning', 'bg-warning/10',
19
+ 'bg-warning/8', 'bg-white', 'bg-white/12', 'block', 'blur', 'border',
20
+ 'border-0', 'border-2', 'border-ant', 'border-b', 'border-dashed', 'border-error',
21
+ 'border-none', 'border-opacity-50', 'border-primary', 'border-t', 'border-transparent', 'border-warning/40',
22
+ 'border-white/20', 'bottom-0', 'capitalize', 'collapse', 'cursor-help', 'cursor-not-allowed',
23
+ 'cursor-pointer', 'disabled:cursor-not-allowed', 'disabled:hover:bg-transparent', 'disabled:opacity-50', 'duration-150', 'duration-200',
24
+ 'ease', 'ease-in', 'ease-out', 'fixed', 'flex', 'flex-1',
25
+ 'flex-col', 'flex-grow-1', 'flex-shrink-0', 'flex-wrap', 'focus-visible:border-primary', 'focus-visible:opacity-100',
26
+ 'focus-visible:outline-2', 'focus-visible:outline-offset-2', 'focus-visible:outline-primary', 'focus-within:border-primary', 'focus-within:ring-3', 'focus:border-error',
27
+ 'focus:border-primary', 'focus:outline-none', 'focus:ring-error/10', 'focus:ring-primary/10', 'font-[inherit]', 'font-medium',
28
+ 'font-mono', 'font-normal', 'font-semibold', 'gap-0.5', 'gap-1', 'gap-1.5',
29
+ 'gap-2', 'gap-3', 'gap-3.5', 'gap-4', 'gap-5', 'gap-8',
30
+ 'gap-[5px]', 'gap-[6px]', 'gap-x-2', 'gap-x-3', 'gap-y-1', 'grayscale',
31
+ 'grid', 'grid-cols-1', 'grid-cols-2', 'grid-cols-3', 'grid-cols-4', 'group-hover:bg-primary/4',
32
+ 'group-hover:border-primary/60', 'h-11', 'h-2', 'h-4', 'h-7', 'h-8',
33
+ 'h-9', 'h-9.5', 'h-[18px]', 'h-[22px]', 'h-full', 'hidden',
34
+ 'hover:bg-ant-hover', 'hover:bg-primary/6', 'hover:bg-primary/8', 'hover:bg-warning/10', 'hover:bg-white/10', 'hover:opacity-100',
35
+ 'inline', 'inline-block', 'inline-flex', 'inset-0', 'italic', 'items-baseline',
36
+ 'items-center', 'items-start', 'items-stretch', 'justify-between', 'justify-center', 'justify-end',
37
+ 'justify-start', 'last:border-b-0', 'leading-none', 'leading-relaxed', 'leading-snug', 'leading-tight',
38
+ 'left-0.5', 'lg:flex-initial', 'lg:min-w-[180px]', 'lg:min-w-[220px]', 'list-none', 'm-0',
39
+ 'max-h-[88vh]', 'max-w-[180px]', 'max-w-[240px]', 'max-w-[280px]', 'max-w-[320px]', 'max-w-[340px]',
40
+ 'max-w-[380px]', 'mb-0', 'mb-1', 'mb-2', 'mb-2.5', 'mb-3',
41
+ 'mb-4', 'md:basis-auto', 'md:flex-1', 'md:max-w-[420px]', 'md:min-w-[260px]', 'me-2',
42
+ 'min-h-0', 'min-h-11', 'min-w-0', 'min-w-[140px]', 'min-w-[160px]', 'min-w-[168px]',
43
+ 'min-w-[180px]', 'min-w-[200px]', 'min-w-[240px]', 'ml-1', 'ml-2', 'mr-1',
44
+ 'mr-2', 'mr-2.5', 'ms', 'ms-auto', 'mt-0', 'mt-0.5',
45
+ 'mt-1', 'mt-1.5', 'mt-2', 'mt-3', 'mt-px', 'my-1',
46
+ 'my-1.5', 'object-cover', 'opacity-0', 'opacity-20', 'opacity-30', 'opacity-40',
47
+ 'opacity-45', 'opacity-50', 'opacity-55', 'opacity-60', 'opacity-70', 'outline-none',
48
+ 'overflow-hidden', 'overflow-y-auto', 'p-0', 'p-3.5', 'p-5', 'pa-2',
49
+ 'pa-3', 'pa-4', 'pa-6', 'pb-0', 'pb-1', 'pb-10',
50
+ 'pb-2', 'pb-3', 'pb-5', 'pb-6', 'pl-1', 'pointer-events-none',
51
+ 'position-relative', 'pr-1', 'pr-1.5', 'pt-0', 'pt-1', 'pt-1.5',
52
+ 'pt-2', 'pt-3', 'pt-5', 'pt-8', 'px', 'px-0',
53
+ 'px-1.5', 'px-15', 'px-2', 'px-3', 'px-3.5', 'px-4',
54
+ 'px-5', 'px-5.5', 'px-6', 'py-0', 'py-0.5', 'py-1',
55
+ 'py-1.5', 'py-2', 'py-2.5', 'py-3', 'py-4', 'py-5',
56
+ 'py-6', 'py-7', 'relative', 'resize', 'resize-y', 'right-0',
57
+ 'rounded', 'rounded-2xl', 'rounded-[10px]', 'rounded-[12px]', 'rounded-[20px]', 'rounded-full',
58
+ 'rounded-xl', 'select-none', 'shadow', 'shadow-sm', 'shrink-0', 'sm:grid-cols-2',
59
+ 'sm:grid-cols-[auto_minmax(0,1fr)_minmax(0,1fr)_auto]', 'table', 'tabular-nums', 'text-[10px]', 'text-[11.5px]', 'text-[11px]',
60
+ 'text-[12.5px]', 'text-[13.5px]', 'text-[13px]', 'text-black', 'text-body', 'text-center',
61
+ 'text-disabled', 'text-error', 'text-heading', 'text-left', 'text-lg', 'text-muted',
62
+ 'text-primary', 'text-sm', 'text-success', 'text-truncate', 'text-warning', 'text-warning-emphasis',
63
+ 'text-white', 'text-white/45', 'text-wrap', 'text-xs', 'top-0.5', 'tracking-[0.16em]',
64
+ 'transform', 'transition-[border-color]', 'transition-all', 'transition-colors', 'transition-opacity', 'transition-transform',
65
+ 'translate-x-0', 'translate-x-4', 'translate-y-4', 'truncate', 'uppercase', 'w-2',
66
+ 'w-4', 'w-[18px]', 'w-[34%]', 'w-[38px]', 'w-full', 'whitespace-normal',
55
67
  'whitespace-nowrap',
56
68
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@antcde/component-library",
3
3
  "type": "module",
4
- "version": "0.1.30",
4
+ "version": "0.1.31-rc.2",
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.32",
212
- "@antcde/vue-utils": "0.2.27",
211
+ "@antcde/connect-ts": "0.4.33-rc.2",
212
+ "@antcde/vue-utils": "0.2.28-rc.2",
213
213
  "@iconify-json/mdi": "^1.2.3",
214
214
  "@iconify/vue": "^5.0.3",
215
215
  "@intlify/unplugin-vue-i18n": "^11.2.5",