@wisemen/vue-core-components 1.5.4 → 1.5.6

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 (45) hide show
  1. package/dist/{AlertCircleIcon-KsVsZWRa.js → AlertCircleIcon-B7QhXiWj.js} +1 -1
  2. package/dist/AlertTriangleIcon-CLSHiTCi.js +24 -0
  3. package/dist/{ArrowDownIcon-rleWFTiV.js → ArrowDownIcon-B0HQ8bZe.js} +1 -1
  4. package/dist/{ArrowLeftIcon-UsZ7kb6f.js → ArrowLeftIcon-_7FnlVUN.js} +1 -1
  5. package/dist/{ArrowRightIcon-vcWFUOZU.js → ArrowRightIcon-Cfp6R1Rk.js} +1 -1
  6. package/dist/{ArrowUpIcon-B4HNtBee.js → ArrowUpIcon-C2eotFek.js} +1 -1
  7. package/dist/{CalendarIcon-Dn2fuvxQ.js → CalendarIcon-CuXDq8PR.js} +1 -1
  8. package/dist/{CheckCircleIcon-DK5Na4k0.js → CheckCircleIcon-BUL0Q25h.js} +1 -1
  9. package/dist/{CheckIcon-Be3cvsdF.js → CheckIcon-CMVkR6Zv.js} +1 -1
  10. package/dist/{ChevronLeftDoubleIcon-FtcqoVgn.js → ChevronLeftDoubleIcon-clynV8BT.js} +1 -1
  11. package/dist/{ChevronLeftIcon-COelBmBZ.js → ChevronLeftIcon-BXm9iSZG.js} +1 -1
  12. package/dist/{ChevronRightDoubleIcon-B0j-j-yN.js → ChevronRightDoubleIcon-BsqqG2CS.js} +1 -1
  13. package/dist/{ChevronRightIcon-DL9TMuvb.js → ChevronRightIcon-D9-ziEq-.js} +1 -1
  14. package/dist/{CloseIcon-sMWX7X1R.js → CloseIcon-LY_9T2Dj.js} +1 -1
  15. package/dist/{EyeIcon-Cbv2QABs.js → EyeIcon-WMji5ixf.js} +1 -1
  16. package/dist/{EyeOffIcon-BR5qk6YE.js → EyeOffIcon-BhRSNIca.js} +1 -1
  17. package/dist/{InfoCircleIcon-fO9c5CcZ.js → InfoCircleIcon-COHePsdK.js} +1 -1
  18. package/dist/{MinusIcon-By3QTgR8.js → MinusIcon-CZE725o9.js} +1 -1
  19. package/dist/{PlusIcon-D7ZNPGSp.js → PlusIcon-DB-II3dl.js} +1 -1
  20. package/dist/{SearchIcon-BJ62_Y6p.js → SearchIcon-D0lWo6HO.js} +1 -1
  21. package/dist/{SelectIconRight-DFZtNZSq.js → SelectIconRight-BInTeZAF.js} +1 -1
  22. package/dist/{StarsIcon-DwKr7R20.js → StarsIcon-zRGUwbYZ.js} +1 -1
  23. package/dist/{SwitchVerticalIcon-Cn260Pzx.js → SwitchVerticalIcon-CYDbffwu.js} +1 -1
  24. package/dist/{TranslateIcon-CcaPoHM5.js → TranslateIcon-DO9JaaRp.js} +1 -1
  25. package/dist/components/date-field/DateField.d.ts +17 -25
  26. package/dist/components/date-field/parts/DateFieldRoot.d.ts +17 -47
  27. package/dist/components/date-picker/range/DateRangePicker.d.ts +2 -2
  28. package/dist/components/date-picker/range/parts/DateRangePickerRoot.d.ts +2 -2
  29. package/dist/components/date-range-field/DateRangeField.d.ts +17 -25
  30. package/dist/components/date-range-field/parts/DateRangeFieldRoot.d.ts +17 -47
  31. package/dist/components/form-field/formField.style.d.ts +3 -0
  32. package/dist/components/form-field/parts/FormFieldRoot.d.ts +1 -0
  33. package/dist/components/select/parts/SelectBaseMultiple.d.ts +23 -44
  34. package/dist/components/table/parts/TableHeaderCell.d.ts +1 -5
  35. package/dist/components/table/parts/TableHeaderCellProvider.d.ts +21 -0
  36. package/dist/components/table/tableHeaderCell.context.d.ts +7 -0
  37. package/dist/components/tabs/index.d.ts +1 -0
  38. package/dist/icons/AlertTriangleIcon.d.ts +2 -0
  39. package/dist/icons/icons.d.ts +1 -0
  40. package/dist/{index-DjNheKNg.js → index-CxKOHuY9.js} +4608 -4612
  41. package/dist/index.js +18 -17
  42. package/dist/index.umd +17 -17
  43. package/dist/style.css +1 -1
  44. package/dist/types/dateRange.type.d.ts +3 -3
  45. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -0,0 +1,24 @@
