@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.
Files changed (158) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/types/api/clients/wtTypes/_shared/utils/sortDynamicFields.d.ts +2 -0
  3. package/dist/types/api/clients/wtTypes/sysTypes/sysTypes.d.ts +30 -0
  4. package/dist/types/api/clients/wtTypes/typeExtensions/typeExtensions.d.ts +32 -0
  5. package/dist/types/api/transformers/skipIf/skipIf.d.ts +1 -0
  6. package/dist/types/components/on-demand/wt-cc-agent-status-timers/wt-cc-agent-status-timers.vue.d.ts +9 -0
  7. package/dist/types/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-1.vue.d.ts +19 -0
  8. package/dist/types/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-2.vue.d.ts +7 -0
  9. package/dist/types/components/on-demand/wt-navigation-menu/components/wt-navigation-menu.vue.d.ts +9 -0
  10. package/dist/types/components/on-demand/wt-route-transition/wt-route-transition.vue.d.ts +9 -0
  11. package/dist/types/components/on-demand/wt-save-failed-popup/wt-save-failed-popup.vue.d.ts +10 -0
  12. package/dist/types/components/on-demand/wt-selection-popup/wt-selection-popup.vue.d.ts +22 -0
  13. package/dist/types/components/on-demand/wt-start-page/components/start-page-card.vue.d.ts +7 -0
  14. package/dist/types/components/on-demand/wt-start-page/components/start-page-logo.vue.d.ts +7 -0
  15. package/dist/types/components/on-demand/wt-start-page/components/wt-start-page.vue.d.ts +11 -0
  16. package/dist/types/components/on-demand/wt-table-transition/wt-table-transition.vue.d.ts +9 -0
  17. package/dist/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +121 -0
  18. package/dist/types/components/transitions/cases/wt-replace-transition.vue.d.ts +18 -0
  19. package/dist/types/components/transitions/wt-expand-transition.vue.d.ts +6 -0
  20. package/dist/types/components/transitions/wt-transition.vue.d.ts +20 -0
  21. package/dist/types/components/wt-action-bar/wt-action-bar.vue.d.ts +26 -0
  22. package/dist/types/components/wt-app-header/wt-app-header.vue.d.ts +9 -0
  23. package/dist/types/components/wt-app-header/wt-app-navigator.vue.d.ts +11 -0
  24. package/dist/types/components/wt-app-header/wt-header-actions.vue.d.ts +32 -0
  25. package/dist/types/components/wt-avatar/wt-avatar.vue.d.ts +15 -0
  26. package/dist/types/components/wt-badge/wt-badge.vue.d.ts +43 -0
  27. package/dist/types/components/wt-button/wt-button.vue.d.ts +113 -0
  28. package/dist/types/components/wt-button-select/wt-button-select.vue.d.ts +19 -0
  29. package/dist/types/components/wt-checkbox/wt-checkbox.vue.d.ts +57 -0
  30. package/dist/types/components/wt-chip/wt-chip.vue.d.ts +22 -0
  31. package/dist/types/components/wt-confirm-dialog/wt-confirm-dialog.vue.d.ts +28 -0
  32. package/dist/types/components/wt-context-menu/wt-context-menu.vue.d.ts +28 -0
  33. package/dist/types/components/wt-copy-action/wt-copy-action.vue.d.ts +27 -0
  34. package/dist/types/components/wt-datepicker/wt-datepicker.vue.d.ts +35 -0
  35. package/dist/types/components/wt-divider/wt-divider.vue.d.ts +14 -0
  36. package/dist/types/components/wt-dual-panel/wt-dual-panel.vue.d.ts +20 -0
  37. package/dist/types/components/wt-dummy/wt-dummy.vue.d.ts +20 -0
  38. package/dist/types/components/wt-empty/wt-empty.vue.d.ts +55 -0
  39. package/dist/types/components/wt-error-page/wt-error-page.vue.d.ts +21 -0
  40. package/dist/types/components/wt-expansion-panel/wt-expansion-panel.vue.d.ts +23 -0
  41. package/dist/types/components/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue.d.ts +21 -0
  42. package/dist/types/components/wt-headline/wt-headline.vue.d.ts +2 -0
  43. package/dist/types/components/wt-headline-nav/wt-headline-nav.vue.d.ts +7 -0
  44. package/dist/types/components/wt-hint/wt-hint.vue.d.ts +14 -0
  45. package/dist/types/components/wt-icon/wt-icon.vue.d.ts +15 -0
  46. package/dist/types/components/wt-icon-action/wt-icon-action.vue.d.ts +12 -0
  47. package/dist/types/components/wt-icon-btn/wt-icon-btn.vue.d.ts +11 -0
  48. package/dist/types/components/wt-image/wt-image.vue.d.ts +34 -0
  49. package/dist/types/components/wt-indicator/wt-indicator.vue.d.ts +67 -0
  50. package/dist/types/components/wt-input/wt-input.vue.d.ts +53 -0
  51. package/dist/types/components/wt-input-info/wt-input-info.vue.d.ts +14 -0
  52. package/dist/types/components/wt-intersection-observer/wt-intersection-observer.vue.d.ts +10 -0
  53. package/dist/types/components/wt-item-link/wt-item-link.vue.d.ts +24 -0
  54. package/dist/types/components/wt-label/wt-label.vue.d.ts +31 -0
  55. package/dist/types/components/wt-load-bar/wt-load-bar.vue.d.ts +26 -0
  56. package/dist/types/components/wt-loader/_internals/wt-loader--md.vue.d.ts +2 -0
  57. package/dist/types/components/wt-loader/_internals/wt-loader--sm.vue.d.ts +16 -0
  58. package/dist/types/components/wt-loader/wt-loader.vue.d.ts +44 -0
  59. package/dist/types/components/wt-logo/wt-logo.vue.d.ts +13 -0
  60. package/dist/types/components/wt-navigation-bar/wt-navigation-bar.vue.d.ts +93 -0
  61. package/dist/types/components/wt-notification/wt-notification.vue.d.ts +17 -0
  62. package/dist/types/components/wt-notifications-bar/wt-notifications-bar.vue.d.ts +9 -0
  63. package/dist/types/components/wt-page-header/wt-page-header.vue.d.ts +31 -0
  64. package/dist/types/components/wt-page-wrapper/wt-page-wrapper.vue.d.ts +14 -0
  65. package/dist/types/components/wt-pagination/wt-pagination.vue.d.ts +59 -0
  66. package/dist/types/components/wt-player/wt-player.vue.d.ts +110 -0
  67. package/dist/types/components/wt-popup/wt-popup.vue.d.ts +52 -0
  68. package/dist/types/components/wt-progress-bar/wt-progress-bar.vue.d.ts +38 -0
  69. package/dist/types/components/wt-radio/wt-radio.vue.d.ts +66 -0
  70. package/dist/types/components/wt-rounded-action/wt-rounded-action.vue.d.ts +22 -0
  71. package/dist/types/components/wt-search-bar/wt-search-bar.vue.d.ts +194 -0
  72. package/dist/types/components/wt-select/wt-select.vue.d.ts +65 -0
  73. package/dist/types/components/wt-slider/wt-slider.vue.d.ts +75 -0
  74. package/dist/types/components/wt-status-select/wt-status-select.vue.d.ts +40 -0
  75. package/dist/types/components/wt-stepper/wt-stepper.vue.d.ts +17 -0
  76. package/dist/types/components/wt-switcher/wt-switcher.vue.d.ts +53 -0
  77. package/dist/types/components/wt-table/wt-table.vue.d.ts +132 -0
  78. package/dist/types/components/wt-table-actions/wt-table-actions.vue.d.ts +30 -0
  79. package/dist/types/components/wt-table-column-select/wt-table-column-select.vue.d.ts +42 -0
  80. package/dist/types/components/wt-tabs/wt-tabs.vue.d.ts +40 -0
  81. package/dist/types/components/wt-tags-input/wt-tags-input.vue.d.ts +54 -0
  82. package/dist/types/components/wt-textarea/wt-textarea.vue.d.ts +109 -0
  83. package/dist/types/components/wt-time-input/wt-time-input.vue.d.ts +104 -0
  84. package/dist/types/components/wt-timepicker/wt-timepicker.vue.d.ts +130 -0
  85. package/dist/types/components/wt-tooltip/_internals/wt-tooltip-floating.vue.d.ts +15 -0
  86. package/dist/types/components/wt-tooltip/wt-tooltip.vue.d.ts +32 -0
  87. package/dist/types/components/wt-tree/types/WtTreeMode.d.ts +5 -0
  88. package/dist/types/components/wt-tree/wt-tree.vue.d.ts +39 -0
  89. package/dist/types/components/wt-tree-line/types/wt-tree-nested-icons.d.ts +4 -0
  90. package/dist/types/components/wt-tree-line/wt-tree-line.vue.d.ts +32 -0
  91. package/dist/types/components/wt-tree-table/wt-tree-table.vue.d.ts +96 -0
  92. package/dist/types/components/wt-tree-table-row/wt-tree-table-row.vue.d.ts +90 -0
  93. package/dist/types/composables/useAccessControl/v2/createUserAccessControl.d.ts +2 -0
  94. package/dist/types/composables/useWtTable/useWtTable.d.ts +6 -0
  95. package/dist/types/enums/ComponentSize/ComponentSize.d.ts +12 -0
  96. package/dist/types/enums/CrudAction/CrudAction.d.ts +7 -0
  97. package/dist/types/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +7 -0
  98. package/dist/types/enums/WebitelApplications/AdminSections.d.ts +45 -0
  99. package/dist/types/enums/WebitelApplications/AuditorSections.d.ts +4 -0
  100. package/dist/types/enums/WebitelApplications/CrmSections.d.ts +14 -0
  101. package/dist/types/enums/WebitelApplications/SupervisorSections.d.ts +6 -0
  102. package/dist/types/enums/WebitelApplications/WtApplication.d.ts +10 -0
  103. package/dist/types/enums/WtObject/WtObject.d.ts +60 -0
  104. package/dist/types/enums/WtTypeExtensionFieldKind/WtTypeExtensionFieldKind.d.ts +13 -0
  105. package/dist/types/enums/index.d.ts +18 -0
  106. package/dist/types/install.d.ts +14 -0
  107. package/dist/types/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue.d.ts +8 -0
  108. package/dist/types/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue.d.ts +8 -0
  109. package/dist/types/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue.d.ts +12 -0
  110. package/dist/types/modules/Appearance/components/wt-dark-mode-switcher.vue.d.ts +7 -0
  111. package/dist/types/modules/AuditForm/components/audit-form-question-read-wrapper.vue.d.ts +16 -0
  112. package/dist/types/modules/AuditForm/components/audit-form-question-write-wrapper.vue.d.ts +12 -0
  113. package/dist/types/modules/AuditForm/components/audit-form-question.vue.d.ts +18 -0
  114. package/dist/types/modules/AuditForm/components/audit-form.vue.d.ts +14 -0
  115. package/dist/types/modules/AuditForm/components/questions/options/audit-form-question-options-write-row.vue.d.ts +10 -0
  116. package/dist/types/modules/AuditForm/components/questions/options/audit-form-question-options.vue.d.ts +12 -0
  117. package/dist/types/modules/AuditForm/components/questions/score/audit-form-question-score.vue.d.ts +12 -0
  118. package/dist/types/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue.d.ts +17 -0
  119. package/dist/types/modules/Filters/components/filter-datetime.vue.d.ts +9 -0
  120. package/dist/types/modules/Filters/components/filter-pagination.vue.d.ts +9 -0
  121. package/dist/types/modules/Filters/components/filter-search.vue.d.ts +13 -0
  122. package/dist/types/modules/Filters/components/filter-select.vue.d.ts +9 -0
  123. package/dist/types/modules/Filters/components/filter-table-fields.vue.d.ts +12 -0
  124. package/dist/types/modules/ObjectPermissions/_internals/components/permissions-role-row.vue.d.ts +14 -0
  125. package/dist/types/modules/ObjectPermissions/_internals/components/permissions-role-select.vue.d.ts +2 -0
  126. package/dist/types/modules/ObjectPermissions/_internals/components/permissions-tab-role-popup.vue.d.ts +7 -0
  127. package/dist/types/modules/ObjectPermissions/components/permissions-tab.vue.d.ts +9 -0
  128. package/dist/types/modules/QueryFilters/components/abstract-api-filter.vue.d.ts +15 -0
  129. package/dist/types/modules/QueryFilters/components/abstract-enum-filter.vue.d.ts +12 -0
  130. package/dist/types/modules/QueryFilters/components/filter-datetime.vue.d.ts +21 -0
  131. package/dist/types/modules/QueryFilters/components/filter-from-to.vue.d.ts +30 -0
  132. package/dist/types/modules/QueryFilters/components/filter-search.vue.d.ts +16 -0
  133. package/dist/types/modules/QueryFilters/components/filter-table-fields.vue.d.ts +44 -0
  134. package/dist/types/modules/Userinfo/v2/api/UserinfoAPI.d.ts +11 -0
  135. package/dist/types/modules/Userinfo/v2/enums/GlobalActions/GlobalActions.d.ts +31 -0
  136. package/dist/types/modules/Userinfo/v2/enums/ScopeClass/ScopeClass.d.ts +45 -0
  137. package/dist/types/modules/Userinfo/v2/enums/index.d.ts +3 -0
  138. package/dist/types/modules/Userinfo/v2/index.d.ts +1 -0
  139. package/dist/types/modules/Userinfo/v2/mappings/mappings.d.ts +25 -0
  140. package/dist/types/modules/Userinfo/v2/scripts/utils.d.ts +9 -0
  141. package/dist/types/modules/Userinfo/v2/stores/accessStore.d.ts +2 -0
  142. package/dist/types/modules/Userinfo/v2/stores/userinfoStore.d.ts +25 -0
  143. package/dist/types/playground.vue.d.ts +2 -0
  144. package/dist/types/scripts/compareSize.d.ts +41 -0
  145. package/dist/types/scripts/normalizeDatetime.d.ts +8 -0
  146. package/dist/types/the-app.vue.d.ts +4 -0
  147. package/dist/ui-sdk.js +20200 -18808
  148. package/dist/ui-sdk.umd.cjs +19 -19
  149. package/package.json +4 -3
  150. package/src/api/clients/index.js +4 -0
  151. package/src/api/clients/wtTypes/_shared/utils/sortDynamicFields.ts +21 -0
  152. package/src/api/clients/wtTypes/sysTypes/sysTypes.ts +58 -0
  153. package/src/api/clients/wtTypes/typeExtensions/typeExtensions.ts +122 -0
  154. package/src/components/index.js +2 -0
  155. package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +158 -0
  156. package/src/enums/WtTypeExtensionFieldKind/WtTypeExtensionFieldKind.ts +16 -0
  157. package/src/enums/index.js +2 -0
  158. package/src/enums/index.ts +2 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [v25.4.65] - 2025-04-22
