@webitel/ui-sdk 25.4.65 → 25.4.66
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/CHANGELOG.md +10 -0
- package/dist/types/api/clients/wtTypes/_shared/utils/sortDynamicFields.d.ts +2 -0
- package/dist/types/api/clients/wtTypes/sysTypes/sysTypes.d.ts +30 -0
- package/dist/types/api/clients/wtTypes/typeExtensions/typeExtensions.d.ts +32 -0
- package/dist/types/api/transformers/skipIf/skipIf.d.ts +1 -0
- package/dist/types/components/on-demand/wt-cc-agent-status-timers/wt-cc-agent-status-timers.vue.d.ts +9 -0
- package/dist/types/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-1.vue.d.ts +19 -0
- package/dist/types/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-2.vue.d.ts +7 -0
- package/dist/types/components/on-demand/wt-navigation-menu/components/wt-navigation-menu.vue.d.ts +9 -0
- package/dist/types/components/on-demand/wt-route-transition/wt-route-transition.vue.d.ts +9 -0
- package/dist/types/components/on-demand/wt-save-failed-popup/wt-save-failed-popup.vue.d.ts +10 -0
- package/dist/types/components/on-demand/wt-selection-popup/wt-selection-popup.vue.d.ts +22 -0
- package/dist/types/components/on-demand/wt-start-page/components/start-page-card.vue.d.ts +7 -0
- package/dist/types/components/on-demand/wt-start-page/components/start-page-logo.vue.d.ts +7 -0
- package/dist/types/components/on-demand/wt-start-page/components/wt-start-page.vue.d.ts +11 -0
- package/dist/types/components/on-demand/wt-table-transition/wt-table-transition.vue.d.ts +9 -0
- package/dist/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +121 -0
- package/dist/types/components/transitions/cases/wt-replace-transition.vue.d.ts +18 -0
- package/dist/types/components/transitions/wt-expand-transition.vue.d.ts +6 -0
- package/dist/types/components/transitions/wt-transition.vue.d.ts +20 -0
- package/dist/types/components/wt-action-bar/wt-action-bar.vue.d.ts +26 -0
- package/dist/types/components/wt-app-header/wt-app-header.vue.d.ts +9 -0
- package/dist/types/components/wt-app-header/wt-app-navigator.vue.d.ts +11 -0
- package/dist/types/components/wt-app-header/wt-header-actions.vue.d.ts +32 -0
- package/dist/types/components/wt-avatar/wt-avatar.vue.d.ts +15 -0
- package/dist/types/components/wt-badge/wt-badge.vue.d.ts +43 -0
- package/dist/types/components/wt-button/wt-button.vue.d.ts +113 -0
- package/dist/types/components/wt-button-select/wt-button-select.vue.d.ts +19 -0
- package/dist/types/components/wt-checkbox/wt-checkbox.vue.d.ts +57 -0
- package/dist/types/components/wt-chip/wt-chip.vue.d.ts +22 -0
- package/dist/types/components/wt-confirm-dialog/wt-confirm-dialog.vue.d.ts +28 -0
- package/dist/types/components/wt-context-menu/wt-context-menu.vue.d.ts +28 -0
- package/dist/types/components/wt-copy-action/wt-copy-action.vue.d.ts +27 -0
- package/dist/types/components/wt-datepicker/wt-datepicker.vue.d.ts +35 -0
- package/dist/types/components/wt-divider/wt-divider.vue.d.ts +14 -0
- package/dist/types/components/wt-dual-panel/wt-dual-panel.vue.d.ts +20 -0
- package/dist/types/components/wt-dummy/wt-dummy.vue.d.ts +20 -0
- package/dist/types/components/wt-empty/wt-empty.vue.d.ts +55 -0
- package/dist/types/components/wt-error-page/wt-error-page.vue.d.ts +21 -0
- package/dist/types/components/wt-expansion-panel/wt-expansion-panel.vue.d.ts +23 -0
- package/dist/types/components/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue.d.ts +21 -0
- package/dist/types/components/wt-headline/wt-headline.vue.d.ts +2 -0
- package/dist/types/components/wt-headline-nav/wt-headline-nav.vue.d.ts +7 -0
- package/dist/types/components/wt-hint/wt-hint.vue.d.ts +14 -0
- package/dist/types/components/wt-icon/wt-icon.vue.d.ts +15 -0
- package/dist/types/components/wt-icon-action/wt-icon-action.vue.d.ts +12 -0
- package/dist/types/components/wt-icon-btn/wt-icon-btn.vue.d.ts +11 -0
- package/dist/types/components/wt-image/wt-image.vue.d.ts +34 -0
- package/dist/types/components/wt-indicator/wt-indicator.vue.d.ts +67 -0
- package/dist/types/components/wt-input/wt-input.vue.d.ts +53 -0
- package/dist/types/components/wt-input-info/wt-input-info.vue.d.ts +14 -0
- package/dist/types/components/wt-intersection-observer/wt-intersection-observer.vue.d.ts +10 -0
- package/dist/types/components/wt-item-link/wt-item-link.vue.d.ts +24 -0
- package/dist/types/components/wt-label/wt-label.vue.d.ts +31 -0
- package/dist/types/components/wt-load-bar/wt-load-bar.vue.d.ts +26 -0
- package/dist/types/components/wt-loader/_internals/wt-loader--md.vue.d.ts +2 -0
- package/dist/types/components/wt-loader/_internals/wt-loader--sm.vue.d.ts +16 -0
- package/dist/types/components/wt-loader/wt-loader.vue.d.ts +44 -0
- package/dist/types/components/wt-logo/wt-logo.vue.d.ts +13 -0
- package/dist/types/components/wt-navigation-bar/wt-navigation-bar.vue.d.ts +93 -0
- package/dist/types/components/wt-notification/wt-notification.vue.d.ts +17 -0
- package/dist/types/components/wt-notifications-bar/wt-notifications-bar.vue.d.ts +9 -0
- package/dist/types/components/wt-page-header/wt-page-header.vue.d.ts +31 -0
- package/dist/types/components/wt-page-wrapper/wt-page-wrapper.vue.d.ts +14 -0
- package/dist/types/components/wt-pagination/wt-pagination.vue.d.ts +59 -0
- package/dist/types/components/wt-player/wt-player.vue.d.ts +110 -0
- package/dist/types/components/wt-popup/wt-popup.vue.d.ts +52 -0
- package/dist/types/components/wt-progress-bar/wt-progress-bar.vue.d.ts +38 -0
- package/dist/types/components/wt-radio/wt-radio.vue.d.ts +66 -0
- package/dist/types/components/wt-rounded-action/wt-rounded-action.vue.d.ts +22 -0
- package/dist/types/components/wt-search-bar/wt-search-bar.vue.d.ts +194 -0
- package/dist/types/components/wt-select/wt-select.vue.d.ts +65 -0
- package/dist/types/components/wt-slider/wt-slider.vue.d.ts +75 -0
- package/dist/types/components/wt-status-select/wt-status-select.vue.d.ts +40 -0
- package/dist/types/components/wt-stepper/wt-stepper.vue.d.ts +17 -0
- package/dist/types/components/wt-switcher/wt-switcher.vue.d.ts +53 -0
- package/dist/types/components/wt-table/wt-table.vue.d.ts +132 -0
- package/dist/types/components/wt-table-actions/wt-table-actions.vue.d.ts +30 -0
- package/dist/types/components/wt-table-column-select/wt-table-column-select.vue.d.ts +42 -0
- package/dist/types/components/wt-tabs/wt-tabs.vue.d.ts +40 -0
- package/dist/types/components/wt-tags-input/wt-tags-input.vue.d.ts +54 -0
- package/dist/types/components/wt-textarea/wt-textarea.vue.d.ts +109 -0
- package/dist/types/components/wt-time-input/wt-time-input.vue.d.ts +104 -0
- package/dist/types/components/wt-timepicker/wt-timepicker.vue.d.ts +130 -0
- package/dist/types/components/wt-tooltip/_internals/wt-tooltip-floating.vue.d.ts +15 -0
- package/dist/types/components/wt-tooltip/wt-tooltip.vue.d.ts +32 -0
- package/dist/types/components/wt-tree/types/WtTreeMode.d.ts +5 -0
- package/dist/types/components/wt-tree/wt-tree.vue.d.ts +39 -0
- package/dist/types/components/wt-tree-line/types/wt-tree-nested-icons.d.ts +4 -0
- package/dist/types/components/wt-tree-line/wt-tree-line.vue.d.ts +32 -0
- package/dist/types/components/wt-tree-table/wt-tree-table.vue.d.ts +96 -0
- package/dist/types/components/wt-tree-table-row/wt-tree-table-row.vue.d.ts +90 -0
- package/dist/types/composables/useAccessControl/v2/createUserAccessControl.d.ts +2 -0
- package/dist/types/composables/useWtTable/useWtTable.d.ts +6 -0
- package/dist/types/enums/ComponentSize/ComponentSize.d.ts +12 -0
- package/dist/types/enums/CrudAction/CrudAction.d.ts +7 -0
- package/dist/types/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +7 -0
- package/dist/types/enums/WebitelApplications/AdminSections.d.ts +45 -0
- package/dist/types/enums/WebitelApplications/AuditorSections.d.ts +4 -0
- package/dist/types/enums/WebitelApplications/CrmSections.d.ts +14 -0
- package/dist/types/enums/WebitelApplications/SupervisorSections.d.ts +6 -0
- package/dist/types/enums/WebitelApplications/WtApplication.d.ts +10 -0
- package/dist/types/enums/WtObject/WtObject.d.ts +60 -0
- package/dist/types/enums/WtTypeExtensionFieldKind/WtTypeExtensionFieldKind.d.ts +13 -0
- package/dist/types/enums/index.d.ts +18 -0
- package/dist/types/install.d.ts +14 -0
- package/dist/types/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue.d.ts +8 -0
- package/dist/types/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue.d.ts +8 -0
- package/dist/types/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue.d.ts +12 -0
- package/dist/types/modules/Appearance/components/wt-dark-mode-switcher.vue.d.ts +7 -0
- package/dist/types/modules/AuditForm/components/audit-form-question-read-wrapper.vue.d.ts +16 -0
- package/dist/types/modules/AuditForm/components/audit-form-question-write-wrapper.vue.d.ts +12 -0
- package/dist/types/modules/AuditForm/components/audit-form-question.vue.d.ts +18 -0
- package/dist/types/modules/AuditForm/components/audit-form.vue.d.ts +14 -0
- package/dist/types/modules/AuditForm/components/questions/options/audit-form-question-options-write-row.vue.d.ts +10 -0
- package/dist/types/modules/AuditForm/components/questions/options/audit-form-question-options.vue.d.ts +12 -0
- package/dist/types/modules/AuditForm/components/questions/score/audit-form-question-score.vue.d.ts +12 -0
- package/dist/types/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue.d.ts +17 -0
- package/dist/types/modules/Filters/components/filter-datetime.vue.d.ts +9 -0
- package/dist/types/modules/Filters/components/filter-pagination.vue.d.ts +9 -0
- package/dist/types/modules/Filters/components/filter-search.vue.d.ts +13 -0
- package/dist/types/modules/Filters/components/filter-select.vue.d.ts +9 -0
- package/dist/types/modules/Filters/components/filter-table-fields.vue.d.ts +12 -0
- package/dist/types/modules/ObjectPermissions/_internals/components/permissions-role-row.vue.d.ts +14 -0
- package/dist/types/modules/ObjectPermissions/_internals/components/permissions-role-select.vue.d.ts +2 -0
- package/dist/types/modules/ObjectPermissions/_internals/components/permissions-tab-role-popup.vue.d.ts +7 -0
- package/dist/types/modules/ObjectPermissions/components/permissions-tab.vue.d.ts +9 -0
- package/dist/types/modules/QueryFilters/components/abstract-api-filter.vue.d.ts +15 -0
- package/dist/types/modules/QueryFilters/components/abstract-enum-filter.vue.d.ts +12 -0
- package/dist/types/modules/QueryFilters/components/filter-datetime.vue.d.ts +21 -0
- package/dist/types/modules/QueryFilters/components/filter-from-to.vue.d.ts +30 -0
- package/dist/types/modules/QueryFilters/components/filter-search.vue.d.ts +16 -0
- package/dist/types/modules/QueryFilters/components/filter-table-fields.vue.d.ts +44 -0
- package/dist/types/modules/Userinfo/v2/api/UserinfoAPI.d.ts +11 -0
- package/dist/types/modules/Userinfo/v2/enums/GlobalActions/GlobalActions.d.ts +31 -0
- package/dist/types/modules/Userinfo/v2/enums/ScopeClass/ScopeClass.d.ts +45 -0
- package/dist/types/modules/Userinfo/v2/enums/index.d.ts +3 -0
- package/dist/types/modules/Userinfo/v2/index.d.ts +1 -0
- package/dist/types/modules/Userinfo/v2/mappings/mappings.d.ts +25 -0
- package/dist/types/modules/Userinfo/v2/scripts/utils.d.ts +9 -0
- package/dist/types/modules/Userinfo/v2/stores/accessStore.d.ts +2 -0
- package/dist/types/modules/Userinfo/v2/stores/userinfoStore.d.ts +25 -0
- package/dist/types/playground.vue.d.ts +2 -0
- package/dist/types/scripts/compareSize.d.ts +41 -0
- package/dist/types/scripts/normalizeDatetime.d.ts +8 -0
- package/dist/types/the-app.vue.d.ts +4 -0
- package/dist/ui-sdk.js +20200 -18808
- package/dist/ui-sdk.umd.cjs +19 -19
- package/package.json +4 -3
- package/src/api/clients/index.js +4 -0
- package/src/api/clients/wtTypes/_shared/utils/sortDynamicFields.ts +21 -0
- package/src/api/clients/wtTypes/sysTypes/sysTypes.ts +58 -0
- package/src/api/clients/wtTypes/typeExtensions/typeExtensions.ts +122 -0
- package/src/components/index.js +2 -0
- package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +158 -0
- package/src/enums/WtTypeExtensionFieldKind/WtTypeExtensionFieldKind.ts +16 -0
- package/src/enums/index.js +2 -0
- package/src/enums/index.ts +2 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
current: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: () => {};
|
|
5
|
+
};
|
|
6
|
+
tabs: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
default: () => any[];
|
|
9
|
+
};
|
|
10
|
+
wide: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {
|
|
15
|
+
activeLineWidth: number;
|
|
16
|
+
activeLineOffset: number;
|
|
17
|
+
}, {}, {
|
|
18
|
+
open(value: any): void;
|
|
19
|
+
moveActiveLine(newValue: any): void;
|
|
20
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
current: {
|
|
22
|
+
type: ObjectConstructor;
|
|
23
|
+
default: () => {};
|
|
24
|
+
};
|
|
25
|
+
tabs: {
|
|
26
|
+
type: ArrayConstructor;
|
|
27
|
+
default: () => any[];
|
|
28
|
+
};
|
|
29
|
+
wide: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{
|
|
34
|
+
onChange?: (...args: any[]) => any;
|
|
35
|
+
}>, {
|
|
36
|
+
wide: boolean;
|
|
37
|
+
current: Record<string, any>;
|
|
38
|
+
tabs: unknown[];
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
value: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
};
|
|
5
|
+
trackBy: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: any;
|
|
8
|
+
};
|
|
9
|
+
taggable: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
manualTagging: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {
|
|
19
|
+
defaultOptionLabel: string;
|
|
20
|
+
multiple: boolean;
|
|
21
|
+
}, {}, {
|
|
22
|
+
getTagOptionLabel({ optionLabel, option }: {
|
|
23
|
+
optionLabel: any;
|
|
24
|
+
option: any;
|
|
25
|
+
}): any;
|
|
26
|
+
initializeOptions(): any[];
|
|
27
|
+
}, any, import("vue").ComponentOptionsMixin, ("input" | "tag" | "closed" | "search-change")[], "input" | "tag" | "closed" | "search-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
value: {
|
|
29
|
+
type: ArrayConstructor;
|
|
30
|
+
};
|
|
31
|
+
trackBy: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: any;
|
|
34
|
+
};
|
|
35
|
+
taggable: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
manualTagging: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
}>> & Readonly<{
|
|
45
|
+
onInput?: (...args: any[]) => any;
|
|
46
|
+
onClosed?: (...args: any[]) => any;
|
|
47
|
+
"onSearch-change"?: (...args: any[]) => any;
|
|
48
|
+
onTag?: (...args: any[]) => any;
|
|
49
|
+
}>, {
|
|
50
|
+
trackBy: string;
|
|
51
|
+
taggable: boolean;
|
|
52
|
+
manualTagging: boolean;
|
|
53
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
54
|
+
export default _default;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
/**
|
|
3
|
+
* Current textarea value (`v-model`)
|
|
4
|
+
*/
|
|
5
|
+
value: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* textarea label
|
|
11
|
+
*/
|
|
12
|
+
label: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* textarea placeholder
|
|
18
|
+
*/
|
|
19
|
+
placeholder: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Native textarea disabled attribute
|
|
24
|
+
*/
|
|
25
|
+
disabled: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* textarea name
|
|
32
|
+
*/
|
|
33
|
+
name: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
labelProps: {
|
|
38
|
+
type: ObjectConstructor;
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
autoresize: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {
|
|
47
|
+
listeners(): any;
|
|
48
|
+
requiredLabel(): any;
|
|
49
|
+
}, {
|
|
50
|
+
handleKeypress(event: any): void;
|
|
51
|
+
autoGrow(): void;
|
|
52
|
+
resetGrow(): void;
|
|
53
|
+
updateInputPaddings(): void;
|
|
54
|
+
}, any, import("vue").ComponentOptionsMixin, ("input" | "enter")[], "input" | "enter", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
/**
|
|
56
|
+
* Current textarea value (`v-model`)
|
|
57
|
+
*/
|
|
58
|
+
value: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* textarea label
|
|
64
|
+
*/
|
|
65
|
+
label: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* textarea placeholder
|
|
71
|
+
*/
|
|
72
|
+
placeholder: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Native textarea disabled attribute
|
|
77
|
+
*/
|
|
78
|
+
disabled: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
description: string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* textarea name
|
|
85
|
+
*/
|
|
86
|
+
name: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
labelProps: {
|
|
91
|
+
type: ObjectConstructor;
|
|
92
|
+
description: string;
|
|
93
|
+
};
|
|
94
|
+
autoresize: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
description: string;
|
|
98
|
+
};
|
|
99
|
+
}>> & Readonly<{
|
|
100
|
+
onInput?: (...args: any[]) => any;
|
|
101
|
+
onEnter?: (...args: any[]) => any;
|
|
102
|
+
}>, {
|
|
103
|
+
value: string;
|
|
104
|
+
name: string;
|
|
105
|
+
label: string;
|
|
106
|
+
disabled: boolean;
|
|
107
|
+
autoresize: boolean;
|
|
108
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
109
|
+
export default _default;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
/**
|
|
3
|
+
* Current input value (`v-model`)
|
|
4
|
+
*/
|
|
5
|
+
value: {
|
|
6
|
+
type: NumberConstructor;
|
|
7
|
+
default: number;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Form input label
|
|
11
|
+
*/
|
|
12
|
+
label: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Time type: day, minute, second
|
|
18
|
+
*/
|
|
19
|
+
maxValue: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Native input required attribute
|
|
24
|
+
*/
|
|
25
|
+
required: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Native input disabled attribute
|
|
32
|
+
*/
|
|
33
|
+
disabled: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
description: string;
|
|
37
|
+
};
|
|
38
|
+
labelProps: {
|
|
39
|
+
type: ObjectConstructor;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
hideInputInfo: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {
|
|
47
|
+
hasLabel(): boolean;
|
|
48
|
+
showInfo(): boolean;
|
|
49
|
+
listeners(): any;
|
|
50
|
+
}, {}, any, import("vue").ComponentOptionsMixin, "input"[], "input", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
+
/**
|
|
52
|
+
* Current input value (`v-model`)
|
|
53
|
+
*/
|
|
54
|
+
value: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Form input label
|
|
60
|
+
*/
|
|
61
|
+
label: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Time type: day, minute, second
|
|
67
|
+
*/
|
|
68
|
+
maxValue: {
|
|
69
|
+
type: NumberConstructor;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Native input required attribute
|
|
73
|
+
*/
|
|
74
|
+
required: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Native input disabled attribute
|
|
81
|
+
*/
|
|
82
|
+
disabled: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
labelProps: {
|
|
88
|
+
type: ObjectConstructor;
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
91
|
+
hideInputInfo: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
}>> & Readonly<{
|
|
96
|
+
onInput?: (...args: any[]) => any;
|
|
97
|
+
}>, {
|
|
98
|
+
value: number;
|
|
99
|
+
required: boolean;
|
|
100
|
+
label: string;
|
|
101
|
+
disabled: boolean;
|
|
102
|
+
hideInputInfo: boolean;
|
|
103
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
104
|
+
export default _default;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
/**
|
|
3
|
+
* Time value in seconds (not milliseconds!)
|
|
4
|
+
*/
|
|
5
|
+
value: {
|
|
6
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
7
|
+
default: number;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* If dateMode is true, timepicker asserts value is timestamp and displays/changes timestamp value
|
|
11
|
+
*/
|
|
12
|
+
dateMode: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* if passed, replaces "day", "hour", "min", "sec" with a single label + format prop value
|
|
18
|
+
*/
|
|
19
|
+
label: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Time format, can be "hh:mm:ss", "mm:ss", "ss"
|
|
25
|
+
*/
|
|
26
|
+
format: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
disabled: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Object with props, passed down to wt-label as props
|
|
36
|
+
*/
|
|
37
|
+
labelProps: {
|
|
38
|
+
type: ObjectConstructor;
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
noLabel: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
required: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
}>, {}, {}, {
|
|
51
|
+
isHour(): any;
|
|
52
|
+
isMin(): any;
|
|
53
|
+
isSec(): any;
|
|
54
|
+
labelHours(): any;
|
|
55
|
+
labelMin(): any;
|
|
56
|
+
labelSec(): any;
|
|
57
|
+
hour: {
|
|
58
|
+
get(): number;
|
|
59
|
+
set(value: any): void;
|
|
60
|
+
};
|
|
61
|
+
min: {
|
|
62
|
+
get(): number;
|
|
63
|
+
set(value: any): void;
|
|
64
|
+
};
|
|
65
|
+
sec: {
|
|
66
|
+
get(): number;
|
|
67
|
+
set(value: any): void;
|
|
68
|
+
};
|
|
69
|
+
requiredLabel(): string;
|
|
70
|
+
}, {
|
|
71
|
+
onHoursBlurEvent(): void;
|
|
72
|
+
}, any, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
73
|
+
/**
|
|
74
|
+
* Time value in seconds (not milliseconds!)
|
|
75
|
+
*/
|
|
76
|
+
value: {
|
|
77
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
78
|
+
default: number;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* If dateMode is true, timepicker asserts value is timestamp and displays/changes timestamp value
|
|
82
|
+
*/
|
|
83
|
+
dateMode: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* if passed, replaces "day", "hour", "min", "sec" with a single label + format prop value
|
|
89
|
+
*/
|
|
90
|
+
label: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Time format, can be "hh:mm:ss", "mm:ss", "ss"
|
|
96
|
+
*/
|
|
97
|
+
format: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
disabled: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Object with props, passed down to wt-label as props
|
|
107
|
+
*/
|
|
108
|
+
labelProps: {
|
|
109
|
+
type: ObjectConstructor;
|
|
110
|
+
description: string;
|
|
111
|
+
};
|
|
112
|
+
noLabel: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
required: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
description: string;
|
|
120
|
+
};
|
|
121
|
+
}>> & Readonly<{}>, {
|
|
122
|
+
value: string | number;
|
|
123
|
+
required: boolean;
|
|
124
|
+
label: string;
|
|
125
|
+
disabled: boolean;
|
|
126
|
+
dateMode: boolean;
|
|
127
|
+
format: string;
|
|
128
|
+
noLabel: boolean;
|
|
129
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
130
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
7
|
+
$emit: (event: "hide" | "show", ...args: any[]) => void;
|
|
8
|
+
triggers: unknown[];
|
|
9
|
+
$props: {
|
|
10
|
+
readonly triggers?: unknown[];
|
|
11
|
+
};
|
|
12
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
type __VLS_Slots = {
|
|
14
|
+
default?: (props: {}) => any;
|
|
15
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
7
|
+
$emit: (event: "update:visible", ...args: any[]) => void;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
triggers: unknown[];
|
|
10
|
+
visible: boolean;
|
|
11
|
+
placement: string;
|
|
12
|
+
popperClass: string;
|
|
13
|
+
popperTriggers: unknown[];
|
|
14
|
+
disableClickAway: boolean;
|
|
15
|
+
$props: {
|
|
16
|
+
readonly disabled?: boolean;
|
|
17
|
+
readonly triggers?: unknown[];
|
|
18
|
+
readonly visible?: boolean;
|
|
19
|
+
readonly placement?: string;
|
|
20
|
+
readonly popperClass?: string;
|
|
21
|
+
readonly popperTriggers?: unknown[];
|
|
22
|
+
readonly disableClickAway?: boolean;
|
|
23
|
+
};
|
|
24
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
type __VLS_Slots = {
|
|
26
|
+
activator?: (props: {
|
|
27
|
+
visible: boolean;
|
|
28
|
+
}) => any;
|
|
29
|
+
default?: (props: {
|
|
30
|
+
hide: (event?: {}) => void;
|
|
31
|
+
}) => any;
|
|
32
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/**
|
|
3
|
+
* Selected element, it can be an object or a string, related to itemData props
|
|
4
|
+
*/
|
|
5
|
+
modelValue?: null | any;
|
|
6
|
+
/**
|
|
7
|
+
* You need to pass an array of objects that will be displayed in the tree
|
|
8
|
+
*/
|
|
9
|
+
data: any[];
|
|
10
|
+
/**
|
|
11
|
+
* You can pass the name of the property that will be used as the label of the selected item
|
|
12
|
+
*/
|
|
13
|
+
itemLabel?: string;
|
|
14
|
+
/**
|
|
15
|
+
* You can pass the name of the property that will be used as the value of the selected item
|
|
16
|
+
*/
|
|
17
|
+
itemData?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Select mode for display tree data
|
|
20
|
+
* @example 'tree', 'list'
|
|
21
|
+
*/
|
|
22
|
+
mode?: string;
|
|
23
|
+
/**
|
|
24
|
+
* You can pass the name of the property that will be used for getting children elements
|
|
25
|
+
*/
|
|
26
|
+
childrenProp?: string;
|
|
27
|
+
multiple?: boolean;
|
|
28
|
+
};
|
|
29
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
30
|
+
select: (data: any) => any;
|
|
31
|
+
"update:modelValue": (value: any) => any;
|
|
32
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
33
|
+
onSelect?: (data: any) => any;
|
|
34
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
35
|
+
}>, {
|
|
36
|
+
mode: string;
|
|
37
|
+
childrenProp: string;
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { WtTreeNestedIcons } from './types/wt-tree-nested-icons.ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue: null | any;
|
|
4
|
+
data: any;
|
|
5
|
+
itemLabel?: string | undefined;
|
|
6
|
+
itemData?: string | undefined;
|
|
7
|
+
childrenProp?: string;
|
|
8
|
+
nestedLevel?: number;
|
|
9
|
+
lastChild?: boolean;
|
|
10
|
+
nestedIcons?: WtTreeNestedIcons[];
|
|
11
|
+
nextElement?: boolean;
|
|
12
|
+
multiple?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* 'It's a key in data object, which contains field what display searched elements. By this field, table will be opened to elements with this field value. '
|
|
15
|
+
*/
|
|
16
|
+
searchedProp?: string;
|
|
17
|
+
};
|
|
18
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
19
|
+
"update:modelValue": (value: any) => any;
|
|
20
|
+
openParent: () => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
23
|
+
onOpenParent?: () => any;
|
|
24
|
+
}>, {
|
|
25
|
+
multiple: boolean;
|
|
26
|
+
lastChild: boolean;
|
|
27
|
+
childrenProp: string;
|
|
28
|
+
nestedLevel: number;
|
|
29
|
+
nextElement: boolean;
|
|
30
|
+
searchedProp: string;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { WtCheckbox } from '../index';
|
|
2
|
+
import type { WtTableHeader } from '../wt-table/types/WtTable.d.ts';
|
|
3
|
+
import WtTreeTableRow from '../wt-tree-table-row/wt-tree-table-row.vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
/**
|
|
6
|
+
* 'Accepts list of header objects. Draws text depending on "text" property, looks for data values through "value", "show" boolean controls visibility of a column (if undefined, all visible by default). ' Column width is calculated by "width" param. By default, sets minmax(150px, 1fr). '
|
|
7
|
+
*/
|
|
8
|
+
headers: WtTableHeader[];
|
|
9
|
+
/**
|
|
10
|
+
* 'List of data, represented by table. '
|
|
11
|
+
*/
|
|
12
|
+
data: Record<string, any>[];
|
|
13
|
+
/**
|
|
14
|
+
* 'If true, draws sorting arrows and sends sorting events at header click. Draws a sorting arrow by "sort": "asc"/"desc" header value. '
|
|
15
|
+
*/
|
|
16
|
+
sortable?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* 'If true, draws row selection checkboxes. Checkbox toggles data object _isSelected property. It's IMPORTANT to set this property before sending data to table. '
|
|
19
|
+
*/
|
|
20
|
+
selectable?: boolean;
|
|
21
|
+
selected: any[];
|
|
22
|
+
/**
|
|
23
|
+
* 'If true, reserves space for 3 icon actions in the last column. Accessible by "actions" slot. '
|
|
24
|
+
*/
|
|
25
|
+
gridActions?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* 'It's a key in data object, which contains children array. '
|
|
28
|
+
*/
|
|
29
|
+
childrenProp: string;
|
|
30
|
+
/**
|
|
31
|
+
* 'It's a key in data object, which contains field what display searched elements. By this field, table will be opened to elements with this field value. '
|
|
32
|
+
*/
|
|
33
|
+
searchedProp?: string;
|
|
34
|
+
};
|
|
35
|
+
declare const selectedElements: import("vue").ComputedRef<Record<string, any>[]>;
|
|
36
|
+
declare const isAllSelected: import("vue").ComputedRef<boolean>;
|
|
37
|
+
declare const dataHeaders: import("vue").ComputedRef<WtTableHeader[]>;
|
|
38
|
+
declare const isColSortable: ({ sort }: WtTableHeader) => boolean;
|
|
39
|
+
declare const sort: (col: WtTableHeader) => void;
|
|
40
|
+
declare const selectAll: () => void;
|
|
41
|
+
declare const handleSelection: (row: any, select: any) => void;
|
|
42
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
43
|
+
declare var __VLS_17: {}, __VLS_26: {
|
|
44
|
+
item: any;
|
|
45
|
+
}, __VLS_29: string, __VLS_30: {
|
|
46
|
+
index: number;
|
|
47
|
+
item: any;
|
|
48
|
+
};
|
|
49
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
50
|
+
[K in NonNullable<typeof __VLS_29>]?: (props: typeof __VLS_30) => any;
|
|
51
|
+
} & {
|
|
52
|
+
'actions-header'?: (props: typeof __VLS_17) => any;
|
|
53
|
+
} & {
|
|
54
|
+
actions?: (props: typeof __VLS_26) => any;
|
|
55
|
+
}>;
|
|
56
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
57
|
+
WtCheckbox: typeof WtCheckbox;
|
|
58
|
+
WtTreeTableRow: typeof WtTreeTableRow;
|
|
59
|
+
selectedElements: typeof selectedElements;
|
|
60
|
+
isAllSelected: typeof isAllSelected;
|
|
61
|
+
dataHeaders: typeof dataHeaders;
|
|
62
|
+
isColSortable: typeof isColSortable;
|
|
63
|
+
sort: typeof sort;
|
|
64
|
+
selectAll: typeof selectAll;
|
|
65
|
+
handleSelection: typeof handleSelection;
|
|
66
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
67
|
+
sort: (...args: any[]) => void;
|
|
68
|
+
"update:selected": (...args: any[]) => void;
|
|
69
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
70
|
+
onSort?: (...args: any[]) => any;
|
|
71
|
+
"onUpdate:selected"?: (...args: any[]) => any;
|
|
72
|
+
}>, {
|
|
73
|
+
sortable: boolean;
|
|
74
|
+
selectable: boolean;
|
|
75
|
+
gridActions: boolean;
|
|
76
|
+
searchedProp: string;
|
|
77
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
78
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
79
|
+
sort: (...args: any[]) => void;
|
|
80
|
+
"update:selected": (...args: any[]) => void;
|
|
81
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
82
|
+
onSort?: (...args: any[]) => any;
|
|
83
|
+
"onUpdate:selected"?: (...args: any[]) => any;
|
|
84
|
+
}>, {
|
|
85
|
+
sortable: boolean;
|
|
86
|
+
selectable: boolean;
|
|
87
|
+
gridActions: boolean;
|
|
88
|
+
searchedProp: string;
|
|
89
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
90
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
91
|
+
export default _default;
|
|
92
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
93
|
+
new (): {
|
|
94
|
+
$slots: S;
|
|
95
|
+
};
|
|
96
|
+
};
|