@simsustech/quasar-components 0.11.7 → 0.11.9

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 (27) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{QSubmitButton.vue_vue_type_script_setup_true_lang-BAoq0ukq.js → QSubmitButton.vue_vue_type_script_setup_true_lang-UtpXkOh7.js} +1 -1
  3. package/dist/authentication.js +21 -9
  4. package/dist/form.js +4 -6
  5. package/dist/general.js +19 -24
  6. package/dist/quasar-components.css +5 -5
  7. package/dist/types/ui/authentication/AccountsTable.vue.d.ts +3 -5
  8. package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +4 -4
  9. package/dist/types/ui/authentication/LoginButton.vue.d.ts +3 -3
  10. package/dist/types/ui/authentication/LoginForm.vue.d.ts +4 -4
  11. package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +4 -4
  12. package/dist/types/ui/authentication/RegisterForm.vue.d.ts +4 -4
  13. package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +4 -4
  14. package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +3 -3
  15. package/dist/types/ui/form/FilteredModelSelect.vue.d.ts +7 -6
  16. package/dist/types/ui/form/FormInput.vue.d.ts +18 -8
  17. package/dist/types/ui/form/FormItem.vue.d.ts +24 -11
  18. package/dist/types/ui/general/QDrawerList.vue.d.ts +11 -11
  19. package/dist/types/ui/general/QStyledCard.vue.d.ts +7 -7
  20. package/dist/types/ui/general/QStyledLayout.vue.d.ts +3 -3
  21. package/dist/types/ui/general/QSubmitButton.vue.d.ts +3 -3
  22. package/dist/types/ui/general/ResourcePage.vue.d.ts +7 -7
  23. package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +5 -4
  24. package/package.json +23 -23
  25. package/src/ui/form/FormItem.vue +7 -5
  26. package/src/ui/general/QStyledCard.vue +3 -19
  27. package/src/ui/general/ResponsiveDialog.vue +3 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @simsustech/quasar-components
2
2
 
3
+ ## 0.11.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 365945e: feat(QStyledCard): remove max-width
8
+
9
+ ## 0.11.8
10
+
11
+ ### Patch Changes
12
+
13
+ - cdb109c: feat(ResponsiveDialog): add padding prop to ResponsiveDialog
14
+ - 41749a7: fix(FormItem): add break-all class
15
+
3
16
  ## 0.11.7
4
17
 
