@quidgest/ui 0.16.61 → 0.16.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quidgest UI v0.16.61
2
+ * Quidgest UI v0.16.63
3
3
  * (c) 2026 Quidgest - Consultores de Gestão, S.A.
4
4
  * Released under the MIT License.
5
5
  */
@@ -3,6 +3,7 @@ declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
5
5
  default?(_: {}): any;
6
+ append?(_: {}): any;
6
7
  };
7
8
  refs: {};
8
9
  rootEl: HTMLButtonElement;
@@ -1 +1 @@
1
- {"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue"],"names":[],"mappings":"AAmBA;AAyGC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AA8E5C,iBAAS,cAAc;WA6CT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;2FASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue"],"names":[],"mappings":"AAoBA;AA0GC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AA8E5C,iBAAS,cAAc;WAgDT,OAAO,IAA6B;;yBAXrB,GAAG;wBACJ,GAAG;;;;EAe9B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;2FASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,10 +1,10 @@
1
- import { defineComponent as _, computed as a, toRef as y, createElementBlock as d, openBlock as b, withModifiers as g, normalizeStyle as h, normalizeClass as k, createCommentVNode as B, createElementVNode as z, createVNode as V, unref as $, renderSlot as N, createTextVNode as P, toDisplayString as S } from "vue";
1
+ import { defineComponent as _, computed as a, toRef as g, createElementBlock as d, openBlock as b, withModifiers as h, normalizeStyle as k, normalizeClass as B, createCommentVNode as z, createElementVNode as $, createVNode as V, unref as N, renderSlot as p, createTextVNode as P, toDisplayString as S } from "vue";
2
2
  import { QSpinnerLoader as R } from "../QSpinnerLoader/index.js";
