vlite3 1.1.1 → 1.1.2

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 (60) hide show
  1. package/components/AttachmentsList/AttachmentsList.vue.d.ts +1 -16
  2. package/components/AttachmentsList/AttachmentsList.vue.js +191 -167
  3. package/components/AvatarUploader/AvatarUploader.vue.d.ts +1 -1
  4. package/components/Button.vue.d.ts +1 -1
  5. package/components/Calendar/Calendar.vue.d.ts +6 -6
  6. package/components/Carousel/Carousel.vue.d.ts +2 -2
  7. package/components/CategoryManager/CategoryManager.vue.d.ts +2 -1
  8. package/components/CategoryManager/CategoryManager.vue.js +187 -147
  9. package/components/CategoryManager/types.d.ts +14 -0
  10. package/components/Chip/Chip.vue.d.ts +2 -2
  11. package/components/CommandPalette/CommandPaletteContent.vue2.js +1 -1
  12. package/components/CommandPalette/{CommandPaletteItem.vue2.js → CommandPaletteItem.vue.js} +1 -1
  13. package/components/ConfirmationModal.vue.d.ts +2 -2
  14. package/components/CustomFieldsDisplay/CustomFieldsDisplay.vue.d.ts +1 -1
  15. package/components/DataTable/DataTable.vue.d.ts +3 -3
  16. package/components/Dropdown/Dropdown.vue.d.ts +2 -2
  17. package/components/Dropdown/DropdownGroupedLayout.vue.d.ts +1 -1
  18. package/components/Dropdown/DropdownMenu.vue.d.ts +1 -1
  19. package/components/Dropdown/DropdownTrigger.vue.d.ts +1 -1
  20. package/components/FilePicker/FilePicker.vue.d.ts +1 -1
  21. package/components/Form/Form.vue.js +2 -2
  22. package/components/Form/Form.vue2.js +220 -232
  23. package/components/Form/FormField.vue.d.ts +1 -1
  24. package/components/Input.vue.d.ts +3 -3
  25. package/components/Invoice/Invoice.vue.d.ts +1 -4
  26. package/components/Invoice/Invoice.vue.js +20 -13
  27. package/components/Invoice/InvoiceVariant1.vue.d.ts +3 -0
  28. package/components/Invoice/InvoiceVariant1.vue.js +302 -256
  29. package/components/Invoice/InvoiceVariant2.vue.d.ts +3 -0
  30. package/components/Invoice/InvoiceVariant2.vue.js +164 -168
  31. package/components/Invoice/InvoiceVariant3.vue.d.ts +3 -0
  32. package/components/Invoice/InvoiceVariant3.vue.js +213 -170
  33. package/components/Invoice/InvoiceVariant4.vue.d.ts +3 -0
  34. package/components/Invoice/InvoiceVariant4.vue.js +280 -227
  35. package/components/Invoice/types.d.ts +4 -0
  36. package/components/List/List.vue.d.ts +1 -9
  37. package/components/List/List.vue.js +166 -165
  38. package/components/List/ListFieldRow.vue.d.ts +2 -2
  39. package/components/List/ListFieldRow.vue.js +50 -50
  40. package/components/MultiSelect/MultiSelect.vue.d.ts +1 -1
  41. package/components/Navbar/NavbarItem.vue.d.ts +1 -1
  42. package/components/NavbarCommandPalette.vue.js +1 -1
  43. package/components/NumberInput.vue.d.ts +2 -2
  44. package/components/OTPInput/OTPInput.vue.d.ts +1 -1
  45. package/components/PricingPlan/PricingPlan.vue.d.ts +1 -1
  46. package/components/SidebarMenu/SidebarMenu.vue.d.ts +1 -1
  47. package/components/Stats/Stats.vue.d.ts +1 -1
  48. package/components/StatusChip/status-map.js +27 -7
  49. package/components/ThumbnailSelector/ThumbnailSelector.vue.d.ts +2 -2
  50. package/components/Workbook/Workbook.vue.d.ts +3 -3
  51. package/core/config.d.ts +76 -0
  52. package/core/index.js +17 -5
  53. package/index.js +264 -262
  54. package/package.json +1 -1
  55. package/style.css +2 -2
  56. package/types/config.type.d.ts +6 -0
  57. package/types/list.type.d.ts +6 -0
  58. package/utils/configUtils.d.ts +9 -0
  59. package/utils/configUtils.js +7 -0
  60. package/utils/index.d.ts +1 -0
@@ -30,10 +30,10 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
30
30
  variant: InputVariant;
31
31
  size: InputSize;
32
32
  rounded: InputRounded;
33
+ loading: boolean;
33
34
  readonly: boolean;
34
35
  error: string;
35
36
  disabled: boolean;
36
- loading: boolean;
37
37
  isUpdate: boolean;
38
38
  floatingActive: boolean;
