sprintify-ui 0.0.173 → 0.0.174

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 (46) hide show
  1. package/dist/sprintify-ui.es.js +13 -13
  2. package/dist/types/src/components/BaseAutocomplete.vue.d.ts +6 -6
  3. package/dist/types/src/components/BaseAutocompleteDrawer.vue.d.ts +1 -1
  4. package/dist/types/src/components/BaseAutocompleteFetch.vue.d.ts +5 -5
  5. package/dist/types/src/components/BaseAvatarGroup.vue.d.ts +1 -1
  6. package/dist/types/src/components/BaseBelongsTo.vue.d.ts +3 -3
  7. package/dist/types/src/components/BaseButtonGroup.vue.d.ts +2 -2
  8. package/dist/types/src/components/BaseCharacterCounter.vue.d.ts +1 -1
  9. package/dist/types/src/components/BaseColor.vue.d.ts +2 -2
  10. package/dist/types/src/components/BaseDatePicker.vue.d.ts +1 -1
  11. package/dist/types/src/components/BaseDropdownAutocomplete.vue.d.ts +4 -4
  12. package/dist/types/src/components/BaseFieldI18n.vue.d.ts +4 -4
  13. package/dist/types/src/components/BaseFilePicker.vue.d.ts +1 -1
  14. package/dist/types/src/components/BaseFileUploader.vue.d.ts +1 -1
  15. package/dist/types/src/components/BaseHasMany.vue.d.ts +2 -2
  16. package/dist/types/src/components/BaseInput.vue.d.ts +5 -5
  17. package/dist/types/src/components/BaseInputPercent.vue.d.ts +4 -4
  18. package/dist/types/src/components/BaseLoadingCover.vue.d.ts +1 -1
  19. package/dist/types/src/components/BaseMediaLibrary.vue.d.ts +3 -3
  20. package/dist/types/src/components/BaseModalCenter.vue.d.ts +1 -1
  21. package/dist/types/src/components/BaseModalSide.vue.d.ts +1 -1
  22. package/dist/types/src/components/BaseNumber.vue.d.ts +7 -7
  23. package/dist/types/src/components/BasePassword.vue.d.ts +2 -2
  24. package/dist/types/src/components/BaseRadioGroup.vue.d.ts +1 -1
  25. package/dist/types/src/components/BaseRichText.vue.d.ts +2 -2
  26. package/dist/types/src/components/BaseSelect.vue.d.ts +4 -4
  27. package/dist/types/src/components/BaseSwitch.vue.d.ts +1 -1
  28. package/dist/types/src/components/BaseTagAutocomplete.vue.d.ts +6 -6
  29. package/dist/types/src/components/BaseTagAutocompleteFetch.vue.d.ts +3 -3
  30. package/dist/types/src/components/BaseTextarea.vue.d.ts +3 -3
  31. package/dist/types/src/components/BaseTextareaAutoresize.vue.d.ts +3 -3
  32. package/package.json +1 -1
  33. package/src/components/BaseAutocomplete.vue +1 -1
  34. package/src/components/BaseAutocompleteDrawer.vue +1 -1
  35. package/src/components/BaseBadge.vue +1 -1
  36. package/src/components/BaseDatePicker.vue +1 -1
  37. package/src/components/BaseIconPicker.vue +1 -1
  38. package/src/components/BaseInput.vue +1 -1
  39. package/src/components/BaseLayoutNotificationDropdown.vue +1 -1
  40. package/src/components/BaseLayoutSidebar.vue +1 -1
  41. package/src/components/BaseMediaItem.vue +1 -1
  42. package/src/components/BaseMediaPreview.vue +1 -1
  43. package/src/components/BaseShortcut.vue +1 -1
  44. package/src/components/BaseStatistic.vue +1 -1
  45. package/src/components/BaseStepperItem.vue +1 -1
  46. package/src/components/BaseTimelineItem.vue +1 -1
@@ -1,10 +1,10 @@
1
1
  import su from "axios";
2
2
  import { defineComponent as be, inject as it, resolveComponent as st, openBlock as R, createBlock as Te, withCtx as ge, createElementVNode as q, normalizeClass as de, withModifiers as an, renderSlot as Ae, createElementBlock as X, createCommentVNode as ke, toDisplayString as Se, h as ht, createVNode as he, Transition as Pt, ref as le, computed as Y, provide as Ge, readonly as _o, unref as I, Fragment as Ve, createTextVNode as en, withDirectives as pt, isRef as Sn, vModelText as Nr, mergeProps as Yt, onMounted as tt, watchEffect as zt, renderList as Qe, nextTick as ct, watch as Ze, onBeforeUnmount as Dn, Teleport as ar, TransitionGroup as kl, normalizeStyle as ft, vModelSelect as Ar, normalizeProps as Tt, guardReactiveProps as Mt, vShow as cn, resolveDynamicComponent as Hn, cloneVNode as uu, onUnmounted as bn, reactive as cu, withKeys as Da, useSlots as fu, createStaticVNode as _l, getCurrentInstance as du, pushScopeId as hu, popScopeId as pu, createSlots as mu } from "vue";
