@antcde/component-library 0.1.31-rc.1 → 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.
@@ -0,0 +1,8 @@
1
+ import { UseResourceTrash } from './useResourceTrash';
2
+ type __VLS_Props = {
3
+ trash: UseResourceTrash;
4
+ emptyConfirmPhrase?: string;
5
+ };
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import { UseResourceTrash } from './useResourceTrash';
2
+ import { UseResourceUsage } from './useResourceUsage';
3
+ type __VLS_Props = {
4
+ usage: UseResourceUsage;
5
+ trash?: UseResourceTrash;
6
+ focus?: 'documents' | 'database';
7
+ /** Typed confirmation before emptying the whole trash (the license trash). */
8
+ emptyConfirmPhrase?: string;
9
+ };
10
+ type __VLS_ModelProps = {
11
+ /** Bind to show the "Show sizes" switch; the host decides what sizes it reveals. */
12
+ 'showSizes'?: boolean | undefined;
13
+ };
14
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
15
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ "update:showSizes": (value: boolean | undefined) => any;
17
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
+ "onUpdate:showSizes"?: ((value: boolean | undefined) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { UseResourceUsage } from './useResourceUsage';
2
+ type __VLS_Props = {
3
+ usage: UseResourceUsage;
4
+ focus?: 'documents' | 'database';
5
+ };
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { UseResourceTrash } from './useResourceTrash';
2
+ type __VLS_Props = {
3
+ trash: UseResourceTrash;
4
+ confirmPhrase?: string;
5
+ };
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ body: string;
4
+ frees?: string;
5
+ cancelLabel: string;
6
+ confirmLabel: string;
7
+ busy: boolean;
8
+ /** Typed confirmation for the widest purges (a license's whole trash): confirm stays off until it matches. */
9
+ phrase?: string;
10
+ phraseLabel?: string;
11
+ };
12
+ type __VLS_ModelProps = {
13
+ modelValue: boolean;
14
+ };
15
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
16
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ "update:modelValue": (value: boolean) => any;
18
+ confirm: () => any;
19
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
+ onConfirm?: (() => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { CarbonEstimate } from '@antcde/connect-ts';
2
+ import { UseResourceUsage } from './useResourceUsage';
3
+ type __VLS_Props = {
4
+ carbon: CarbonEstimate;
5
+ usage: UseResourceUsage;
6
+ };
7
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ label: string;
3
+ hint: string;
4
+ live: number;
5
+ trashed: number;
6
+ color: 'primary' | 'secondary';
7
+ liveLabel: string;
8
+ trashedLabel: string;
9
+ };
10
+ declare var __VLS_18: {};
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_18) => any;
13
+ };
14
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,2 @@
1
+ /** Binary units (1 KB = 1024 B), one decimal from MB up. `null` renders as an em dash. */
2
+ export declare function formatBytes(bytes: number | null | undefined): string;
@@ -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
+ };
@@ -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
  }) & {
@@ -26,6 +26,9 @@ 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';
29
32
  import { default as AntNoticeAlert } from './components/AntNoticeAlert.vue';
30
33
  import { default as AntDatasetFileSource } from './components/ScriptTrigger/AntDatasetFileSource.vue';
31
34
  import { default as AntDatasetTableSource } from './components/ScriptTrigger/AntDatasetTableSource.vue';
@@ -80,8 +83,12 @@ export { withSavedOption } from './components/ScriptTrigger/utils/withSavedOptio
80
83
  export type { StackedLabel } from './components/StackedLabels/index.vue';
81
84
  export type { FlowChannelSubscriber } from './components/TasksFlow/composables/useTaskFlow';
82
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';
83
90
  export * from '@antcde/vue-utils';
84
- 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, 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, };
85
92
  /**
86
93
  * ⚠️ `BaseAntInput` and `BaseAntDatePicker` are the SUPERSEDED field idiom —
87
94
  * wrappers around Vuetify fields, whose border weight and floating notched label
@@ -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
- * 326 classes, from 1625 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[] = [
@@ -27,40 +27,42 @@ export const libraryClassSafelist: string[] = [
27
27
  'focus:border-primary', 'focus:outline-none', 'focus:ring-error/10', 'focus:ring-primary/10', 'font-[inherit]', 'font-medium',
28
28
  'font-mono', 'font-normal', 'font-semibold', 'gap-0.5', 'gap-1', 'gap-1.5',
29
29
  'gap-2', 'gap-3', 'gap-3.5', 'gap-4', 'gap-5', 'gap-8',
30
- 'gap-[5px]', 'gap-[6px]', 'gap-x-2', 'gap-y-1', 'grayscale', 'grid',
31
- 'grid-cols-1', 'grid-cols-2', 'grid-cols-3', 'grid-cols-4', 'group-hover:bg-primary/4', 'group-hover:border-primary/60',
32
- 'h-11', 'h-2', 'h-4', 'h-7', 'h-8', 'h-9',
33
- 'h-9.5', 'h-[18px]', 'h-[22px]', 'h-full', 'hidden', 'hover:bg-ant-hover',
34
- 'hover:bg-primary/6', 'hover:bg-primary/8', 'hover:bg-warning/10', 'hover:bg-white/10', 'hover:opacity-100', 'inline',
35
- 'inline-block', 'inline-flex', 'inset-0', 'italic', 'items-baseline', 'items-center',
36
- 'items-start', 'items-stretch', 'justify-between', 'justify-center', 'justify-end', 'justify-start',
37
- 'last:border-b-0', 'leading-none', 'leading-relaxed', 'leading-snug', 'leading-tight', 'left-0.5',
38
- 'lg:flex-initial', 'lg:min-w-[180px]', 'lg:min-w-[220px]', 'm-0', 'max-h-[88vh]', 'max-w-[180px]',
39
- 'max-w-[240px]', 'max-w-[280px]', 'max-w-[320px]', 'max-w-[340px]', 'max-w-[380px]', 'mb-1',
40
- 'mb-2', 'mb-2.5', 'mb-3', 'mb-4', 'md:basis-auto', 'md:flex-1',
41
- 'md:max-w-[420px]', 'md:min-w-[260px]', 'min-h-0', 'min-h-11', 'min-w-0', 'min-w-[140px]',
42
- 'min-w-[160px]', 'min-w-[168px]', 'min-w-[180px]', 'min-w-[200px]', 'min-w-[240px]', 'ml-1',
43
- 'ml-2', 'mr-1', 'mr-2', 'mr-2.5', 'ms', 'ms-auto',
44
- 'mt-0', 'mt-0.5', 'mt-1', 'mt-1.5', 'mt-2', 'mt-3',
45
- 'mt-px', 'my-1', 'object-cover', 'opacity-0', 'opacity-20', 'opacity-30',
46
- 'opacity-40', 'opacity-45', 'opacity-50', 'opacity-55', 'opacity-60', 'opacity-70',
47
- 'outline-none', 'overflow-hidden', 'overflow-y-auto', 'p-0', 'p-3.5', 'p-5',
48
- 'pa-2', 'pa-3', 'pb-0', 'pb-1', 'pb-10', 'pb-2',
49
- 'pb-5', 'pb-6', 'pl-1', 'pointer-events-none', 'position-relative', 'pr-1',
50
- 'pr-1.5', 'pt-1', 'pt-1.5', 'pt-2', 'pt-3', 'pt-5',
51
- 'px', 'px-0', 'px-1.5', 'px-15', 'px-2', 'px-3',
52
- 'px-3.5', 'px-4', 'px-5', 'px-5.5', 'px-6', 'py-0',
53
- 'py-0.5', 'py-1', 'py-1.5', 'py-2', 'py-2.5', 'py-3',
54
- 'py-4', 'py-5', 'py-6', 'py-7', 'relative', 'resize',
55
- 'resize-y', 'right-0', 'rounded', 'rounded-2xl', 'rounded-[10px]', 'rounded-[12px]',
56
- 'rounded-[20px]', 'rounded-full', 'rounded-xl', 'select-none', 'shadow', 'shadow-sm',
57
- 'shrink-0', 'sm:grid-cols-2', 'sm:grid-cols-[auto_minmax(0,1fr)_minmax(0,1fr)_auto]', 'table', 'tabular-nums', 'text-[10px]',
58
- 'text-[11.5px]', 'text-[11px]', 'text-[12.5px]', 'text-[13.5px]', 'text-[13px]', 'text-black',
59
- 'text-body', 'text-center', 'text-error', 'text-heading', 'text-left', 'text-lg',
60
- 'text-muted', 'text-primary', 'text-sm', 'text-success', 'text-truncate', 'text-warning',
61
- 'text-warning-emphasis', 'text-white', 'text-white/45', 'text-wrap', 'text-xs', 'top-0.5',
62
- 'tracking-[0.16em]', 'transform', 'transition-[border-color]', 'transition-all', 'transition-colors', 'transition-opacity',
63
- 'transition-transform', 'translate-x-0', 'translate-x-4', 'translate-y-4', 'truncate', 'uppercase',
64
- 'w-2', 'w-4', 'w-[18px]', 'w-[34%]', 'w-[38px]', 'w-full',
65
- 'whitespace-normal', 'whitespace-nowrap',
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',
67
+ 'whitespace-nowrap',
66
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.31-rc.1",
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.33-rc.1",
212
- "@antcde/vue-utils": "0.2.28-rc.1",
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",