@quidgest/ui 0.16.38 → 0.16.39

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.
@@ -9,10 +9,10 @@ import { QCarousel as L } from "./QCarousel/index.js";
9
9
  import { QCheckbox as g, QCheckboxLabel as P } from "./QCheckbox/index.js";
10
10
  import { QCollapsible as b } from "./QCollapsible/index.js";
11
11
  import { QColorPicker as v } from "./QColorPicker/index.js";
12
- import { QCombobox as S } from "./QCombobox/index.js";
13
- import { QDateTimePicker as G } from "./QDateTimePicker/index.js";
14
- import { QDefaultsProvider as k } from "./QDefaultsProvider/index.js";
15
- import { QDialog as A, QDialogProvider as B } from "./QDialog/index.js";
12
+ import { QCombobox as G } from "./QCombobox/index.js";
13
+ import { QDateTimePicker as F } from "./QDateTimePicker/index.js";
14
+ import { QDefaultsProvider as B } from "./QDefaultsProvider/index.js";
15
+ import { QDialog as w, QDialogProvider as A } from "./QDialog/index.js";
16
16
  import { QDismissibleLayer as R } from "./QDismissibleLayer/index.js";
17
17
  import { QDivider as M } from "./QDivider/index.js";
18
18
  import { QDropdownMenu as O } from "./QDropdownMenu/index.js";
@@ -20,32 +20,33 @@ import { QField as _ } from "./QField/index.js";
20
20
  import { QFileUpload as q } from "./QFileUpload/index.js";
21
21
  import { QFocusTrap as H } from "./QFocusTrap/index.js";
22
22
  import { QCol as K, QContainer as N, QRow as V, QSpacer as W } from "./QGrid/index.js";