5
18
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  import { useQuasar, debounce, QBtn } from "quasar";
2
- import { ref, defineComponent, toRefs, useAttrs, watch, computed, openBlock, createBlock, mergeProps, unref, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
2
+ import { ref, defineComponent, toRefs, useAttrs, watch, computed, createBlock, openBlock, mergeProps, unref, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
3
3
  const lang$1 = {
4
4
  isoName: "en-US",
5
5
  submit: "Submit",
@@ -1,6 +1,6 @@
1
- import { useQuasar, QForm, QInput, QStep, QStepperNavigation, QStepper, QIcon, QBtn, QSlider, QItemSection, QItem, QList, QMenu, QTable, QTh, QTr, QSelect, QTd, QItemLabel } from "quasar";
2
- import { ref, defineComponent, watch, computed, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, renderSlot, toRef, createCommentVNode, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, toRefs, createElementVNode } from "vue";
3
- import { _ as _sfc_main$d } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-BAoq0ukq.js";
1
+ import { useQuasar, QForm, QInput, QStepper, QStep, QStepperNavigation, QIcon, QBtn, QSlider, QList, QItem, QItemSection, QMenu, QTable, QTr, QTd, QItemLabel, QSelect, QTh } from "quasar";
2
+ import { ref, defineComponent, watch, computed, createBlock, openBlock, unref, mergeProps, withCtx, createVNode, renderSlot, toRef, createCommentVNode, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, toRefs, createElementVNode } from "vue";
3
+ import { _ as _sfc_main$d } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-UtpXkOh7.js";
4
4
  const lang$1 = {
5
5
  isoName: "en-US",
6
6
  myAccount: "Account",
@@ -152,6 +152,18 @@ function assertString(input) {
152
152
  throw new TypeError("Expected a string but received a ".concat(invalidType));
153
153
  }
154
154
  }
155
+ function isRegExp(obj) {
156
+ return Object.prototype.toString.call(obj) === "[object RegExp]";
157
+ }
158
+ function checkHost(host, matches) {
159
+ for (var i = 0; i < matches.length; i++) {
160
+ var match = matches[i];
161
+ if (host === match || isRegExp(match) && match.test(host)) {
162
+ return true;
163
+ }
164
+ }
165
+ return false;
166
+ }
155
167
  function _typeof(o) {
156
168
  "@babel/helpers - typeof";
157
169
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
@@ -315,10 +327,10 @@ function isEmail(str, options) {
315
327
  var parts = str.split("@");
316
328
  var domain = parts.pop();
317
329
  var lower_domain = domain.toLowerCase();
318
- if (options.host_blacklist.includes(lower_domain)) {
330
+ if (options.host_blacklist.length > 0 && checkHost(lower_domain, options.host_blacklist)) {
319
331
  return false;
320
332
  }
321
- if (options.host_whitelist.length > 0 && !options.host_whitelist.includes(lower_domain)) {
333
+ if (options.host_whitelist.length > 0 && !checkHost(lower_domain, options.host_whitelist)) {
322
334
  return false;
323
335
  }
324
336
  var user = parts.join("@");
@@ -363,7 +375,10 @@ function isEmail(str, options) {
363
375
  }
364
376
  }
365
377
  }
366
- if (user[0] === '"') {
378
+ if (options.blacklisted_chars) {
379
+ if (user.search(new RegExp("[".concat(options.blacklisted_chars, "]+"), "g")) !== -1) return false;
380
+ }
381
+ if (user[0] === '"' && user[user.length - 1] === '"') {
367
382
  user = user.slice(1, user.length - 1);
368
383
  return options.allow_utf8_local_part ? quotedEmailUserUtf8.test(user) : quotedEmailUser.test(user);
369
384
  }
@@ -374,9 +389,6 @@ function isEmail(str, options) {
374
389
  return false;
375
390
  }
376
391
  }
377
- if (options.blacklisted_chars) {
378
- if (user.search(new RegExp("[".concat(options.blacklisted_chars, "]+"), "g")) !== -1) return false;
379
- }
380
392
  return true;
381
393
  }
382
394
  const __default__$a = {
package/dist/form.js CHANGED
@@ -1,6 +1,6 @@
1
- import { ref, defineComponent, useAttrs, withAsyncContext, watch, openBlock, createBlock, unref, mergeProps, normalizeProps, guardReactiveProps, withCtx, createVNode, createTextVNode, toDisplayString, toRefs, computed, useSlots, renderSlot, createCommentVNode, createSlots, renderList, resolveDirective, createElementBlock, Fragment, resolveDynamicComponent, createElementVNode, withDirectives } from "vue";
2
- import { useQuasar, QSelect, QItem, QItemSection, QItemLabel, QInput, QDate, QIcon, QTooltip, QBtn, QPopupProxy, QField, QEditor } from "quasar";
3
- import { f as flags, u as useLang$1 } from "./index-DnmJt2wP.js";
1
+ import { ref, defineComponent, useAttrs, withAsyncContext, watch, createBlock, openBlock, unref, mergeProps, normalizeProps, guardReactiveProps, withCtx, createVNode, createTextVNode, toDisplayString, toRefs, computed, useSlots, createCommentVNode, renderSlot, createSlots, renderList, resolveDirective, createElementVNode, withDirectives, createElementBlock, Fragment, resolveDynamicComponent } from "vue";
2
+ import { useQuasar, QSelect, QItem, QItemSection, QItemLabel, QInput, QField, QIcon, QTooltip, QPopupProxy, QDate, QBtn, QEditor } from "quasar";
3
+ import { u as useLang$1, f as flags } from "./index-DnmJt2wP.js";
4
4
  const lang$1 = {
5
5
  isoName: "en-US",
6
6
  yes: "Yes",
@@ -276,9 +276,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
276
276
  ]),
277
277
  _: 1
278
278
  }),
279
- createVNode(unref(QItemLabel), { style: {
280
- "word-wrap": "anywhere"
281
- } }, {
279
+ createVNode(unref(QItemLabel), { class: "break-all" }, {
282
280
  default: withCtx(() => [
283
281
  createTextVNode(toDisplayString(_ctx.modelValue || "-"), 1)
284
282
  ]),
package/dist/general.js CHANGED
@@ -1,7 +1,7 @@
1
- import { l as loadLang, u as useLang, _ as _sfc_main$5 } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-BAoq0ukq.js";
2
- import { useQuasar, QCard, QCardSection, QCardActions, QDialog, QBtn, QToolbarTitle, QToolbar, QHeader, QPage, QPageContainer, QLayout, QSpace, QPageSticky, QSelect, QItemSection, QItemLabel, QItem, QList } from "quasar";
3
- import { defineComponent, watch, ref, openBlock, createBlock, unref, withCtx, renderSlot, createVNode, createElementVNode, normalizeProps, guardReactiveProps, normalizeClass, createCommentVNode, toRefs, createElementBlock, useAttrs, computed, mergeProps, resolveDynamicComponent, createTextVNode, toDisplayString } from "vue";
4
- import { f as flags, u as useLang$1 } from "./index-DnmJt2wP.js";
1
+ import { u as useLang, l as loadLang, _ as _sfc_main$5 } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-UtpXkOh7.js";
2
+ import { useQuasar, QCard, QCardSection, QCardActions, QDialog, QLayout, QHeader, QToolbar, QBtn, QToolbarTitle, QPageContainer, QPage, QPageSticky, QSpace, QSelect, QItem, QItemSection, QItemLabel, QList } from "quasar";
3
+ import { defineComponent, watch, ref, createBlock, openBlock, unref, withCtx, renderSlot, createVNode, createElementVNode, normalizeProps, guardReactiveProps, normalizeClass, createCommentVNode, toRefs, createElementBlock, useAttrs, computed, mergeProps, resolveDynamicComponent, createTextVNode, toDisplayString } from "vue";
4
+ import { u as useLang$1, f as flags } from "./index-DnmJt2wP.js";
5
5
  const _hoisted_1$2 = { class: "text-h6" };
6
6
  const _hoisted_2$1 = { class: "text-subtitle2" };
7
7
  const __default__$2 = {
@@ -35,31 +35,30 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
35
35
  const _component_q_card_actions = QCardActions;
36
36
  return openBlock(), createBlock(unref(QCard), {
37
37
  ref_key: "qCardRef",
38
- ref: qCardRef,
39
- class: "card"
38
+ ref: qCardRef
40
39
  }, {
41
40
  default: withCtx(() => [
42
- renderSlot(_ctx.$slots, "image", {}, void 0, true),
41
+ renderSlot(_ctx.$slots, "image"),
43
42
  createVNode(_component_q_card_section, null, {
44
43
  default: withCtx(() => [
45
44
  createElementVNode("div", _hoisted_1$2, [
46
- renderSlot(_ctx.$slots, "title", {}, void 0, true)
45
+ renderSlot(_ctx.$slots, "title")
47
46
  ]),
48
47
  createElementVNode("div", _hoisted_2$1, [
49
- renderSlot(_ctx.$slots, "subtitle", {}, void 0, true)
48
+ renderSlot(_ctx.$slots, "subtitle")
50
49
  ])
51
50
  ]),
52
51
  _: 3
53
52
  }),
54
53
  createVNode(_component_q_card_section, { class: "q-pt-none" }, {
55
54
  default: withCtx(() => [
56
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
55
+ renderSlot(_ctx.$slots, "default")
57
56
  ]),
58
57
  _: 3
59
58
  }),
60
59
  createVNode(_component_q_card_actions, normalizeProps(guardReactiveProps(_ctx.actions)), {
61
60
  default: withCtx(() => [
62
- renderSlot(_ctx.$slots, "actions", {}, void 0, true)
61
+ renderSlot(_ctx.$slots, "actions")
63
62
  ]),
64
63
  _: 3
65
64
  }, 16)
@@ -69,14 +68,6 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
69
68
  };
70
69
  }
71
70
  });
72
- const _export_sfc = (sfc, props) => {
73
- const target = sfc.__vccOpts || sfc;
74
- for (const [key, val] of props) {
75
- target[key] = val;
76
- }
77
- return target;
78
- };
79
- const QStyledCard = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-302df27a"]]);
80
71
  const __default__$1 = {
81
72
  name: "ResponsiveDialog"
82
73
  };
@@ -85,7 +76,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
85
76
  props: {
86
77
  display: { type: Boolean },
87
78
  buttonType: { default: "submit" },
88
- closeIcon: { default: "close" }
79
+ closeIcon: { default: "close" },
80
+ padding: { type: Boolean }
89
81
  },
90
82
  emits: ["submit"],
91
83
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -180,14 +172,17 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
180
172
  ]),
181
173
  _: 3
182
174
  }),
183
- createVNode(_component_q_page_container, { style: { "padding-bottom": "-50px" } }, {
175
+ createVNode(_component_q_page_container, { style: { "margin-bottom": "50px" } }, {
184
176
  default: withCtx(() => [
185
- createVNode(_component_q_page, { class: "q-pb-xl" }, {
177
+ createVNode(_component_q_page, {
178
+ padding: _ctx.padding,
179
+ class: "q-pb-xl"
180
+ }, {
186
181
  default: withCtx(() => [
187
182
  renderSlot(_ctx.$slots, "default")
188
183
  ]),
189
184
  _: 3
190
- })
185
+ }, 8, ["padding"])
191
186
  ]),
192
187
  _: 3
193
188
  })
@@ -414,7 +409,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
414
409
  export {
415
410
  _sfc_main as QDrawerList,
416
411
  _sfc_main$1 as QLanguageSelect,
417
- QStyledCard,
412
+ _sfc_main$4 as QStyledCard,
418
413
  _sfc_main$5 as QSubmitButton,
419
414
  _sfc_main$2 as ResourcePage,
420
415
  _sfc_main$3 as ResponsiveDialog,
@@ -1,7 +1,4 @@
1
- .card[data-v-302df27a] {
2
- width: 100%;
3
- max-width: 300px;
4
- }/* https://github.com/quasarframework/quasar/blob/dev/docs/src/layouts/doc-layout/DocPageMenu.sass */
1
+ /* https://github.com/quasarframework/quasar/blob/dev/docs/src/layouts/doc-layout/DocPageMenu.sass */
5
2
  .q-drawer-list .q-item__section--avatar {
6
3
  color: var(--q-primary);
7
4
  min-width: 28px;
@@ -33,4 +30,7 @@
33
30
  min-width: 16px;
34
31
  padding-left: 8px;
35
32
  padding-right: 0;
36
- }
33
+ }
34
+ .break-all {
35
+ word-break: break-all;
36
+ }
@@ -26,13 +26,13 @@ declare const _default: <T extends Account>(__VLS_props: NonNullable<Awaited<typ
26
26
  }) => any) | undefined;
27
27
  readonly "onUpdate:pagination"?: ((pagination: Pagination) => any) | undefined;
28
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"> & Partial<{}> & {
29
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onAddRole" | "onRemoveRole" | "onUpdate:pagination" | "onUpdate:criteria"> & {
30
30
  modelValue: T[];
31
31
  count: number;
32
32
  pagination: Pagination;
33
33
  mappedRoles: Record<string, string>;
34
34
  columns?: QTableColumn[];
35
- }> & import("vue").PublicProps;
35
+ } & Partial<{}>> & import("vue").PublicProps;
36
36
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
37
37
  attrs: any;
38
38
  slots: {};
@@ -48,9 +48,7 @@ declare const _default: <T extends Account>(__VLS_props: NonNullable<Awaited<typ
48
48
  role: string;
49
49
  }): void;
