@webitel/ui-sdk 25.8.44 → 25.8.46

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 (38) hide show
  1. package/dist/ui-sdk.css +1 -1
  2. package/dist/ui-sdk.js +6777 -6584
  3. package/dist/ui-sdk.umd.cjs +139 -109
  4. package/package.json +2 -2
  5. package/src/components/transitions/cases/wt-replace-transition.vue +3 -4
  6. package/src/components/transitions/wt-transition.vue +20 -15
  7. package/src/components/wt-chip/wt-chip.vue +25 -18
  8. package/src/components/wt-rounded-action/wt-rounded-action.vue +1 -0
  9. package/src/enums/ChipColor/ChipColor.ts +11 -0
  10. package/src/enums/index.ts +2 -0
  11. package/src/locale/en/en.js +2 -2
  12. package/src/locale/es/es.js +1 -1
  13. package/src/locale/kz/kz.js +1 -1
  14. package/src/locale/pl/pl.js +1 -1
  15. package/src/locale/ro/ro.js +1 -1
  16. package/src/locale/ru/ru.js +1 -1
  17. package/src/locale/uk/uk.js +2 -2
  18. package/src/locale/uz/uz.js +1 -1
  19. package/src/locale/vi/vi.js +1 -1
  20. package/src/plugins/primevue/primevue.plugin.js +2 -0
  21. package/src/plugins/primevue/primevue.scss +1 -0
  22. package/src/plugins/primevue/theme/components/chip/chip.js +44 -0
  23. package/src/plugins/primevue/theme/components/chip/chip.scss +5 -0
  24. package/src/plugins/primevue/theme/components/components.js +2 -0
  25. package/types/components/wt-chip/wt-chip.vue.d.ts +23 -20
  26. package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +2 -2
  27. package/types/components/wt-input/wt-input.vue.d.ts +2 -2
  28. package/types/components/wt-player/wt-player.vue.d.ts +2 -2
  29. package/types/components/wt-popover/wt-popover.vue.d.ts +8 -8
  30. package/types/components/wt-radio/wt-radio.vue.d.ts +5 -5
  31. package/types/components/wt-search-bar/wt-search-bar.vue.d.ts +5 -5
  32. package/types/components/wt-textarea/wt-textarea.vue.d.ts +1 -1
  33. package/types/components/wt-time-input/wt-time-input.vue.d.ts +1 -1
  34. package/types/components/wt-timepicker/wt-timepicker.vue.d.ts +1 -1
  35. package/types/enums/ChipColor/ChipColor.d.ts +10 -0
  36. package/types/enums/index.d.ts +2 -1
  37. package/types/plugins/primevue/theme/components/chip/chip.d.ts +123 -0
  38. package/types/plugins/primevue/theme/components/components.d.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "25.8.44",
3
+ "version": "25.8.46",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run lint:fix || true) && npm run publish-lib",
@@ -56,7 +56,7 @@
56
56
  "@vuepic/vue-datepicker": "^4.5.1",
57
57
  "@vueuse/components": "^13.0.0",
58
58
  "@webitel/api-services": "^0.0.33",
59
- "@webitel/styleguide": "^24.12.51",
59
+ "@webitel/styleguide": "^24.12.53",
60
60
  "autosize": "^6.0.1",
61
61
  "axios": "^1.8.3",
62
62
  "clipboard-copy": "^4.0.1",
@@ -1,9 +1,9 @@
1
1
  <template>
2
2
  <wt-transition
3
- :appear="appear"
4
- :duration="duration"
5
- :mode="mode"
6
3
  :name="transitionName"
4
+ :appear="props.appear"
5
+ :duration="props.duration"
6
+ :mode="props.mode"
7
7
  class="wt-replace-transition"
8
8
  >
9
9
  <template #default>
@@ -19,7 +19,6 @@ import WtTransition from '../wt-transition.vue';
19
19
 