1
+ import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
+ const s = {}, l = {
4
+ width: "100%",
5
+ height: "100%",
6
+ viewBox: "0 0 24 24",
7
+ fill: "none",
8
+ xmlns: "http://www.w3.org/2000/svg"
9
+ };
10
+ function i(c, e) {
11
+ return t(), o("svg", l, e[0] || (e[0] = [
12
+ r("path", {
13
+ d: "M11.9998 8.99999V13M11.9998 17H12.0098M10.6151 3.89171L2.39019 18.0983C1.93398 18.8863 1.70588 19.2803 1.73959 19.6037C1.769 19.8857 1.91677 20.142 2.14613 20.3088C2.40908 20.5 2.86435 20.5 3.77487 20.5H20.2246C21.1352 20.5 21.5904 20.5 21.8534 20.3088C22.0827 20.142 22.2305 19.8857 22.2599 19.6037C22.2936 19.2803 22.0655 18.8863 21.6093 18.0983L13.3844 3.89171C12.9299 3.10654 12.7026 2.71396 12.4061 2.58211C12.1474 2.4671 11.8521 2.4671 11.5935 2.58211C11.2969 2.71396 11.0696 3.10655 10.6151 3.89171Z",
14
+ stroke: "currentColor",
15
+ "stroke-width": "2",
16
+ "stroke-linecap": "round",
17
+ "stroke-linejoin": "round"
18
+ }, null, -1)
19
+ ]));
20
+ }
21
+ const _ = /* @__PURE__ */ n(s, [["render", i]]);
22
+ export {
23
+ _ as default
24
+ };
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, c = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  width: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as t, openBlock as r, createElementVNode as e } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, C = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as t, openBlock as r, createElementVNode as o } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const c = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as n } from "vue";
2
- import { _ as r } from "./index-DjNheKNg.js";
2
+ import { _ as r } from "./index-CxKOHuY9.js";
3
3
  const s = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-DjNheKNg.js";
2
+ import { _ as n } from "./index-CxKOHuY9.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,30 +1,22 @@
1
+ import { DateFieldEmits } from './dateField.emits';
1
2
  import { DateFieldProps } from './dateField.props';
2
3
  import { DateFieldSlots } from './dateField.slots';
3
- type __VLS_Props = DateFieldProps;
4
- type __VLS_PublicProps = {
5
- modelValue: Date | null;
6
- } & __VLS_Props;
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
4
+ declare const _default: <TValue extends Date>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
+ readonly onFocus?: ((e: FocusEvent) => any) | undefined;
7
+ readonly onBlur?: ((e: FocusEvent) => any) | undefined;
8
+ readonly "onUpdate:modelValue"?: ((value: TValue | null) => any) | undefined;
9
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onUpdate:modelValue"> & ({
10
+ modelValue: TValue | null;
11
+ } & DateFieldProps) & Partial<{}>> & import('vue').PublicProps;
12
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
13
+ attrs: any;
9
14
  slots: Readonly<DateFieldSlots> & DateFieldSlots;
