@antcde/component-library 0.1.37 → 0.1.38-rc.1
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 +20 -20
- package/dist/index.js +8000 -7750
- package/dist/types/components/AntBottomSheet/index.vue.d.ts +9 -7
- package/dist/types/components/AntNoticeAlert.vue.d.ts +5 -3
- package/dist/types/components/AntTourZone/index.vue.d.ts +5 -3
- package/dist/types/components/BaseAntCard.vue.d.ts +9 -7
- package/dist/types/components/BaseAntInput.vue.d.ts +7 -5
- package/dist/types/components/BaseAppCard/_BaseAppCardMedia.vue.d.ts +7 -5
- package/dist/types/components/BaseAppCard/index.vue.d.ts +7 -5
- package/dist/types/components/BaseConfirmDialog.vue.d.ts +5 -3
- package/dist/types/components/BaseDeleteDialog.vue.d.ts +11 -9
- package/dist/types/components/BaseDialog.vue.d.ts +5 -3
- package/dist/types/components/BaseLimitedButton.vue.d.ts +6 -4
- package/dist/types/components/BaseResizePanel.vue.d.ts +5 -3
- package/dist/types/components/BulkLabelsMenu.vue.d.ts +8 -6
- package/dist/types/components/DmsFilePicker/composables/usePickerNavigation.d.ts +4 -0
- package/dist/types/components/FilePreviewContent/index.vue.d.ts +8 -6
- package/dist/types/components/ProjectNumber/AntProjectNumberHelp.vue.d.ts +22 -0
- package/dist/types/components/ProjectNumber/__tests__/useProjectNumber.spec.d.ts +1 -0
- package/dist/types/components/ProjectNumber/useProjectNumber.d.ts +48 -0
- package/dist/types/components/ScriptTrigger/composables/useTableSelection.d.ts +6 -0
- package/dist/types/components/TasksFlow/components/_dropzoneBackground.vue.d.ts +5 -3
- package/dist/types/components/TasksFlow/components/nodes/_DurationEditor.vue.d.ts +8 -6
- package/dist/types/components/TasksFlow/components/nodes/_UserPicker.vue.d.ts +7 -5
- package/dist/types/components/TasksFlow/composables/useEdgeConditionTables.d.ts +6 -0
- package/dist/types/components/UnifiedWindow/index.vue.d.ts +9 -7
- package/dist/types/components/Usage/_UsageClassRow.vue.d.ts +5 -3
- package/dist/types/components/_BaseAntInputField.vue.d.ts +5 -3
- package/dist/types/components/_BaseAntInputLabel.vue.d.ts +5 -3
- package/dist/types/components/form/AntDialogShell.vue.d.ts +19 -13
- package/dist/types/components/form/AntField.vue.d.ts +7 -5
- package/dist/types/components/form/AntHintBanner.vue.d.ts +5 -3
- package/dist/types/components/form/AntInput.vue.d.ts +5 -3
- package/dist/types/components/form/AntPanelSection.vue.d.ts +7 -5
- package/dist/types/components/form/AntScopePanel.vue.d.ts +7 -5
- package/dist/types/components/form/AntSectionCard.vue.d.ts +11 -9
- package/dist/types/components/form/AntStatusPill.vue.d.ts +5 -3
- package/dist/types/deprecated.d.ts +3 -3
- package/dist/types/index.d.ts +4 -1
- package/lib/build/uno.safelist.ts +20 -20
- package/lib/test/createMockAppContext.ts +16 -0
- package/lib/test/mountWithContext.ts +1 -1
- package/package.json +19 -19
|
@@ -24,14 +24,16 @@ type __VLS_ModelProps = {
|
|
|
24
24
|
'detent'?: SheetDetent | undefined;
|
|
25
25
|
};
|
|
26
26
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
27
|
-
declare
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} & {
|
|
31
|
-
|
|
32
|
-
} & {
|
|
33
|
-
|
|
27
|
+
declare const __VLS_template: () => {
|
|
28
|
+
__VLS_Slots: {
|
|
29
|
+
header?: (props: {}) => any;
|
|
30
|
+
} & {
|
|
31
|
+
default?: (props: {}) => any;
|
|
32
|
+
} & {
|
|
33
|
+
footer?: (props: {}) => any;
|
|
34
|
+
};
|
|
34
35
|
};
|
|
36
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
35
37
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
36
38
|
snapTo: (d: SheetDetent) => void;
|
|
37
39
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -4,10 +4,12 @@ type __VLS_Props = {
|
|
|
4
4
|
body?: string | null;
|
|
5
5
|
icon?: string | false;
|
|
6
6
|
};
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
declare const __VLS_template: () => {
|
|
8
|
+
__VLS_Slots: {
|
|
9
|
+
action?: (props: {}) => any;
|
|
10
|
+
};
|
|
10
11
|
};
|
|
12
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
11
13
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
14
|
type: "error" | "warning" | "info" | "success";
|
|
13
15
|
body: string | null;
|
|
@@ -21,10 +21,12 @@ type __VLS_Props = {
|
|
|
21
21
|
*/
|
|
22
22
|
enabled?: boolean;
|
|
23
23
|
};
|
|
24
|
-
declare
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
declare const __VLS_template: () => {
|
|
25
|
+
__VLS_Slots: {
|
|
26
|
+
default?: (props: {}) => any;
|
|
27
|
+
};
|
|
27
28
|
};
|
|
29
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
28
30
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
29
31
|
placement: "top" | "bottom" | "left" | "right";
|
|
30
32
|
radius: string;
|
|
@@ -4,14 +4,16 @@ type __VLS_Props = {
|
|
|
4
4
|
header?: boolean;
|
|
5
5
|
footer?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} & {
|
|
11
|
-
|
|
12
|
-
} & {
|
|
13
|
-
|
|
7
|
+
declare const __VLS_template: () => {
|
|
8
|
+
__VLS_Slots: {
|
|
9
|
+
title?: (props: {}) => any;
|
|
10
|
+
} & {
|
|
11
|
+
content?: (props: {}) => any;
|
|
12
|
+
} & {
|
|
13
|
+
actions?: (props: {}) => any;
|
|
14
|
+
};
|
|
14
15
|
};
|
|
16
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
15
17
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
18
|
width: number;
|
|
17
19
|
transparent: boolean;
|
|
@@ -4,12 +4,14 @@ type __VLS_ModelProps = {
|
|
|
4
4
|
modelValue?: any;
|
|
5
5
|
};
|
|
6
6
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} & {
|
|
11
|
-
|
|
7
|
+
declare const __VLS_template: () => {
|
|
8
|
+
__VLS_Slots: {
|
|
9
|
+
'label-append'?: (props: {}) => any;
|
|
10
|
+
} & {
|
|
11
|
+
input?: (props: {}) => any;
|
|
12
|
+
};
|
|
12
13
|
};
|
|
14
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
13
15
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
16
|
"update:modelValue": (value: any) => any;
|
|
15
17
|
} & {
|
|
@@ -6,12 +6,14 @@ type __VLS_Props = {
|
|
|
6
6
|
showLoadingIndicator?: boolean;
|
|
7
7
|
isLoading?: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
declare const __VLS_template: () => {
|
|
10
|
+
__VLS_Slots: {
|
|
11
|
+
'bottom-right'?: (props: {
|
|
12
|
+
foregroundColor: string;
|
|
13
|
+
}) => any;
|
|
14
|
+
};
|
|
14
15
|
};
|
|
16
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
15
17
|
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>;
|
|
16
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
19
|
declare const _default: typeof __VLS_export;
|
|
@@ -50,12 +50,14 @@ type __VLS_Props = {
|
|
|
50
50
|
*/
|
|
51
51
|
updatable?: boolean;
|
|
52
52
|
};
|
|
53
|
-
declare
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
declare const __VLS_template: () => {
|
|
54
|
+
__VLS_Slots: {
|
|
55
|
+
'bottom-right'?: (props: {
|
|
56
|
+
foregroundColor: string;
|
|
57
|
+
}) => any;
|
|
58
|
+
};
|
|
58
59
|
};
|
|
60
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
59
61
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
60
62
|
update: (app: AppLike) => any;
|
|
61
63
|
clicked: (app: AppLike) => any;
|
|
@@ -5,10 +5,12 @@ type __VLS_Props = {
|
|
|
5
5
|
icon?: string;
|
|
6
6
|
confirmTitle?: string | null;
|
|
7
7
|
};
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
declare const __VLS_template: () => {
|
|
9
|
+
__VLS_Slots: {
|
|
10
|
+
content?: (props: {}) => any;
|
|
11
|
+
};
|
|
11
12
|
};
|
|
13
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
12
14
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
15
|
close: () => any;
|
|
14
16
|
action: () => any;
|
|
@@ -14,16 +14,18 @@ type __VLS_ModelProps = {
|
|
|
14
14
|
modelValue: boolean;
|
|
15
15
|
};
|
|
16
16
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
17
|
-
declare
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} & {
|
|
23
|
-
|
|
24
|
-
} & {
|
|
25
|
-
|
|
17
|
+
declare const __VLS_template: () => {
|
|
18
|
+
__VLS_Slots: {
|
|
19
|
+
activator?: (props: {
|
|
20
|
+
props: any;
|
|
21
|
+
}) => any;
|
|
22
|
+
} & {
|
|
23
|
+
title?: (props: {}) => any;
|
|
24
|
+
} & {
|
|
25
|
+
content?: (props: {}) => any;
|
|
26
|
+
};
|
|
26
27
|
};
|
|
28
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
27
29
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
30
|
"update:modelValue": (value: boolean) => any;
|
|
29
31
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
@@ -9,10 +9,12 @@ export interface Props {
|
|
|
9
9
|
cancelText?: string;
|
|
10
10
|
confirmText?: string;
|
|
11
11
|
}
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
declare const __VLS_template: () => {
|
|
13
|
+
__VLS_Slots: {
|
|
14
|
+
content?: (props: {}) => any;
|
|
15
|
+
};
|
|
15
16
|
};
|
|
17
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
16
18
|
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
19
|
close: () => any;
|
|
18
20
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
@@ -14,10 +14,12 @@ type __VLS_Props = {
|
|
|
14
14
|
/** Icon to show before button text */
|
|
15
15
|
prependIcon?: string;
|
|
16
16
|
};
|
|
17
|
-
declare
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
declare const __VLS_template: () => {
|
|
18
|
+
__VLS_Slots: {
|
|
19
|
+
default?: (props: {}) => any;
|
|
20
|
+
};
|
|
20
21
|
};
|
|
22
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
21
23
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
24
|
click: (event: MouseEvent) => any;
|
|
23
25
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -26,7 +28,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
26
28
|
size: "default" | "small" | "x-large" | "large" | "x-small";
|
|
27
29
|
color: string;
|
|
28
30
|
prependIcon: string;
|
|
29
|
-
variant: "text" | "flat" | "plain" | "tonal" | "
|
|
31
|
+
variant: "text" | "flat" | "plain" | "tonal" | "outlined" | "elevated";
|
|
30
32
|
limited: boolean;
|
|
31
33
|
tooltip: string;
|
|
32
34
|
tooltipMaxWidth: string | number;
|
|
@@ -9,10 +9,12 @@ type __VLS_Props = {
|
|
|
9
9
|
side?: ResizePanelSide;
|
|
10
10
|
collapsible?: boolean;
|
|
11
11
|
};
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
declare const __VLS_template: () => {
|
|
13
|
+
__VLS_Slots: {
|
|
14
|
+
default?: (props: {}) => any;
|
|
15
|
+
};
|
|
15
16
|
};
|
|
17
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
16
18
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
19
|
resize: (...args: any[]) => void;
|
|
18
20
|
"resize-end": (...args: any[]) => void;
|
|
@@ -5,13 +5,15 @@ type __VLS_Props = {
|
|
|
5
5
|
isAttaching?: boolean;
|
|
6
6
|
isRemoving?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
declare const __VLS_template: () => {
|
|
9
|
+
__VLS_Slots: {
|
|
10
|
+
activator?: (props: {
|
|
11
|
+
props: any;
|
|
12
|
+
isOpen: boolean;
|
|
13
|
+
}) => any;
|
|
14
|
+
};
|
|
14
15
|
};
|
|
16
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
15
17
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
18
|
attachLabel: (labelId: string) => any;
|
|
17
19
|
removeAll: () => any;
|
|
@@ -66,6 +66,7 @@ export declare function usePickerNavigation(antConnect: AntConnect, projectId: (
|
|
|
66
66
|
reseller?: {
|
|
67
67
|
license_id: string;
|
|
68
68
|
name: string;
|
|
69
|
+
contact_email?: string | null | undefined;
|
|
69
70
|
} | null | undefined;
|
|
70
71
|
is_reseller?: boolean | undefined;
|
|
71
72
|
access_revoked_at?: string | null | undefined;
|
|
@@ -230,6 +231,7 @@ export declare function usePickerNavigation(antConnect: AntConnect, projectId: (
|
|
|
230
231
|
reseller?: {
|
|
231
232
|
license_id: string;
|
|
232
233
|
name: string;
|
|
234
|
+
contact_email?: string | null | undefined;
|
|
233
235
|
} | null | undefined;
|
|
234
236
|
is_reseller?: boolean | undefined;
|
|
235
237
|
access_revoked_at?: string | null | undefined;
|
|
@@ -395,6 +397,7 @@ export declare function usePickerNavigation(antConnect: AntConnect, projectId: (
|
|
|
395
397
|
reseller?: {
|
|
396
398
|
license_id: string;
|
|
397
399
|
name: string;
|
|
400
|
+
contact_email?: string | null | undefined;
|
|
398
401
|
} | null | undefined;
|
|
399
402
|
is_reseller?: boolean | undefined;
|
|
400
403
|
access_revoked_at?: string | null | undefined;
|
|
@@ -559,6 +562,7 @@ export declare function usePickerNavigation(antConnect: AntConnect, projectId: (
|
|
|
559
562
|
reseller?: {
|
|
560
563
|
license_id: string;
|
|
561
564
|
name: string;
|
|
565
|
+
contact_email?: string | null | undefined;
|
|
562
566
|
} | null | undefined;
|
|
563
567
|
is_reseller?: boolean | undefined;
|
|
564
568
|
access_revoked_at?: string | null | undefined;
|
|
@@ -7,13 +7,15 @@ type __VLS_Props = {
|
|
|
7
7
|
showDetails?: boolean;
|
|
8
8
|
};
|
|
9
9
|
declare function download(): Promise<void>;
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
declare const __VLS_template: () => {
|
|
11
|
+
__VLS_Slots: {
|
|
12
|
+
pdf?: (props: {
|
|
13
|
+
src: string;
|
|
14
|
+
title: string;
|
|
15
|
+
}) => any;
|
|
16
|
+
};
|
|
16
17
|
};
|
|
18
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
17
19
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
18
20
|
download: typeof download;
|
|
19
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseProjectNumber } from './useProjectNumber';
|
|
2
|
+
/**
|
|
3
|
+
* The line under a project number input (AAD-1230): the expected format, the backend's reason
|
|
4
|
+
* when the number is refused, a one-click suggestion for a taken number, and Generate.
|
|
5
|
+
*
|
|
6
|
+
* Renders nothing extra while the license has no formats and the number is fine, so a form keeps
|
|
7
|
+
* looking as it did. Owns no copy — every label arrives as a prop.
|
|
8
|
+
*/
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
/** The result of `useProjectNumber`. */
|
|
11
|
+
field: UseProjectNumber;
|
|
12
|
+
/** Precedes the examples, e.g. "Format". */
|
|
13
|
+
formatLabel: string;
|
|
14
|
+
generateLabel: string;
|
|
15
|
+
/** Precedes the suggested number, e.g. "Use". */
|
|
16
|
+
useSuggestionLabel: string;
|
|
17
|
+
checkingLabel?: string;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
};
|
|
20
|
+
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>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ProjectNumberCheck, ProjectNumberFormat, ProjectNumberService } from '@antcde/connect-ts';
|
|
2
|
+
import { ComputedRef, MaybeRefOrGetter, Ref } from 'vue';
|
|
3
|
+
export type ProjectNumberStatus = 'idle' | 'checking' | 'valid' | 'invalid' | 'taken';
|
|
4
|
+
export interface UseProjectNumberOptions {
|
|
5
|
+
antConnect: {
|
|
6
|
+
projectNumbers: Pick<ProjectNumberService, 'listFormats' | 'checkNumber' | 'nextNumber'>;
|
|
7
|
+
};
|
|
8
|
+
licenseId: MaybeRefOrGetter<string | null | undefined>;
|
|
9
|
+
/** The field's v-model; generate and the suggestion write into it. */
|
|
10
|
+
number: Ref<string | null | undefined>;
|
|
11
|
+
/** Project type key: its pinned format applies. */
|
|
12
|
+
typeKey?: MaybeRefOrGetter<string | null | undefined>;
|
|
13
|
+
/** The project being edited: its own number does not count as taken. */
|
|
14
|
+
projectId?: MaybeRefOrGetter<string | null | undefined>;
|
|
15
|
+
/** The stored number when editing. Left unchanged it is never checked, so a legacy number keeps saving. */
|
|
16
|
+
originalNumber?: MaybeRefOrGetter<string | null | undefined>;
|
|
17
|
+
/** Shown when Generate fails without a reason from the backend; pass it translated. */
|
|
18
|
+
generateFailedMessage?: MaybeRefOrGetter<string>;
|
|
19
|
+
debounceMs?: number;
|
|
20
|
+
}
|
|
21
|
+
export interface UseProjectNumber {
|
|
22
|
+
/** The formats that apply; empty when the license has none. */
|
|
23
|
+
formats: Readonly<Ref<ProjectNumberFormat[]>>;
|
|
24
|
+
status: Readonly<Ref<ProjectNumberStatus>>;
|
|
25
|
+
/** The backend's reason when the number does not follow a format or is taken. */
|
|
26
|
+
message: ComputedRef<string | null>;
|
|
27
|
+
/** A free suffixed number to offer when the typed one is taken. */
|
|
28
|
+
suggestion: ComputedRef<string | null>;
|
|
29
|
+
/** True while the number would be refused on save. */
|
|
30
|
+
blocking: ComputedRef<boolean>;
|
|
31
|
+
canGenerate: ComputedRef<boolean>;
|
|
32
|
+
/** Options of the generating format's `{A|B}` part. */
|
|
33
|
+
choices: ComputedRef<string[]>;
|
|
34
|
+
choice: Ref<string | null>;
|
|
35
|
+
generating: Readonly<Ref<boolean>>;
|
|
36
|
+
generateError: Readonly<Ref<string | null>>;
|
|
37
|
+
generate: () => Promise<void>;
|
|
38
|
+
applySuggestion: () => void;
|
|
39
|
+
/** Check now instead of after the debounce, e.g. on blur or before save. */
|
|
40
|
+
check: () => Promise<ProjectNumberCheck | null>;
|
|
41
|
+
reload: () => Promise<void>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The project number field's behaviour (AAD-1230), without its markup: every app renders its own
|
|
45
|
+
* input and puts `AntProjectNumberHelp` under it. The backend decides validity; a failed request
|
|
46
|
+
* leaves the field `idle` so saving behaves as it did before formats existed.
|
|
47
|
+
*/
|
|
48
|
+
export declare function useProjectNumber(options: UseProjectNumberOptions): UseProjectNumber;
|
|
@@ -69,6 +69,9 @@ export declare function useTableSelection(context: MaybeRefOrGetter<TableScope>)
|
|
|
69
69
|
readonly remaining: number | null;
|
|
70
70
|
};
|
|
71
71
|
} | undefined;
|
|
72
|
+
readonly data_bytes?: number | null | undefined;
|
|
73
|
+
readonly history_bytes?: number | null | undefined;
|
|
74
|
+
readonly mostly_history?: boolean | undefined;
|
|
72
75
|
} | null;
|
|
73
76
|
readonly related_column: /*elided*/ any | null;
|
|
74
77
|
};
|
|
@@ -184,6 +187,9 @@ export declare function useTableSelection(context: MaybeRefOrGetter<TableScope>)
|
|
|
184
187
|
readonly remaining: number | null;
|
|
185
188
|
};
|
|
186
189
|
} | undefined;
|
|
190
|
+
readonly data_bytes?: number | null | undefined;
|
|
191
|
+
readonly history_bytes?: number | null | undefined;
|
|
192
|
+
readonly mostly_history?: boolean | undefined;
|
|
187
193
|
} | null;
|
|
188
194
|
readonly related_column: /*elided*/ any | null;
|
|
189
195
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const __VLS_template: () => {
|
|
2
|
+
__VLS_Slots: {
|
|
3
|
+
default?: (props: {}) => any;
|
|
4
|
+
};
|
|
4
5
|
};
|
|
6
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
5
7
|
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
9
|
declare const _default: typeof __VLS_export;
|
|
@@ -6,13 +6,15 @@ type __VLS_ModelProps = {
|
|
|
6
6
|
modelValue: boolean;
|
|
7
7
|
};
|
|
8
8
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
9
|
-
declare
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
declare const __VLS_template: () => {
|
|
10
|
+
__VLS_Slots: {
|
|
11
|
+
default?: (props: {
|
|
12
|
+
menuProps: any;
|
|
13
|
+
isDefaultWorkdays: (days: number[]) => boolean;
|
|
14
|
+
}) => any;
|
|
15
|
+
};
|
|
15
16
|
};
|
|
17
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
16
18
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
19
|
"update:modelValue": (value: boolean) => any;
|
|
18
20
|
save: (days: number | null, activeDays: number[]) => any;
|
|
@@ -6,12 +6,14 @@ type __VLS_ModelProps = {
|
|
|
6
6
|
modelValue: boolean;
|
|
7
7
|
};
|
|
8
8
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
9
|
-
declare
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
declare const __VLS_template: () => {
|
|
10
|
+
__VLS_Slots: {
|
|
11
|
+
default?: (props: {
|
|
12
|
+
menuProps: any;
|
|
13
|
+
}) => any;
|
|
14
|
+
};
|
|
14
15
|
};
|
|
16
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
15
17
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
18
|
"update:modelValue": (value: boolean) => any;
|
|
17
19
|
assigned: (userId: string | null) => any;
|
|
@@ -72,6 +72,9 @@ export declare function useEdgeConditionTables(): {
|
|
|
72
72
|
};
|
|
73
73
|
}[];
|
|
74
74
|
limits?: import('@antcde/connect-ts').TableLimits | undefined;
|
|
75
|
+
data_bytes?: number | null | undefined;
|
|
76
|
+
history_bytes?: number | null | undefined;
|
|
77
|
+
mostly_history?: boolean | undefined;
|
|
75
78
|
} | null;
|
|
76
79
|
related_column: /*elided*/ any | null;
|
|
77
80
|
};
|
|
@@ -182,6 +185,9 @@ export declare function useEdgeConditionTables(): {
|
|
|
182
185
|
};
|
|
183
186
|
}[];
|
|
184
187
|
limits?: import('@antcde/connect-ts').TableLimits | undefined;
|
|
188
|
+
data_bytes?: number | null | undefined;
|
|
189
|
+
history_bytes?: number | null | undefined;
|
|
190
|
+
mostly_history?: boolean | undefined;
|
|
185
191
|
} | null;
|
|
186
192
|
related_column: /*elided*/ any | null;
|
|
187
193
|
};
|
|
@@ -11,14 +11,16 @@ type __VLS_Props = {
|
|
|
11
11
|
initialH?: number;
|
|
12
12
|
currentPreset?: WindowSizePreset | null;
|
|
13
13
|
};
|
|
14
|
-
declare
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
declare const __VLS_template: () => {
|
|
15
|
+
__VLS_Slots: {
|
|
16
|
+
toolbar?: (props: {}) => any;
|
|
17
|
+
} & {
|
|
18
|
+
default?: (props: {
|
|
19
|
+
width: number;
|
|
20
|
+
}) => any;
|
|
21
|
+
};
|
|
21
22
|
};
|
|
23
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
22
24
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
23
25
|
x: import('vue').Ref<number, number>;
|
|
24
26
|
y: import('vue').Ref<number, number>;
|
|
@@ -7,10 +7,12 @@ type __VLS_Props = {
|
|
|
7
7
|
liveLabel: string;
|
|
8
8
|
trashedLabel: string;
|
|
9
9
|
};
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
declare const __VLS_template: () => {
|
|
11
|
+
__VLS_Slots: {
|
|
12
|
+
default?: (props: {}) => any;
|
|
13
|
+
};
|
|
13
14
|
};
|
|
15
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
14
16
|
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
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
18
|
declare const _default: typeof __VLS_export;
|
|
@@ -4,10 +4,12 @@ type __VLS_ModelProps = {
|
|
|
4
4
|
modelValue?: unknown;
|
|
5
5
|
};
|
|
6
6
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
declare const __VLS_template: () => {
|
|
8
|
+
__VLS_Slots: {
|
|
9
|
+
input?: (props: {}) => any;
|
|
10
|
+
};
|
|
10
11
|
};
|
|
12
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
11
13
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
14
|
"click:append-inner": (value: any) => any;
|
|
13
15
|
"click:prepend-inner": (value: any) => any;
|
|
@@ -14,10 +14,12 @@ type __VLS_Props = {
|
|
|
14
14
|
*/
|
|
15
15
|
inputId?: string;
|
|
16
16
|
};
|
|
17
|
-
declare
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
declare const __VLS_template: () => {
|
|
18
|
+
__VLS_Slots: {
|
|
19
|
+
append?: (props: {}) => any;
|
|
20
|
+
};
|
|
20
21
|
};
|
|
22
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
21
23
|
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>;
|
|
22
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
25
|
declare const _default: typeof __VLS_export;
|
|
@@ -32,25 +32,31 @@ type __VLS_Props = {
|
|
|
32
32
|
* without that key still gets a usable name instead of an empty one.
|
|
33
33
|
*/
|
|
34
34
|
closeLabel?: string;
|
|
35
|
+
/** The phone form: edge to edge, sliding up; `width` no longer applies. */
|
|
36
|
+
fullscreen?: boolean;
|
|
37
|
+
/** Fullscreen only: keep 80px free for the OS dock that floats over iframe apps. */
|
|
38
|
+
clearDock?: boolean;
|
|
35
39
|
};
|
|
36
40
|
type __VLS_ModelProps = {
|
|
37
41
|
modelValue: boolean;
|
|
38
42
|
};
|
|
39
43
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
40
|
-
declare
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} & {
|
|
44
|
-
|
|
45
|
-
} & {
|
|
46
|
-
|
|
47
|
-
} & {
|
|
48
|
-
|
|
49
|
-
} & {
|
|
50
|
-
|
|
51
|
-
} & {
|
|
52
|
-
|
|
44
|
+
declare const __VLS_template: () => {
|
|
45
|
+
__VLS_Slots: {
|
|
46
|
+
headerLead?: (props: {}) => any;
|
|
47
|
+
} & {
|
|
48
|
+
titleExtra?: (props: {}) => any;
|
|
49
|
+
} & {
|
|
50
|
+
headerEnd?: (props: {}) => any;
|
|
51
|
+
} & {
|
|
52
|
+
default?: (props: {}) => any;
|
|
53
|
+
} & {
|
|
54
|
+
hint?: (props: {}) => any;
|
|
55
|
+
} & {
|
|
56
|
+
actions?: (props: {}) => any;
|
|
57
|
+
};
|
|
53
58
|
};
|
|
59
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
54
60
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
55
61
|
"update:modelValue": (value: boolean) => any;
|
|
56
62
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|