3
- import { useColor as x } from "../../composables/useColor/index.js";
4
- const D = ["id", "disabled"], E = {
3
+ import { useColor as D } from "../../composables/useColor/index.js";
4
+ const E = ["id", "disabled"], M = {
5
5
  key: 0,
6
6
  class: "q-button__spinner"
7
- }, M = { class: "q-button__content" }, L = /* @__PURE__ */ _({
7
+ }, Q = { class: "q-button__content" }, L = /* @__PURE__ */ _({
8
8
  __name: "QButton",
9
9
  props: {
10
10
  id: {},
@@ -22,13 +22,13 @@ const D = ["id", "disabled"], E = {
22
22
  loading: { type: Boolean }
23
23
  },
24
24
  emits: ["click"],
25
- setup(p, { emit: v }) {
26
- const o = p, m = v, r = a(() => o.disabled || o.loading);
27
- function f(e) {
28
- r.value || m("click", e);
25
+ setup(v, { emit: m }) {
26
+ const o = v, f = m, s = a(() => o.disabled || o.loading);
27
+ function q(e) {
28
+ s.value || f("click", e);
29
29
  }
30
- const { isUtilityColor: s, style: t } = x(y(o, "color")), q = a(() => {
31
- const e = s.value ? `q-button--${o.color}` : void 0, l = o.size !== "regular" ? `q-button--${o.size}` : void 0, n = o.iconPos !== "start" ? `q-button--icon-${o.iconPos}` : void 0;
30
+ const { isUtilityColor: r, style: t } = D(g(o, "color")), C = a(() => {
31
+ const e = r.value ? `q-button--${o.color}` : void 0, l = o.size !== "regular" ? `q-button--${o.size}` : void 0, n = o.iconPos !== "start" ? `q-button--icon-${o.iconPos}` : void 0;
32
32
  return [
33
33
  "q-button",
34
34
  `q-button--${o.variant}`,
@@ -45,9 +45,9 @@ const D = ["id", "disabled"], E = {
45
45
  },
46
46
  o.class
47
47
  ];
48
- }), C = a(() => {
48
+ }), y = a(() => {
49
49
  var e, l, n, i, u, c;
50
- if (!s.value)
50
+ if (!r.value)
51
51
  return {
52
52
  "--q-button-main-color": (e = t.value) == null ? void 0 : e.mainColor,
53
53
  "--q-button-main-color-rgb": (l = t.value) == null ? void 0 : l.mainColorRgb,
@@ -60,23 +60,24 @@ const D = ["id", "disabled"], E = {
60
60
  return (e, l) => (b(), d("button", {
61
61
  id: o.id,
62
62
  type: "button",
63
- class: k(q.value),
64
- disabled: r.value,
65
- style: h(C.value),
66
- onClick: g(f, ["stop", "prevent"])
63
+ class: B(C.value),
64
+ disabled: s.value,
65
+ style: k(y.value),
66
+ onClick: h(q, ["stop", "prevent"])
67
67
  }, [
68
- o.loading ? (b(), d("div", E, [
69
- V($(R))
70
- ])) : B("v-if", !0),
71
- z("span", M, [
72
- N(e.$slots, "default"),
68
+ o.loading ? (b(), d("div", M, [
69
+ V(N(R))
70
+ ])) : z("v-if", !0),
71
+ $("span", Q, [
72
+ p(e.$slots, "default"),
73
73
  P(
74
- " " + S(o.label),
74
+ " " + S(o.label) + " ",
75
75
  1
76
76
  /* TEXT */
77
- )
77
+ ),
78
+ p(e.$slots, "append")
78
79
  ])
79
- ], 14, D));
80
+ ], 14, E));
80
81
  }
81
82
  });
82
83
  export {
@@ -38,6 +38,7 @@ declare const QButton: {
38
38
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
39
39
  $slots: {
40
40
  default?(_: {}): any;
41
+ append?(_: {}): any;
41
42
  };
42
43
  });
43
44
  export { QButton };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,cAAc,SAAS,CAAA"}
@@ -306,6 +306,7 @@ declare function __VLS_template(): {
306
306
  }>, "size" | "color" | "variant" | "iconPos"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
307
307
  $slots: {
308
308
  default?(_: {}): any;
309
+ append?(_: {}): any;
309
310
  };
310
311
  }) | null;
311
312
  contentRef: HTMLDivElement;
@@ -1195,6 +1196,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1195
1196
  }>, "size" | "color" | "variant" | "iconPos"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
1196
1197
  $slots: {
1197
1198
  default?(_: {}): any;
1199
+ append?(_: {}): any;
1198
1200
  };
1199
1201
  }) | null;
1200
1202
  contentRef: HTMLDivElement;
@@ -1 +1 @@
1
- {"version":3,"file":"QCombobox.vue.d.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAHyC,GAAG,8CACxB,GAAG,yBACzC,GAAG,6DACY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4evB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -715,6 +715,7 @@ declare const QCombobox: {
715
715
  }>, "size" | "color" | "variant" | "iconPos"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
716
716
  $slots: {
717
717
  default?(_: {}): any;
718
+ append?(_: {}): any;
718
719
  };
719
720
  }) | null;
720
721
  contentRef: HTMLDivElement;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAOktzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAm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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAP1yzB,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,CAAA;AAGpB,cAAc,SAAS,CAAA"}
@@ -2,7 +2,7 @@ import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
2
2
  import { QDateTimePickerProps } from './types';
3
3
  type __VLS_Props = QDateTimePickerProps;
4
4
  type __VLS_PublicProps = {
5
- modelValue?: Date | string;
5
+ modelValue?: string | Date | Date[];
6
6
  } & __VLS_Props;
7
7
  declare function __VLS_template(): {
8
8
  attrs: Partial<{}>;
@@ -16,9 +16,9 @@ declare function __VLS_template(): {
16
16
  };
17
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
18
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
- "update:modelValue": (value: string | Date) => any;
19
+ "update:modelValue": (value: string | Date | Date[]) => any;
20
20
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
- "onUpdate:modelValue"?: ((value: string | Date) => any) | undefined;
21
+ "onUpdate:modelValue"?: ((value: string | Date | Date[]) => any) | undefined;
22
22
  }>, {
23
23
  icons: typeof DEFAULT_ICONS;
24
24
  texts: typeof DEFAULT_TEXTS;
@@ -1 +1 @@
1
- {"version":3,"file":"QDateTimePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/QDateTimePicker.vue"],"names":[],"mappings":"AAqEA;AA8MC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAc1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAQnD,KAAK,WAAW,GAAG,oBAAoB,CAAC;AAuHzC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;CAC1B,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAwKT,OAAO,IAA6B;;wBAZrB,GAAG;;;;;;EAiB/B;AA2BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;OASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"QDateTimePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/QDateTimePicker.vue"],"names":[],"mappings":"AAsEA;AA+MC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAc1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAQnD,KAAK,WAAW,GAAG,oBAAoB,CAAC;AAuHzC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,EAAE,CAAC;CACnC,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA0KT,OAAO,IAA6B;;wBAZrB,GAAG;;;;;;EAiB/B;AA2BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;OASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as V, mergeModels as g, useModel as F, computed as t, ref as U, createBlock as w, openBlock as D, unref as n, normalizeClass as P, createSlots as E, withCtx as i, createVNode as s, createElementVNode as N, mergeProps as k, renderSlot as Q } from "vue";
1
+ import { defineComponent as C, mergeModels as V, useModel as F, computed as t, ref as U, createBlock as w, openBlock as D, unref as n, normalizeClass as P, createSlots as E, withCtx as r, createVNode as s, createElementVNode as N, mergeProps as k, renderSlot as Q } from "vue";
2
2
  import { DEFAULT_TEXTS as H, DEFAULT_ICONS as I } from "./constants.js";
3
3
  import { QClearButton as Z } from "../__internal__/QClearButton/index.js";
4
4
  import { QField as $ } from "../QField/index.js";
@@ -9,10 +9,10 @@ import { convertDatePatternToMask as X } from "../../utils/date/date.js";
9
9
  import { isTimeOnlyFormat as j } from "../../utils/date/tokens.js";
10
10
  import { formatUsesTime as W, formatUsesSeconds as G, uses12HourFormat as J } from "../../utils/time.js";
11
11
  import { useTheme as Y } from "../../composables/theme.js";
12
- const ee = ["value", "placeholder", "disabled", "readonly", "required", "onInput", "onBlur", "onFocus", "onKeypress", "onKeydown", "onPaste"], ce = /* @__PURE__ */ V({
12
+ const ee = ["value", "placeholder", "disabled", "readonly", "required", "onInput", "onBlur", "onFocus", "onKeypress", "onKeydown", "onPaste"], ce = /* @__PURE__ */ C({
13
13
  inheritAttrs: !1,
14
14
  __name: "QDateTimePicker",
15
- props: /* @__PURE__ */ g({
15
+ props: /* @__PURE__ */ V({
16
16
  id: {},
17
17
  class: {},
18
18
  label: {},
@@ -28,6 +28,7 @@ const ee = ["value", "placeholder", "disabled", "readonly", "required", "onInput
28
28
  format: { default: "dd/MM/yyyy HH:mm" },
29
29
  minTime: {},
30
30
  maxTime: {},
31
+ range: { type: Boolean },
31
32
  locale: { default: "en-US" },
32
33
  icons: { default: () => I },
33
34
  texts: { default: () => H }
@@ -40,10 +41,10 @@ const ee = ["value", "placeholder", "disabled", "readonly", "required", "onInput
40
41
  const e = d, m = F(d, "modelValue"), u = t({
41
42
  get: () => m.value,
42
43
  set: (o) => m.value = o || void 0
43
- }), v = t(() => r.value ? "format" : void 0), b = t(() => ({
44
+ }), v = t(() => i.value ? "format" : void 0), b = t(() => ({
44
45
  closeOnAutoApply: e.closeOnSelect,
45
46
  tabOutClosesMenu: !0
46
- })), c = Y(), T = t(() => c.current.value.mode === "dark"), x = t(() => W(e.format)), h = t(() => G(e.format)), r = t(() => j(e.format)), _ = t(() => J(e.format)), q = t(() => f(e.minTime)), S = t(() => f(e.maxTime)), z = t(() => r.value ? e.icons.clock : e.icons.calendar), B = t(() => ({
47
+ })), c = Y(), T = t(() => c.current.value.mode === "dark"), x = t(() => W(e.format)), h = t(() => G(e.format)), i = t(() => j(e.format)), _ = t(() => J(e.format)), g = t(() => f(e.minTime)), q = t(() => f(e.maxTime)), B = t(() => i.value ? e.icons.clock : e.icons.calendar), S = t(() => ({
47
48
  mask: X(e.format),
48
49
  tokens: {
49
50
  // Default tokens
@@ -72,7 +73,7 @@ const ee = ["value", "placeholder", "disabled", "readonly", "required", "onInput
72
73
  eager: !0
73
74
  // Show static characters before the user types them
74
75
  })), p = U();
75
- R(p, B);
76
+ R(p, S);
76
77
  function f(o) {
77
78
  if (!o) return;
78
79
  const a = o.split(":");
@@ -92,30 +93,31 @@ const ee = ["value", "placeholder", "disabled", "readonly", "required", "onInput
92
93
  size: e.size,
93
94
  invalid: e.invalid
94
95
  }, E({
95
- prepend: i(() => [
96
+ prepend: r(() => [
96
97
  s(
97
98
  n(K),
98
- k({ class: "q-date-time-picker__input-icon" }, z.value),
99
+ k({ class: "q-date-time-picker__input-icon" }, B.value),
99
100
  null,
100
101
  16
101
102
  /* FULL_PROPS */
102
103
  )
103
104
  ]),
104
- default: i(() => [
105
+ default: r(() => [
105
106
  s(n(L), {
106
107
  modelValue: u.value,
107
108
  "onUpdate:modelValue": a[0] || (a[0] = (l) => u.value = l),
108
109
  "model-type": v.value,
109
- "min-time": q.value,
110
- "max-time": S.value,
110
+ "min-time": g.value,
111
+ "max-time": q.value,
111
112
  disabled: e.disabled,
112
113
  readonly: e.readonly,
114
+ range: e.range,
113
115
  format: e.format,
114
116
  is24: !_.value,
115
117
  locale: e.locale,
116
118
  "enable-time-picker": x.value,
117
119
  "enable-seconds": h.value,
118
- "time-picker": r.value,
120
+ "time-picker": i.value,
119
121
  config: b.value,
120
122
  teleport: !e.inline,
121
123
  offset: 16,
@@ -126,7 +128,7 @@ const ee = ["value", "placeholder", "disabled", "readonly", "required", "onInput
126
128
  "hide-input-icon": "",
127
129
  clearable: ""
128
130
  }, {
129
- "dp-input": i(({ value: l, onInput: M, onBlur: A, onFocus: O, onKeypress: y, onPaste: C }) => [
131
+ "dp-input": r(({ value: l, onInput: z, onBlur: M, onFocus: A, onKeypress: y, onPaste: O }) => [
130
132
  N("input", k({
131
133
  ref_key: "inputRef",
132
134
  ref: p,
@@ -139,15 +141,15 @@ const ee = ["value", "placeholder", "disabled", "readonly", "required", "onInput
139
141
  readonly: e.readonly,
140
142
  required: e.required
141
143
  }, o.$attrs, {
142
- onInput: M,
143
- onBlur: A,
144
- onFocus: O,
144
+ onInput: z,
145
+ onBlur: M,
146
+ onFocus: A,
145
147
  onKeypress: y,
146
148
  onKeydown: y,
147
- onPaste: C
149
+ onPaste: O
148
150
  }), null, 16, ee)
149
151
  ]),
150
- "clear-icon": i(({ clear: l }) => [
152
+ "clear-icon": r(({ clear: l }) => [
151
153
  s(n(Z), {
152
154
  texts: e.texts,
153
155
  onClick: l
@@ -155,14 +157,14 @@ const ee = ["value", "placeholder", "disabled", "readonly", "required", "onInput
155
157
  ]),
156
158
  _: 1
157
159
  /* STABLE */
158
- }, 8, ["modelValue", "model-type", "min-time", "max-time", "disabled", "readonly", "format", "is24", "locale", "enable-time-picker", "enable-seconds", "time-picker", "config", "teleport", "dark", "ui", "auto-apply"])
160
+ }, 8, ["modelValue", "model-type", "min-time", "max-time", "disabled", "readonly", "range", "format", "is24", "locale", "enable-time-picker", "enable-seconds", "time-picker", "config", "teleport", "dark", "ui", "auto-apply"])
159
161
  ]),
160
162
  _: 2
161
163
  /* DYNAMIC */
162
164
  }, [
163
165
  o.$slots.extras ? {
164
166
  name: "extras",
165
- fn: i(() => [
167
+ fn: r(() => [
166
168
  Q(o.$slots, "extras")
167
169
  ]),
168
170
  key: "0"
@@ -1,6 +1,6 @@
1
1
  declare const QDateTimePicker: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
3
- modelValue?: Date | string;
3
+ modelValue?: string | Date | Date[];
4
4
  } & import('../../types/component').QBaseComponentProps & {
5
5
  label?: string;
6
6
  required?: boolean;
@@ -18,13 +18,14 @@ declare const QDateTimePicker: {
18
18
  format?: string;
19
19
  minTime?: string;
20
20
  maxTime?: string;
21
+ range?: boolean;
21
22
  locale?: string;
22
23
  icons?: typeof import('./constants').DEFAULT_ICONS;
23
24
  texts?: typeof import('./constants').DEFAULT_TEXTS;
24
25
  }> & Readonly<{
25
- "onUpdate:modelValue"?: ((value: string | Date) => any) | undefined;
26
+ "onUpdate:modelValue"?: ((value: string | Date | Date[]) => any) | undefined;
26
27
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
- "update:modelValue": (value: string | Date) => any;
28
+ "update:modelValue": (value: string | Date | Date[]) => any;
28
29
  }, import('vue').PublicProps, {
29
30
  icons: typeof import('./constants').DEFAULT_ICONS;
30
31
  texts: typeof import('./constants').DEFAULT_TEXTS;
@@ -40,7 +41,7 @@ declare const QDateTimePicker: {
40
41
  M: {};
41
42
  Defaults: {};
42
43
  }, Readonly<{
43
- modelValue?: Date | string;
44
+ modelValue?: string | Date | Date[];
44
45
  } & import('../../types/component').QBaseComponentProps & {
45
46
  label?: string;
46
47
  required?: boolean;
@@ -58,11 +59,12 @@ declare const QDateTimePicker: {
58
59
  format?: string;
59
60
  minTime?: string;
60
61
  maxTime?: string;
62
+ range?: boolean;
61
63
  locale?: string;
62
64
  icons?: typeof import('./constants').DEFAULT_ICONS;
63
65
  texts?: typeof import('./constants').DEFAULT_TEXTS;
64
66
  }> & Readonly<{
65
- "onUpdate:modelValue"?: ((value: string | Date) => any) | undefined;
67
+ "onUpdate:modelValue"?: ((value: string | Date | Date[]) => any) | undefined;
66
68
  }>, {}, {}, {}, {}, {
67
69
  icons: typeof import('./constants').DEFAULT_ICONS;
68
70
  texts: typeof import('./constants').DEFAULT_TEXTS;
@@ -73,7 +75,7 @@ declare const QDateTimePicker: {
73
75
  __isTeleport?: never;
74
76
  __isSuspense?: never;
75
77
  } & import('vue').ComponentOptionsBase<Readonly<{
76
- modelValue?: Date | string;
78
+ modelValue?: string | Date | Date[];
77
79
  } & import('../../types/component').QBaseComponentProps & {
78
80
  label?: string;
79
81
  required?: boolean;
@@ -91,13 +93,14 @@ declare const QDateTimePicker: {
91
93
  format?: string;
92
94
  minTime?: string;
93
95
  maxTime?: string;
96
+ range?: boolean;
94
97
  locale?: string;
95
98
  icons?: typeof import('./constants').DEFAULT_ICONS;
96
99
  texts?: typeof import('./constants').DEFAULT_TEXTS;
97
100
  }> & Readonly<{
98
- "onUpdate:modelValue"?: ((value: string | Date) => any) | undefined;
101
+ "onUpdate:modelValue"?: ((value: string | Date | Date[]) => any) | undefined;
99
102
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
100
- "update:modelValue": (value: string | Date) => any;
103
+ "update:modelValue": (value: string | Date | Date[]) => any;
101
104
  }, string, {
102
105
  icons: typeof import('./constants').DEFAULT_ICONS;
103
106
  texts: typeof import('./constants').DEFAULT_TEXTS;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAoC,CAAA;AAGzD,OAAO,EAAE,eAAe,EAAE,CAAA;AAG1B,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAoC,CAAA;AAGzD,OAAO,EAAE,eAAe,EAAE,CAAA;AAG1B,cAAc,SAAS,CAAA"}
@@ -50,6 +50,12 @@ export type QDateTimePickerProps = QFieldProps & {
50
50
  * @category Configuration
51
51
  */
52
52
  maxTime?: string;
53
+ /**
54
+ * Enable selecting a range of two dates.
55
+ *
56
+ * @category Configuration
57
+ */
58
+ range?: boolean;
53
59
  /**
54
60
  * The datepicker locale.
55
61
  * Datepicker will use built in javascript locale formatter to extract month and weekday names.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE/D,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG;IAChD;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE/D,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG;IAChD;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"uid.d.ts","sourceRoot":"","sources":["../../src/composables/uid.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAKhD;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,WAAW,CAAC,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,CAGrF"}
1
+ {"version":3,"file":"uid.d.ts","sourceRoot":"","sources":["../../src/composables/uid.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAMhD;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,WAAW,CAAC,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,CAGrF"}
@@ -1,8 +1,9 @@
1
1
  import { toValue as e, ref as t } from "vue";
2
- function n(o) {
2
+ import u from "../vendors/uuid/dist/v4.js";
3
+ function i(o) {
3
4
  const r = e(o);
4
- return t(r ?? `uid-${crypto.randomUUID()}`);
5
+ return t(r ?? `uid-${u()}`);
5
6
  }
6
7
  export {
7
- n as useId
8
+ i as useId
8
9
  };
@@ -0,0 +1,4 @@
1
+ const o = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), t = { randomUUID: o };
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,13 @@
1
+ let t;
2
+ const e = new Uint8Array(16);
3
+ function o() {
4
+ if (!t) {
5
+ if (typeof crypto > "u" || !crypto.getRandomValues)
6
+ throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
7
+ t = crypto.getRandomValues.bind(crypto);
8
+ }
9
+ return t(e);
10
+ }
11
+ export {
12
+ o as default
13
+ };
@@ -0,0 +1,9 @@
1
+ const i = [];
2
+ for (let n = 0; n < 256; ++n)
3
+ i.push((n + 256).toString(16).slice(1));
4
+ function c(n, u = 0) {
5
+ return (i[n[u + 0]] + i[n[u + 1]] + i[n[u + 2]] + i[n[u + 3]] + "-" + i[n[u + 4]] + i[n[u + 5]] + "-" + i[n[u + 6]] + i[n[u + 7]] + "-" + i[n[u + 8]] + i[n[u + 9]] + "-" + i[n[u + 10]] + i[n[u + 11]] + i[n[u + 12]] + i[n[u + 13]] + i[n[u + 14]] + i[n[u + 15]]).toLowerCase();
6
+ }
7
+ export {
8
+ c as unsafeStringify
9
+ };
@@ -0,0 +1,17 @@
1
+ import t from "./native.js";
2
+ import m from "./rng.js";
3
+ import { unsafeStringify as a } from "./stringify.js";
4
+ function d(r, n, u) {
5
+ var e;
6
+ r = r || {};
7
+ const f = r.random ?? ((e = r.rng) == null ? void 0 : e.call(r)) ?? m();
8
+ if (f.length < 16)
9
+ throw new Error("Random bytes length must be >= 16");
10
+ return f[6] = f[6] & 15 | 64, f[8] = f[8] & 63 | 128, a(f);
11
+ }
12
+ function o(r, n, u) {
13
+ return t.randomUUID ? t.randomUUID() : d(r);
14
+ }
15
+ export {
16
+ o as default
17
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quidgest/ui",
3
3
  "description": "Quidgest's UI framework",
4
- "version": "0.16.61",
4
+ "version": "0.16.63",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "author": "Quidgest",
@@ -74,7 +74,8 @@
74
74
  "@vuepic/vue-datepicker": "^11.0.3",
75
75
  "@vueuse/core": "^13.0.0",
76
76
  "@vueuse/integrations": "^13.0.0",
77
- "maska": "^3.1.0"
77
+ "maska": "^3.1.0",
78
+ "uuid": "^13.0.0"
78
79
  },
79
80
  "scripts": {
80
81
  "clean": "rimraf dist esm coverage storybook-static",