10
- refs: {};
11
- rootEl: HTMLDivElement;
15
+ emit: DateFieldEmits & ((evt: "update:modelValue", value: TValue | null) => void);
16
+ }>) => import('vue').VNode & {
17
+ __ctx?: Awaited<typeof __VLS_setup>;
12
18
  };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
- "update:modelValue": (value: Date | null) => any;
16
- } & {
17
- focus: (e: FocusEvent) => any;
18
- blur: (e: FocusEvent) => any;
19
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
- onFocus?: ((e: FocusEvent) => any) | undefined;
21
- onBlur?: ((e: FocusEvent) => any) | undefined;
22
- "onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
23
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
24
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
19
  export default _default;
26
- type __VLS_WithTemplateSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
20
+ type __VLS_PrettifyLocal<T> = {
21
+ [K in keyof T]: T[K];
22
+ } & {};
@@ -1,11 +1,15 @@
1
- import { ResolvedClassConfig } from '../../../class-variant/classVariant.type';
1
+ import { DateFieldEmits } from '../dateField.emits';
2
2
  import { DateFieldProps } from '../dateField.props';
3
- type __VLS_Props = DateFieldProps;
4
- type __VLS_PublicProps = {
5
- modelValue: Date | null;
6
- } & __VLS_Props;
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
3
+ declare const _default: <TValue extends Date>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
+ readonly onFocus?: ((e: FocusEvent) => any) | undefined;
6
+ readonly onBlur?: ((e: FocusEvent) => any) | undefined;
7
+ readonly "onUpdate:modelValue"?: ((value: TValue | null) => any) | undefined;
8
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onUpdate:modelValue"> & ({
9
+ modelValue: TValue | null;
10
+ } & DateFieldProps) & Partial<{}>> & import('vue').PublicProps;
11
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
12
+ attrs: any;
9
13
  slots: {
10
14
  default?(_: {
11
15
  segments: {
@@ -14,45 +18,11 @@ declare function __VLS_template(): {
14
18
  }[];
15
19
  }): any;
16
20
  };
17
- refs: {};
18
- rootEl: any;
21
+ emit: DateFieldEmits & ((evt: "update:modelValue", value: TValue | null) => void);
22
+ }>) => import('vue').VNode & {
23
+ __ctx?: Awaited<typeof __VLS_setup>;
19
24
  };
