@webitel/ui-sdk 26.6.13 → 26.6.14
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/{contacts-BaxyRLLM.js → contacts-Bn25LSM7.js} +2 -2
- package/dist/{index-CigyElUb.js → index-CIA7dKZk.js} +1 -1
- package/dist/{index-DApIkp62.js → index-DEyszQsx.js} +1 -1
- package/dist/{install-DawOaJvS.js → install-BLruag0s.js} +14002 -12926
- package/dist/{isObject-CYCEPn3N.js → isObject-wgGRYtgO.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +565 -279
- package/dist/{useVidstackSrc-DyrOa4mk.js → useVidstackSrc-BBi5oq8T.js} +1 -1
- package/dist/{vidstack-Bq6c3Bam-CAY97-jZ.js → vidstack-Bq6c3Bam-DXIHaRU6.js} +3 -3
- package/dist/{vidstack-D2pY00kU-CueRPheM.js → vidstack-D2pY00kU-BE_AqirM.js} +3 -3
- package/dist/{vidstack-DDXt6fpN-BRLi6AkS.js → vidstack-DDXt6fpN-D3xykUxG.js} +2 -2
- package/dist/{vidstack-D_-9AA6_-Dc5WN-OL.js → vidstack-D_-9AA6_-BDS42mA3.js} +2 -2
- package/dist/{vidstack-DqAw8m9J-D32aS290.js → vidstack-DqAw8m9J-DtFh5mkx.js} +1 -1
- package/dist/{vidstack-audio-BbddnRPa.js → vidstack-audio-BwtaRJRZ.js} +2 -2
- package/dist/{vidstack-dash-BNYPf-SD.js → vidstack-dash-CT0qNTAI.js} +4 -4
- package/dist/{vidstack-google-cast-f5Q76VEc.js → vidstack-google-cast-C4kSroiv.js} +4 -4
- package/dist/{vidstack-hls-hJ9GD_pP.js → vidstack-hls-CtCsnt_W.js} +4 -4
- package/dist/{vidstack-video-qY9NJ4Rl.js → vidstack-video-Bzwbx0RC.js} +3 -3
- package/dist/{vidstack-vimeo-Dcb0hTaj.js → vidstack-vimeo-CjK5ElAg.js} +4 -4
- package/dist/{vidstack-youtube-B29lleYJ.js → vidstack-youtube-C9_vpuPD.js} +3 -3
- package/dist/{wt-action-bar-ChN3mio6.js → wt-action-bar-Bc_GH6kU.js} +1 -1
- package/dist/{wt-button-select-KD0cPK4H.js → wt-button-select-Cc9o-NiI.js} +1 -1
- package/dist/{wt-call-media-action-BvM04q4r.js → wt-call-media-action-sWq9pI2N.js} +1 -1
- package/dist/wt-chat-emoji-Cl3YsoL-.js +2909 -0
- package/dist/{wt-confirm-dialog-DMquYnrJ.js → wt-confirm-dialog-yyIkkLwI.js} +1 -1
- package/dist/{wt-context-menu-ToE9-ffe.js → wt-context-menu-6WwSx8qR.js} +1 -1
- package/dist/{wt-copy-action-Bylf142B.js → wt-copy-action-Ea6x__OX.js} +1 -1
- package/dist/{wt-datepicker-BV7rf6Wk.js → wt-datepicker-Bi8iXDQC.js} +1 -1
- package/dist/{wt-display-chip-items-CXv8kX5b.js → wt-display-chip-items-CyshgAI0.js} +11 -11
- package/dist/{wt-dual-panel-Jmj4ip6N.js → wt-dual-panel-C3lUe446.js} +1 -1
- package/dist/{wt-dummy-BxEArso4.js → wt-dummy-07cnh7OP.js} +1 -1
- package/dist/{wt-error-page-rcqO8ZX0.js → wt-error-page-P4gAwDj2.js} +1 -1
- package/dist/{wt-expansion-card-By036A5Q.js → wt-expansion-card-DsLok2qe.js} +5 -5
- package/dist/{wt-expansion-panel-BFYozFsJ.js → wt-expansion-panel-BLgze326.js} +9 -9
- package/dist/{wt-filters-panel-wrapper-C49nxd6Z.js → wt-filters-panel-wrapper-BI7tOtsM.js} +1 -1
- package/dist/{wt-galleria-72LEmzfX.js → wt-galleria-DjUSBG29.js} +1 -1
- package/dist/{wt-inline-add-panel-CL0aM32a.js → wt-inline-add-panel-Bg32h70I.js} +1 -1
- package/dist/{wt-navigation-menu-B87j3Gxu.js → wt-navigation-menu-BhoGF372.js} +1 -1
- package/dist/{wt-notifications-bar-DJ7zMmH9.js → wt-notifications-bar-o6ePcWRj.js} +2 -2
- package/dist/{wt-pagination-D1kszR59.js → wt-pagination-DXVZMbtn.js} +1 -1
- package/dist/{wt-player-1VkST0ny.js → wt-player-Dv6UMcr3.js} +2 -2
- package/dist/{wt-screen-recordings-action-Boy3xJvB.js → wt-screen-recordings-action-BjIRc7t6.js} +1 -1
- package/dist/{wt-search-bar-D1qU-jDZ.js → wt-search-bar-CiyJ55hK.js} +1 -1
- package/dist/{wt-selection-popup-Bwa7CJym.js → wt-selection-popup-DLkerKfA.js} +1 -1
- package/dist/{wt-send-message-popup-1NrObXfW.js → wt-send-message-popup-CjfsCxfI.js} +18 -18
- package/dist/{wt-start-page-D3XXOoLT.js → wt-start-page-C-3-3fZc.js} +1 -1
- package/dist/{wt-status-select-BOPkG0nj.js → wt-status-select-CiKHudco.js} +1 -1
- package/dist/{wt-stepper-2TcrBla0.js → wt-stepper-CvqNjYsK.js} +1 -1
- package/dist/{wt-table-DpasMSII.js → wt-table-CBRWEe6H.js} +2 -2
- package/dist/{wt-table-actions-CQ67TwoU.js → wt-table-actions-ByAbJLsX.js} +1 -1
- package/dist/{wt-table-column-select-BZH5aqRk.js → wt-table-column-select-BsRkHmev.js} +2 -2
- package/dist/{wt-tabs-DOiZ6vld.js → wt-tabs-CtNBd15N.js} +1 -1
- package/dist/{wt-tags-input-DrP4EVai.js → wt-tags-input-DD9rSzuh.js} +2 -2
- package/dist/{wt-timepicker-CenAtHJ9.js → wt-timepicker-Cka-r9m0.js} +1 -1
- package/dist/{wt-tree-vAsblHJz.js → wt-tree-sZocE-Ui.js} +2 -2
- package/dist/{wt-tree-table-Bu35HIvM.js → wt-tree-table-D8JL2d1D.js} +2 -2
- package/dist/{wt-type-extension-value-input-B6k7nGgn.js → wt-type-extension-value-input-C1Ez10TA.js} +3 -3
- package/dist/{wt-vidstack-player-NmB4VBNR.js → wt-vidstack-player-Bv44QAeW.js} +10 -10
- package/package.json +1 -1
- package/src/components/_internals/composables/index.ts +7 -0
- package/src/components/_internals/composables/useSelect/useSelect.ts +101 -0
- package/src/components/_internals/composables/useSelect/useSelectCustomValues.ts +89 -0
- package/src/components/_internals/composables/useSelect/useSelectDropdown.ts +93 -0
- package/src/components/_internals/composables/useSelect/useSelectOptions.ts +198 -0
- package/src/components/_internals/composables/useSelect/useSelectUtils.ts +32 -0
- package/src/{composables → components/_internals/composables}/useWtTable/useWtTable.ts +1 -1
- package/src/components/index.js +6 -0
- package/src/components/wt-chip/wt-chip.vue +11 -2
- package/src/components/wt-expansion-card/wt-expansion-card.vue +1 -1
- package/src/components/wt-expansion-panel/wt-expansion-panel.vue +1 -1
- package/src/components/wt-galleria/wt-galleria.vue +4 -2
- package/src/components/wt-input-number/wt-input-number.vue +1 -2
- package/src/components/wt-input-text/wt-input-text.vue +3 -2
- package/src/components/wt-multi-select/wt-multi-select.vue +254 -0
- package/src/components/wt-password/wt-password.vue +1 -2
- package/src/components/wt-single-select/wt-single-select.vue +229 -0
- package/src/components/wt-table/wt-table.vue +1 -2
- package/src/components/wt-tree-table/wt-tree-table.vue +1 -2
- package/src/composables/index.ts +0 -6
- package/src/locale/en/en.js +3 -0
- package/src/locale/es/es.js +3 -0
- package/src/locale/kz/kz.js +3 -0
- package/src/locale/pl/pl.js +3 -0
- package/src/locale/ro/ro.js +3 -0
- package/src/locale/ru/ru.js +3 -0
- package/src/locale/uk/uk.js +3 -0
- package/src/locale/uz/uz.js +3 -0
- package/src/locale/vi/vi.js +3 -0
- package/src/plugins/primevue/primevue.plugin.js +4 -0
- package/src/plugins/primevue/theme/components/checkbox/checkbox.js +1 -1
- package/src/plugins/primevue/theme/components/components.js +4 -0
- package/src/plugins/primevue/theme/components/multi-select/multi-select.js +32 -0
- package/src/plugins/primevue/theme/components/single-select/single-select.js +24 -0
- package/types/components/_internals/composables/index.d.ts +7 -0
- package/types/components/_internals/composables/useSelect/useSelect.d.ts +29 -0
- package/types/components/_internals/composables/useSelect/useSelectCustomValues.d.ts +16 -0
- package/types/components/_internals/composables/useSelect/useSelectDropdown.d.ts +20 -0
- package/types/components/_internals/composables/useSelect/useSelectOptions.d.ts +20 -0
- package/types/components/_internals/composables/useSelect/useSelectUtils.d.ts +3 -0
- package/types/{composables → components/_internals/composables}/useWtTable/useWtTable.d.ts +0 -1
- package/types/components/wt-chip/wt-chip.vue.d.ts +5 -1
- package/types/components/wt-multi-select/wt-multi-select.vue.d.ts +82 -0
- package/types/components/wt-select/wt-select.vue.d.ts +1 -1
- package/types/components/wt-single-select/wt-single-select.vue.d.ts +83 -0
- package/types/components/wt-table/wt-table.vue.d.ts +1 -1
- package/types/components/wt-tree-table/wt-tree-table.vue.d.ts +1 -1
- package/types/composables/index.d.ts +0 -6
- package/types/locale/en/en.d.ts +3 -0
- package/types/locale/es/es.d.ts +3 -0
- package/types/locale/i18n.d.ts +27 -0
- package/types/locale/index.d.ts +27 -0
- package/types/locale/kz/kz.d.ts +3 -0
- package/types/locale/pl/pl.d.ts +3 -0
- package/types/locale/ro/ro.d.ts +3 -0
- package/types/locale/ru/ru.d.ts +3 -0
- package/types/locale/uk/uk.d.ts +3 -0
- package/types/locale/uz/uz.d.ts +3 -0
- package/types/locale/vi/vi.d.ts +3 -0
- package/types/plugins/primevue/theme/components/components.d.ts +4 -0
- package/types/plugins/primevue/theme/components/multi-select/multi-select.d.ts +151 -0
- package/types/plugins/primevue/theme/components/single-select/single-select.d.ts +157 -0
- package/dist/wt-chat-emoji-0UBEtnmy.js +0 -2429
- package/src/components/wt-select/wt-select-v2.vue +0 -244
- package/types/components/wt-select/wt-select-v2.vue.d.ts +0 -77
- /package/src/{composables → components/_internals/composables}/useExpansion/useExpansion.ts +0 -0
- /package/src/{composables → components/_internals/composables}/useGalleriaFullscreen/useGalleriaFullscreen.ts +0 -0
- /package/src/{composables → components/_internals/composables}/useGalleriaMaskClick/useGalleriaMaskClick.ts +0 -0
- /package/src/{composables → components/_internals/composables}/useInputControl/useInputControl.ts +0 -0
- /package/src/{composables → components/_internals/composables}/useTableColumnDrag/useTableColumnDrag.ts +0 -0
- /package/types/{composables → components/_internals/composables}/useExpansion/useExpansion.d.ts +0 -0
- /package/types/{composables → components/_internals/composables}/useGalleriaFullscreen/useGalleriaFullscreen.d.ts +0 -0
- /package/types/{composables → components/_internals/composables}/useGalleriaMaskClick/useGalleriaMaskClick.d.ts +0 -0
- /package/types/{composables → components/_internals/composables}/useInputControl/useInputControl.d.ts +0 -0
- /package/types/{composables → components/_internals/composables}/useTableColumnDrag/useTableColumnDrag.d.ts +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { MultiSelectScheme } from '@webitel/styleguide/component-schemes';
|
|
2
|
+
|
|
3
|
+
const multiSelect = {
|
|
4
|
+
...MultiSelectScheme.sizes,
|
|
5
|
+
colorScheme: MultiSelectScheme.colorScheme,
|
|
6
|
+
|
|
7
|
+
css: ({ dt }) => `
|
|
8
|
+
/* @author @HlukhovYe
|
|
9
|
+
https://github.com/primefaces/primevue/issues/7820#issuecomment-3436544795
|
|
10
|
+
only possible way to make dropdown width as select's
|
|
11
|
+
*/
|
|
12
|
+
.p-multiselect-overlay {
|
|
13
|
+
width: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-multiselect-option span {
|
|
17
|
+
min-width: 0;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
text-overflow: ellipsis;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.p-multiselect-label:has(.p-chip) {
|
|
23
|
+
padding: ${dt('multiselect.paddingY')} ${dt('multiselect.paddingX')};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-multiselect-chip-item {
|
|
27
|
+
display: flex;
|
|
28
|
+
}
|
|
29
|
+
`,
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export default multiSelect;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SingleSelectScheme } from '@webitel/styleguide/component-schemes';
|
|
2
|
+
|
|
3
|
+
const singleSelect = {
|
|
4
|
+
...SingleSelectScheme.sizes,
|
|
5
|
+
colorScheme: SingleSelectScheme.colorScheme,
|
|
6
|
+
|
|
7
|
+
css: ({ dt }) => `
|
|
8
|
+
/* @author @HlukhovYe
|
|
9
|
+
https://github.com/primefaces/primevue/issues/7820#issuecomment-3436544795
|
|
10
|
+
only possible way to make dropdown width as select's
|
|
11
|
+
*/
|
|
12
|
+
.p-select-overlay {
|
|
13
|
+
width: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-select-option-label {
|
|
17
|
+
min-width: 0;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
text-overflow: ellipsis;
|
|
20
|
+
}
|
|
21
|
+
`,
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export default singleSelect;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './useExpansion/useExpansion';
|
|
2
|
+
export * from './useGalleriaFullscreen/useGalleriaFullscreen';
|
|
3
|
+
export * from './useGalleriaMaskClick/useGalleriaMaskClick';
|
|
4
|
+
export * from './useInputControl/useInputControl';
|
|
5
|
+
export * from './useSelect/useSelect';
|
|
6
|
+
export * from './useTableColumnDrag/useTableColumnDrag';
|
|
7
|
+
export * from './useWtTable/useWtTable';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const useSelect: ({ selected, options, optionLabel, optionValue, dataKey, allowCustomValues, manualCustomValues, filterInput, selectRef, searchMethod, selectId, isSingle, emit, }: {
|
|
2
|
+
selected: any;
|
|
3
|
+
options: any;
|
|
4
|
+
optionLabel: any;
|
|
5
|
+
optionValue: any;
|
|
6
|
+
dataKey: any;
|
|
7
|
+
allowCustomValues: any;
|
|
8
|
+
manualCustomValues?: boolean;
|
|
9
|
+
filterInput: any;
|
|
10
|
+
selectRef: any;
|
|
11
|
+
searchMethod: any;
|
|
12
|
+
selectId: any;
|
|
13
|
+
isSingle: any;
|
|
14
|
+
emit?: () => void;
|
|
15
|
+
}) => {
|
|
16
|
+
isLoading: import("vue").Ref<boolean, boolean>;
|
|
17
|
+
isDropdownOpen: import("vue").Ref<boolean, boolean>;
|
|
18
|
+
filterText: import("vue").Ref<string, string>;
|
|
19
|
+
filteredOptions: import("vue").Ref<any, any>;
|
|
20
|
+
getOptionLabel: (option: any) => any;
|
|
21
|
+
fetchOptions: () => Promise<void>;
|
|
22
|
+
filterOptions: (value: any) => void;
|
|
23
|
+
onDropdownBeforeShow: () => void;
|
|
24
|
+
onDropdownBeforeHide: () => void;
|
|
25
|
+
onDropdownShow: () => void;
|
|
26
|
+
onDropdownHide: () => void;
|
|
27
|
+
onInputKeydown: () => void;
|
|
28
|
+
clearValue: () => void;
|
|
29
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const useSelectCustomValues: ({ selected, filteredOptions, options, dataKey, filterText, filterOptions, updateSelectedOptionsCache, selectRef, allowCustomValues, manualCustomValues, isSingle, emit, }: {
|
|
2
|
+
selected: any;
|
|
3
|
+
filteredOptions: any;
|
|
4
|
+
options: any;
|
|
5
|
+
dataKey: any;
|
|
6
|
+
filterText: any;
|
|
7
|
+
filterOptions: any;
|
|
8
|
+
updateSelectedOptionsCache: any;
|
|
9
|
+
selectRef: any;
|
|
10
|
+
allowCustomValues: any;
|
|
11
|
+
manualCustomValues: any;
|
|
12
|
+
isSingle: any;
|
|
13
|
+
emit: any;
|
|
14
|
+
}) => {
|
|
15
|
+
onInputKeydown: () => void;
|
|
16
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const useSelectDropdown: ({ selectId, selectRef, filterInput, searchMethod, filteredOptions, filterText, filterOptions, resetAndFetch, sortOptions, fetchOptions, isLoading, searchHasNext, }: {
|
|
2
|
+
selectId: any;
|
|
3
|
+
selectRef: any;
|
|
4
|
+
filterInput: any;
|
|
5
|
+
searchMethod: any;
|
|
6
|
+
filteredOptions: any;
|
|
7
|
+
filterText: any;
|
|
8
|
+
filterOptions: any;
|
|
9
|
+
resetAndFetch: any;
|
|
10
|
+
sortOptions: any;
|
|
11
|
+
fetchOptions: any;
|
|
12
|
+
isLoading: any;
|
|
13
|
+
searchHasNext: any;
|
|
14
|
+
}) => {
|
|
15
|
+
isDropdownOpen: import("vue").Ref<boolean, boolean>;
|
|
16
|
+
onDropdownBeforeShow: () => void;
|
|
17
|
+
onDropdownBeforeHide: () => void;
|
|
18
|
+
onDropdownShow: () => void;
|
|
19
|
+
onDropdownHide: () => void;
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const useSelectOptions: ({ selected, options, optionLabel, optionValue, dataKey, allowCustomValues, searchMethod, }: {
|
|
2
|
+
selected: any;
|
|
3
|
+
options: any;
|
|
4
|
+
optionLabel: any;
|
|
5
|
+
optionValue: any;
|
|
6
|
+
dataKey: any;
|
|
7
|
+
allowCustomValues: any;
|
|
8
|
+
searchMethod: any;
|
|
9
|
+
}) => {
|
|
10
|
+
filterText: import("vue").Ref<string, string>;
|
|
11
|
+
filteredOptions: import("vue").Ref<any, any>;
|
|
12
|
+
isLoading: import("vue").Ref<boolean, boolean>;
|
|
13
|
+
searchHasNext: import("vue").Ref<boolean, boolean>;
|
|
14
|
+
sortOptions: (opts: any) => any[];
|
|
15
|
+
getOptionLabel: (option: any) => any;
|
|
16
|
+
fetchOptions: () => Promise<void>;
|
|
17
|
+
resetAndFetch: (search?: string) => void;
|
|
18
|
+
filterOptions: (value: any) => void;
|
|
19
|
+
updateSelectedOptionsCache: () => void;
|
|
20
|
+
};
|
|
@@ -19,7 +19,11 @@ declare var __VLS_8: {};
|
|
|
19
19
|
type __VLS_Slots = {} & {
|
|
20
20
|
default?: (props: typeof __VLS_8) => any;
|
|
21
21
|
};
|
|
22
|
-
declare const __VLS_base: import("vue").DefineComponent<WtProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<WtProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
remove: () => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<WtProps> & Readonly<{
|
|
25
|
+
onRemove?: () => any;
|
|
26
|
+
}>, {
|
|
23
27
|
color: ChipColor;
|
|
24
28
|
removable: boolean;
|
|
25
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { SelectProps } from 'primevue';
|
|
2
|
+
interface Props extends SelectProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* true disables all options but keeps dropdown visible
|
|
9
|
+
*/
|
|
10
|
+
disabledOptions?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* false disables options search
|
|
13
|
+
*/
|
|
14
|
+
filterable?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* true shows the clear button
|
|
17
|
+
*/
|
|
18
|
+
showClear?: boolean;
|
|
19
|
+
options?: unknown[];
|
|
20
|
+
optionLabel?: string;
|
|
21
|
+
optionValue?: string;
|
|
22
|
+
/**
|
|
23
|
+
* A property to uniquely identify an option.
|
|
24
|
+
*/
|
|
25
|
+
dataKey?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Function that returns filtered options for server-side search
|
|
28
|
+
*/
|
|
29
|
+
searchMethod?: () => void;
|
|
30
|
+
/**
|
|
31
|
+
* true allows adding custom values through the filter input
|
|
32
|
+
*/
|
|
33
|
+
allowCustomValues?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* true emits custom values through the filter input instead of adding them automatically
|
|
36
|
+
*/
|
|
37
|
+
manualCustomValues?: boolean;
|
|
38
|
+
chipsView?: boolean;
|
|
39
|
+
labelProps?: object;
|
|
40
|
+
v?: Record<string, unknown>;
|
|
41
|
+
regleValidation?: RegleFieldStatus<string>;
|
|
42
|
+
customValidators?: unknown[];
|
|
43
|
+
}
|
|
44
|
+
type __VLS_Props = Props;
|
|
45
|
+
declare const __VLS_defaultModels: {
|
|
46
|
+
modelValue: any[];
|
|
47
|
+
};
|
|
48
|
+
type __VLS_ModelProps = {
|
|
49
|
+
modelValue?: typeof __VLS_defaultModels['modelValue'];
|
|
50
|
+
};
|
|
51
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
52
|
+
declare var __VLS_7: {
|
|
53
|
+
label: string;
|
|
54
|
+
};
|
|
55
|
+
type __VLS_Slots = {} & {
|
|
56
|
+
label?: (props: typeof __VLS_7) => any;
|
|
57
|
+
};
|
|
58
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
59
|
+
reset: () => any;
|
|
60
|
+
"update:modelValue": (value: any[]) => any;
|
|
61
|
+
"add:custom-value": (value: string) => any;
|
|
62
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
63
|
+
onReset?: () => any;
|
|
64
|
+
"onUpdate:modelValue"?: (value: any[]) => any;
|
|
65
|
+
"onAdd:custom-value"?: (value: string) => any;
|
|
66
|
+
}>, {
|
|
67
|
+
options: unknown[];
|
|
68
|
+
customValidators: unknown[];
|
|
69
|
+
dataKey: string;
|
|
70
|
+
optionLabel: string;
|
|
71
|
+
labelProps: object;
|
|
72
|
+
showClear: boolean;
|
|
73
|
+
filterable: boolean;
|
|
74
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
75
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
76
|
+
declare const _default: typeof __VLS_export;
|
|
77
|
+
export default _default;
|
|
78
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
79
|
+
new (): {
|
|
80
|
+
$slots: S;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
@@ -222,8 +222,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
222
222
|
}>, {
|
|
223
223
|
v: Record<string, any>;
|
|
224
224
|
regleValidation: Record<string, any>;
|
|
225
|
-
multiple: boolean;
|
|
226
225
|
allowCustomValues: boolean;
|
|
226
|
+
multiple: boolean;
|
|
227
227
|
clearable: boolean;
|
|
228
228
|
handleCustomValuesAdditionManually: boolean;
|
|
229
229
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { SelectProps } from 'primevue';
|
|
2
|
+
interface Props extends SelectProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* true disables all options but keeps dropdown visible
|
|
9
|
+
*/
|
|
10
|
+
disabledOptions?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* false disables options search
|
|
13
|
+
*/
|
|
14
|
+
filterable?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* true shows the clear button
|
|
17
|
+
*/
|
|
18
|
+
showClear?: boolean;
|
|
19
|
+
options?: unknown[];
|
|
20
|
+
optionLabel?: string;
|
|
21
|
+
optionValue?: string;
|
|
22
|
+
/**
|
|
23
|
+
* A property to uniquely identify an option.
|
|
24
|
+
*/
|
|
25
|
+
dataKey?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Function that returns filtered options for server-side search
|
|
28
|
+
*/
|
|
29
|
+
searchMethod?: () => void;
|
|
30
|
+
/**
|
|
31
|
+
* true allows adding custom values through the filter input
|
|
32
|
+
*/
|
|
33
|
+
allowCustomValues?: boolean;
|
|
34
|
+
labelProps?: object;
|
|
35
|
+
v?: Record<string, unknown>;
|
|
36
|
+
regleValidation?: RegleFieldStatus<string>;
|
|
37
|
+
customValidators?: unknown[];
|
|
38
|
+
}
|
|
39
|
+
type __VLS_Props = Props;
|
|
40
|
+
type __VLS_ModelProps = {
|
|
41
|
+
modelValue?: string;
|
|
42
|
+
};
|
|
43
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
44
|
+
declare var __VLS_7: {
|
|
45
|
+
label: any;
|
|
46
|
+
}, __VLS_46: {
|
|
47
|
+
value: any;
|
|
48
|
+
getOptionLabel: any;
|
|
49
|
+
placeholder: any;
|
|
50
|
+
}, __VLS_49: {
|
|
51
|
+
option: any;
|
|
52
|
+
getOptionLabel: any;
|
|
53
|
+
};
|
|
54
|
+
type __VLS_Slots = {} & {
|
|
55
|
+
label?: (props: typeof __VLS_7) => any;
|
|
56
|
+
} & {
|
|
57
|
+
value?: (props: typeof __VLS_46) => any;
|
|
58
|
+
} & {
|
|
59
|
+
option?: (props: typeof __VLS_49) => any;
|
|
60
|
+
};
|
|
61
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
62
|
+
reset: () => any;
|
|
63
|
+
"update:modelValue": (value: string) => any;
|
|
64
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
65
|
+
onReset?: () => any;
|
|
66
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
67
|
+
}>, {
|
|
68
|
+
options: unknown[];
|
|
69
|
+
customValidators: unknown[];
|
|
70
|
+
dataKey: string;
|
|
71
|
+
optionLabel: string;
|
|
72
|
+
labelProps: object;
|
|
73
|
+
showClear: boolean;
|
|
74
|
+
filterable: boolean;
|
|
75
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
76
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
77
|
+
declare const _default: typeof __VLS_export;
|
|
78
|
+
export default _default;
|
|
79
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
80
|
+
new (): {
|
|
81
|
+
$slots: S;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
@@ -104,13 +104,13 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
|
|
|
104
104
|
}>, {
|
|
105
105
|
headers: WtTableHeader[];
|
|
106
106
|
data: Array<unknown>;
|
|
107
|
+
dataKey: string;
|
|
107
108
|
sortable: boolean;
|
|
108
109
|
selectable: boolean;
|
|
109
110
|
gridActions: boolean;
|
|
110
111
|
fixedActions: boolean;
|
|
111
112
|
headless: boolean;
|
|
112
113
|
rowReorder: boolean;
|
|
113
|
-
dataKey: string;
|
|
114
114
|
isRowReorderDisabled: (row: any) => boolean;
|
|
115
115
|
rowExpansion: boolean;
|
|
116
116
|
rowClass: () => string;
|
|
@@ -4,11 +4,5 @@ export * from './useCard/useCardComponent';
|
|
|
4
4
|
export * from './useCard/useCardTabs';
|
|
5
5
|
export * from './useClose/useClose';
|
|
6
6
|
export * from './useDestroyableSortable/useDestroyableSortable';
|
|
7
|
-
export * from './useExpansion/useExpansion';
|
|
8
|
-
export * from './useGalleriaFullscreen/useGalleriaFullscreen';
|
|
9
|
-
export * from './useGalleriaMaskClick/useGalleriaMaskClick';
|
|
10
|
-
export * from './useInputControl/useInputControl';
|
|
11
7
|
export * from './useRepresentableAgentPauseCause/useRepresentableAgentPauseCause';
|
|
12
|
-
export * from './useTableColumnDrag/useTableColumnDrag';
|
|
13
8
|
export * from './useValidate/useValidate';
|
|
14
|
-
export * from './useWtTable/useWtTable';
|
package/types/locale/en/en.d.ts
CHANGED
package/types/locale/es/es.d.ts
CHANGED
|
@@ -902,6 +902,9 @@ declare namespace _default {
|
|
|
902
902
|
}
|
|
903
903
|
export { filters_1 as filters };
|
|
904
904
|
}
|
|
905
|
+
export namespace select {
|
|
906
|
+
let selectedItemsLabel: string;
|
|
907
|
+
}
|
|
905
908
|
export namespace systemNotifications {
|
|
906
909
|
export namespace success_1 {
|
|
907
910
|
export function update_2({ named }: {
|
package/types/locale/i18n.d.ts
CHANGED
|
@@ -789,6 +789,9 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
789
789
|
};
|
|
790
790
|
};
|
|
791
791
|
};
|
|
792
|
+
select: {
|
|
793
|
+
selectedItemsLabel: string;
|
|
794
|
+
};
|
|
792
795
|
};
|
|
793
796
|
systemNotifications: {
|
|
794
797
|
success: {
|
|
@@ -1620,6 +1623,9 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
1620
1623
|
};
|
|
1621
1624
|
};
|
|
1622
1625
|
};
|
|
1626
|
+
select: {
|
|
1627
|
+
selectedItemsLabel: string;
|
|
1628
|
+
};
|
|
1623
1629
|
systemNotifications: {
|
|
1624
1630
|
success: {
|
|
1625
1631
|
update: ({ named }: {
|
|
@@ -2434,6 +2440,9 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
2434
2440
|
};
|
|
2435
2441
|
};
|
|
2436
2442
|
};
|
|
2443
|
+
select: {
|
|
2444
|
+
selectedItemsLabel: string;
|
|
2445
|
+
};
|
|
2437
2446
|
systemNotifications: {
|
|
2438
2447
|
success: {
|
|
2439
2448
|
update: ({ named }: {
|
|
@@ -3250,6 +3259,9 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
3250
3259
|
};
|
|
3251
3260
|
};
|
|
3252
3261
|
};
|
|
3262
|
+
select: {
|
|
3263
|
+
selectedItemsLabel: string;
|
|
3264
|
+
};
|
|
3253
3265
|
systemNotifications: {
|
|
3254
3266
|
success: {
|
|
3255
3267
|
update: ({ named }: {
|
|
@@ -4064,6 +4076,9 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
4064
4076
|
};
|
|
4065
4077
|
};
|
|
4066
4078
|
};
|
|
4079
|
+
select: {
|
|
4080
|
+
selectedItemsLabel: string;
|
|
4081
|
+
};
|
|
4067
4082
|
systemNotifications: {
|
|
4068
4083
|
success: {
|
|
4069
4084
|
update: ({ named }: {
|
|
@@ -4880,6 +4895,9 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
4880
4895
|
};
|
|
4881
4896
|
};
|
|
4882
4897
|
};
|
|
4898
|
+
select: {
|
|
4899
|
+
selectedItemsLabel: string;
|
|
4900
|
+
};
|
|
4883
4901
|
systemNotifications: {
|
|
4884
4902
|
success: {
|
|
4885
4903
|
update: ({ named }: {
|
|
@@ -5696,6 +5714,9 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
5696
5714
|
};
|
|
5697
5715
|
};
|
|
5698
5716
|
};
|
|
5717
|
+
select: {
|
|
5718
|
+
selectedItemsLabel: string;
|
|
5719
|
+
};
|
|
5699
5720
|
systemNotifications: {
|
|
5700
5721
|
success: {
|
|
5701
5722
|
update: ({ named }: {
|
|
@@ -6513,6 +6534,9 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
6513
6534
|
};
|
|
6514
6535
|
};
|
|
6515
6536
|
};
|
|
6537
|
+
select: {
|
|
6538
|
+
selectedItemsLabel: string;
|
|
6539
|
+
};
|
|
6516
6540
|
systemNotifications: {
|
|
6517
6541
|
success: {
|
|
6518
6542
|
update: ({ named }: {
|
|
@@ -7329,6 +7353,9 @@ declare const _default: import("vue-i18n").I18n<{
|
|
|
7329
7353
|
};
|
|
7330
7354
|
};
|
|
7331
7355
|
};
|
|
7356
|
+
select: {
|
|
7357
|
+
selectedItemsLabel: string;
|
|
7358
|
+
};
|
|
7332
7359
|
systemNotifications: {
|
|
7333
7360
|
success: {
|
|
7334
7361
|
update: ({ named }: {
|
package/types/locale/index.d.ts
CHANGED
|
@@ -799,6 +799,9 @@ export declare const messages: {
|
|
|
799
799
|
};
|
|
800
800
|
};
|
|
801
801
|
};
|
|
802
|
+
select: {
|
|
803
|
+
selectedItemsLabel: string;
|
|
804
|
+
};
|
|
802
805
|
};
|
|
803
806
|
systemNotifications: {
|
|
804
807
|
success: {
|
|
@@ -1630,6 +1633,9 @@ export declare const messages: {
|
|
|
1630
1633
|
};
|
|
1631
1634
|
};
|
|
1632
1635
|
};
|
|
1636
|
+
select: {
|
|
1637
|
+
selectedItemsLabel: string;
|
|
1638
|
+
};
|
|
1633
1639
|
systemNotifications: {
|
|
1634
1640
|
success: {
|
|
1635
1641
|
update: ({ named }: {
|
|
@@ -2444,6 +2450,9 @@ export declare const messages: {
|
|
|
2444
2450
|
};
|
|
2445
2451
|
};
|
|
2446
2452
|
};
|
|
2453
|
+
select: {
|
|
2454
|
+
selectedItemsLabel: string;
|
|
2455
|
+
};
|
|
2447
2456
|
systemNotifications: {
|
|
2448
2457
|
success: {
|
|
2449
2458
|
update: ({ named }: {
|
|
@@ -3260,6 +3269,9 @@ export declare const messages: {
|
|
|
3260
3269
|
};
|
|
3261
3270
|
};
|
|
3262
3271
|
};
|
|
3272
|
+
select: {
|
|
3273
|
+
selectedItemsLabel: string;
|
|
3274
|
+
};
|
|
3263
3275
|
systemNotifications: {
|
|
3264
3276
|
success: {
|
|
3265
3277
|
update: ({ named }: {
|
|
@@ -4074,6 +4086,9 @@ export declare const messages: {
|
|
|
4074
4086
|
};
|
|
4075
4087
|
};
|
|
4076
4088
|
};
|
|
4089
|
+
select: {
|
|
4090
|
+
selectedItemsLabel: string;
|
|
4091
|
+
};
|
|
4077
4092
|
systemNotifications: {
|
|
4078
4093
|
success: {
|
|
4079
4094
|
update: ({ named }: {
|
|
@@ -4890,6 +4905,9 @@ export declare const messages: {
|
|
|
4890
4905
|
};
|
|
4891
4906
|
};
|
|
4892
4907
|
};
|
|
4908
|
+
select: {
|
|
4909
|
+
selectedItemsLabel: string;
|
|
4910
|
+
};
|
|
4893
4911
|
systemNotifications: {
|
|
4894
4912
|
success: {
|
|
4895
4913
|
update: ({ named }: {
|
|
@@ -5706,6 +5724,9 @@ export declare const messages: {
|
|
|
5706
5724
|
};
|
|
5707
5725
|
};
|
|
5708
5726
|
};
|
|
5727
|
+
select: {
|
|
5728
|
+
selectedItemsLabel: string;
|
|
5729
|
+
};
|
|
5709
5730
|
systemNotifications: {
|
|
5710
5731
|
success: {
|
|
5711
5732
|
update: ({ named }: {
|
|
@@ -6523,6 +6544,9 @@ export declare const messages: {
|
|
|
6523
6544
|
};
|
|
6524
6545
|
};
|
|
6525
6546
|
};
|
|
6547
|
+
select: {
|
|
6548
|
+
selectedItemsLabel: string;
|
|
6549
|
+
};
|
|
6526
6550
|
systemNotifications: {
|
|
6527
6551
|
success: {
|
|
6528
6552
|
update: ({ named }: {
|
|
@@ -7339,6 +7363,9 @@ export declare const messages: {
|
|
|
7339
7363
|
};
|
|
7340
7364
|
};
|
|
7341
7365
|
};
|
|
7366
|
+
select: {
|
|
7367
|
+
selectedItemsLabel: string;
|
|
7368
|
+
};
|
|
7342
7369
|
systemNotifications: {
|
|
7343
7370
|
success: {
|
|
7344
7371
|
update: ({ named }: {
|
package/types/locale/kz/kz.d.ts
CHANGED
|
@@ -902,6 +902,9 @@ declare namespace _default {
|
|
|
902
902
|
}
|
|
903
903
|
export { filters_1 as filters };
|
|
904
904
|
}
|
|
905
|
+
export namespace select {
|
|
906
|
+
let selectedItemsLabel: string;
|
|
907
|
+
}
|
|
905
908
|
export namespace systemNotifications {
|
|
906
909
|
export namespace success_1 {
|
|
907
910
|
export function update_2({ named }: {
|
package/types/locale/pl/pl.d.ts
CHANGED
|
@@ -902,6 +902,9 @@ declare namespace _default {
|
|
|
902
902
|
}
|
|
903
903
|
export { filters_1 as filters };
|
|
904
904
|
}
|
|
905
|
+
export namespace select {
|
|
906
|
+
let selectedItemsLabel: string;
|
|
907
|
+
}
|
|
905
908
|
export namespace systemNotifications {
|
|
906
909
|
export namespace success_1 {
|
|
907
910
|
export function update_2({ named }: {
|
package/types/locale/ro/ro.d.ts
CHANGED
|
@@ -902,6 +902,9 @@ declare namespace _default {
|
|
|
902
902
|
}
|
|
903
903
|
export { filters_1 as filters };
|
|
904
904
|
}
|
|
905
|
+
export namespace select {
|
|
906
|
+
let selectedItemsLabel: string;
|
|
907
|
+
}
|
|
905
908
|
export namespace systemNotifications {
|
|
906
909
|
export namespace success_1 {
|
|
907
910
|
export function update_2({ named }: {
|
package/types/locale/ru/ru.d.ts
CHANGED
|
@@ -900,6 +900,9 @@ declare namespace _default {
|
|
|
900
900
|
}
|
|
901
901
|
export { filters_1 as filters };
|
|
902
902
|
}
|
|
903
|
+
export namespace select {
|
|
904
|
+
let selectedItemsLabel: string;
|
|
905
|
+
}
|
|
903
906
|
export namespace systemNotifications {
|
|
904
907
|
export namespace success_1 {
|
|
905
908
|
export function update_2({ named }: {
|
package/types/locale/uk/uk.d.ts
CHANGED
|
@@ -900,6 +900,9 @@ declare namespace _default {
|
|
|
900
900
|
}
|
|
901
901
|
export { filters_1 as filters };
|
|
902
902
|
}
|
|
903
|
+
export namespace select {
|
|
904
|
+
let selectedItemsLabel: string;
|
|
905
|
+
}
|
|
903
906
|
export namespace systemNotifications {
|
|
904
907
|
export namespace success_1 {
|
|
905
908
|
export function update_2({ named }: {
|
package/types/locale/uz/uz.d.ts
CHANGED
|
@@ -903,6 +903,9 @@ declare namespace _default {
|
|
|
903
903
|
}
|
|
904
904
|
export { filters_1 as filters };
|
|
905
905
|
}
|
|
906
|
+
export namespace select {
|
|
907
|
+
let selectedItemsLabel: string;
|
|
908
|
+
}
|
|
906
909
|
export namespace systemNotifications {
|
|
907
910
|
export namespace success_1 {
|
|
908
911
|
export function update_2({ named }: {
|
package/types/locale/vi/vi.d.ts
CHANGED
|
@@ -902,6 +902,9 @@ declare namespace _default {
|
|
|
902
902
|
}
|
|
903
903
|
export { filters_1 as filters };
|
|
904
904
|
}
|
|
905
|
+
export namespace select {
|
|
906
|
+
let selectedItemsLabel: string;
|
|
907
|
+
}
|
|
905
908
|
export namespace systemNotifications {
|
|
906
909
|
export namespace success_1 {
|
|
907
910
|
export function update_2({ named }: {
|