@simsustech/quasar-components 0.11.22 → 0.11.24

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 (52) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{LocaleSelect.vue_vue_type_script_setup_true_lang-CMvTDKR3.js → LocaleSelect.vue_vue_type_script_setup_true_lang-DThzjchm.js} +7 -4
  3. package/dist/{QSubmitButton.vue_vue_type_script_setup_true_lang-UtpXkOh7.js → QSubmitButton.vue_vue_type_script_setup_true_lang-D-I0Gws4.js} +3 -3
  4. package/dist/authentication.js +95 -110
  5. package/dist/form.js +79 -89
  6. package/dist/general.js +23 -31
  7. package/dist/md3.js +87 -137
  8. package/dist/types/ui/authentication/AccountsTable.vue.d.ts +22 -17
  9. package/dist/types/ui/authentication/ConsentList.vue.d.ts +3 -2
  10. package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +3 -2
  11. package/dist/types/ui/authentication/EmailChangeStepper.vue.d.ts +3 -2
  12. package/dist/types/ui/authentication/LoginButton.vue.d.ts +3 -2
  13. package/dist/types/ui/authentication/LoginForm.vue.d.ts +3 -2
  14. package/dist/types/ui/authentication/LogoutButton.vue.d.ts +3 -2
  15. package/dist/types/ui/authentication/LogoutForm.vue.d.ts +3 -2
  16. package/dist/types/ui/authentication/OtpInput.vue.d.ts +2 -1
  17. package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +3 -2
  18. package/dist/types/ui/authentication/PasswordChangeStepper.vue.d.ts +3 -2
  19. package/dist/types/ui/authentication/RegisterForm.vue.d.ts +3 -2
  20. package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +3 -2
  21. package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +3 -2
  22. package/dist/types/ui/authentication/VerificationSlider.vue.d.ts +3 -2
  23. package/dist/types/ui/form/BooleanItem.vue.d.ts +2 -1
  24. package/dist/types/ui/form/BooleanSelect.vue.d.ts +2 -1
  25. package/dist/types/ui/form/CronScheduleInput.vue.d.ts +2 -1
  26. package/dist/types/ui/form/CurrencySelect.vue.d.ts +2 -1
  27. package/dist/types/ui/form/DateInput.vue.d.ts +5 -4
  28. package/dist/types/ui/form/DatePicker.vue.d.ts +2 -1
  29. package/dist/types/ui/form/EmailInput.vue.d.ts +3 -2
  30. package/dist/types/ui/form/FilteredModelSelect.vue.d.ts +19 -15
  31. package/dist/types/ui/form/FormInput.vue.d.ts +5 -4
  32. package/dist/types/ui/form/FormItem.vue.d.ts +6 -5
  33. package/dist/types/ui/form/GenderItem.vue.d.ts +2 -1
  34. package/dist/types/ui/form/GenderSelect.vue.d.ts +2 -1
  35. package/dist/types/ui/form/LocaleSelect.vue.d.ts +6 -1
  36. package/dist/types/ui/form/PostalCodeInput.vue.d.ts +2 -1
  37. package/dist/types/ui/form/TelephoneNumberInput.vue.d.ts +2 -1
  38. package/dist/types/ui/general/QDrawerList.vue.d.ts +5 -4
  39. package/dist/types/ui/general/QLanguageSelect.vue.d.ts +6 -1
  40. package/dist/types/ui/general/QStyledCard.vue.d.ts +3 -2
  41. package/dist/types/ui/general/QStyledLayout.vue.d.ts +3 -2
  42. package/dist/types/ui/general/QSubmitButton.vue.d.ts +3 -2
  43. package/dist/types/ui/general/ResourcePage.vue.d.ts +3 -2
  44. package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +3 -2
  45. package/dist/types/ui/md3/Md3Layout.vue.d.ts +11 -10
  46. package/dist/types/ui/md3/NavigationRailFabs.vue.d.ts +2 -1
  47. package/dist/vite-plugin.js +2 -1
  48. package/package.json +28 -28
  49. package/src/ui/form/DateInput.vue +2 -1
  50. package/src/ui/form/LocaleSelect.vue +2 -0
  51. package/src/ui/general/QLanguageSelect.vue +3 -1
  52. package/src/vite-plugin.ts +2 -1