20
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
- "update:modelValue": (value: Date | null) => any;
23
- } & {
24
- focus: (e: FocusEvent) => any;
25
- blur: (e: FocusEvent) => any;
26
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
27
- onFocus?: ((e: FocusEvent) => any) | undefined;
28
- onBlur?: ((e: FocusEvent) => any) | undefined;
29
- "onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
30
- }>, {
31
- variant: null;
32
- iconLeft: import('../../..').Icon | null;
33
- label: string | null;
34
- hint: string | null;
35
- isLoading: boolean;
36
- testId: string | null;
37
- isDisabled: boolean;
38
- id: string | null;
39
- isRequired: boolean;
40
- isTouched: boolean;
41
- errorMessage: string | null;
42
- classConfig: ResolvedClassConfig<"dateField"> | null;
43
- autocomplete: "off" | "on";
44
- hideDatePicker: boolean;
45
- maxDate: Date | null;
46
- minDate: Date | null;
47
- isDateDisabled: (date: Date) => boolean;
48
- isDateUnavailable: (date: Date) => boolean;
49
- allowDeselect: boolean;
50
- showTwoMonths: boolean;
51
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
52
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
53
25
  export default _default;
54
- type __VLS_WithTemplateSlots<T, S> = T & {
55
- new (): {
56
- $slots: S;
57
- };
58
- };
26
+ type __VLS_PrettifyLocal<T> = {
27
+ [K in keyof T]: T[K];
28
+ } & {};
@@ -17,10 +17,10 @@ declare function __VLS_template(): {
17
17
  };
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
19
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
- "update:modelValue": (value: DateRange) => any;
20
+ "update:modelValue": (value: DateRange<Date>) => any;
21
21
  "update:placeholderValue": (value: Date) => any;
22
22
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
- "onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
23
+ "onUpdate:modelValue"?: ((value: DateRange<Date>) => any) | undefined;
24
24
  "onUpdate:placeholderValue"?: ((value: Date) => any) | undefined;
25
25
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -20,10 +20,10 @@ declare function __VLS_template(): {
20
20
  };
21
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
22
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
- "update:modelValue": (value: DateRange) => any;
23
+ "update:modelValue": (value: DateRange<Date>) => any;
24
24
  "update:placeholderValue": (value: Date) => any;
25
25
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
- "onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
26
+ "onUpdate:modelValue"?: ((value: DateRange<Date>) => any) | undefined;
27
27
  "onUpdate:placeholderValue"?: ((value: Date) => any) | undefined;
28
28
  }>, {
29
29
  variant: null;
@@ -1,31 +1,23 @@
1
+ import { DateRangeFieldEmits } from './dateRangeField.emits';
1
2
  import { DateRangeFieldProps } from './dateRangeField.props';
2
3
  import { DateRangeFieldSlots } from './dateRangeField.slots';
3
4
  import { DateRange } from '../../types/dateRange.type';
4
- type __VLS_Props = DateRangeFieldProps;
5
- type __VLS_PublicProps = {
6
- modelValue: DateRange;
7
- } & __VLS_Props;
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
5
+ declare const _default: <TValue extends Date>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
7
+ readonly onFocus?: ((e: FocusEvent) => any) | undefined;
8
+ readonly onBlur?: ((e: FocusEvent) => any) | undefined;
9
+ readonly "onUpdate:modelValue"?: ((value: DateRange<TValue>) => any) | undefined;
10
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onUpdate:modelValue"> & ({
11
+ modelValue: DateRange<TValue>;
12
+ } & DateRangeFieldProps) & Partial<{}>> & import('vue').PublicProps;
13
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
14
+ attrs: any;
10
15
  slots: Readonly<DateRangeFieldSlots> & DateRangeFieldSlots;
11
- refs: {};
12
- rootEl: HTMLDivElement;
16
+ emit: DateRangeFieldEmits & ((evt: "update:modelValue", value: DateRange<TValue>) => void);
17
+ }>) => import('vue').VNode & {
18
+ __ctx?: Awaited<typeof __VLS_setup>;
13
19
  };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
- "update:modelValue": (value: DateRange) => any;
17
- } & {
18
- focus: (e: FocusEvent) => any;
19
- blur: (e: FocusEvent) => any;
20
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
- onFocus?: ((e: FocusEvent) => any) | undefined;
22
- onBlur?: ((e: FocusEvent) => any) | undefined;
23
- "onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
24
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
25
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
20
  export default _default;
27
- type __VLS_WithTemplateSlots<T, S> = T & {
28
- new (): {
29
- $slots: S;
30
- };
31
- };
21
+ type __VLS_PrettifyLocal<T> = {
22
+ [K in keyof T]: T[K];
23
+ } & {};
@@ -1,12 +1,16 @@
1
- import { ResolvedClassConfig } from '../../../class-variant/classVariant.type';
1
+ import { DateRangeFieldEmits } from '../dateRangeField.emits';
2
2
  import { DateRangeFieldProps } from '../dateRangeField.props';
3
3
  import { DateRange } from '../../../types/dateRange.type';
4
- type __VLS_Props = DateRangeFieldProps;
5
- type __VLS_PublicProps = {
6
- modelValue: DateRange;
7
- } & __VLS_Props;
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
4
+ declare const _default: <TValue extends Date>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
+ readonly onFocus?: ((e: FocusEvent) => any) | undefined;
7
+ readonly onBlur?: ((e: FocusEvent) => any) | undefined;
8
+ readonly "onUpdate:modelValue"?: ((value: DateRange<TValue>) => any) | undefined;
9
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onUpdate:modelValue"> & ({
10
+ modelValue: DateRange<TValue>;
11
+ } & DateRangeFieldProps) & Partial<{}>> & import('vue').PublicProps;
12
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
13
+ attrs: any;
10
14
  slots: {
11
15
  default?(_: {
12
16
  segments: {
@@ -21,45 +25,11 @@ declare function __VLS_template(): {
21
25
  };
22
26
  }): any;
23
27
  };
24
- refs: {};
25
- rootEl: any;
28
+ emit: DateRangeFieldEmits & ((evt: "update:modelValue", value: DateRange<TValue>) => void);
29
+ }>) => import('vue').VNode & {
30
+ __ctx?: Awaited<typeof __VLS_setup>;
26
31
  };
