@maltjoy/core-vue 3.28.0 → 3.28.1-test

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 (36) hide show
  1. package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +8 -8
  2. package/dist/components/JoyButton/VJoyButton.vue.d.ts +3 -3
  3. package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +4 -4
  4. package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +7 -7
  5. package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +1 -1
  6. package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +60 -40
  7. package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +1 -1
  8. package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +60 -40
  9. package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +7 -7
  10. package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +4 -4
  11. package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +3 -3
  12. package/dist/components/JoyInput/VJoyInput.vue.d.ts +3 -3
  13. package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +1 -1
  14. package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +2 -2
  15. package/dist/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue.d.ts +2 -2
  16. package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +6 -2
  17. package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +48 -48
  18. package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +8 -8
  19. package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +12 -12
  20. package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +12 -12
  21. package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +1 -1
  22. package/dist/components/JoySelect/VJoySelect.vue.d.ts +2 -2
  23. package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +3 -4
  24. package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +3 -3
  25. package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +7 -7
  26. package/dist/components/JoyTag/VJoyTag.vue.d.ts +12 -12
  27. package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +36 -24
  28. package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +2 -2
  29. package/dist/components/JoyText/VJoyText.vue.d.ts +3 -3
  30. package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +1 -1
  31. package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +2 -2
  32. package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +1 -1
  33. package/dist/joy-vue.js +7 -7
  34. package/dist/joy-vue.umd.cjs +2 -2
  35. package/dist/style.css +1 -1
  36. package/package.json +5 -5
@@ -2,15 +2,15 @@ import type { Ref } from 'vue';
2
2
  import { TAGS_INPUT_ERRORS } from './JoyTagsInput.types';
3
3
  import type { TJoyTagVariants, TJoyTagSizes } from '../JoyTag/JoyTag.types';