50
50
  };
51
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
- [key: string]: any;
53
- }> & {
51
+ }>) => import("vue").VNode & {
54
52
  __ctx?: Awaited<typeof __VLS_setup>;
55
53
  };
56
54
  export default _default;
@@ -6,7 +6,7 @@ export interface Props {
6
6
  style?: Partial<CSSStyleDeclaration>;
7
7
  })>;
8
8
  }
9
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
9
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
10
10
  variables: import("vue").Ref<{
11
11
  header: string;
12
12
  }, {
@@ -45,15 +45,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
45
45
  done: () => void;
46
46
  }) => any) | undefined;
47
47
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
48
- default?(_: {
48
+ default?: ((props: {
49
49
  submit: (args_0: {
50
50
  value?: string;
51
51
  done: () => void;
52
52
  }) => any;
53
- }): any;
53
+ }) => any) | undefined;
54
54
  }>;
55
55
  export default _default;
56
- type __VLS_WithTemplateSlots<T, S> = T & {
56
+ type __VLS_WithSlots<T, S> = T & {
57
57
  new (): {
58
58
  $slots: S;
59
59
  };
@@ -1,11 +1,11 @@
1
1
  export interface Props {
2
2
  withNetwork?: string;
3
3
  }
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
5
- icon?(_: {}): any;
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>, {
5
+ icon?: ((props: {}) => any) | undefined;
6
6
  }>;
7
7
  export default _default;
8
- type __VLS_WithTemplateSlots<T, S> = T & {
8
+ type __VLS_WithSlots<T, S> = T & {
9
9
  new (): {
10
10
  $slots: S;
11
11
  };
@@ -7,7 +7,7 @@ export interface Props {
7
7
  style?: Partial<CSSStyleDeclaration>;
8
8
  })>;
9
9
  }
10
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
10
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
11
11
  variables: import("vue").Ref<{
12
12
  header: string;
13
13
  createAccount: string;
@@ -55,15 +55,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
55
55
  done: () => void;
56
56
  }) => any) | undefined;