23
- import { QIcon as Z, QIconFont as $, QIconImg as oo, QIconSvg as ro } from "./QIcon/index.js";
24
- import { QInputGroup as to } from "./QInputGroup/index.js";
25
- import { QLabel as Qo } from "./QLabel/index.js";
26
- import { QLineLoader as xo } from "./QLineLoader/index.js";
27
- import { QList as io, QListItem as ao, QListItemGroup as lo } from "./QList/index.js";
28
- import { QMeter as so } from "./QMeter/index.js";
29
- import { QOverlay as uo } from "./QOverlay/index.js";
30
- import { QPasswordField as To } from "./QPasswordField/index.js";
31
- import { QPopover as Po } from "./QPopover/index.js";
32
- import { QPropertyList as bo, QPropertyListGroup as Co, QPropertyListPanel as vo, QPropertyListRow as Do } from "./QPropertyList/index.js";
33
- import { QRadioButton as Fo, QRadioGroup as Go } from "./QRadioGroup/index.js";
34
- import { QSelect as ko } from "./QSelect/index.js";
35
- import { QSidebar as Ao } from "./QSidebar/index.js";
36
- import { QSkeletonLoader as ho } from "./QSkeletonLoader/index.js";
37
- import { QSpinnerLoader as Eo } from "./QSpinnerLoader/index.js";
38
- import { QSwitch as Uo } from "./QSwitch/index.js";
39
- import { QTextArea as Xo } from "./QTextArea/index.js";
40
- import { QTextField as jo } from "./QTextField/index.js";
41
- import { QThemeProvider as zo } from "./QThemeProvider/index.js";
42
- import { QToast as Jo, QToaster as Ko } from "./QToast/index.js";
43
- import { QToggle as Vo } from "./QToggle/index.js";
44
- import { QToggleGroup as Yo, QToggleGroupItem as Zo } from "./QToggleGroup/index.js";
45
- import { QTooltip as or } from "./QTooltip/index.js";
46
- import { DEFAULT_TEXTS as er } from "./QTextField/types.js";
23
+ import { QGroupBox as Z } from "./QGroupBox/index.js";
24
+ import { QIcon as oo, QIconFont as ro, QIconImg as eo, QIconSvg as to } from "./QIcon/index.js";
25
+ import { QInputGroup as Qo } from "./QInputGroup/index.js";
26
+ import { QLabel as xo } from "./QLabel/index.js";
27
+ import { QLineLoader as io } from "./QLineLoader/index.js";
28
+ import { QList as lo, QListItem as no, QListItemGroup as so } from "./QList/index.js";
29
+ import { QMeter as uo } from "./QMeter/index.js";
30
+ import { QOverlay as To } from "./QOverlay/index.js";
31
+ import { QPasswordField as Po } from "./QPasswordField/index.js";
32
+ import { QPopover as bo } from "./QPopover/index.js";
33
+ import { QPropertyList as vo, QPropertyListGroup as Do, QPropertyListPanel as Go, QPropertyListRow as So } from "./QPropertyList/index.js";
34
+ import { QRadioButton as yo, QRadioGroup as Bo } from "./QRadioGroup/index.js";
35
+ import { QSelect as wo } from "./QSelect/index.js";
36
+ import { QSidebar as ho } from "./QSidebar/index.js";
37
+ import { QSkeletonLoader as Eo } from "./QSkeletonLoader/index.js";
38
+ import { QSpinnerLoader as Uo } from "./QSpinnerLoader/index.js";
39
+ import { QSwitch as Xo } from "./QSwitch/index.js";
40
+ import { QTextArea as jo } from "./QTextArea/index.js";
41
+ import { QTextField as zo } from "./QTextField/index.js";
42
+ import { QThemeProvider as Jo } from "./QThemeProvider/index.js";
43
+ import { QToast as No, QToaster as Vo } from "./QToast/index.js";
44
+ import { QToggle as Yo } from "./QToggle/index.js";
45
+ import { QToggleGroup as $o, QToggleGroupItem as or } from "./QToggleGroup/index.js";
46
+ import { QTooltip as er } from "./QTooltip/index.js";
47
+ import { DEFAULT_TEXTS as pr } from "./QTextField/types.js";
47
48
  export {
48
- er as DEFAULT_TEXTS,
49
+ pr as DEFAULT_TEXTS,
49
50
  e as QAccordion,
50
51
  t as QAccordionItem,
51
52
  Q as QAvatar,
@@ -60,52 +61,53 @@ export {
60
61
  K as QCol,
61
62
  b as QCollapsible,
62
63
  v as QColorPicker,
63
- S as QCombobox,
64
+ G as QCombobox,
64
65
  N as QContainer,
65
- G as QDateTimePicker,
66
- k as QDefaultsProvider,
67
- A as QDialog,
68
- B as QDialogProvider,
66
+ F as QDateTimePicker,
67
+ B as QDefaultsProvider,
68
+ w as QDialog,
69
+ A as QDialogProvider,
69
70
  R as QDismissibleLayer,
70
71
  M as QDivider,
71
72
  O as QDropdownMenu,
72
73
  _ as QField,
73
74
  q as QFileUpload,
74
75
  H as QFocusTrap,
75
- Z as QIcon,
76
- $ as QIconFont,
77
- oo as QIconImg,
78
- ro as QIconSvg,
79
- to as QInputGroup,
80
- Qo as QLabel,
81
- xo as QLineLoader,
82
- io as QList,
83
- ao as QListItem,
84
- lo as QListItemGroup,
85
- so as QMeter,
86
- uo as QOverlay,
87
- To as QPasswordField,
88
- Po as QPopover,
89
- bo as QPropertyList,
90
- Co as QPropertyListGroup,
91
- vo as QPropertyListPanel,
92
- Do as QPropertyListRow,
93
- Fo as QRadioButton,
94
- Go as QRadioGroup,
76
+ Z as QGroupBox,
77
+ oo as QIcon,
78
+ ro as QIconFont,
79
+ eo as QIconImg,
80
+ to as QIconSvg,
81
+ Qo as QInputGroup,
82
+ xo as QLabel,
83
+ io as QLineLoader,
84
+ lo as QList,
85
+ no as QListItem,
86
+ so as QListItemGroup,
87
+ uo as QMeter,
88
+ To as QOverlay,
89
+ Po as QPasswordField,
90
+ bo as QPopover,
91
+ vo as QPropertyList,
92
+ Do as QPropertyListGroup,
93
+ Go as QPropertyListPanel,
94
+ So as QPropertyListRow,
95
+ yo as QRadioButton,
96
+ Bo as QRadioGroup,
95
97
  V as QRow,
96
- ko as QSelect,
97
- Ao as QSidebar,
98
- ho as QSkeletonLoader,
98
+ wo as QSelect,
99
+ ho as QSidebar,
100
+ Eo as QSkeletonLoader,
99
101
  W as QSpacer,
100
- Eo as QSpinnerLoader,
101
- Uo as QSwitch,
102
- Xo as QTextArea,
103
- jo as QTextField,
104
- zo as QThemeProvider,
105
- Jo as QToast,
106
- Ko as QToaster,
107
- Vo as QToggle,
108
- Yo as QToggleGroup,
109
- Zo as QToggleGroupItem,
110
- or as QTooltip
102
+ Uo as QSpinnerLoader,
103
+ Xo as QSwitch,
104
+ jo as QTextArea,
105
+ zo as QTextField,
106
+ Jo as QThemeProvider,
107
+ No as QToast,
108
+ Vo as QToaster,
109
+ Yo as QToggle,
110
+ $o as QToggleGroup,
111
+ or as QToggleGroupItem,
112
+ er as QTooltip
111
113
  };
@@ -1,10 +1,10 @@
1
- import { inject as o, computed as l, unref as u, ref as d, isRef as m, watch as n, provide as p } from "vue";
1
+ import { inject as o, computed as v, unref as t, ref as d, isRef as m, watch as n, provide as y } from "vue";
2
2
  const f = Symbol.for("q-group");
3
- function q(a) {
3
+ function h(a) {
4
4
  const e = {
5
- active: d(y(a)),
6
- multiple: l(() => u(a.multiple) || !1),
7
- required: l(() => u(a.required) || !1)
5
+ active: d(A(a)),
6
+ multiple: v(() => t(a.multiple) || !1),
7
+ required: v(() => t(a.required) || !1)
8
8
  };
9
9
  return m(a.active) && n(a.active, (i) => {
10
10
  e.active.value = i;
@@ -13,30 +13,30 @@ function q(a) {
13
13
  (i) => {
14
14
  i ? e.active.value ? e.active.value = [e.active.value] : e.active.value = [] : Array.isArray(e.active.value) && e.active.value.length === 1 ? e.active.value = e.active.value[0] : e.active.value = void 0;
15
15
  }
16
- ), p(f, e), e;
16
+ ), y(f, e), e;
17
17
  }
18
18
  function G(a) {
19
19
  const e = o(f, void 0);
20
20
  if (!e) return;
21
- const i = l(() => {
22
- var t;
23
- const r = u(a);
24
- return Array.isArray(e.active.value) ? (t = e.active.value) == null ? void 0 : t.includes(r) : e.active.value === r;
21
+ const i = v(() => {
22
+ var u;
23
+ const r = t(a);
24
+ return Array.isArray(e.active.value) ? (u = e.active.value) == null ? void 0 : u.includes(r) : e.active.value === r;
25
25
  });
26
26
  return { isActive: i, toggle: () => {
27
- var t, v, c;
28
- const r = u(a);
29
- Array.isArray(e.active.value) ? i.value ? (!((t = e.required) != null && t.value) || e.active.value.length > 1) && (e.active.value = (v = e.active.value) == null ? void 0 : v.filter(
27
+ var u, l, c;
28
+ const r = t(a);
29
+ Array.isArray(e.active.value) ? i.value ? (!((u = e.required) != null && u.value) || e.active.value.length > 1) && (e.active.value = (l = e.active.value) == null ? void 0 : l.filter(
30
30
  (s) => s !== r
31
- )) : e.active.value.push(r) : e.active.value !== r ? e.active.value = r : (c = e.required) != null && c.value || (e.active.value = void 0);
31
+ )) : e.active.value = [...e.active.value, r] : e.active.value !== r ? e.active.value = r : (c = e.required) != null && c.value || (e.active.value = void 0);
32
32
  } };
33
33
  }
34
- function y(a) {
35
- const e = u(a.multiple), i = u(a.active);
34
+ function A(a) {
35
+ const e = t(a.multiple), i = t(a.active);
36
36
  return e ? Array.isArray(i) ? i : i !== void 0 ? [i] : [] : Array.isArray(i) ? i.length === 1 ? i[0] : void 0 : i;
37
37
  }
38
38
  export {
39
39
  f as GroupSymbol,
40
- q as useGroup,
40
+ h as useGroup,
41
41
  G as useGroupItem
42
42
  };
package/esm/index.d.ts CHANGED
@@ -36,6 +36,7 @@ declare module '@vue/runtime-core' {
36
36
  QContainer: typeof import('@quidgest/ui/components')['QContainer']
37
37
  QRow: typeof import('@quidgest/ui/components')['QRow']
38
38
  QSpacer: typeof import('@quidgest/ui/components')['QSpacer']
39
+ QGroupBox: typeof import('@quidgest/ui/components')['QGroupBox']
39
40
  QIcon: typeof import('@quidgest/ui/components')['QIcon']
40
41
  QIconFont: typeof import('@quidgest/ui/components')['QIconFont']
41
42
  QIconImg: typeof import('@quidgest/ui/components')['QIconImg']
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.38",
4
+ "version": "0.16.39",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "author": "Quidgest",