3
3
  import { isNumber as Bo, round as Xn, get as Nn, isEqual as Mi, isArray as mt, cloneDeep as St, isObject as Dr, isString as No, throttle as Do, debounce as En, truncate as vu, trim as ta, padStart as po, range as Tn, merge as La, set as hi, isPlainObject as gu, capitalize as yu, uniqueId as bu } from "lodash";
4
+ import { useMutationObserver as na, unrefElement as pi, tryOnScopeDispose as wu, useInfiniteScroll as ku, useResizeObserver as rr, useBreakpoints as _u } from "@vueuse/core";
4
5
  import Pa from "qs";
5
- import { useI18n as fn, createI18n as wu } from "vue-i18n";
6
- import { defineStore as na } from "pinia";
7
- import { useMutationObserver as ra, unrefElement as pi, tryOnScopeDispose as ku, useInfiniteScroll as _u, useResizeObserver as rr, useBreakpoints as xu } from "@vueuse/core";
6
+ import { useI18n as fn, createI18n as xu } from "vue-i18n";
7
+ import { defineStore as ra } from "pinia";
8
8
  import { useRoute as Su, useRouter as Eu, useLink as Ou } from "vue-router";
9
9
  import { DateTime as Kt, Info as Au } from "luxon";
10
10
  const Cu = ["active", "href", "aria-current", "onClick"], Tu = ["href"], xo = /* @__PURE__ */ be({
@@ -2099,7 +2099,7 @@ const el = /* @__PURE__ */ new WeakMap(), tl = (t) => {
2099
2099
  return g === void 0 || g === o;
2100
2100
  }
2101
2101
  const s = Y(() => h(e.modelValue) || !w() ? r : e.modelValue);
2102
- ra(
2102
+ na(
2103
2103
  a,
2104
2104
  () => {
2105
2105
  f.value = d();
@@ -2460,7 +2460,7 @@ const cf = { class: "relative transform overflow-hidden rounded-lg bg-white px-4
2460
2460
  ])
2461
2461
  ]));
2462
2462
  }