20
20
  const props = defineProps({
21
21
  // can choose replace pattern [opacity, slide-up ets]
22
- // ATTENTION!! need to add another names(patterns) to <wt-transition/>, now we have fade-opacity only
23
22
  pattern: {
24
23
  type: String,
25
24
  default: 'opacity',
@@ -1,10 +1,10 @@
1
1
  <template>
2
2
  <transition
3
- :appear="appear"
4
- :class="[`wt-transition--${duration}`]"
5
- :mode="mode"
6
- :name="name"
3
+ :name="props.name"
4
+ :appear="props.appear"
5
+ :mode="props.mode"
7
6
  class="wt-transition"
7
+ :class="[`wt-transition--${props.duration}`]"
8
8
  >
9
9
  <slot />
10
10
  </transition>
@@ -32,17 +32,10 @@ const props = defineProps({
32
32
  </script>
33
33
 
34
34
  <style lang="scss" scoped>
35
- .wt-transition {
36
- &--fast {
37
- transition-duration: var(--transition-fast);
38
- }
39
- &--normal {
40
- transition-duration: var(--transition-normal);
41
- }
42
- &--slow {
43
- transition-duration: var(--transition-slow);
44
- }
45
- }
35
+ /*
36
+ * Transition classes, what based at transition name (.fade-opacity, .fade-slide ets)
37
+ * need to be pleased BEFORE classic classes (.wt-transition ets)
38
+ **/
46
39
 
47
40
  // opacity
48
41
  .fade-opacity-enter-active,
@@ -71,4 +64,16 @@ const props = defineProps({
71
64
  .fade-slide-up-leave-from {
72
65
  transform: translateY(0);
73
66
  }
67
+
68
+ .wt-transition {
69
+ &--fast {
70
+ transition-duration: var(--transition-fast);
71
+ }
72
+ &--normal {
73
+ transition-duration: var(--transition-normal);
74
+ }
75
+ &--slow {
76
+ transition-duration: var(--transition-slow);
77
+ }
78
+ }
74
79
  </style>
@@ -1,29 +1,36 @@
1
1
  <template>
2
- <span
3
- :class="`wt-chip--${color}-color`"
4
- class="wt-chip"
2
+ <p-chip
3
+ :class="`p-chip-${color}`"
4
+ :removable="removable"
5
5
  >
6
6
  <slot />
7
- </span>
7
+ <template #removeicon>
8
+ <wt-icon class="wt-chip__close-icon" icon="close--filled" />
9
+ </template>
10
+ </p-chip>
8
11
  </template>
9
12
 
10
- <script>
11
- export default {
12
- name: 'WtChip',
13
- props: {
14
- /**
15
- * The color of the chip
16
- * @values main, primary, secondary, success, warning, error, transfer
17
- */
18
- color: {
19
- type: String,
20
- default: 'main',
21
- },
22
- },
23
- };
13
+ <script setup lang="ts">
14
+ import type { ChipProps } from 'primevue/chip';
15
+ import { defineProps, withDefaults } from 'vue';
16
+
17
+ import { ChipColor } from '../../enums'
18
+
19
+ interface WtProps extends ChipProps {
20
+ color?: ChipColor;
21
+ }
22
+
23
+ withDefaults(defineProps<WtProps>(), {
24
+ color: ChipColor.MAIN,
25
+ removable: false,
26
+ });
24
27
  </script>
25
28
 
26
29
  <style lang="scss">
27
30
  @use './variables.scss';
28
31
  @use './wt-chip.scss';
32
+
33
+ .wt-chip__close-icon {
34
+ cursor: pointer;
35
+ }
29
36
  </style>
@@ -123,6 +123,7 @@ watch(() => props.loading, (value) => {
123
123
  padding: var(--rounded-action-padding);
124
124
  width: fit-content;
125
125
  line-height: 0;
126
+ cursor: pointer;
126
127
 
127
128
  &:hover {
128
129
  border-color: var(--rounded-action-bg-hover-color);
@@ -0,0 +1,11 @@
1
+ export const ChipColor = {
2
+ MAIN: 'main',
3
+ PRIMARY: 'primary',
4
+ SECONDARY: 'secondary',
5
+ SUCCESS: 'success',
6
+ WARNING: 'warning',
7
+ ERROR: 'error',
8
+ TRANSFER: 'transfer',
9
+ } as const;
10
+
11
+ export type ChipColor = (typeof ChipColor)[keyof typeof ChipColor];
@@ -2,6 +2,7 @@ import AbstractUserStatus from './AbstractUserStatus/AbstractUserStatus.enum.js'
2
2
  import AgentStatus from './AgentStatus/AgentStatus.enum.js';
3
3
  import { ButtonColor } from './ButtonColor/ButtonColor';
4
4
  import ChatGatewayProvider from './ChatGatewayProvider/ChatGatewayProvider.enum.js';
5
+ import { ChipColor } from './ChipColor/ChipColor';
5
6
  import { ComponentSize } from './ComponentSize/ComponentSize';
6
7
  import { CrudAction } from './CrudAction/CrudAction';
7
8
  import IconAction from './IconAction/IconAction.enum.js';
@@ -24,6 +25,7 @@ export {
24
25
  AuditorSections,
25
26
  ButtonColor,
26
27
  ChatGatewayProvider,
28
+ ChipColor,
27
29
  ComponentSize,
28
30
  CrmSections,
29
31
  CrudAction,
@@ -107,7 +107,7 @@ export default {
107
107
  host: 'Host',
108
108
  time: 'Time',
109
109
  channel: 'Channel | Channels',
110
- file: 'File',
110
+ file: 'File | Files',
111
111
  logout: 'Logout',
112
112
  priority: 'Priority | Priorities',
113
113
  color: 'Color',
@@ -369,7 +369,7 @@ export default {
369
369
  }
370
370
  return text;
371
371
  },
372
-
372
+
373
373
  minLength: ({ named }) => {
374
374
  let text = 'The length should not be less than';
375
375
  if (named('min')) {
@@ -105,7 +105,7 @@ export default {
105
105
  host: 'Host',
106
106
  time: 'Tiempo',
107
107
  channel: 'Canal | Canales',
108
- file: 'Archivo',
108
+ file: 'Archivo | Archivos',
109
109
  logout: 'Cerrar sesión',
110
110
  priority: 'Prioridad | Prioridades',
111
111
  color: 'Color',
@@ -107,7 +107,7 @@ export default {
107
107
  host: 'Хост',
108
108
  time: 'Уақыт',
109
109
  channel: 'Канал | Каналдар',
110
- file: 'Файл',
110
+ file: 'Файл | файлдар',
111
111
  logout: 'Шығу',
112
112
  priority: 'Басымдық | Басымдықтар',
113
113
  color: 'Түс',
@@ -107,7 +107,7 @@ export default {
107
107
  host: 'Host',
108
108
  time: 'Czas',
109
109
  channel: 'Kanał | Kanały',
110
- file: 'Plik',
110
+ file: 'Plik | Akta',
111
111
  logout: 'Wyloguj',
112
112
  priority: 'Priorytet | Priorytety',
113
113
  color: 'Kolor',
@@ -107,7 +107,7 @@ export default {
107
107
  host: 'Gazdă',
108
108
  time: 'Timp',
109
109
  channel: 'Canal | Canale',
110
- file: 'Fișier',
110
+ file: 'Fișier | Fișiere',
111
111
  logout: 'Deconectare',
112
112
  priority: 'Prioritate | Priorități',
113
113
  color: 'Culoare',
@@ -107,7 +107,7 @@ export default {
107
107
  host: 'Хост',
108
108
  time: 'Время',
109
109
  channel: 'Канал | Каналы',
110
- file: 'Файл',
110
+ file: 'Файл | Файлы',
111
111
  logout: 'Выйти',
112
112
  priority: 'Приоритет | Приоритеты',
113
113
  color: 'Цвет',
@@ -107,7 +107,7 @@ export default {
107
107
  host: 'Хост',
108
108
  time: 'Час',
109
109
  channel: 'Канал | Канали',
110
- file: 'Файл',
110
+ file: 'Файл | Файли',
111
111
  logout: 'Вийти',
112
112
  priority: 'Пріоритет | Пріоритети',
113
113
  color: 'Колір',
@@ -726,4 +726,4 @@ export default {
726
726
  chatHistoryApi: 'Сталася помилка завантаження історії чату',
727
727
  markChatProcessed: 'Не вдалося перемістити чат у "Закриті"',
728
728
  },
729
- };
729
+ };
@@ -107,7 +107,7 @@ export default {
107
107
  host: 'Host',
108
108
  time: 'Vaqt',
109
109
  channel: 'Kanal | Kanallar',
110
- file: 'Fayl',
110
+ file: 'Fayl | Fayllar',
111
111
  logout: 'Chiqish',
112
112
  priority: 'Muhimlik | Muhimliklar',
113
113
  color: 'Rang',
@@ -107,7 +107,7 @@ export default {
107
107
  host: 'Máy chủ',
108
108
  time: 'Thời gian',
109
109
  channel: 'Kênh | Các kênh',
110
- file: 'Tệp',
110
+ file: 'Tệp | Tập',
111
111
  logout: 'Đăng xuất',
112
112
  priority: 'Mức độ ưu tiên | Mức độ ưu tiên',
113
113
  color: 'Màu sắc',
@@ -1,6 +1,7 @@
1
1
  import PAutoComplete from 'primevue/autocomplete';
2
2
  import PButton from 'primevue/button';
3
3
  import PCheckbox from 'primevue/checkbox';
4
+ import PChip from 'primevue/chip';
4
5
  import PrimeVue from 'primevue/config';
5
6
  import PInputText from 'primevue/inputtext';
6
7
  import PPopover from 'primevue/popover';
@@ -29,6 +30,7 @@ const initPrimevue = (app) => {
29
30
  app.component('PInputText', changeComponentCompatMode(PInputText));
30
31
  app.component('PPopover', changeComponentCompatMode(PPopover));
31
32
  app.component('PCheckbox', changeComponentCompatMode(PCheckbox));
33
+ app.component('PChip', changeComponentCompatMode(PChip));
32
34
 
33
35
  app.directive('tooltip', Tooltip);
34
36
  };
@@ -1 +1,2 @@
1
1
  @use 'theme/components/tooltip/tooltip.scss' as *;
2
+ @use 'theme/components/chip/chip.scss' as *;
@@ -0,0 +1,44 @@
1
+ import { ChipScheme } from '@webitel/styleguide/component-schemes';
2
+
3
+ const generateCustomColorCss = ({ colorName, dt }) => `
4
+ .p-chip-${colorName} {
5
+ background: ${dt(`chip.${colorName}.background`)};
6
+ color: ${dt(`chip.${colorName}.color`)};
7
+ }
8
+
9
+ .p-chip-${colorName} .wt-icon .wt-icon__icon {
10
+ fill: ${dt(`chip.${colorName}.iconColor`)};
11
+ }
12
+
13
+ .p-chip-${colorName} .wt-icon:hover .wt-icon__icon {
14
+ fill: ${dt(`chip.${colorName}.iconHoverColor`)};
15
+ }
16
+ `;
17
+
18
+ const chip = {
19
+ ...ChipScheme.sizes,
20
+ colorScheme: ChipScheme.colorScheme,
21
+
22
+ // Rewrite the default chip styles in the theme here:
23
+ // For customize the chip styles you need write css styles for classes
24
+ css: ({ dt }) => `
25
+ ${generateCustomColorCss({ colorName: 'main', dt })}
26
+ ${generateCustomColorCss({ colorName: 'primary', dt })}
27
+ ${generateCustomColorCss({ colorName: 'secondary', dt })}
28
+ ${generateCustomColorCss({ colorName: 'success', dt })}
29
+ ${generateCustomColorCss({ colorName: 'warning', dt })}
30
+ ${generateCustomColorCss({ colorName: 'error', dt })}
31
+ ${generateCustomColorCss({ colorName: 'transfer', dt })}
32
+
33
+ .p-chip {
34
+ white-space: nowrap;
35
+ }
36
+
37
+ .p-chip .wt-icon {
38
+ width: ${dt(`chip.removeIcon.size`)};
39
+ height: ${dt(`chip.removeIcon.size`)};
40
+ }
41
+ `,
42
+ };
43
+
44
+ export default chip;
@@ -0,0 +1,5 @@
1
+ @use '@webitel/styleguide/typography' as *;
2
+
3
+ .p-chip {
4
+ @extend %typo-body-2;
5
+ }
@@ -1,6 +1,7 @@
1
1
  import autocomplete from './autocomplete/autocomplete.js';
2
2
  import button from './button/button.js';
3
3
  import checkbox from './checkbox/checkbox.js';
4
+ import chip from './chip/chip.js';
4
5
  import popover from './popover/popover.js';
5
6
  import tooltip from './tooltip/tooltip.js';
6
7
 
@@ -9,6 +10,7 @@ const components = {
9
10
  autocomplete,
10
11
  popover,
11
12
  tooltip,
13
+ chip,
12
14
  checkbox,
13
15
  };
14
16
 
@@ -1,22 +1,25 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- /**
3
- * The color of the chip
4
- * @values main, primary, secondary, success, warning, error, transfer
5
- */
6
- color: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
- /**
12
- * The color of the chip
13
- * @values main, primary, secondary, success, warning, error, transfer
14
- */
15
- color: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- }>> & Readonly<{}>, {
20
- color: string;
1
+ import type { ChipProps } from 'primevue/chip';
2
+ import { ChipColor } from '../../enums';
3
+ interface WtProps extends ChipProps {
4
+ color?: ChipColor;
5
+ }
6
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
7
+ declare var __VLS_6: {};
8
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
9
+ default?: (props: typeof __VLS_6) => any;
10
+ }>;
11
+ declare const __VLS_self: import("vue").DefineComponent<WtProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WtProps> & Readonly<{}>, {
12
+ color: ChipColor;
13
+ removable: boolean;
21
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ declare const __VLS_component: import("vue").DefineComponent<WtProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WtProps> & Readonly<{}>, {
16
+ color: ChipColor;
17
+ removable: boolean;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
22
20
  export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -6,8 +6,8 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  declare const __VLS_component: import("vue").DefineComponent<{}, {
7
7
  $emit: (event: "input", ...args: any[]) => void;
8
8
  value: string | number;
9
- required: boolean;
10
9
  label: string;
10
+ required: boolean;
11
11
  mode: string;
12
12
  disabled: boolean;
13
13
  clearable: boolean;
@@ -18,8 +18,8 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
18
18
  labelProps?: Record<string, any>;
19
19
  $props: {
20
20
  readonly value?: string | number;
21
- readonly required?: boolean;
22
21
  readonly label?: string;
22
+ readonly required?: boolean;
23
23
  readonly mode?: string;
24
24
  readonly disabled?: boolean;
25
25
  readonly clearable?: boolean;
@@ -69,9 +69,9 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
69
69
  onKeyup?: (...args: any[]) => any;
70
70
  }>, {
71
71
  name: string;
72
+ label: string;
72
73
  type: string;
73
74
  required: boolean;
74
- label: string;
75
75
  disabled: boolean;
76
76
  v: Record<string, unknown>;
77
77
  customValidators: unknown[];
@@ -92,9 +92,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
92
92
  onKeyup?: (...args: any[]) => any;
93
93
  }>, {
94
94
  name: string;
95
+ label: string;
95
96
  type: string;
96
97
  required: boolean;
97
- label: string;
98
98
  disabled: boolean;
99
99
  v: Record<string, unknown>;
100
100
  customValidators: unknown[];
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
13
13
  default: boolean;
14
14
  };
15
15
  download: {
16
- type: (StringConstructor | BooleanConstructor | FunctionConstructor)[];
16
+ type: (BooleanConstructor | StringConstructor | FunctionConstructor)[];
17
17
  default: () => (url: any) => any;
18
18
  };
19
19
  mime: {
@@ -65,7 +65,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
65
65
  default: boolean;
66
66
  };
67
67
  download: {
68
- type: (StringConstructor | BooleanConstructor | FunctionConstructor)[];
68
+ type: (BooleanConstructor | StringConstructor | FunctionConstructor)[];
69
69
  default: () => (url: any) => any;
70
70
  };
71
71
  mime: {
@@ -31,15 +31,15 @@ declare const __VLS_self: import("vue").DefineComponent<PopoverProps, {
31
31
  onShow?: () => any;
32
32
  onHide?: () => any;
33
33
  }>, {
34
+ dt: import("@primevue/core").DesignToken<any>;
35
+ pt: any;
36
+ ptOptions: import("primevue/passthrough").PassThroughOptions;
37
+ unstyled: boolean;
34
38
  appendTo: import("@primevue/core").HintedString<"body" | "self"> | undefined | HTMLElement;
35
39
  baseZIndex: number;
36
40
  autoZIndex: boolean;
37
41
  breakpoints: import("primevue").PopoverBreakpoints;
38
- dt: import("@primevue/core").DesignToken<any>;
39
- pt: any;
40
- ptOptions: import("primevue/passthrough").PassThroughOptions;
41
42
  closeOnEscape: boolean | undefined;
42
- unstyled: boolean;
43
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
44
44
  declare const __VLS_component: import("vue").DefineComponent<PopoverProps, {
45
45
  toggle: (event?: Event) => void;
@@ -52,15 +52,15 @@ declare const __VLS_component: import("vue").DefineComponent<PopoverProps, {
52
52
  onShow?: () => any;
53
53
  onHide?: () => any;
54
54
  }>, {
55
+ dt: import("@primevue/core").DesignToken<any>;
56
+ pt: any;
57
+ ptOptions: import("primevue/passthrough").PassThroughOptions;
58
+ unstyled: boolean;
55
59
  appendTo: import("@primevue/core").HintedString<"body" | "self"> | undefined | HTMLElement;
56
60
  baseZIndex: number;
57
61
  autoZIndex: boolean;
58
62
  breakpoints: import("primevue").PopoverBreakpoints;
59
- dt: import("@primevue/core").DesignToken<any>;
60
- pt: any;
61
- ptOptions: import("primevue/passthrough").PassThroughOptions;
62
63
  closeOnEscape: boolean | undefined;
63
- unstyled: boolean;
64
64
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
65
65
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
66
66
  export default _default;
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  value: {
3
- type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
3
+ type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
4
4
  default: string;
5
5
  };
6
6
  selected: {
7
- type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
7
+ type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
8
8
  default: string;
9
9
  };
10
10
  label: {
@@ -30,11 +30,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
30
30
  inputHandler(): void;
31
31
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "input"[], "input", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
32
  value: {
33
- type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
33
+ type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
34
34
  default: string;
35
35
  };
36
36
  selected: {
37
- type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
37
+ type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
38
38
  default: string;
39
39
  };
40
40
  label: {
@@ -57,8 +57,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
57
57
  onInput?: (...args: any[]) => any;
58
58
  }>, {
59
59
  value: string | number | boolean | Record<string, any>;
60
- required: boolean;
61
60
  label: string;
61
+ required: boolean;
62
62
  selected: string | number | boolean | Record<string, any>;
63
63
  disabled: boolean;
64
64
  outline: boolean;
@@ -1,5 +1,5 @@
1
1
  declare const invalid: import("vue").ComputedRef<boolean>;
2
- declare const invalidColorProvider: import("vue").ComputedRef<"default" | "error">;
2
+ declare const invalidColorProvider: import("vue").ComputedRef<"error" | "default">;
3
3
  declare function handleInput(value: any): void;
4
4
  declare function handleKeyup(event: any): void;
5
5
  declare function updateSearchMode({ option }: {
@@ -43,7 +43,7 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
43
43
  description: string;
44
44
  };
45
45
  searchMode: {
46
- type: (StringConstructor | ObjectConstructor)[];
46
+ type: (ObjectConstructor | StringConstructor)[];
47
47
  };
48
48
  searchModeOptions: {
49
49
  type: ArrayConstructor;
@@ -87,7 +87,7 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
87
87
  description: string;
88
88
  };
89
89
  searchMode: {
90
- type: (StringConstructor | ObjectConstructor)[];
90
+ type: (ObjectConstructor | StringConstructor)[];
91
91
  };
92
92
  searchModeOptions: {
93
93
  type: ArrayConstructor;
@@ -130,7 +130,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
130
130
  description: string;
131
131
  };
132
132
  searchMode: {
133
- type: (StringConstructor | ObjectConstructor)[];
133
+ type: (ObjectConstructor | StringConstructor)[];
134
134
  };
135
135
  searchModeOptions: {
136
136
  type: ArrayConstructor;
@@ -168,7 +168,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
168
168
  description: string;
169
169
  };
170
170
  searchMode: {
171
- type: (StringConstructor | ObjectConstructor)[];
171
+ type: (ObjectConstructor | StringConstructor)[];
172
172
  };
173
173
  searchModeOptions: {
174
174
  type: ArrayConstructor;
@@ -170,8 +170,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
170
170
  }>, {
171
171
  name: string;
172
172
  value: string;
173
- required: boolean;
174
173
  label: string;
174
+ required: boolean;
175
175
  disabled: boolean;
176
176
  readonly: boolean;
177
177
  rows: number;
@@ -124,8 +124,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
124
124
  onInput?: (...args: any[]) => any;
125
125
  }>, {
126
126
  value: number;
127
- required: boolean;
128
127
  label: string;
128
+ required: boolean;
129
129
  disabled: boolean;
130
130
  hideInputInfo: boolean;
131
131
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -135,8 +135,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
135
135
  };
136
136
  }>> & Readonly<{}>, {
137
137
  value: string | number;
138
- required: boolean;
139
138
  label: string;
139
+ required: boolean;
140
140
  disabled: boolean;
141
141
  format: string;
142
142
  dateMode: boolean;
@@ -0,0 +1,10 @@
1
+ export declare const ChipColor: {
2
+ readonly MAIN: "main";
3
+ readonly PRIMARY: "primary";
4
+ readonly SECONDARY: "secondary";
5
+ readonly SUCCESS: "success";
6
+ readonly WARNING: "warning";
7
+ readonly ERROR: "error";
8
+ readonly TRANSFER: "transfer";
9
+ };
10
+ export type ChipColor = (typeof ChipColor)[keyof typeof ChipColor];