57
57
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
58
- default?(_: {
58
+ default?: ((props: {
59
59
  submit: (args_0: {
60
60
  value?: string;
61
61
  done: () => void;
62
62
  }) => any;
63
- }): any;
63
+ }) => any) | undefined;
64
64
  }>;
65
65
  export default _default;
66
- type __VLS_WithTemplateSlots<T, S> = T & {
66
+ type __VLS_WithSlots<T, S> = T & {
67
67
  new (): {
68
68
  $slots: S;
69
69
  };
@@ -7,7 +7,7 @@ export interface Props {
7
7
  style?: Partial<CSSStyleDeclaration>;
8
8
  })>;
9
9
  }
10
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
10
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
11
11
  variables: import("vue").Ref<{}, {}>;
12
12
  functions: import("vue").Ref<{
13
13
  submit: (args_0: {
@@ -46,15 +46,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
46
46
  style?: Partial<CSSStyleDeclaration>;
47
47
  })>;
48
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
49
- default?(_: {
49
+ default?: ((props: {
50
50
  submit: (args_0: {
51
51
  value?: string;
52
52
  done: () => void;
53
53
  }) => any;
54
- }): any;
54
+ }) => any) | undefined;
55
55
  }>;
56
56
  export default _default;
57
- type __VLS_WithTemplateSlots<T, S> = T & {
57
+ type __VLS_WithSlots<T, S> = T & {
58
58
  new (): {
59
59
  $slots: S;
60
60
  };
@@ -12,7 +12,7 @@ export interface Props {
12
12
  style?: Partial<CSSStyleDeclaration>;
13
13
  })>;
14
14
  }