2463
- }), fa = na("dialogs", {
2463
+ }), fa = ra("dialogs", {
2464
2464
  state: () => ({
2465
2465
  count: 0,
2466
2466
  dialogs: []
@@ -3212,7 +3212,7 @@ function jo(t, i, e = {}) {
3212
3212
  const l = () => {
3213
3213
  r(), o();
3214
3214
  };
3215
- return ku(l), {
3215
+ return wu(l), {
3216
3216
  stop: l
3217
3217
  };
3218
3218
  }
@@ -3322,7 +3322,7 @@ const Vl = /* @__PURE__ */ $t(Bf, [["render", Pf]]), $f = { class: "relative w-f
3322
3322
  }
3323
3323
  }
3324
3324
  tt(() => {
3325
- _u(
3325
+ ku(
3326
3326
  o.value,
3327
3327
  () => {
3328
3328
  e("scrollBottom");
@@ -8076,7 +8076,7 @@ const _p = 411, xp = 640, Sp = 768, Ep = 1024, Op = 1280, Cs = {
8076
8076
  "2xl": 1600
8077
8077
  };
8078
8078
  function Ts() {
8079
- return xu(Cs);
8079
+ return _u(Cs);
8080
8080
  }
8081
8081
  const Ap = {
8082
8082
  "data-scroll-lock-scrollable": "",
@@ -8270,7 +8270,7 @@ const Ap = {
8270
8270
  A.value = (((Oe = E == null ? void 0 : E.value) == null ? void 0 : Oe.childElementCount) ?? 0) > 0;
8271
8271
  }
8272
8272
  const x = En(_, 100);
8273
- ra(E, x, {
8273
+ na(E, x, {
8274
8274
  attributes: !1,
8275
8275
  childList: !0
8276
8276
  }), tt(() => {
@@ -8568,7 +8568,7 @@ const Ap = {
8568
8568
  ], 512);
8569
8569
  };
8570
8570
  }
8571
- }), sr = na("notifications", {
8571
+ }), sr = ra("notifications", {
8572
8572
  state: () => ({
8573
8573
  count: 0,
8574
8574
  notifications: [],
@@ -15585,7 +15585,7 @@ const ly = /* @__PURE__ */ $t(ty, [["render", ay], ["__scopeId", "data-v-e5ae83e
15585
15585
  "-webkit-box-orient": "vertical"
15586
15586
  }));
15587
15587
  tt(() => {
15588
- l(), ra(
15588
+ l(), na(
15589
15589
  e.value,
15590
15590
  () => {
15591
15591
  r.value = !1, ct(() => {
@@ -25119,7 +25119,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
25119
25119
  ])
25120
25120
  ]));
25121
25121
  }
25122
- }), nu = na("systemAlerts", {
25122
+ }), nu = ra("systemAlerts", {
25123
25123
  state: () => ({
25124
25124
  count: 0,
25125
25125
  systemAlerts: []
@@ -26148,7 +26148,7 @@ const C1 = 100, z1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.define
26148
26148
  __proto__: null,
26149
26149
  MAGIC_NUM: C1
26150
26150
  }, Symbol.toStringTag, { value: "Module" })), U1 = { en: au, fr: lu }, nt = {
26151
- i18n: wu({
26151
+ i18n: xu({
26152
26152
  locale: "en",
26153
26153
  fallbackLocale: "en",
26154
26154
  messages: { en: au, fr: lu }
@@ -89,7 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
89
89
  close: () => void;
90
90
  open: () => void;
91
91
  setKeywords: (input: string) => void;
92
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "clear" | "close" | "update:modelValue" | "scrollBottom" | "typing" | "open")[], "select" | "clear" | "close" | "update:modelValue" | "scrollBottom" | "typing" | "open", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
92
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "clear" | "close" | "scrollBottom" | "typing" | "open")[], "select" | "update:modelValue" | "clear" | "close" | "scrollBottom" | "typing" | "open", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
93
93
  modelValue: {
94
94
  default: undefined;
95
95
  type: PropType<Option | null | undefined>;
@@ -173,10 +173,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
173
173
  };
174
174
  }>> & {
175
175
  onSelect?: ((...args: any[]) => any) | undefined;
176
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
176
177
  onScrollBottom?: ((...args: any[]) => any) | undefined;
177
178
  onClear?: ((...args: any[]) => any) | undefined;
178
179
  onClose?: ((...args: any[]) => any) | undefined;
179
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
180
180
  onTyping?: ((...args: any[]) => any) | undefined;
181
181
  onOpen?: ((...args: any[]) => any) | undefined;
182
182
  }, {
@@ -184,13 +184,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
184
184
  required: boolean;
185
185
  name: string;
186
186
  select: SelectConfiguration | undefined;
187
+ modelValue: Option | null | undefined;
188
+ placeholder: string;
189
+ disabled: boolean;
190
+ hasError: boolean;
187
191
  loading: boolean;
188
192
  loadingBottom: boolean;
189
193
  size: "base" | "xs" | "sm";
190
- disabled: boolean;
191
- placeholder: string;
192
- modelValue: Option | null | undefined;
193
- hasError: boolean;
194
194
  inline: boolean;
195
195
  dropdownShow: "focus" | "always";
196
196
  showModelValue: boolean;
@@ -64,8 +64,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
64
64
  onSelect?: ((...args: any[]) => any) | undefined;
65
65
  onScrollBottom?: ((...args: any[]) => any) | undefined;
66
66
  }, {
67
- selected: NormalizedOption | NormalizedOption[] | null | undefined;
68
67
  options: NormalizedOption[];
68
+ selected: NormalizedOption | NormalizedOption[] | null | undefined;
69
69
  keywords: string;
70
70
  loading: boolean;
71
71
  loadingBottom: boolean;
@@ -79,7 +79,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
79
79
  open: () => void | undefined;
80
80
  close: () => void | undefined;
81
81
  setKeywords: (input: string) => void | undefined;
82
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "focus" | "update:modelValue" | "scrollBottom" | "typing")[], "clear" | "focus" | "update:modelValue" | "scrollBottom" | "typing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
82
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "clear" | "scrollBottom" | "typing")[], "update:modelValue" | "focus" | "clear" | "scrollBottom" | "typing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
83
83
  modelValue: {
84
84
  default: undefined;
85
85
  type: PropType<Option | null | undefined>;
@@ -154,19 +154,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
154
154
  };
155
155
  }>> & {
156
156
  onFocus?: ((...args: any[]) => any) | undefined;
157
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
157
158
  onScrollBottom?: ((...args: any[]) => any) | undefined;
158
159
  onClear?: ((...args: any[]) => any) | undefined;
159
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
160
160
  onTyping?: ((...args: any[]) => any) | undefined;
161
161
  }, {
162
162
  required: boolean;
163
163
  name: string;
164
164
  select: SelectConfiguration | undefined;
165
- size: "base" | "xs" | "sm";
166
- disabled: boolean;
167
- placeholder: string;
168
165
  modelValue: Option | null | undefined;
166
+ placeholder: string;
167
+ disabled: boolean;
169
168
  hasError: boolean;
169
+ size: "base" | "xs" | "sm";
170
170
  inline: boolean;
171
171
  dropdownShow: "focus" | "always";
172
172
  showModelValue: boolean;
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
37
37
  };
38
38
  }>>, {
39
39
  to: (user: User) => RouteLocationRaw;
40
- size: string;
41
40
  max: number;
41
+ size: string;
42
42
  }>;
43
43
  export default _default;
@@ -166,11 +166,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
166
166
  required: boolean;
167
167
  name: string;
168
168
  select: SelectConfiguration | undefined;
169
- size: "base" | "xs" | "sm";
170
- disabled: boolean;
171
- placeholder: string;
172
169
  modelValue: string | number | null | undefined;
170
+ placeholder: string;
171
+ disabled: boolean;
173
172
  hasError: boolean;
173
+ size: "base" | "xs" | "sm";
174
174
  inline: boolean;
175
175
  dropdownShow: "focus" | "always";
176
176
  showModelValue: boolean;
@@ -119,10 +119,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
119
119
  }, {
120
120
  required: boolean;
121
121
  name: string;
122
- disabled: boolean;
123
- multiple: boolean;
124
122
  modelValue: Option | Option[] | null | undefined;
123
+ disabled: boolean;
125
124
  hasError: boolean;
125
+ multiple: boolean;
126
126
  spacing: string;
127
127
  buttonType: "button" | "submit";
128
128
  buttonClass: string;
@@ -42,8 +42,8 @@ declare const _default: import("vue").DefineComponent<{
42
42
  };
43
43
  }>>, {
44
44
  trim: boolean;
45
- max: number;
46
45
  min: number;
46
+ max: number;
47
47
  removeDoubleSpaces: boolean;
48
48
  }>;
49
49
  export default _default;
@@ -70,10 +70,10 @@ declare const _default: import("vue").DefineComponent<{
70
70
  }, {
71
71
  required: boolean;
72
72
  name: string;
73
- disabled: boolean;
74
- multiple: boolean;
75
73
  modelValue: string | string[] | null | undefined;
74
+ disabled: boolean;
76
75
  hasError: boolean;
76
+ multiple: boolean;
77
77
  buttonType: "button" | "submit";
78
78
  colors: string[];
79
79
  }>;
@@ -61,8 +61,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
61
61
  required: boolean;
62
62
  name: string;
63
63
  mode: 'single' | 'multiple' | 'range' | 'time';
64
- disabled: boolean;
65
64
  modelValue: string | null | string[];
65
+ disabled: boolean;
66
66
  hasError: boolean;
67
67
  inline: boolean;
68
68
  minDate: string | Date | null;
@@ -49,7 +49,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
49
49
  default: undefined;
50
50
  type: PropType<SelectConfiguration | undefined>;
51
51
  };
52
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:model-value")[], "close" | "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
52
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:model-value" | "close")[], "update:model-value" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
53
53
  modelValue: {
54
54
  type: PropType<Option | Option[] | null | undefined>;
55
55
  default: undefined;
@@ -104,12 +104,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
104
104
  }, {
105
105
  required: boolean;
106
106
  select: SelectConfiguration | undefined;
107
- options: Option[] | undefined;
108
- size: "base" | "xs" | "sm";
109
- multiple: boolean;
110
107
  modelValue: Option | Option[] | null | undefined;
108
+ options: Option[] | undefined;
111
109
  labelKey: string;
112
110
  valueKey: string;
111
+ size: "base" | "xs" | "sm";
112
+ multiple: boolean;
113
113
  emptyOptionLabel: string;
114
114
  url: string;
115
115
  padding: number;
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
13
13
  };
14
14
  component: {
15
15
  default: string;
16
- type: PropType<"BaseTextarea" | "BaseInput">;
16
+ type: PropType<"BaseInput" | "BaseTextarea">;
17
17
  };
18
18
  componentProps: {
19
19
  default: undefined;
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
52
52
  };
53
53
  component: {
54
54
  default: string;
55
- type: PropType<"BaseTextarea" | "BaseInput">;
55
+ type: PropType<"BaseInput" | "BaseTextarea">;
56
56
  };
57
57
  componentProps: {
58
58
  default: undefined;
@@ -84,12 +84,12 @@ declare const _default: import("vue").DefineComponent<{
84
84
  label: string;
85
85
  required: boolean;
86
86
  name: string;
87
- defaultValue: string | number | boolean;
88
87
  modelValue: {
89
88
  [locale: string]: string | number | boolean;
90
89
  } | null;
91
90
  hasError: boolean;
92
- component: "BaseTextarea" | "BaseInput";
91
+ defaultValue: string | number | boolean;
92
+ component: "BaseInput" | "BaseTextarea";
93
93
  locales: Locales;
94
94
  componentProps: Record<string, any>;
95
95
  }>;
@@ -37,8 +37,8 @@ declare const _default: import("vue").DefineComponent<{
37
37
  }>> & {
38
38
  onSelect?: ((...args: any[]) => any) | undefined;
39
39
  }, {
40
- accept: string;
41
40
  disabled: boolean;
41
+ accept: string;
42
42
  buttonClass: string;
43
43
  }>;
44
44
  export default _default;
@@ -71,9 +71,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
71
71
  "onUpload:fail"?: ((...args: any[]) => any) | undefined;
72
72
  "onUpload:end"?: ((...args: any[]) => any) | undefined;
73
73
  }, {
74
+ disabled: boolean;
74
75
  loading: boolean;
75
76
  accept: string;
76
- disabled: boolean;
77
77
  url: string;
78
78
  buttonClass: string;
79
79
  beforeUpload: () => boolean;
@@ -100,10 +100,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
100
100
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
101
101
  }, {
102
102
  required: boolean;
103
+ modelValue: string[] | null | undefined;
104
+ placeholder: string;
103
105
  disabled: boolean;
104
106
  max: number;
105
- placeholder: string;
106
- modelValue: string[] | null | undefined;
107
107
  hasError: boolean;
108
108
  queryKey: string;
109
109
  primaryKey: string;
@@ -71,7 +71,7 @@ declare const _default: import("vue").DefineComponent<{
71
71
  type: (StringConstructor | ArrayConstructor | FunctionConstructor)[];
72
72
  default(): null;
73
73
  };
74
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "focus" | "update:modelValue")[], "blur" | "focus" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
74
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "blur")[], "update:modelValue" | "focus" | "blur", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
75
75
  modelValue: {
76
76
  default: string;
77
77
  type: PropType<string | number | null>;
@@ -153,13 +153,13 @@ declare const _default: import("vue").DefineComponent<{
153
153
  name: string;
154
154
  mask: string | Function | unknown[];
155
155
  step: number;
156
- autocomplete: boolean;
156
+ modelValue: string | number | null;
157
+ placeholder: string;
157
158
  disabled: boolean;
158
- max: number;
159
159
  min: number;
160
- placeholder: string;
161
- modelValue: string | number | null;
160
+ max: number;
162
161
  hasError: boolean;
162
+ autocomplete: boolean;
163
163
  preventSubmit: boolean;
164
164
  iconLeft: string;
165
165
  iconRight: string;
@@ -56,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
56
56
  default: undefined;
57
57
  type: NumberConstructor;
58
58
  };
59
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "focus" | "update:modelValue")[], "blur" | "focus" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "blur")[], "update:modelValue" | "focus" | "blur", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
60
60
  /**
61
61
  * The value of the input. Can be a number or null.
62
62
  * 0.1 = 10%
@@ -122,11 +122,11 @@ declare const _default: import("vue").DefineComponent<{
122
122
  name: string;
123
123
  step: number;
124
124
  icon: string;
125
+ modelValue: string | number | null;
126
+ placeholder: string;
125
127
  disabled: boolean;
126
- max: number;
127
128
  min: number;
128
- placeholder: string;
129
- modelValue: string | number | null;
129
+ max: number;
130
130
  hasError: boolean;
131
131
  preventSubmit: boolean;
132
132
  }>;
@@ -87,10 +87,10 @@ declare const _default: import("vue").DefineComponent<{
87
87
  };
88
88
  }>>, {
89
89
  iconClass: string;
90
+ modelValue: boolean;
90
91
  duration: string;
91
92
  delay: number;
92
93
  size: "sm" | "lg";
93
- modelValue: boolean;
94
94
  backdropClass: string;
95
95
  }>;
96
96
  export default _default;
@@ -99,12 +99,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
99
99
  "onUpload:end"?: ((...args: any[]) => any) | undefined;
100
100
  }, {
101
101
  name: string;
102
- accept: string;
102
+ modelValue: MediaLibraryPayload | null | undefined;
103
103
  disabled: boolean;
104
- max: number;
105
104
  min: number;
106
- modelValue: MediaLibraryPayload | null | undefined;
105
+ max: number;
107
106
  hasError: boolean;
107
+ accept: string;
108
108
  maxSize: number;
109
109
  acceptedExtensions: string[];
110
110
  currentMedia: Media[];
@@ -59,8 +59,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
59
59
  }>> & {
60
60
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
61
61
  }, {
62
- closeOnOutsideClick: boolean;
63
62
  modelValue: boolean;
63
+ closeOnOutsideClick: boolean;
64
64
  clipped: boolean;
65
65
  maxWidth: string;
66
66
  backdropClass: string;
@@ -43,8 +43,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
43
43
  }>> & {
44
44
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
45
45
  }, {
46
- closeOnOutsideClick: boolean;
47
46
  modelValue: boolean;
47
+ closeOnOutsideClick: boolean;
48
48
  clipped: boolean;
49
49
  maxWidth: string;
50
50
  backdropClass: string;
@@ -45,9 +45,9 @@ declare const _default: import("vue").DefineComponent<{
45
45
  };
46
46
  rounded: {
47
47
  default: string;
48
- type: PropType<"left" | "right" | "none" | "full">;
48
+ type: PropType<"left" | "right" | "full" | "none">;
49
49
  };
50
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "focus" | "keydown" | "update:modelValue")[], "blur" | "focus" | "keydown" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
50
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "blur" | "keydown")[], "update:modelValue" | "focus" | "blur" | "keydown", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
51
  modelValue: {
52
52
  default: undefined;
53
53
  type: PropType<number | null>;
@@ -93,7 +93,7 @@ declare const _default: import("vue").DefineComponent<{
93
93
  };
94
94
  rounded: {
95
95
  default: string;
96
- type: PropType<"left" | "right" | "none" | "full">;
96
+ type: PropType<"left" | "right" | "full" | "none">;
97
97
  };
98
98
  }>> & {
99
99
  onFocus?: ((...args: any[]) => any) | undefined;
@@ -104,13 +104,13 @@ declare const _default: import("vue").DefineComponent<{
104
104
  required: boolean;
105
105
  name: string;
106
106
  step: number;
107
+ modelValue: number | null;
108
+ placeholder: string;
107
109
  disabled: boolean;
108
- max: number;
109
110
  min: number;
110
- placeholder: string;
111
- modelValue: number | null;
111
+ max: number;
112
112
  hasError: boolean;
113
- rounded: "left" | "right" | "none" | "full";
114
113
  borderless: boolean;
114
+ rounded: "left" | "right" | "full" | "none";
115
115
  }>;
116
116
  export default _default;
@@ -54,9 +54,9 @@ declare const _default: import("vue").DefineComponent<{
54
54
  }, {
55
55
  required: boolean;
56
56
  name: string;
57
- disabled: boolean;
58
- placeholder: string;
59
57
  modelValue: string | null;
58
+ placeholder: string;
59
+ disabled: boolean;
60
60
  hasError: boolean;
61
61
  }>;
62
62
  export default _default;
@@ -88,8 +88,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
88
88
  required: boolean;
89
89
  name: string;
90
90
  labelClass: string;
91
- disabled: boolean;
92
91
  modelValue: OptionValue | undefined;
92
+ disabled: boolean;
93
93
  hasError: boolean;
94
94
  inputClass: string;
95
95
  }>, {
@@ -81,9 +81,9 @@ declare const _default: import("vue").DefineComponent<{
81
81
  }, {
82
82
  required: boolean;
83
83
  name: string;
84
- disabled: boolean;
85
- placeholder: string;
86
84
  modelValue: string | Delta | null | undefined;
85
+ placeholder: string;
86
+ disabled: boolean;
87
87
  hasError: boolean;
88
88
  enable: boolean;
89
89
  toolbar: string | Record<string, any> | unknown[] | undefined;
@@ -79,13 +79,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
79
79
  }, {
80
80
  required: boolean;
81
81
  name: string;
82
- options: Option[];
83
- disabled: boolean;
84
- placeholder: string;
85
82
  modelValue: (string | number | null) | undefined;
83
+ placeholder: string;
84
+ disabled: boolean;
85
+ hasError: boolean;
86
+ options: Option[];
86
87
  labelKey: string;
87
88
  valueKey: string;
88
- hasError: boolean;
89
89
  }>, {
90
90
  default: (_: {}) => any;
91
91
  }>;
@@ -55,9 +55,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
55
55
  required: boolean;
56
56
  name: string;
57
57
  color: "dark" | "light" | "danger" | "success" | "warning" | "info" | "primary";
58
- size: "base" | "xs" | "sm" | "lg" | "xl";
59
58
  modelValue: string | number | boolean | null | undefined;
60
59
  hasError: boolean;
60
+ size: "base" | "xs" | "sm" | "lg" | "xl";
61
61
  }>, {
62
62
  default: (_: {}) => any;
63
63
  }>;
@@ -71,7 +71,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
71
71
  close: () => void;
72
72
  open: () => void;
73
73
  setKeywords: (input: string) => void;
74
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:modelValue" | "scrollBottom" | "typing" | "open")[], "close" | "update:modelValue" | "scrollBottom" | "typing" | "open", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
74
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "close" | "scrollBottom" | "typing" | "open")[], "update:modelValue" | "close" | "scrollBottom" | "typing" | "open", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
75
75
  modelValue: {
76
76
  required: true;
77
77
  type: PropType<Option[] | null>;
@@ -137,22 +137,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
137
137
  type: PropType<"focus" | "always">;
138
138
  };
139
139
  }>> & {
140
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
140
141
  onScrollBottom?: ((...args: any[]) => any) | undefined;
141
142
  onClose?: ((...args: any[]) => any) | undefined;
142
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
143
143
  onTyping?: ((...args: any[]) => any) | undefined;
144
144
  onOpen?: ((...args: any[]) => any) | undefined;
145
145
  }, {
146
146
  filter: (option: NormalizedOption) => boolean;
147
147
  required: boolean;
148
148
  name: string;
149
- loading: boolean;
150
- loadingBottom: boolean;
151
- size: "base" | "xs" | "sm";
149
+ placeholder: string;
152
150
  disabled: boolean;
153
151
  max: number;
154
- placeholder: string;
155
152
  hasError: boolean;
153
+ loading: boolean;
154
+ loadingBottom: boolean;
155
+ size: "base" | "xs" | "sm";
156
156
  inline: boolean;
157
157
  dropdownShow: "focus" | "always";
158
158
  }>, {
@@ -47,7 +47,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
47
47
  open: () => void | undefined;
48
48
  close: () => void | undefined;
49
49
  setKeywords: (input: string) => void | undefined;
50
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "update:modelValue" | "scrollBottom" | "typing")[], "focus" | "update:modelValue" | "scrollBottom" | "typing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
50
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "scrollBottom" | "typing")[], "update:modelValue" | "focus" | "scrollBottom" | "typing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
51
  modelValue: {
52
52
  required: true;
53
53
  type: PropType<Option[]>;
@@ -90,14 +90,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
90
90
  };
91
91
  }>> & {
92
92
  onFocus?: ((...args: any[]) => any) | undefined;
93
- onScrollBottom?: ((...args: any[]) => any) | undefined;
94
93
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
94
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
95
95
  onTyping?: ((...args: any[]) => any) | undefined;
96
96
  }, {
97
97
  required: boolean;
98
+ placeholder: string;
98
99
  disabled: boolean;
99
100
  max: number;
100
- placeholder: string;
101
101
  hasError: boolean;
102
102
  queryKey: string;
103
103
  }>, {
@@ -87,11 +87,11 @@ declare const _default: import("vue").DefineComponent<{
87
87
  required: boolean;
88
88
  type: string;
89
89
  name: string;
90
- autocomplete: boolean;
91
- disabled: boolean;
92
- placeholder: string;
93
90
  modelValue: string | null | undefined;
91
+ placeholder: string;
92
+ disabled: boolean;
94
93
  hasError: boolean;
94
+ autocomplete: boolean;
95
95
  preventSubmit: boolean;
96
96
  rows: number;
97
97
  }>;
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
39
39
  default: boolean;
40
40
  type: BooleanConstructor;
41
41
  };
42
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "submit" | "focus" | "update:modelValue")[], "input" | "submit" | "focus" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "submit" | "update:modelValue" | "focus")[], "input" | "submit" | "update:modelValue" | "focus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
43
  modelValue: {
44
44
  default: string;
45
45
  type: StringConstructor;
@@ -87,9 +87,9 @@ declare const _default: import("vue").DefineComponent<{
87
87
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
88
88
  }, {
89
89
  required: boolean;
90
- disabled: boolean;
91
- placeholder: string;
92
90
  modelValue: string;
91
+ placeholder: string;
92
+ disabled: boolean;
93
93
  hasError: boolean;
94
94
  maxHeight: number;
95
95
  rows: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.0.173",
3
+ "version": "0.0.174",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -123,7 +123,7 @@ import { PropType, ComputedRef } from 'vue';
123
123
  import { NormalizedOption, Option, OptionValue } from '@/types';
124
124
  import { useHasOptions } from '@/composables/hasOptions';
125
125
  import { useField } from '@/composables/field';
126
- import { BaseIcon } from './index';
126
+ import { Icon as BaseIcon } from '@iconify/vue';
127
127
  import { useClickOutside } from '@/composables/clickOutside';
128
128
  import BaseAutocompleteDrawer from './BaseAutocompleteDrawer.vue';
129
129
  import { SelectConfiguration } from '@/types';
@@ -100,7 +100,7 @@ import { useInfiniteScroll } from '@vueuse/core';
100
100
  import { NormalizedOption } from '@/types';
101
101
  import { isArray, isObject, throttle } from 'lodash';
102
102
  import BaseSkeleton from './BaseSkeleton.vue';
103
- import { BaseIcon } from '.';
103
+ import { Icon as BaseIcon } from '@iconify/vue';
104
104
  import BaseSpinnerSmall from '../svg/BaseSpinnerSmall.vue';
105
105
 
106
106
  const props = defineProps({
@@ -11,7 +11,7 @@
11
11
 
12
12
  <script lang="ts" setup>
13
13
  import { getColorConfig } from '@/utils/colors';
14
- import { BaseIcon } from '.';
14
+ import { Icon as BaseIcon } from '@iconify/vue';
15
15
 
16
16
  const props = withDefaults(
17
17
  defineProps<{
@@ -36,7 +36,7 @@
36
36
  import { Ref } from 'vue';
37
37
  import { isArray } from 'lodash';
38
38
  import { DateTime } from 'luxon';
39
- import { BaseIcon } from '.';
39
+ import { Icon as BaseIcon } from '@iconify/vue';
40
40
  import { useField } from '@/composables/field';
41
41
  import flatpickr from 'flatpickr';
42
42
  import 'flatpickr/dist/flatpickr.css';
@@ -47,7 +47,7 @@
47
47
  </template>
48
48
 
49
49
  <script lang="ts" setup>
50
- import { BaseIcon } from '..';
50
+ import { Icon as BaseIcon } from '@iconify/vue';
51
51
 
52
52
  const props = withDefaults(
53
53
  defineProps<{
@@ -92,7 +92,7 @@
92
92
  <script lang="ts" setup>
93
93
  import { get } from 'lodash';
94
94
  import { PropType } from 'vue';
95
- import { BaseIcon } from '@/index';
95
+ import { Icon as BaseIcon } from '@iconify/vue';
96
96
  import { useField } from '@/composables/field';
97
97
  import { vMaska } from 'maska';
98
98
  import BaseNumber from './BaseNumber.vue';
@@ -76,7 +76,7 @@
76
76
 
77
77
  <script lang="ts" setup>
78
78
  import { PropType } from 'vue';
79
- import { BaseIcon } from '.';
79
+ import { Icon as BaseIcon } from '@iconify/vue';
80
80
  import BaseCounter from './BaseCounter.vue';
81
81
  import BaseLayoutNotificationItem from './BaseLayoutNotificationItem.vue';
82
82
  import BaseMenu from './BaseMenu.vue';
@@ -151,7 +151,7 @@ import {
151
151
  } from '@headlessui/vue';
152
152
 
153
153
  import { useSystemAlertStore } from '../stores/systemAlerts';
154
- import { BaseIcon } from '.';
154
+ import { Icon as BaseIcon } from '@iconify/vue';
155
155
  import BaseSystemAlert from './BaseSystemAlert.vue';
156
156
 
157
157
  const props = defineProps({
@@ -38,7 +38,7 @@ import { UploadedFile } from '@/types/UploadedFile';
38
38
  import { PropType } from 'vue';
39
39
  import { fileSizeFormat } from '@/utils';
40
40
  import BaseMediaPreview from './BaseMediaPreview.vue';
41
- import { BaseIcon } from '.';
41
+ import { Icon as BaseIcon } from '@iconify/vue';
42
42
 
43
43
  defineEmits(['remove']);
44
44
 
@@ -51,7 +51,7 @@
51
51
  import { Media } from '@/types/Media';
52
52
  import { UploadedFile } from '@/types/UploadedFile';
53
53
  import { PropType } from 'vue';
54
- import { BaseIcon } from './index';
54
+ import { Icon as BaseIcon } from '@iconify/vue';
55
55
 
56
56
  defineEmits(['delete']);
57
57
 
@@ -44,7 +44,7 @@
44
44
 
45
45
  <script lang="ts" setup>
46
46
  import { PropType } from 'vue';
47
- import { BaseIcon } from '.';
47
+ import { Icon as BaseIcon } from '@iconify/vue';
48
48
  import BaseCard from './BaseCard.vue';
49
49
  import { RouteLocationRaw } from 'vue-router';
50
50
  import { getColorConfig } from '@/utils/colors';
@@ -33,7 +33,7 @@
33
33
 
34
34
  <script lang="ts">
35
35
  import { defineComponent, PropType } from 'vue';
36
- import { BaseIcon } from '.';
36
+ import { Icon as BaseIcon } from '@iconify/vue';
37
37
 
38
38
  export default defineComponent({
39
39
  components: { BaseIcon },
@@ -119,7 +119,7 @@
119
119
 
120
120
  <script lang="ts" setup>
121
121
  import { PropType } from 'vue';
122
- import { BaseIcon } from '.';
122
+ import { Icon as BaseIcon } from '@iconify/vue';
123
123
 
124
124
  defineProps({
125
125
  stepNumber: {
@@ -43,7 +43,7 @@
43
43
  import { TimelineItem } from '../types/TimelineItem';
44
44
  import { Color } from '../types/Color';
45
45
  import { PropType } from 'vue';
46
- import { BaseIcon } from '.';
46
+ import { Icon as BaseIcon } from '@iconify/vue';
47
47
 
48
48
  const props = defineProps({
49
49
  item: {