4
4
  declare const _default: <T extends string>(__VLS_props: {
5
- "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
6
- "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
5
+ size?: TJoyTagSizes | undefined;
7
6
  name?: string | undefined;
8
- placeholder?: string | undefined;
9
7
  variant?: TJoyTagVariants | undefined;
10
- size?: TJoyTagSizes | undefined;
11
- modelValue?: T[] | undefined;
12
8
  invalid?: boolean | undefined;
13
- validation?: "email" | "none" | undefined;
9
+ modelValue?: T[] | undefined;
10
+ "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
11
+ placeholder?: string | undefined;
12
+ "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
13
+ validation?: "none" | "email" | undefined;
14
14
  duplicationError?: string | undefined;
15
15
  invalidEmailError?: string | undefined;
16
16
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
@@ -19,12 +19,16 @@ declare const _default: <T extends string>(__VLS_props: {
19
19
  /** Label of the component */
20
20
  default?: (() => any) | undefined;
21
21
  /** Customize the inner content of each VJoyTag */
22
- tag?: (() => any) | undefined;
22
+ tag?: ((tag: {
23
+ name: T;
24
+ }) => any) | undefined;
23
25
  }> & {
24
26
  /** Label of the component */
25
27
  default?: (() => any) | undefined;
26
28
  /** Customize the inner content of each VJoyTag */
27
- tag?: (() => any) | undefined;
29
+ tag?: ((tag: {
30
+ name: T;
31
+ }) => any) | undefined;
28
32
  };
29
33
  emit: {
30
34
  (e: 'update:modelValue', values: T[]): void;
@@ -35,15 +39,15 @@ declare const _default: <T extends string>(__VLS_props: {
35
39
  hasDuplicates: () => boolean;
36
40
  }>) => void) | undefined, __VLS_setup?: Promise<{
37
41
  props: {
38
- "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
39
- "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
42
+ size?: TJoyTagSizes | undefined;
40
43
  name?: string | undefined;
41
- placeholder?: string | undefined;
42
44
  variant?: TJoyTagVariants | undefined;
43
- size?: TJoyTagSizes | undefined;
44
- modelValue?: T[] | undefined;
45
45
  invalid?: boolean | undefined;
46
- validation?: "email" | "none" | undefined;
46
+ modelValue?: T[] | undefined;
47
+ "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
48
+ placeholder?: string | undefined;
49
+ "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
50
+ validation?: "none" | "email" | undefined;
47
51
  duplicationError?: string | undefined;
48
52
  invalidEmailError?: string | undefined;
49
53
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
@@ -56,12 +60,16 @@ declare const _default: <T extends string>(__VLS_props: {
56
60
  /** Label of the component */
57
61
  default?: (() => any) | undefined;
58
62
  /** Customize the inner content of each VJoyTag */
59
- tag?: (() => any) | undefined;
63
+ tag?: ((tag: {
64
+ name: T;
65
+ }) => any) | undefined;
60
66
  }> & {
61
67
  /** Label of the component */
62
68
  default?: (() => any) | undefined;
63
69
  /** Customize the inner content of each VJoyTag */
64
- tag?: (() => any) | undefined;
70
+ tag?: ((tag: {
71
+ name: T;
72
+ }) => any) | undefined;
65
73
  };
66
74
  emit: {
67
75
  (e: 'update:modelValue', values: T[]): void;
@@ -72,15 +80,15 @@ declare const _default: <T extends string>(__VLS_props: {
72
80
  }> & {
73
81
  __ctx?: {
74
82
  props: {
75
- "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
76
- "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
83
+ size?: TJoyTagSizes | undefined;
77
84
  name?: string | undefined;
78
- placeholder?: string | undefined;
79
85
  variant?: TJoyTagVariants | undefined;
80
- size?: TJoyTagSizes | undefined;
81
- modelValue?: T[] | undefined;
82
86
  invalid?: boolean | undefined;
83
- validation?: "email" | "none" | undefined;
87
+ modelValue?: T[] | undefined;
88
+ "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
89
+ placeholder?: string | undefined;
90
+ "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
91
+ validation?: "none" | "email" | undefined;
84
92
  duplicationError?: string | undefined;
85
93
  invalidEmailError?: string | undefined;
86
94
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
@@ -93,12 +101,16 @@ declare const _default: <T extends string>(__VLS_props: {
93
101
  /** Label of the component */
94
102
  default?: (() => any) | undefined;
95
103
  /** Customize the inner content of each VJoyTag */
96
- tag?: (() => any) | undefined;
104
+ tag?: ((tag: {
105
+ name: T;
106
+ }) => any) | undefined;
97
107
  }> & {
98
108
  /** Label of the component */
99
109
  default?: (() => any) | undefined;
100
110
  /** Customize the inner content of each VJoyTag */
101
- tag?: (() => any) | undefined;
111
+ tag?: ((tag: {
112
+ name: T;
113
+ }) => any) | undefined;
102
114
  };
103
115
  emit: {
104
116
  (e: 'update:modelValue', values: T[]): void;
@@ -64,8 +64,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
64
64
  "onUpdate:modelValue"?: ((tags: TJoyTagsListModel) => any) | undefined;
65
65
  onRemoveTag?: ((tagValue: string | number | undefined) => any) | undefined;
66
66
  }, {
67
- align: TJoyTagsListAlign;
68
67
  variant: TJoyTagVariants;
68
+ align: TJoyTagsListAlign;
69
69
  removable: boolean;
70
70
  selectable: boolean;
71
71
  tags: TJoyTagsList;
@@ -76,8 +76,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
76
76
  removable: boolean;
77
77
  link?: boolean | undefined;
78
78
  size?: import("../JoyTag/JoyTag.types").TJoyTagSizes | undefined;
79
- value?: string | number | undefined;
80
79
  variant?: TJoyTagVariants | undefined;
80
+ value?: string | number | undefined;
81
81
  draggable?: boolean | undefined;
82
82
  key?: string | number | symbol | undefined;
83
83
  ref?: import("vue").VNodeRef | undefined;
@@ -3,7 +3,7 @@ import { TJoyTextFontPreset } from './JoyText.types';
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
4
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
5
5
  tagName: {
6
- type: PropType<number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "anchor" | "link" | "small" | "sub" | "sup" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "search" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf">;
6
+ type: PropType<number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "anchor" | "link" | "small" | "sub" | "sup" | "search" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf">;
7
7
  default: string;
8
8
  };
9
9
  /** Choose a pre-configured set of CSS rules : font-family, font-size, line-height, font-weight. */
@@ -14,7 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
14
14
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
16
16
  tagName: {
17
- type: PropType<number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "anchor" | "link" | "small" | "sub" | "sup" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "search" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf">;
17
+ type: PropType<number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "anchor" | "link" | "small" | "sub" | "sup" | "search" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf">;
18
18
  default: string;
19
19
  };
20
20
  /** Choose a pre-configured set of CSS rules : font-family, font-size, line-height, font-weight. */
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
23
23
  default: string;
24
24
  };
25
25
  }>>, {
26
- tagName: number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "anchor" | "link" | "small" | "sub" | "sup" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "search" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf";
26
+ tagName: number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "anchor" | "link" | "small" | "sub" | "sup" | "search" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf";
27
27
  preset: TJoyTextFontPreset;
28
28
  }, {}>, Readonly<{
29
29
  /** Main content */
@@ -127,8 +127,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
127
127
  }>> & {
128
128
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
129
129
  }, {
130
- disabled: boolean;
131
130
  required: boolean;
131
+ disabled: boolean;
132
132
  invalid: boolean;
133
133
  modelValue: string;
134
134
  autofocus: boolean;
@@ -59,10 +59,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
59
59
  }>> & {
60
60
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
61
61
  }, {
62
- disabled: boolean;
63
62
  required: boolean;
64
- value: string;
63
+ disabled: boolean;
65
64
  invalid: boolean;
65
+ value: string;
66
66
  modelValue: boolean;
67
67
  }, {}>, Readonly<{
68
68
  /** Default slot if you need to render a custom label. */
@@ -81,9 +81,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
81
81
  default: string;
82
82
  };
83
83
  }>>, {
84
- align: TJoyWrapperAlign;
85
84
  wrap: TJoyWrapperWrap;
86
85
  justify: TJoyWrapperJustify;
86
+ align: TJoyWrapperAlign;
87
87
  direction: TJoyWrapperDirection;
88
88
  itemStretch: boolean;
89
89
  noMargin: boolean;
package/dist/joy-vue.js CHANGED
@@ -3046,7 +3046,7 @@ const dr = /* @__PURE__ */ P({
3046
3046
  ])) : C("", !0)
3047
3047
  ], 4));
3048
3048
  }
3049
- }), to = /* @__PURE__ */ F(qr, [["__scopeId", "data-v-35470fc8"]]), Hr = /* @__PURE__ */ P({
3049
+ }), to = /* @__PURE__ */ F(qr, [["__scopeId", "data-v-7a3292aa"]]), Hr = /* @__PURE__ */ P({
3050
3050
  __name: "VJoyDropdown",
3051
3051
  props: {
3052
3052
  /** DOM valid selector to give to Vue3 Teleport "to" property */
@@ -3260,7 +3260,7 @@ const dr = /* @__PURE__ */ P({
3260
3260
  _: 3
3261
3261
  }, 512));
3262
3262
  }
3263
- }), Wr = /* @__PURE__ */ F(Hr, [["__scopeId", "data-v-3777f78b"]]), Ur = ["aria-label"], Gr = { class: "joy-filter-bar__wrapper" }, Kr = /* @__PURE__ */ P({
3263
+ }), Wr = /* @__PURE__ */ F(Hr, [["__scopeId", "data-v-a152eb12"]]), Ur = ["aria-label"], Gr = { class: "joy-filter-bar__wrapper" }, Kr = /* @__PURE__ */ P({
3264
3264
  __name: "VJoyFilterBar",
3265
3265
  props: {
3266
3266
  /** To give a label to the whole component */
@@ -3920,7 +3920,7 @@ const dr = /* @__PURE__ */ P({
3920
3920
  ], 42, Pi))), 128))
3921
3921
  ], 40, Bi));