2
+ ### :sparkles: New Features
3
+ - [`39c20ad`](https://github.com/webitel/webitel-ui-sdk/commit/39c20ad07cee89d0c332851f41c20acce2b78c2a) - add new icon *(commit by [@liza-pohranichna](https://github.com/liza-pohranichna))*
4
+ - [`fe51f33`](https://github.com/webitel/webitel-ui-sdk/commit/fe51f3352998f2a85ebdc2b2747ce0a690bc681c) - add new icon *(commit by [@liza-pohranichna](https://github.com/liza-pohranichna))*
5
+
6
+ ### :bug: Bug Fixes
7
+ - [`cc9f99e`](https://github.com/webitel/webitel-ui-sdk/commit/cc9f99e49ee31cabdad3b2b47bac2bd3bb145893) - preview in boolean filters[WTEL-6732](https://webitel.atlassian.net/browse/WTEL-6732) *(commit by [@Lera24](https://github.com/Lera24))*
8
+
9
+
1
10
  ## [v25.4.64] - 2025-04-17
2
11
  ### :sparkles: New Features
3
12
  - [`85d254a`](https://github.com/webitel/webitel-ui-sdk/commit/85d254a5405dddd5ffd92466af85badfd3505fb0) - update styles for wt tree table [WTEL-6440](https://webitel.atlassian.net/browse/WTEL-6440) *(commit by [@stanislav-kozak](https://github.com/stanislav-kozak))*
@@ -1903,3 +1912,4 @@
1903
1912
  [v25.4.60]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.59...v25.4.60
1904
1913
  [v25.4.62]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.61...v25.4.62
1905
1914
  [v25.4.64]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.63...v25.4.64
1915
+ [v25.4.65]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.64...v25.4.65
@@ -0,0 +1,2 @@
1
+ import { WebitelProtoDataStruct } from 'webitel-sdk';
2
+ export declare const sortDynamicFields: (item: WebitelProtoDataStruct) => WebitelProtoDataStruct;
@@ -0,0 +1,30 @@
1
+ declare const getSysTypeRecordsList: ({ path, display, primary, ...params }: {
2
+ [x: string]: any;
3
+ path: any;
4
+ display: any;
5
+ primary: any;
6
+ }) => Promise<{
7
+ items: any;
8
+ next: any;
9
+ }>;
10
+ declare const getSysTypeRecordsLookup: (params: any) => Promise<{
11
+ items: any;
12
+ next: any;
13
+ }>;
14
+ declare const SysTypesApi: {
15
+ getList: ({ path, display, primary, ...params }: {
16
+ [x: string]: any;
17
+ path: any;
18
+ display: any;
19
+ primary: any;
20
+ }) => Promise<{
21
+ items: any;
22
+ next: any;
23
+ }>;
24
+ getLookup: (params: any) => Promise<{
25
+ items: any;
26
+ next: any;
27
+ }>;
28
+ };
29
+ export { getSysTypeRecordsList, getSysTypeRecordsLookup };
30
+ export default SysTypesApi;
@@ -0,0 +1,32 @@
1
+ declare const getTypeExtension: ({ itemId: typeRepo }: {
2
+ itemId: any;
3
+ }) => Promise<any>;
4
+ declare const addTypeExtension: ({ itemInstance, itemId: typeRepo }: {
5
+ itemInstance: any;
6
+ itemId: any;
7
+ }) => Promise<any>;
8
+ declare const deleteTypeExtension: ({ itemId: typeRepo }: {
9
+ itemId: any;
10
+ }) => Promise<void>;
11
+ declare const updateTypeExtension: ({ itemInstance, itemId: typeRepo }: {
12
+ itemInstance: any;
13
+ itemId: any;
14
+ }) => Promise<any>;
15
+ declare const WtTypeExtensionApi: {
16
+ getList: ({ itemId: typeRepo }: {
17
+ itemId: any;
18
+ }) => Promise<any>;
19
+ add: ({ itemInstance, itemId: typeRepo }: {
20
+ itemInstance: any;
21
+ itemId: any;
22
+ }) => Promise<any>;
23
+ update: ({ itemInstance, itemId: typeRepo }: {
24
+ itemInstance: any;
25
+ itemId: any;
26
+ }) => Promise<any>;
27
+ delete: ({ itemId: typeRepo }: {
28
+ itemId: any;
29
+ }) => Promise<void>;
30
+ };
31
+ export { addTypeExtension, deleteTypeExtension, getTypeExtension, updateTypeExtension, };
32
+ export default WtTypeExtensionApi;
@@ -0,0 +1 @@
1
+ export declare const skipIf: (transformer: (...payload: unknown[]) => unknown, ifFn: boolean | ((...payload: unknown[]) => boolean)) => (payload: unknown) => unknown;
@@ -0,0 +1,9 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ size: string;
3
+ status: any;
4
+ $props: {
5
+ readonly size?: string;
6
+ readonly status?: any;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
+ export default _default;
@@ -0,0 +1,19 @@
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: "select", ...args: any[]) => void;
8
+ icons: unknown[];
9
+ selected: Record<string, any>;
10
+ categories: unknown[];
11
+ $props: {
12
+ readonly icons?: unknown[];
13
+ readonly selected?: Record<string, any>;
14
+ readonly categories?: unknown[];
15
+ };
16
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
+ type __VLS_Slots = {
18
+ default?: (props: {}) => any;
19
+ };
@@ -0,0 +1,7 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ categories: unknown[];
3
+ $props: {
4
+ readonly categories?: unknown[];
5
+ };
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ export default _default;
@@ -0,0 +1,9 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ nav: unknown[];
3
+ icons: unknown[];
4
+ $props: {
5
+ readonly nav?: unknown[];
6
+ readonly icons?: unknown[];
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
+ export default _default;
@@ -0,0 +1,9 @@
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<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ type __VLS_Slots = {
8
+ default?: (props: {}) => any;
9
+ };
@@ -0,0 +1,10 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {
2
+ closePopup(): void;
3
+ save(): void;
4
+ download(): void;
5
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close-popup" | "save" | "download")[], "close-popup" | "save" | "download", import("vue").PublicProps, Readonly<{}> & Readonly<{
6
+ "onClose-popup"?: (...args: any[]) => any;
7
+ onSave?: (...args: any[]) => any;
8
+ onDownload?: (...args: any[]) => any;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ export default _default;
@@ -0,0 +1,22 @@
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: "add" | "close" | "change", ...args: any[]) => void;
8
+ options: unknown[];
9
+ title?: string;
10
+ selected?: Record<string, any>;
11
+ $props: {
12
+ readonly options?: unknown[];
13
+ readonly title?: string;
14
+ readonly selected?: Record<string, any>;
15
+ };
16
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
+ type __VLS_Slots = {
18
+ option?: (props: {
19
+ option: unknown;
20
+ }) => any;
21
+ 'after-section'?: (props: {}) => any;
22
+ };
@@ -0,0 +1,7 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ card: Record<string, any>;
3
+ $props: {
4
+ readonly card?: Record<string, any>;
5
+ };
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ logo: string;
3
+ $props: {
4
+ readonly logo?: string;
5
+ };
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ export default _default;
@@ -0,0 +1,11 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ nav: unknown[];
3
+ darkMode: boolean;
4
+ appLogo?: Record<string, any>;
5
+ $props: {
6
+ readonly nav?: unknown[];
7
+ readonly darkMode?: boolean;
8
+ readonly appLogo?: Record<string, any>;
9
+ };
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ export default _default;
@@ -0,0 +1,9 @@
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<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ type __VLS_Slots = {
8
+ default?: (props: {}) => any;
9
+ };
@@ -0,0 +1,121 @@
1
+ import { WtDatepicker, WtInput, WtSelect, WtSwitcher } from '@webitel/ui-sdk/components';
2
+ import { WebitelProtoDataField } from 'webitel-sdk';
3
+ import { WtTypeExtensionFieldKind as FieldType } from '../../../enums';
4
+ declare const DatetimeConversionModifier = 1000;
5
+ type __VLS_Props = {
6
+ field: WebitelProtoDataField;
7
+ required?: boolean;
8
+ /**
9
+ * TODO: implement validation
10
+ */
11
+ v?: object;
12
+ };
13
+ declare const value: import("vue").ComputedRef<unknown>;
14
+ declare const sharedChildrenProps: import("vue").ComputedRef<{
15
+ label: string;
16
+ required: boolean;
17
+ v: object;
18
+ }>;
19
+ /**
20
+ * @author @dlohvinov
21
+ *
22
+ * props as computed is needed to pass it either
23
+ * to slot and to default in-slot component
24
+ */
25
+ declare const selectProps: import("vue").ComputedRef<{
26
+ clearable: boolean;
27
+ trackBy: string;
28
+ searchMethod: () => (params: any) => Promise<{
29
+ items: any;
30
+ next: any;
31
+ }>;
32
+ }>;
33
+ declare const multiselectProps: import("vue").ComputedRef<{
34
+ multiple: boolean;
35
+ clearable: boolean;
36
+ trackBy: string;
37
+ searchMethod: () => (params: any) => Promise<{
38
+ items: any;
39
+ next: any;
40
+ }>;
41
+ }>;
42
+ declare const setValue: (value: any) => void;
43
+ declare const loadLookupList: ({ path, display, primary }: {
44
+ path: any;
45
+ display: any;
46
+ primary: any;
47
+ }) => (params: any) => Promise<{
48
+ items: any;
49
+ next: any;
50
+ }>;
51
+ declare const selectElement: (value: any) => void;
52
+ declare const selectElements: (value: any) => void;
53
+ type __VLS_PublicProps = __VLS_Props & {
54
+ modelValue?: unknown;
55
+ };
56
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
57
+ declare var __VLS_29: "lookup", __VLS_30: {
58
+ defaultProps: {
59
+ value: unknown;
60
+ clearable: boolean;
61
+ trackBy: string;
62
+ searchMethod: () => (params: any) => Promise<{
63
+ items: any;
64
+ next: any;
65
+ }>;
66
+ label: string;
67
+ required: boolean;
68
+ v: object;
69
+ };
70
+ }, __VLS_41: "list", __VLS_42: {
71
+ defaultProps: {
72
+ value: unknown;
73
+ multiple: boolean;
74
+ clearable: boolean;
75
+ trackBy: string;
76
+ searchMethod: () => (params: any) => Promise<{
77
+ items: any;
78
+ next: any;
79
+ }>;
80
+ label: string;
81
+ required: boolean;
82
+ v: object;
83
+ };
84
+ };
85
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
86
+ [K in NonNullable<typeof __VLS_29>]?: (props: typeof __VLS_30) => any;
87
+ } & {
88
+ [K in NonNullable<typeof __VLS_41>]?: (props: typeof __VLS_42) => any;
89
+ }>;
90
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
91
+ WtDatepicker: typeof WtDatepicker;
92
+ WtInput: typeof WtInput;
93
+ WtSelect: typeof WtSelect;
94
+ WtSwitcher: typeof WtSwitcher;
95
+ FieldType: typeof FieldType;
96
+ DatetimeConversionModifier: typeof DatetimeConversionModifier;
97
+ value: typeof value;
98
+ sharedChildrenProps: typeof sharedChildrenProps;
99
+ selectProps: typeof selectProps;
100
+ multiselectProps: typeof multiselectProps;
101
+ setValue: typeof setValue;
102
+ loadLookupList: typeof loadLookupList;
103
+ selectElement: typeof selectElement;
104
+ selectElements: typeof selectElements;
105
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
106
+ "update:modelValue": (value: unknown) => any;
107
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
108
+ "onUpdate:modelValue"?: (value: unknown) => any;
109
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
110
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
111
+ "update:modelValue": (value: unknown) => any;
112
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
113
+ "onUpdate:modelValue"?: (value: unknown) => any;
114
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
115
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
116
+ export default _default;
117
+ type __VLS_WithSlots<T, S> = T & {
118
+ new (): {
119
+ $slots: S;
120
+ };
121
+ };
@@ -0,0 +1,18 @@
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
+ pattern: string;
8
+ appear: boolean;
9
+ duration: string;
10
+ $props: {
11
+ readonly pattern?: string;
12
+ readonly appear?: boolean;
13
+ readonly duration?: string;
14
+ };
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ type __VLS_Slots = {
17
+ default?: (props: {}) => any;
18
+ };
@@ -0,0 +1,6 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {
2
+ afterEnter(element: any): void;
3
+ enter(element: any): void;
4
+ leave(element: any): void;
5
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,20 @@
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
+ name: string;
8
+ mode: string;
9
+ appear: boolean;
10
+ duration: string;
11
+ $props: {
12
+ readonly name?: string;
13
+ readonly mode?: string;
14
+ readonly appear?: boolean;
15
+ readonly duration?: string;
16
+ };
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ type __VLS_Slots = {
19
+ default?: (props: {}) => any;
20
+ };
@@ -0,0 +1,26 @@
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: string, ...args: any[]) => void;
8
+ $props: {
9
+ readonly [x: string]: any;
10
+ readonly [x: number]: any;
11
+ readonly [x: symbol]: any;
12
+ };
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
+ type __VLS_Slots = {
15
+ [x: string]: (props: {
16
+ action: any;
17
+ size: any;
18
+ onClick: () => void;
19
+ }) => any;
20
+ 'search-bar'?: (props: {
21
+ size: any;
22
+ }) => any;
23
+ default?: (props: {
24
+ size: any;
25
+ }) => any;
26
+ };
@@ -0,0 +1,9 @@
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<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ type __VLS_Slots = {
8
+ default?: (props: {}) => any;
9
+ };
@@ -0,0 +1,11 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ darkMode: boolean;
3
+ apps: unknown[];
4
+ currentApp?: string;
5
+ $props: {
6
+ readonly darkMode?: boolean;
7
+ readonly apps?: unknown[];
8
+ readonly currentApp?: string;
9
+ };
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ export default _default;
@@ -0,0 +1,32 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ user: {
3
+ type: ObjectConstructor;
4
+ default: () => {};
5
+ };
6
+ buildInfo: {
7
+ type: ObjectConstructor;
8
+ };
9
+ }>, {}, {
10
+ isOpened: boolean;
11
+ }, {
12
+ isHeader(): boolean;
13
+ isFooter(): Record<string, any>;
14
+ userName(): any;
15
+ userAccount(): any;
16
+ buildVersion(): string;
17
+ }, {
18
+ settings(): void;
19
+ logout(): void;
20
+ close(): void;
21
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ user: {
23
+ type: ObjectConstructor;
24
+ default: () => {};
25
+ };
26
+ buildInfo: {
27
+ type: ObjectConstructor;
28
+ };
29
+ }>> & Readonly<{}>, {
30
+ user: Record<string, any>;
31
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
+ export default _default;
@@ -0,0 +1,15 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ size: string;
3
+ badge: boolean;
4
+ status?: string;
5
+ src?: string;
6
+ username?: string;
7
+ $props: {
8
+ readonly size?: string;
9
+ readonly badge?: boolean;
10
+ readonly status?: string;
11
+ readonly src?: string;
12
+ readonly username?: string;
13
+ };
14
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ export default _default;
@@ -0,0 +1,43 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ colorVariable: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ description: string;
6
+ };
7
+ outside: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ iconBadge: {
12
+ type: StringConstructor;
13
+ };
14
+ hidden: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ }>, {}, {}, {
19
+ iconBadgePic(): any;
20
+ hasSlot(): boolean;
21
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ colorVariable: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ description: string;
26
+ };
27
+ outside: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ iconBadge: {
32
+ type: StringConstructor;
33
+ };
34
+ hidden: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ }>> & Readonly<{}>, {
39
+ hidden: boolean;
40
+ colorVariable: string;
41
+ outside: boolean;
42
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
43
+ export default _default;
@@ -0,0 +1,113 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ /**
3
+ * @values 'primary', 'secondary', 'success', 'error', 'transfer', 'job', 'info'
4
+ * @example <wt-button color="success"></wt-button>
5
+ */
6
+ color: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ disabled: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ loading: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ /**
19
+ * @values 'sm', 'md'
20
+ * @example <wt-button size="sm"></wt-button>
21
+ */
22
+ size: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ options: string[];
26
+ };
27
+ /**
28
+ * Stretches button to all available width
29
+ */
30
+ wide: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ /**
35
+ * Shrinks button to content width
36
+ */
37
+ widthByContent: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ /**
42
+ * sets wt-button line-height to 0 to prevent height changing: [stack overflow](https://stackoverflow.com/a/11126701)
43
+ */
44
+ containsIcon: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ description: string;
48
+ };
49
+ }>, {}, {
50
+ showLoader: boolean;
51
+ }, {
52
+ colorClass(): string;
53
+ loaderColor(): "on-dark";
54
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
55
+ /**
56
+ * @values 'primary', 'secondary', 'success', 'error', 'transfer', 'job', 'info'
57
+ * @example <wt-button color="success"></wt-button>
58
+ */
59
+ color: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ disabled: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ loading: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ /**
72
+ * @values 'sm', 'md'
73
+ * @example <wt-button size="sm"></wt-button>
74
+ */
75
+ size: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ options: string[];
79
+ };
80
+ /**
81
+ * Stretches button to all available width
82
+ */
83
+ wide: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ /**
88
+ * Shrinks button to content width
89
+ */
90
+ widthByContent: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
94
+ /**
95
+ * sets wt-button line-height to 0 to prevent height changing: [stack overflow](https://stackoverflow.com/a/11126701)
96
+ */
97
+ containsIcon: {
98
+ type: BooleanConstructor;
99
+ default: boolean;
100
+ description: string;
101
+ };
102
+ }>> & Readonly<{
103
+ onClick?: (...args: any[]) => any;
104
+ }>, {
105
+ size: string;
106
+ disabled: boolean;
107
+ color: string;
108
+ wide: boolean;
109
+ loading: boolean;
110
+ widthByContent: boolean;
111
+ containsIcon: boolean;
112
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
113
+ export default _default;