27
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
28
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
- "update:modelValue": (value: DateRange) => any;
30
- } & {
31
- focus: (e: FocusEvent) => any;
32
- blur: (e: FocusEvent) => any;
33
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
34
- onFocus?: ((e: FocusEvent) => any) | undefined;
35
- onBlur?: ((e: FocusEvent) => any) | undefined;
36
- "onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
37
- }>, {
38
- variant: null;
39
- iconLeft: import('../../..').Icon | null;
40
- label: string | null;
41
- hint: string | null;
42
- isLoading: boolean;
43
- testId: string | null;
44
- isDisabled: boolean;
45
- id: string | null;
46
- isRequired: boolean;
47
- isTouched: boolean;
48
- errorMessage: string | null;
49
- classConfig: ResolvedClassConfig<"dateRangeField"> | null;
50
- autocomplete: "off" | "on";
51
- hideDatePicker: boolean;
52
- maxDate: Date | null;
53
- minDate: Date | null;
54
- isDateDisabled: (date: Date) => boolean;
55
- isDateUnavailable: (date: Date) => boolean;
56
- allowDeselect: boolean;
57
- showTwoMonths: boolean;
58
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
59
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
60
32
  export default _default;
61
- type __VLS_WithTemplateSlots<T, S> = T & {
62
- new (): {
63
- $slots: S;
64
- };
65
- };
33
+ type __VLS_PrettifyLocal<T> = {
34
+ [K in keyof T]: T[K];
35
+ } & {};
@@ -4,6 +4,7 @@ export declare const createFormFieldStyle: import('tailwind-variants').TVReturnT
4
4
  }, {
5
5
  asterisk: string;
6
6
  error: string;
7
+ errorIcon: string;
7
8
  hint: string;
8
9
  label: string;
9
10
  labelContainer: string;
@@ -13,6 +14,7 @@ export declare const createFormFieldStyle: import('tailwind-variants').TVReturnT
13
14
  }, {
14
15
  asterisk: string;
15
16
  error: string;
17
+ errorIcon: string;
16
18
  hint: string;
17
19
  label: string;
18
20
  labelContainer: string;
@@ -22,6 +24,7 @@ export declare const createFormFieldStyle: import('tailwind-variants').TVReturnT
22
24
  }, {
23
25
  asterisk: string;
24
26
  error: string;
27
+ errorIcon: string;
25
28
  hint: string;
26
29
  label: string;
27
30
  labelContainer: string;
@@ -19,6 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<FormFieldProps, {},
19
19
  classConfig: {
20
20
  asterisk?: string | undefined;
21
21
  error?: string | undefined;
22
+ errorIcon?: string | undefined;
22
23
  hint?: string | undefined;
23
24
  label?: string | undefined;
24
25
  labelContainer?: string | undefined;
@@ -1,18 +1,17 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
2
- tagContainerRef: ({
2
+ tagContainerRef: HTMLDivElement;
3
+ tagRef: (({
3
4
  $: import('vue').ComponentInternalInstance;
4
5
  $data: {};
5
6
  $props: {
6
- readonly orientation?: ("horizontal" | "vertical") | undefined;
7
- readonly dir?: ("ltr" | "rtl") | undefined;
8
- readonly loop?: boolean | undefined;
9
- readonly currentTabStopId?: string | null | undefined;
10
- readonly defaultCurrentTabStopId?: string | undefined;
11
- readonly preventScrollOnEntryFocus?: boolean | undefined;
12
- readonly asChild?: boolean | undefined;
13
- readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
14
- readonly onEntryFocus?: ((event: Event) => any) | undefined | undefined;
15
- readonly "onUpdate:currentTabStopId"?: ((value: string | null | undefined) => any) | undefined | undefined;
7
+ readonly isRemovable?: boolean | undefined;
8
+ readonly color: import('../../../class-variant/classVariant.type').GetComponentProp<"badge", "color">;
9
+ readonly icon?: (import('../../..').Icon | null) | undefined;
10
+ readonly size?: "lg" | "md" | "sm" | undefined;
11
+ readonly variant: import('../../../class-variant/classVariant.type').GetComponentProp<"badge", "variant">;
12
+ readonly testId?: string | null | undefined;
13
+ readonly classConfig?: import('../../../class-variant/classVariant.type').ResolvedClassConfig<"badge"> | null | undefined;
14
+ readonly onRemove?: (() => any) | undefined;
16
15
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
17
16
  $attrs: {
18
17
  [x: string]: unknown;
@@ -26,24 +25,13 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
26
25
  $root: import('vue').ComponentPublicInstance | null;
27
26
  $parent: import('vue').ComponentPublicInstance | null;
28
27
  $host: Element | null;
29
- $emit: ((event: "entryFocus", event: Event) => void) & ((event: "update:currentTabStopId", value: string | null | undefined) => void);
28
+ $emit: (event: "remove") => void;
30
29
  $el: any;
31
- $options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui').RovingFocusGroupProps> & Readonly<{
32
- onEntryFocus?: ((event: Event) => any) | undefined;
33
- "onUpdate:currentTabStopId"?: ((value: string | null | undefined) => any) | undefined;
34
- }>, {
35
- getItems: (includeDisabledItem?: boolean) => {
36
- ref: HTMLElement;
37
- value?: any;
38
- }[];
39
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40
- entryFocus: (event: Event) => any;
41
- "update:currentTabStopId": (value: string | null | undefined) => any;
42
- }, string, {
43
- loop: boolean;
44
- orientation: "horizontal" | "vertical";
45
- preventScrollOnEntryFocus: boolean;
46
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
30
+ $options: import('vue').ComponentOptionsBase<Readonly<import('../..').VcBadgeProps> & Readonly<{
31
+ onRemove?: (() => any) | undefined;
32
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
33
+ remove: () => any;
34
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
47
35
  beforeCreate?: (() => void) | (() => void)[];
48
36
  created?: (() => void) | (() => void)[];
49
37
  beforeMount?: (() => void) | (() => void)[];
@@ -63,24 +51,15 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
63
51
  $forceUpdate: () => void;
64
52
  $nextTick: typeof import('vue').nextTick;
65
53
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
66
- } & Readonly<{
67
- loop: boolean;
68
- orientation: "horizontal" | "vertical";
69
- preventScrollOnEntryFocus: boolean;
70
- }> & Omit<Readonly<import('reka-ui').RovingFocusGroupProps> & Readonly<{
71
- onEntryFocus?: ((event: Event) => any) | undefined;
72
- "onUpdate:currentTabStopId"?: ((value: string | null | undefined) => any) | undefined;
73
- }>, "orientation" | "loop" | "preventScrollOnEntryFocus" | "getItems"> & import('vue').ShallowUnwrapRef<{
74
- getItems: (includeDisabledItem?: boolean) => {
75
- ref: HTMLElement;
76
- value?: any;
77
- }[];
78
- }> & {} & import('vue').ComponentCustomProperties & {} & {
54
+ } & Readonly<{}> & Omit<Readonly<import('../..').VcBadgeProps> & Readonly<{
55
+ onRemove?: (() => any) | undefined;
56
+ }>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
79
57
  $slots: {
58
+ left?(_: {}): any;
80
59
  default?(_: {}): any;
60
+ right?(_: {}): any;
81
61
  };
82
- }) | null;
83
- tagRef: HTMLDivElement[];
62
+ }) | null)[];
84
63
  moreTagsCountRef: HTMLDivElement;
85
- }, any>;
64
+ }, HTMLDivElement>;
86
65
  export default _default;