package/dist/md3.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { QBtn, QPageSticky, useQuasar, debounce, QLayout, QHeader, QToolbar, QDrawer, QFooter, QPageContainer } from "quasar";
2
- import { defineComponent, toRefs, inject, createElementBlock, openBlock, Fragment, createCommentVNode, createBlock, unref, normalizeClass, withCtx, watch, getCurrentScope, onScopeDispose, computed, toValue, ref, onMounted, resolveComponent, withDirectives, createElementVNode, createVNode, renderSlot, vShow } from "vue";
2
+ import { defineComponent, toRefs, inject, openBlock, createElementBlock, Fragment, unref, createBlock, normalizeClass, createCommentVNode, withCtx, watch, computed, toValue, ref, onMounted, resolveComponent, withDirectives, createElementVNode, createVNode, renderSlot, vShow } from "vue";
3
3
  const _hoisted_1$1 = { key: 0 };
4
4
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
5
5
  __name: "NavigationRailFabs",
@@ -11,7 +11,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
11
11
  icons: {}
12
12
  },
13
13
  setup(__props) {
14
- var _a, _b;
15
14
  const props = __props;
16
15
  const { type, icons } = toRefs(props);
17
16
  if (!type.value) type.value = "add";
@@ -20,69 +19,69 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
20
19
  throw new Error(
21
20
  "Event bus not initialized (https://quasar.dev/quasar-utils/event-bus-util)"
22
21
  );
23
- const addIcon = ((_a = icons.value) == null ? void 0 : _a.add) ?? "add";
24
- const editIcon = ((_b = icons.value) == null ? void 0 : _b.edit) ?? "edit";
22
+ const addIcon = icons.value?.add ?? "add";
23
+ const editIcon = icons.value?.edit ?? "edit";
25
24
  return (_ctx, _cache) => {
26
25
  const _component_q_btn = QBtn;
27
26
  const _component_q_page_sticky = QPageSticky;
28
27
  return openBlock(), createElementBlock(Fragment, null, [
29
- !_ctx.showSticky ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
30
- _ctx.busEmits.add && unref(type) === "add" ? (openBlock(), createBlock(_component_q_btn, {
28
+ !__props.showSticky ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
29
+ __props.busEmits.add && unref(type) === "add" ? (openBlock(), createBlock(_component_q_btn, {
31
30
  key: 0,
32
31
  id: "fabAdd",
33
32
  class: normalizeClass({
34
33
  "gt-sm": true,
35
- animated: !!_ctx.seekAttention,
36
- "animated-tada": !!_ctx.seekAttention,
37
- "animated-infinite": !!_ctx.seekAttention
34
+ animated: !!__props.seekAttention,
35
+ "animated-tada": !!__props.seekAttention,
36
+ "animated-infinite": !!__props.seekAttention
38
37
  }),
39
38
  fab: "",
40
39
  icon: unref(addIcon),
41
- onClick: _cache[0] || (_cache[0] = ($event) => unref(bus).emit(_ctx.busEmits.add))
40
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(bus).emit(__props.busEmits.add))
42
41
  }, null, 8, ["class", "icon"])) : createCommentVNode("", true),
43
- _ctx.busEmits.edit && unref(type) === "edit" ? (openBlock(), createBlock(_component_q_btn, {
42
+ __props.busEmits.edit && unref(type) === "edit" ? (openBlock(), createBlock(_component_q_btn, {
44
43
  key: 1,
45
44
  id: "fabEdit",
46
45
  class: normalizeClass({
47
46
  "gt-sm": true,
48
- animated: !!_ctx.seekAttention,
49
- "animated-tada": !!_ctx.seekAttention,
50
- "animated-infinite": !!_ctx.seekAttention
47
+ animated: !!__props.seekAttention,
48
+ "animated-tada": !!__props.seekAttention,
49
+ "animated-infinite": !!__props.seekAttention
51
50
  }),
52
51
  fab: "",
53
52
  icon: unref(editIcon),
54
- onClick: _cache[1] || (_cache[1] = ($event) => unref(bus).emit(_ctx.busEmits.edit))
53
+ onClick: _cache[1] || (_cache[1] = ($event) => unref(bus).emit(__props.busEmits.edit))
55
54
  }, null, 8, ["class", "icon"])) : createCommentVNode("", true)
56
55
  ])) : createCommentVNode("", true),
57
- _ctx.showSticky ? (openBlock(), createBlock(_component_q_page_sticky, {
56
+ __props.showSticky ? (openBlock(), createBlock(_component_q_page_sticky, {
58
57
  key: 1,
59
58
  position: "bottom-right",
60
59
  offset: [18, 18]
61
60
  }, {
62
61
  default: withCtx(() => [
63
- _ctx.busEmits.add && unref(type) === "add" ? (openBlock(), createBlock(_component_q_btn, {
62
+ __props.busEmits.add && unref(type) === "add" ? (openBlock(), createBlock(_component_q_btn, {
64
63
  key: 0,
65
64
  class: normalizeClass({
66
65
  "lt-md": true,
67
- animated: !!_ctx.seekAttention,
68
- "animated-tada": !!_ctx.seekAttention,
69
- "animated-infinite": !!_ctx.seekAttention
66
+ animated: !!__props.seekAttention,
67
+ "animated-tada": !!__props.seekAttention,
68
+ "animated-infinite": !!__props.seekAttention
70
69
  }),
71
70
  fab: "",
72
71
  icon: unref(addIcon),
73
- onClick: _cache[2] || (_cache[2] = ($event) => unref(bus).emit(_ctx.busEmits.add))
72
+ onClick: _cache[2] || (_cache[2] = ($event) => unref(bus).emit(__props.busEmits.add))
74
73
  }, null, 8, ["class", "icon"])) : createCommentVNode("", true),
75
- _ctx.busEmits.edit && unref(type) === "edit" ? (openBlock(), createBlock(_component_q_btn, {
74
+ __props.busEmits.edit && unref(type) === "edit" ? (openBlock(), createBlock(_component_q_btn, {
76
75
  key: 1,
77
76
  class: normalizeClass({
78
77
  "lt-md": true,
79
- animated: !!_ctx.seekAttention,
80
- "animated-tada": !!_ctx.seekAttention,
81
- "animated-infinite": !!_ctx.seekAttention
78
+ animated: !!__props.seekAttention,
79
+ "animated-tada": !!__props.seekAttention,
80
+ "animated-infinite": !!__props.seekAttention
82
81
  }),
83
82
  fab: "",
84
83
  icon: unref(editIcon),
85
- onClick: _cache[3] || (_cache[3] = ($event) => unref(bus).emit(_ctx.busEmits.edit))
84
+ onClick: _cache[3] || (_cache[3] = ($event) => unref(bus).emit(__props.busEmits.edit))
86
85
  }, null, 8, ["class", "icon"])) : createCommentVNode("", true)
87
86
  ]),
88
87
  _: 1
@@ -91,49 +90,28 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
91
90
  };
92
91
  }
93
92
  });
94
- function tryOnScopeDispose(fn) {
95
- if (getCurrentScope()) {
96
- onScopeDispose(fn);
97
- return true;
98
- }
99
- return false;
100
- }
101
93
  const isClient = typeof window !== "undefined" && typeof document !== "undefined";
102
94
  typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
103
95
  const toString = Object.prototype.toString;
104
96
  const isObject = (val) => toString.call(val) === "[object Object]";
105
97
  const noop = () => {
106
98
  };
107
- const isIOS = /* @__PURE__ */ getIsIOS();
108
- function getIsIOS() {
109
- var _a, _b;
110
- return isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_b = window == null ? void 0 : window.navigator) == null ? void 0 : _b.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
111
- }
112
99
  function toArray(value) {
113
100
  return Array.isArray(value) ? value : [value];
114
101
  }
115
102
  function watchImmediate(source, cb, options) {
116
- return watch(
117
- source,
118
- cb,
119
- {
120
- ...options,
121
- immediate: true
122
- }
123
- );
103
+ return watch(source, cb, {
104
+ ...options,
105
+ immediate: true
106
+ });
124
107
  }
125
108
  const defaultWindow = isClient ? window : void 0;
126
109
  function unrefElement(elRef) {
127
- var _a;
110
+ var _$el;
128
111
  const plain = toValue(elRef);
129
- return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
112
+ return (_$el = plain === null || plain === void 0 ? void 0 : plain.$el) !== null && _$el !== void 0 ? _$el : plain;
130
113
  }
131
114
  function useEventListener(...args) {
132
- const cleanups = [];
133
- const cleanup = () => {
134
- cleanups.forEach((fn) => fn());
135
- cleanups.length = 0;
136
- };
137
115
  const register = (el, event, listener, options) => {
138
116
  el.addEventListener(event, listener, options);
139
117
  return () => el.removeEventListener(event, listener, options);
@@ -142,83 +120,56 @@ function useEventListener(...args) {
142
120
  const test = toArray(toValue(args[0])).filter((e) => e != null);
143
121
  return test.every((e) => typeof e !== "string") ? test : void 0;
144
122
  });
145
- const stopWatch = watchImmediate(
146
- () => {
147
- var _a, _b;
148
- return [
149
- (_b = (_a = firstParamTargets.value) == null ? void 0 : _a.map((e) => unrefElement(e))) != null ? _b : [defaultWindow].filter((e) => e != null),
150
- toArray(toValue(firstParamTargets.value ? args[1] : args[0])),
151
- toArray(unref(firstParamTargets.value ? args[2] : args[1])),
152
- // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
153
- toValue(firstParamTargets.value ? args[3] : args[2])
154
- ];
155
- },
156
- ([raw_targets, raw_events, raw_listeners, raw_options]) => {
157
- cleanup();
158
- if (!(raw_targets == null ? void 0 : raw_targets.length) || !(raw_events == null ? void 0 : raw_events.length) || !(raw_listeners == null ? void 0 : raw_listeners.length))
159
- return;
160
- const optionsClone = isObject(raw_options) ? { ...raw_options } : raw_options;
161
- cleanups.push(
162
- ...raw_targets.flatMap(
163
- (el) => raw_events.flatMap(
164
- (event) => raw_listeners.map((listener) => register(el, event, listener, optionsClone))
165
- )
166
- )
167
- );
168
- },
169
- { flush: "post" }
170
- );
171
- const stop = () => {
172
- stopWatch();
173
- cleanup();
174
- };
175
- tryOnScopeDispose(cleanup);
176
- return stop;
123
+ return watchImmediate(() => {
124
+ var _firstParamTargets$va, _firstParamTargets$va2;
125
+ return [
126
+ (_firstParamTargets$va = (_firstParamTargets$va2 = firstParamTargets.value) === null || _firstParamTargets$va2 === void 0 ? void 0 : _firstParamTargets$va2.map((e) => unrefElement(e))) !== null && _firstParamTargets$va !== void 0 ? _firstParamTargets$va : [defaultWindow].filter((e) => e != null),
127
+ toArray(toValue(firstParamTargets.value ? args[1] : args[0])),
128
+ toArray(unref(firstParamTargets.value ? args[2] : args[1])),
129
+ toValue(firstParamTargets.value ? args[3] : args[2])
130
+ ];
131
+ }, ([raw_targets, raw_events, raw_listeners, raw_options], _, onCleanup) => {
132
+ if (!(raw_targets === null || raw_targets === void 0 ? void 0 : raw_targets.length) || !(raw_events === null || raw_events === void 0 ? void 0 : raw_events.length) || !(raw_listeners === null || raw_listeners === void 0 ? void 0 : raw_listeners.length)) return;
133
+ const optionsClone = isObject(raw_options) ? { ...raw_options } : raw_options;
134
+ const cleanups = raw_targets.flatMap((el) => raw_events.flatMap((event) => raw_listeners.map((listener) => register(el, event, listener, optionsClone))));
135
+ onCleanup(() => {
136
+ cleanups.forEach((fn) => fn());
137
+ });
138
+ }, { flush: "post" });
177
139
  }
178
- let _iOSWorkaround = false;
179
140
  function onClickOutside(target, handler, options = {}) {
180
- const { window: window2 = defaultWindow, ignore = [], capture = true, detectIframe = false, controls = false } = options;
181
- if (!window2) {
182
- return controls ? { stop: noop, cancel: noop, trigger: noop } : noop;
183
- }
184
- if (isIOS && !_iOSWorkaround) {
185
- _iOSWorkaround = true;
186
- const listenerOptions = { passive: true };
187
- Array.from(window2.document.body.children).forEach((el) => el.addEventListener("click", noop, listenerOptions));
188
- window2.document.documentElement.addEventListener("click", noop, listenerOptions);
189
- }
141
+ const { window: window$1 = defaultWindow, ignore = [], capture = true, detectIframe = false, controls = false } = options;
142
+ if (!window$1) return controls ? {
143
+ stop: noop,
144
+ cancel: noop,
145
+ trigger: noop
146
+ } : noop;
190
147
  let shouldListen = true;
191
148
  const shouldIgnore = (event) => {
192
- return toValue(ignore).some((target2) => {
193
- if (typeof target2 === "string") {
194
- return Array.from(window2.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));
195
- } else {
196
- const el = unrefElement(target2);
149
+ return toValue(ignore).some((target$1) => {
150
+ if (typeof target$1 === "string") return Array.from(window$1.document.querySelectorAll(target$1)).some((el) => el === event.target || event.composedPath().includes(el));
151
+ else {
152
+ const el = unrefElement(target$1);
197
153
  return el && (event.target === el || event.composedPath().includes(el));
198
154
  }
199
155
  });
200
156
  };
201
- function hasMultipleRoots(target2) {
202
- const vm = toValue(target2);
157
+ function hasMultipleRoots(target$1) {
158
+ const vm = toValue(target$1);
203
159
  return vm && vm.$.subTree.shapeFlag === 16;
204
160
  }
205
- function checkMultipleRoots(target2, event) {
206
- const vm = toValue(target2);
161
+ function checkMultipleRoots(target$1, event) {
162
+ const vm = toValue(target$1);
207
163
  const children = vm.$.subTree && vm.$.subTree.children;
208
- if (children == null || !Array.isArray(children))
209
- return false;
164
+ if (children == null || !Array.isArray(children)) return false;
210
165
  return children.some((child) => child.el === event.target || event.composedPath().includes(child.el));
211
166
  }
212
167
  const listener = (event) => {
213
168
  const el = unrefElement(target);
214
- if (event.target == null)
215
- return;
216
- if (!(el instanceof Element) && hasMultipleRoots(target) && checkMultipleRoots(target, event))
217
- return;
218
- if (!el || el === event.target || event.composedPath().includes(el))
219
- return;
220
- if ("detail" in event && event.detail === 0)
221
- shouldListen = !shouldIgnore(event);
169
+ if (event.target == null) return;
170
+ if (!(el instanceof Element) && hasMultipleRoots(target) && checkMultipleRoots(target, event)) return;
171
+ if (!el || el === event.target || event.composedPath().includes(el)) return;
172
+ if ("detail" in event && event.detail === 0) shouldListen = !shouldIgnore(event);
222
173
  if (!shouldListen) {
223
174
  shouldListen = true;
224
175
  return;
@@ -227,7 +178,7 @@ function onClickOutside(target, handler, options = {}) {
227
178
  };
228
179
  let isProcessingClick = false;
229
180
  const cleanup = [
230
- useEventListener(window2, "click", (event) => {
181
+ useEventListener(window$1, "click", (event) => {
231
182
  if (!isProcessingClick) {
232
183
  isProcessingClick = true;
233
184
  setTimeout(() => {
@@ -235,35 +186,34 @@ function onClickOutside(target, handler, options = {}) {
235
186
  }, 0);
236
187
  listener(event);
237
188
  }
238
- }, { passive: true, capture }),
239
- useEventListener(window2, "pointerdown", (e) => {
189
+ }, {
190
+ passive: true,
191
+ capture
192
+ }),
193
+ useEventListener(window$1, "pointerdown", (e) => {
240
194
  const el = unrefElement(target);
241
195
  shouldListen = !shouldIgnore(e) && !!(el && !e.composedPath().includes(el));
242
196
  }, { passive: true }),
243
- detectIframe && useEventListener(window2, "blur", (event) => {
197
+ detectIframe && useEventListener(window$1, "blur", (event) => {
244
198
  setTimeout(() => {
245
- var _a;
199
+ var _window$document$acti;
246
200
  const el = unrefElement(target);
247
- if (((_a = window2.document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window2.document.activeElement))) {
248
- handler(event);
249
- }
201
+ if (((_window$document$acti = window$1.document.activeElement) === null || _window$document$acti === void 0 ? void 0 : _window$document$acti.tagName) === "IFRAME" && !(el === null || el === void 0 ? void 0 : el.contains(window$1.document.activeElement))) handler(event);
250
202
  }, 0);
251
203
  }, { passive: true })
252
204
  ].filter(Boolean);
253
205
  const stop = () => cleanup.forEach((fn) => fn());
254
- if (controls) {
255
- return {
256
- stop,
257
- cancel: () => {
258
- shouldListen = false;
259
- },
260
- trigger: (event) => {
261
- shouldListen = true;
262
- listener(event);
263
- shouldListen = false;
264
- }
265
- };
266
- }
206
+ if (controls) return {
207
+ stop,
208
+ cancel: () => {
209
+ shouldListen = false;
210
+ },
211
+ trigger: (event) => {
212
+ shouldListen = true;
213
+ listener(event);
214
+ shouldListen = false;
215
+ }
216
+ };
267
217
  return stop;
268
218
  }
269
219
  const _hoisted_1 = {
@@ -409,7 +359,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
409
359
  _: 3
410
360
  })
411
361
  ], 512), [
412
- [vShow, _ctx.ready]
362
+ [vShow, __props.ready]
413
363
  ])
414
364
  ]),
415
365
  _: 3
@@ -14,19 +14,8 @@ export interface Pagination {
14
14
  export interface Criteria {
15
15
  roles: string[];
16
16
  }
17
- declare const _default: <T extends Account>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
18
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
19
- readonly onAddRole?: ((args_0: {
20
- id: number;
21
- role: string;
22
- }) => any) | undefined;
23
- readonly onRemoveRole?: ((args_0: {
24
- id: number;
25
- role: string;
26
- }) => any) | undefined;
27
- readonly "onUpdate:pagination"?: ((pagination: Pagination) => any) | undefined;
28
- readonly "onUpdate:criteria"?: ((criteria: Criteria) => any) | undefined;
29
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onAddRole" | "onRemoveRole" | "onUpdate:pagination" | "onUpdate:criteria"> & {
17
+ declare const __VLS_export: <T extends Account>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
18
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<{
30
19
  modelValue: T[];
31
20
  count: number;
32
21
  pagination: Pagination;
@@ -37,8 +26,21 @@ declare const _default: <T extends Account>(__VLS_props: NonNullable<Awaited<typ
37
26
  cancel: string;
38
27
  moreVert: string;
39
28
  };
40
- } & Partial<{}>> & import("vue").PublicProps;
41
- expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
29
+ } & {
30
+ onAddRole?: ((args_0: {
31
+ id: number;
32
+ role: string;
33
+ }) => any) | undefined;
34
+ onRemoveRole?: ((args_0: {
35
+ id: number;
36
+ role: string;
37
+ }) => any) | undefined;
38
+ "onUpdate:pagination"?: ((pagination: Pagination) => any) | undefined;
39
+ "onUpdate:criteria"?: ((criteria: Criteria) => any) | undefined;
40
+ }> & (typeof globalThis extends {
41
+ __VLS_PROPS_FALLBACK: infer P;
42
+ } ? P : {});
43
+ expose: (exposed: {}) => void;
42
44
  attrs: any;
43
45
  slots: {};
44
46
  emit: {
@@ -56,7 +58,10 @@ declare const _default: <T extends Account>(__VLS_props: NonNullable<Awaited<typ
56
58
  }>) => import("vue").VNode & {
57
59
  __ctx?: Awaited<typeof __VLS_setup>;
58
60
  };
61
+ declare const _default: typeof __VLS_export;
59
62
  export default _default;
60
- type __VLS_PrettifyLocal<T> = {
63
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
61
64
  [K in keyof T]: T[K];
62
- } & {};
65
+ } : {
66
+ [K in keyof T as K]: T[K];
67
+ }) & {};
@@ -12,7 +12,9 @@ export interface Props {
12
12
  check: string;
13
13
  };
14
14
  }
15
- declare const _default: import("vue").DefineComponent<Props, {
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ declare const __VLS_export: import("vue").DefineComponent<Props, {
16
18
  variables: import("vue").Ref<{
17
19
  message: (name: string) => string;
18
20
  allow: string;
@@ -28,4 +30,3 @@ declare const _default: import("vue").DefineComponent<Props, {
28
30
  }>;
29
31
  functions: import("vue").Ref<{}, {}>;
30
32
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
- export default _default;
@@ -6,7 +6,9 @@ export interface Props {
6
6
  style?: Partial<CSSStyleDeclaration>;
7
7
  })>;
8
8
  }
9
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {
10
12
  variables: import("vue").Ref<{
11
13
  header: string;
12
14
  }, {
@@ -52,7 +54,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
52
54
  }) => any;
53
55
  }) => any;
54
56
  }>;
55
- export default _default;
56
57
  type __VLS_WithSlots<T, S> = T & {
57
58
  new (): {
58
59
  $slots: S;
@@ -4,7 +4,9 @@ export interface Props {
4
4
  style?: Partial<CSSStyleDeclaration>;
5
5
  })>;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<Props, {
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ declare const __VLS_export: import("vue").DefineComponent<Props, {
8
10
  variables: import("vue").Ref<{
9
11
  header: string;
10
12
  emailChanged: string;
@@ -54,4 +56,3 @@ declare const _default: import("vue").DefineComponent<Props, {
54
56
  done: () => void;
55
57
  }) => any) | undefined;
56
58
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
57
- export default _default;
@@ -1,10 +1,11 @@
1
1
  export interface Props {
2
2
  withNetwork?: string;
3
3
  }
4
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
5
7
  icon?: (props: {}) => any;
6
8
  }>;
7
- export default _default;
8
9
  type __VLS_WithSlots<T, S> = T & {
9
10
  new (): {
10
11
  $slots: S;
@@ -11,7 +11,9 @@ export interface Props {
11
11
  visibilifyOff: string;
12
12
  };
13
13
  }
14
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {
15
17
  variables: import("vue").Ref<{
16
18
  header: string;
17
19
  createAccount: string;
@@ -66,7 +68,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
66
68
  }) => any;
67
69
  }) => any;
68
70
  }>;
69
- export default _default;
70
71
  type __VLS_WithSlots<T, S> = T & {
71
72
  new (): {
72
73
  $slots: S;
@@ -1,10 +1,11 @@
1
1
  export interface Props {
2
2
  withNetwork?: string;
3
3
  }
4
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
5
7
  icon?: (props: {}) => any;
6
8
  }>;
7
- export default _default;
8
9
  type __VLS_WithSlots<T, S> = T & {
9
10
  new (): {
10
11
  $slots: S;
@@ -4,13 +4,14 @@ export interface Props {
4
4
  action: string;
5
5
  xsrfSecret: string;
6
6
  }
7
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {
8
10
  variables: import("vue").Ref<{}, {}>;
9
11
  functions: import("vue").Ref<{}, {}>;
10
12
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
11
13
  default?: (props: {}) => any;
12
14
  }>;
13
- export default _default;
14
15
  type __VLS_WithSlots<T, S> = T & {
15
16
  new (): {
16
17
  $slots: S;
@@ -1,9 +1,10 @@
1
1
  type __VLS_Props = {
2
2
  modelValue: string;
3
3
  };
4
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
5
  "update:modelValue": (...args: any[]) => void;
6
6
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
7
7
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
8
8
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
9
10
  export default _default;
@@ -11,7 +11,9 @@ export interface Props {
11
11
  visibilityOff: string;
12
12
  };
13
13
  }
14
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {
15
17
  variables: import("vue").Ref<{}, {}>;
16
18
  functions: import("vue").Ref<{
17
19
  submit: (args_0: {
@@ -61,7 +63,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
61
63
  }) => any;
62
64
  }) => any;
63
65
  }>;
64
- export default _default;
65
66
  type __VLS_WithSlots<T, S> = T & {
66
67
  new (): {
67
68
  $slots: S;
@@ -8,7 +8,9 @@ export interface Props {
8
8
  visibilityOff: string;
9
9
  };
10
10
  }
11
- declare const _default: import("vue").DefineComponent<Props, {
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ declare const __VLS_export: import("vue").DefineComponent<Props, {
12
14
  variables: import("vue").Ref<{
13
15
  steps: readonly ["requestOtp", "changePassword"];
14
16
  }, {
@@ -54,4 +56,3 @@ declare const _default: import("vue").DefineComponent<Props, {
54
56
  style?: Partial<CSSStyleDeclaration>;
55
57
  })>;
56
58
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
57
- export default _default;
@@ -16,7 +16,9 @@ export interface Props {
16
16
  visibilityOff: string;
17
17
  };
18
18
  }
19
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {
20
22
  variables: import("vue").Ref<{
21
23
  header: string;
22
24
  forgotPassword: string;
@@ -91,7 +93,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
91
93
  }) => any;
92
94
  }) => any;
93
95
  }>;
94
- export default _default;
95
96
  type __VLS_WithSlots<T, S> = T & {
96
97
  new (): {
97
98
  $slots: S;
@@ -5,7 +5,9 @@ export interface Props {
5
5
  style?: Partial<CSSStyleDeclaration>;
6
6
  })>;
7
7
  }
8
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
10
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {
9
11
  variables: import("vue").Ref<{}, {}>;
10
12
  functions: import("vue").Ref<{
11
13
  submit: (args_0: {
@@ -41,7 +43,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
41
43
  }) => any;
42
44
  }) => any;
43
45
  }>;
44
- export default _default;
45
46
  type __VLS_WithSlots<T, S> = T & {
46
47
  new (): {
47
48
  $slots: S;
@@ -5,7 +5,9 @@ export interface Props {
5
5
  person: string;
6
6
  };
7
7
  }
8
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
10
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {
9
11
  variables: import("vue").Ref<{}, {}>;
10
12
  functions: import("vue").Ref<{}, {}>;
11
13
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
@@ -15,7 +17,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
15
17
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
16
18
  default?: (props: {}) => any;
17
19
  }>;
18
- export default _default;
19
20
  type __VLS_WithSlots<T, S> = T & {
20
21
  new (): {
21
22
  $slots: S;