3922
3922
  }
3923
- }), Di = /* @__PURE__ */ F(Fi, [["__scopeId", "data-v-0ce62830"]]), Ri = ["id"], Ji = {
3923
+ }), Di = /* @__PURE__ */ F(Fi, [["__scopeId", "data-v-782c4573"]]), Ri = ["id"], Ji = {
3924
3924
  class: /* @__PURE__ */ L(["joy-multi-checkbox"])
3925
3925
  }, Mi = /* @__PURE__ */ P({
3926
3926
  __name: "VJoyMultiCheckbox",
@@ -4003,7 +4003,7 @@ const dr = /* @__PURE__ */ P({
4003
4003
  ])
4004
4004
  ], 8, Ri));
4005
4005
  }
4006
- }), zi = /* @__PURE__ */ F(Mi, [["__scopeId", "data-v-c12d442b"]]), jn = /* @__PURE__ */ P({
4006
+ }), zi = /* @__PURE__ */ F(Mi, [["__scopeId", "data-v-04da9dc2"]]), jn = /* @__PURE__ */ P({
4007
4007
  __name: "PaginationIcon",
4008
4008
  props: {
4009
4009
  label: {
@@ -4138,7 +4138,7 @@ const dr = /* @__PURE__ */ P({
4138
4138
  ])
4139
4139
  ], 8, qi));
4140
4140
  }
4141
- }), Ki = /* @__PURE__ */ F(Gi, [["__scopeId", "data-v-6af31275"]]), Yi = { class: "joy-screen-loader__content" }, Zi = {
4141
+ }), Ki = /* @__PURE__ */ F(Gi, [["__scopeId", "data-v-7e82041f"]]), Yi = { class: "joy-screen-loader__content" }, Zi = {
4142
4142
  key: 0,
4143
4143
  class: "joy-screen-loader__content"
4144
4144
  }, Xi = /* @__PURE__ */ P({
@@ -6518,7 +6518,7 @@ const ko = Gs("VJoyProductTours", () => {
6518
6518
  ], 2)
6519
6519
  ], 8, Vu));
6520
6520
  }
6521
- }), Lu = /* @__PURE__ */ F(Iu, [["__scopeId", "data-v-77021dcc"]]), Nu = /* @__PURE__ */ P({
6521
+ }), Lu = /* @__PURE__ */ F(Iu, [["__scopeId", "data-v-0851108e"]]), Nu = /* @__PURE__ */ P({
6522
6522
  __name: "VJoySeparator",
6523
6523
  props: {
6524
6524
  /** Main text to apply in the central area */
@@ -7177,7 +7177,7 @@ const rc = { class: "joy-tags-input__wrapper" }, ic = ["id", "name", "placeholde
7177
7177
  })) : C("", !0)
7178
7178
  ]));
7179
7179
  }
7180
- }), dc = /* @__PURE__ */ F(cc, [["__scopeId", "data-v-4b5eb842"]]), fc = /* @__PURE__ */ P({
7180
+ }), dc = /* @__PURE__ */ F(cc, [["__scopeId", "data-v-3576a764"]]), fc = /* @__PURE__ */ P({
7181
7181
  __name: "VJoyTagsList",
7182
7182
  props: {
7183
7183
  align: {