15
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
15
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
16
16
  variables: import("vue").Ref<{
17
17
  header: string;
18
18
  forgotPassword: string;
@@ -76,15 +76,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
76
76
  rules?: ((val: string) => boolean)[];
77
77
  }[];
78
78
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
79
- default?(_: {
79
+ default?: ((props: {
80
80
  submit: (args_0: {
81
81
  value?: string;
82
82
  done: () => void;
83
83
  }) => any;
84
- }): any;
84
+ }) => any) | undefined;
85
85
  }>;
86
86
  export default _default;
87
- type __VLS_WithTemplateSlots<T, S> = T & {
87
+ type __VLS_WithSlots<T, S> = T & {
88
88
  new (): {
89
89
  $slots: S;
90
90
  };
@@ -5,7 +5,7 @@ export interface Props {
5
5
  style?: Partial<CSSStyleDeclaration>;
6
6
  })>;
7
7
  }
8
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
8
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
9
9
  variables: import("vue").Ref<{}, {}>;
10
10
  functions: import("vue").Ref<{
11
11
  submit: (args_0: {
@@ -34,15 +34,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
34
34
  done: () => void;
35
35
  }) => any) | undefined;
36
36
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
37
- default?(_: {
37
+ default?: ((props: {
38
38
  submit: (args_0: {
39
39
  value?: string;
40
40
  done: () => void;
41
41
  }) => any;
42
- }): any;
42
+ }) => any) | undefined;
43
43
  }>;
44
44
  export default _default;
45
- type __VLS_WithTemplateSlots<T, S> = T & {
45
+ type __VLS_WithSlots<T, S> = T & {
46
46
  new (): {
47
47
  $slots: S;
48
48
  };
@@ -2,7 +2,7 @@ import type { RouteLocationRaw } from 'vue-router';
2
2
  export interface Props {
3
3
  userRoute: RouteLocationRaw;
4
4
  }
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
5
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
6
6
  variables: import("vue").Ref<{}, {}>;
7
7
  functions: import("vue").Ref<{}, {}>;
8
8
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
@@ -10,10 +10,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
10
10
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
11
11
  onSignOut?: (() => any) | undefined;
12
12
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
13
- default?(_: {}): any;
13
+ default?: ((props: {}) => any) | undefined;
14
14
  }>;
15
15
  export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
16
+ type __VLS_WithSlots<T, S> = T & {
17
17
  new (): {
18
18
  $slots: S;
19
19
  };
@@ -9,7 +9,7 @@ declare const _default: <T extends {
9
9
  done: (success?: boolean) => void;
10
10
  }) => any) | undefined;
11
11
  readonly "onUpdate:model-value"?: ((id: number) => any) | undefined;
12
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFilter" | "onUpdate:model-value"> & Partial<{}> & {
12
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFilter" | "onUpdate:model-value"> & {
13
13
  modelValue?: number | number[] | null;
14
14
  labelKey: string;
15
15
  labelFunction?: (option: unknown) => string;
@@ -21,10 +21,13 @@ declare const _default: <T extends {
21
21
  multiple?: boolean;
22
22
  label?: string;
23
23
  hint?: string;
24
- }> & import("vue").PublicProps;
24
+ } & Partial<{}>> & import("vue").PublicProps;
25
25
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
26
26
  attrs: any;
27
- slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
27
+ slots: {
28
+ [x: string]: ((props: any) => any) | undefined;
29
+ [x: number]: ((props: any) => any) | undefined;
30
+ };
28
31
  emit: {
29
32
  (e: "update:model-value", id: number): void;
30
33
  (e: "filter", { ids, searchPhrase, done }: {
@@ -33,9 +36,7 @@ declare const _default: <T extends {
33
36
  done: (success?: boolean) => void;
34
37
  }): void;
35
38
  };
36
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
37
- [key: string]: any;
38
- }> & {
39
+ }>) => import("vue").VNode & {
39
40
  __ctx?: Awaited<typeof __VLS_setup>;
40
41
  };