39
39
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -13,15 +13,15 @@ declare function __VLS_template(): {
13
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
14
  declare const __VLS_component: import('vue').DefineComponent<InputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
15
15
  blur: (event: FocusEvent) => any;
16
- change: (value: string | number) => any;
17
16
  focus: (event: FocusEvent) => any;
17
+ change: (value: string | number) => any;
18
18
  "update:modelValue": (value: string | number) => any;
19
19
  "click:icon": (event: MouseEvent) => any;
20
20
  "click:icon-right": (event: MouseEvent) => any;
21
21
  }, string, import('vue').PublicProps, Readonly<InputProps> & Readonly<{
22
22
  onBlur?: (event: FocusEvent) => any;
23
- onChange?: (value: string | number) => any;
24
23
  onFocus?: (event: FocusEvent) => any;
24
+ onChange?: (value: string | number) => any;
25
25
  "onUpdate:modelValue"?: (value: string | number) => any;
26
26
  "onClick:icon"?: (event: MouseEvent) => any;
27
27
  "onClick:icon-right"?: (event: MouseEvent) => any;
@@ -31,9 +31,9 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {}, {},
31
31
  variant: InputVariant;
32
32
  size: InputSize;
33
33
  rounded: InputRounded;
34
+ loading: boolean;
34
35
  readonly: boolean;
35
36
  disabled: boolean;
36
- loading: boolean;
37
37
  modelValue: string | number;
38
38
  rows: number;
39
39
  showClearButton: boolean;
@@ -1,6 +1,3 @@
1
1
  import { InvoiceProps } from './types';
2
- declare const _default: import('vue').DefineComponent<InvoiceProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<InvoiceProps> & Readonly<{}>, {
3
- variant: import('./types').InvoiceVariant;
4
- compact: boolean;
5
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
2
+ declare const _default: import('vue').DefineComponent<InvoiceProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<InvoiceProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
3
  export default _default;
@@ -1,29 +1,36 @@
1
- import { defineComponent as t, computed as n, openBlock as o, createBlock as c, resolveDynamicComponent as i, normalizeProps as m, guardReactiveProps as s } from "vue";
2
- import p from "./InvoiceVariant1.vue.js";
1
+ import { defineComponent as l, computed as e, openBlock as p, createBlock as s, resolveDynamicComponent as m } from "vue";
2
+ import { getComponentConfig as u } from "../../utils/configUtils.js";
3
+ import d from "./InvoiceVariant1.vue.js";
3
4
  import f from "./InvoiceVariant2.vue.js";
4
- import u from "./InvoiceVariant3.vue.js";
5
- import l from "./InvoiceVariant4.vue.js";
6
- const k = /* @__PURE__ */ t({
5
+ import v from "./InvoiceVariant3.vue.js";
6
+ import _ from "./InvoiceVariant4.vue.js";
7
+ const k = /* @__PURE__ */ l({
7
8
  __name: "Invoice",
8
9
  props: {
9
10
  data: {},
10
- variant: { default: "Variant1" },
11
- compact: { type: Boolean, default: !1 }
11
+ variant: {},
12
+ compact: { type: Boolean },
13
+ displayBarcodeValue: { type: Boolean }
12
14
  },
13
15
  setup(r) {
14
- const a = r, e = n(() => {
15
- switch (a.variant) {
16
+ const a = r, o = u("invoice") || {}, t = e(() => a.variant ?? o.variant ?? "Variant1"), n = e(() => a.compact ?? o.compact ?? !1), c = e(() => a.displayBarcodeValue ?? o.displayBarcodeValue ?? !1), i = e(() => {
17
+ switch (t.value) {
16
18
  case "Variant2":
17
19
  return f;
18
20
  case "Variant3":
19
- return u;
21
+ return v;
20
22
  case "Variant4":
21
- return l;
23
+ return _;
22
24
  default:
23
- return p;
25
+ return d;
24
26
  }
25
27
  });
26
- return (_, d) => (o(), c(i(e.value), m(s(a)), null, 16));
28
+ return (V, y) => (p(), s(m(i.value), {
29
+ data: a.data,
30
+ variant: t.value,
31
+ compact: n.value,
32
+ "display-barcode-value": c.value
33
+ }, null, 8, ["data", "variant", "compact", "display-barcode-value"]));
27
34
  }
28
35
  });
29
36
  export {
@@ -3,8 +3,11 @@ type __VLS_Props = {
3
3
  data: InvoiceData;
4
4
  /** Reduces padding, spacing, and font sizes for print-friendly output */
5
5
  compact?: boolean;
6
+ /** Toggles the display of the barcode text value underneath the bars */
7
+ displayBarcodeValue?: boolean;
6
8
  };
7
9
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
10
  compact: boolean;
11
+ displayBarcodeValue: boolean;
9
12
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
13
  export default _default;