41
42
  export default _default;
@@ -1,3 +1,4 @@
1
+ import { QInput, ValidationRule } from 'quasar';
1
2
  export type FormItems = 'name' | 'firstName' | 'lastName' | 'address' | 'city' | 'postalCode' | 'telephoneNumber';
2
3
  export interface Props {
3
4
  modelValue?: string | null;
@@ -5,17 +6,26 @@ export interface Props {
5
6
  label?: string;
6
7
  required?: boolean;
7
8
  }
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
11
- refs: {};
12
- rootEl: any;
9
+ declare const attrs: {
10
+ [x: string]: unknown;
13
11
  };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const lang: import("vue").Ref<import("./lang").Language, import("./lang").Language>;
13
+ declare const validations: import("vue").Ref<ValidationRule[], ValidationRule[]>;
14
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
15
+ declare var __VLS_11: string | number, __VLS_12: any;
16
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
17
+ [K in NonNullable<typeof __VLS_11>]?: (props: typeof __VLS_12) => any;
18
+ }>;
19
+ declare const __VLS_self: import("vue").DefineComponent<Props, {
20
+ QInput: typeof QInput;
21
+ attrs: typeof attrs;
22
+ lang: typeof lang;
23
+ validations: typeof validations;
24
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
25
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
27
  export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & {
28
+ type __VLS_WithSlots<T, S> = T & {
19
29
  new (): {
20
30
  $slots: S;
21
31
  };
@@ -1,23 +1,36 @@
1
+ import { QItem, QItemLabel, QItemSection } from 'quasar';
1
2
  export type FormItems = 'name' | 'firstName' | 'lastName' | 'address' | 'city' | 'postalCode';
2
3
  export interface Props {
3
4
  modelValue?: string;
4
5
  label?: string;
5
6
  field?: FormItems;
6
7
  }
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: {
10
- avatar?(_: {}): any;
11
- side?(_: {}): any;
12
- };
13
- refs: {};
14
- rootEl: any;
8
+ declare const attrs: {
9
+ [x: string]: unknown;
15
10
  };
16
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const slots: Readonly<{
12
+ [name: string]: import("vue").Slot<any> | undefined;
13
+ }>;
14
+ declare const lang: import("vue").Ref<import("./lang").Language, import("./lang").Language>;
15
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
16
+ declare var __VLS_10: {}, __VLS_28: {};
17
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
18
+ avatar?: (props: typeof __VLS_10) => any;
19
+ } & {
20
+ side?: (props: typeof __VLS_28) => any;
21
+ }>;
22
+ declare const __VLS_self: import("vue").DefineComponent<Props, {
23
+ QItem: typeof QItem;
24
+ QItemLabel: typeof QItemLabel;
25
+ QItemSection: typeof QItemSection;
26
+ attrs: typeof attrs;
27
+ slots: typeof slots;
28
+ lang: typeof lang;
29
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
30
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
32
  export default _default;
20
- type __VLS_WithTemplateSlots<T, S> = T & {
33
+ type __VLS_WithSlots<T, S> = T & {
21
34
  new (): {
22
35
  $slots: S;
23
36
  };
@@ -1,16 +1,16 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: any;
8
- };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1
+ import { QList } from 'quasar';
2
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
3
+ declare var __VLS_6: {};
4
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
5
+ default?: (props: typeof __VLS_6) => any;
6
+ }>;
7
+ declare const __VLS_self: import("vue").DefineComponent<{}, {
8
+ QList: typeof QList;
9
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
10
  declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
11
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
12
  export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
13
+ type __VLS_WithSlots<T, S> = T & {
14
14
  new (): {
15
15
  $slots: S;
16
16
  };
@@ -2,18 +2,18 @@ import { QCardActionsProps } from 'quasar';
2
2
  export interface Props {
3
3
  actions?: QCardActionsProps;
4
4
  }
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
5
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
6
6
  variables: import("vue").Ref<{}, {}>;
7
7
  functions: import("vue").Ref<{}, {}>;
8
8
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
9
- image?(_: {}): any;
10
- title?(_: {}): any;
11
- subtitle?(_: {}): any;
12
- default?(_: {}): any;
13
- actions?(_: {}): any;
9
+ image?: ((props: {}) => any) | undefined;
10
+ title?: ((props: {}) => any) | undefined;
11
+ subtitle?: ((props: {}) => any) | undefined;
12
+ default?: ((props: {}) => any) | undefined;
13
+ actions?: ((props: {}) => any) | undefined;
14
14
  }>;
15
15
  export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
16
+ type __VLS_WithSlots<T, S> = T & {
17
17
  new (): {
18
18
  $slots: S;
19
19
  };
@@ -1,14 +1,14 @@
1
1
  export interface Props {
2
2
  title: string;
3
3
  }
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
4
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
5
5
  variables: import("vue").Ref<{}, {}>;
6
6
  functions: import("vue").Ref<{}, {}>;
7
7
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
8
- leftDrawerItems?(_: {}): any;
8
+ leftDrawerItems?: ((props: {}) => any) | undefined;
9
9
  }>;
10
10
  export default _default;
11
- type __VLS_WithTemplateSlots<T, S> = T & {
11
+ type __VLS_WithSlots<T, S> = T & {
12
12
  new (): {
13
13
  $slots: S;
14
14
  };
@@ -5,7 +5,7 @@ export interface Props {
5
5
  isNextButton?: boolean;
6
6
  color?: string;
7
7
  }
8
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
9
  submit: (args_0: {
10
10
  value?: string;
11
11
  done: () => void;
@@ -20,10 +20,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
20
20
  color: string;
21
21
  loading: boolean;
22
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
23
- default?(_: {}): any;
23
+ default?: ((props: {}) => any) | undefined;
24
24
  }>;
25
25
  export default _default;
26
- type __VLS_WithTemplateSlots<T, S> = T & {
26
+ type __VLS_WithSlots<T, S> = T & {
27
27
  new (): {
28
28
  $slots: S;
29
29
  };
@@ -4,7 +4,7 @@ export interface Props {
4
4
  topBarFab?: boolean;
5
5
  topBarShrink?: boolean;
6
6
  }
7
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
8
  update: (args_0: {
9
9
  data?: unknown;
10
10
  done: (success?: boolean) => void;
@@ -28,14 +28,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
28
28
  topBarFab: boolean;
29
29
  topBarShrink: boolean;
30
30
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
31
- default?(_: {}): any;
32
- fab?(_: {}): any;
33
- header?(_: {}): any;
34
- "top-bar-buttons"?(_: {}): any;
35
- "header-side"?(_: {}): any;
31
+ default?: ((props: {}) => any) | undefined;
32
+ fab?: ((props: {}) => any) | undefined;
33
+ header?: ((props: {}) => any) | undefined;
34
+ 'top-bar-buttons'?: ((props: {}) => any) | undefined;
35
+ 'header-side'?: ((props: {}) => any) | undefined;
36
36
  }>;
37
37
  export default _default;
38
- type __VLS_WithTemplateSlots<T, S> = T & {
38
+ type __VLS_WithSlots<T, S> = T & {
39
39
  new (): {
40
40
  $slots: S;
41
41
  };
@@ -2,8 +2,9 @@ export interface Props {
2
2
  display?: boolean;
3
3
  buttonType?: 'submit' | 'send';
4
4
  closeIcon?: string;
5
+ padding?: boolean;
5
6
  }
6
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
7
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
7
8
  variables: import("vue").Ref<{}, {}>;
8
9
  functions: import("vue").Ref<{
9
10
  open: () => void | undefined;
@@ -30,11 +31,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
30
31
  buttonType: "submit" | "send";
31
32
  closeIcon: string;
32
33
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
33
- title?(_: {}): any;
34
- default?(_: {}): any;
34
+ title?: ((props: {}) => any) | undefined;
35
+ default?: ((props: {}) => any) | undefined;
35
36
  }>;
36
37
  export default _default;
37
- type __VLS_WithTemplateSlots<T, S> = T & {
38
+ type __VLS_WithSlots<T, S> = T & {
38
39
  new (): {
39
40
  $slots: S;
40
41
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simsustech/quasar-components",
3
- "version": "0.11.7",
3
+ "version": "0.11.9",
4
4
  "author": "Stefan van Herwijnen",
5
5
  "description": "High level components for Quasar Framework",
6
6
  "license": "MIT",
@@ -46,37 +46,37 @@
46
46
  },
47
47
  "bugs": "https://github.com/simsusech/quasar-components/issues",
48
48
  "dependencies": {
49
- "validator": "^13.12.0"
49
+ "validator": "^13.15.0"
50
50
  },
51
51
  "peerDependencies": {
52
- "quasar": "^2.17.4"
52
+ "quasar": "^2.18.1"
53
53
  },
54
54
  "devDependencies": {
55
- "@types/node": "^22.10.0",
56
- "@types/validator": "^13.12.2",
57
- "@types/ws": "^8.5.13",
58
- "@typescript-eslint/eslint-plugin": "^8.16.0",
59
- "@typescript-eslint/parser": "^8.16.0",
60
- "@vitejs/plugin-vue": "^5.2.1",
55
+ "@types/node": "^22.14.0",
56
+ "@types/validator": "^13.12.3",
57
+ "@types/ws": "^8.18.1",
58
+ "@typescript-eslint/eslint-plugin": "^8.29.0",
59
+ "@typescript-eslint/parser": "^8.29.0",
60
+ "@vitejs/plugin-vue": "^5.2.3",
61
61
  "@vue/server-renderer": "^3.5.13",
62
- "eslint": "^9.15.0",
63
- "eslint-config-prettier": "^9.1.0",
64
- "eslint-plugin-prettier": "^5.2.1",
62
+ "eslint": "^9.24.0",
63
+ "eslint-config-prettier": "^10.1.1",
64
+ "eslint-plugin-prettier": "^5.2.6",
65
65
  "eslint-plugin-prettier-vue": "^5.0.0",
66
- "eslint-plugin-vue": "^9.31.0",
67
- "glob": "^11.0.0",
68
- "local-pkg": "^0.5.1",
69
- "prettier": "^3.4.1",
70
- "quasar": "^2.17.4",
66
+ "eslint-plugin-vue": "^10.0.0",
67
+ "glob": "^11.0.1",
68
+ "local-pkg": "^1.1.1",
69
+ "prettier": "^3.5.3",
70
+ "quasar": "^2.18.1",
71
71
  "rimraf": "^6.0.1",
72
- "typescript": "5.6.3",
73
- "typescript-eslint": "^8.16.0",
74
- "unplugin-vue-components": "^0.27.5",
75
- "vite": "^6.0.1",
72
+ "typescript": "5.8.3",
73
+ "typescript-eslint": "^8.29.0",
74
+ "unplugin-vue-components": "^28.4.1",
75
+ "vite": "^6.2.5",
76
76
  "vue": "^3.5.13",
77
- "vue-eslint-parser": "^9.4.3",
77
+ "vue-eslint-parser": "^10.1.3",
78
78
  "vue-router": "^4.5.0",
79
- "vue-tsc": "^2.1.10"
79
+ "vue-tsc": "^2.2.8"
80
80
  },
81
81
  "scripts": {
82
82
  "build:plugin": "vite build",
@@ -7,11 +7,7 @@
7
7
  <q-item-label overline>
8
8
  {{ label ? label : field ? lang.fields[field] : '' }}
9
9
  </q-item-label>
10
- <q-item-label
11
- :style="{
12
- 'word-wrap': 'anywhere'
13
- }"
14
- >
10
+ <q-item-label class="break-all">
15
11
  {{ modelValue || '-' }}
16
12
  </q-item-label>
17
13
  </q-item-section>
@@ -52,3 +48,9 @@ watch($q.lang, () => {
52
48
  loadLang($q.lang.isoName)
53
49
  })
54
50
  </script>
51
+
52
+ <style>
53
+ .break-all {
54
+ word-break: break-all;
55
+ }
56
+ </style>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <q-card ref="qCardRef" class="card">
2
+ <q-card ref="qCardRef">
3
3
  <slot name="image" />
4
4
 
5
5
  <q-card-section>
@@ -36,19 +36,7 @@ export interface Props {
36
36
  actions?: QCardActionsProps
37
37
  }
38
38
  defineProps<Props>()
39
- // const attrs = useAttrs();
40
- // const emit = defineEmits<{
41
- // (
42
- // e: "asyncEmit",
43
- // {
44
- // value,
45
- // done,
46
- // }: {
47
- // value: string;
48
- // done: () => void;
49
- // }
50
- // ): void;
51
- // }>();
39
+
52
40
  const $q = useQuasar()
53
41
  const lang = useLang()
54
42
  if (lang.value.isoName !== $q.lang.isoName) loadLang($q.lang.isoName)
@@ -70,8 +58,4 @@ defineExpose({
70
58
  })
71
59
  </script>
72
60
 
73
- <style lang="sass" scoped>
74
- .card
75
- width: 100%
76
- max-width: 300px
77
- </style>
61
+ <style lang="sass" scoped></style>
@@ -21,8 +21,8 @@
21
21
  </q-toolbar>
22
22
  </q-header>
23
23
 
24
- <q-page-container style="padding-bottom: -50px">
25
- <q-page class="q-pb-xl">
24
+ <q-page-container style="margin-bottom: 50px">
25
+ <q-page :padding="padding" class="q-pb-xl">
26
26
  <slot></slot>
27
27
  </q-page>
28
28
  </q-page-container>
@@ -46,6 +46,7 @@ export interface Props {
46
46
  display?: boolean
47
47
  buttonType?: 'submit' | 'send'
48
48
  closeIcon?: string
49
+ padding?: boolean
49
50
  }
50
51
  withDefaults(defineProps<Props>(), { buttonType: 'submit', closeIcon: 'close' })
51
52
  // const attrs = useAttrs();