vlite3 1.3.11 → 1.4.1

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 (35) hide show
  1. package/components/Accordion/Accordion.vue.d.ts +2 -2
  2. package/components/Accordion/AccordionItem.vue.d.ts +1 -1
  3. package/components/Accordion/AccordionItem.vue.js +11 -7
  4. package/components/Accordion/AccordionTrigger.vue.d.ts +1 -1
  5. package/components/CategoryManager/CategoryManager.vue2.js +36 -32
  6. package/components/ColorPicker/ColorIro.vue3.js +2 -2
  7. package/components/ColorPicker/ColorPicker.vue.js +2 -2
  8. package/components/CommandPalette/CommandPaletteContent.vue2.js +1 -1
  9. package/components/CommandPalette/{CommandPaletteItem.vue.js → CommandPaletteItem.vue2.js} +1 -1
  10. package/components/Form/Form.vue.d.ts +13 -1
  11. package/components/Form/Form.vue.js +2 -2
  12. package/components/Form/Form.vue2.js +313 -275
  13. package/components/Form/FormField.vue.js +108 -82
  14. package/components/Form/FormFields.vue.js +2 -2
  15. package/components/Form/FormFields.vue2.js +7 -6
  16. package/components/Form/composables/useForm.js +71 -67
  17. package/components/Form/types.d.ts +21 -1
  18. package/components/NavbarCommandPalette.vue.d.ts +1 -1
  19. package/components/NavbarCommandPalette.vue.js +1 -1
  20. package/components/RichTextEditor/RichTextEditor.vue.js +43 -48
  21. package/components/RichTextEditor/RichTextLinkPopover.vue3.js +2 -2
  22. package/components/RichTextEditor/RichTextToolbar.vue.d.ts +12 -3
  23. package/components/RichTextEditor/{RichTextToolbar.vue.js → RichTextToolbar.vue2.js} +157 -121
  24. package/components/RichTextEditor/RichTextToolbar.vue3.js +2 -2
  25. package/components/RichTextEditor/index.d.ts +2 -0
  26. package/components/RichTextEditor/types.d.ts +38 -0
  27. package/components/RichTextEditor/types.js +52 -0
  28. package/components/Screen/ScreenFilter.vue.js +16 -12
  29. package/components/SidebarMenu/SidebarMenu.vue.d.ts +2 -2
  30. package/components/Workbook/Sheet.vue.d.ts +1 -1
  31. package/index.js +298 -295
  32. package/package.json +1 -1
  33. package/style.css +2 -2
  34. /package/components/ColorPicker/{ColorIro.vue.js → ColorIro.vue2.js} +0 -0
  35. /package/components/RichTextEditor/{RichTextLinkPopover.vue.js → RichTextLinkPopover.vue2.js} +0 -0
@@ -14,16 +14,20 @@ import "v-datepicker-lite";
14
14
  import "v-datepicker-lite/style.css";
15
15
  import "@jaames/iro";
16
16
  import "@vueuse/core";
17
- /* empty css */
17
+ /* empty css */
18
18
  import "iconify-icon-picker";
19
19
  import "iconify-icon-picker/style.css";
20
20
  /* empty css */
21
- /* empty css */
21
+ /* empty css */
22
+ /* empty css */
23
+ /* empty css */
22
24
  import "../../core/config.js";
25
+ /* empty css */
26
+ /* empty css */
23
27
  const N = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }, A = { style: { "will-change": "transform", contain: "layout style" } }, E = {
24
28
  class: "pt-2 px-2 min-w-[295px]",
25
29
  style: { "will-change": "transform", contain: "layout style" }
26
- }, re = /* @__PURE__ */ B({
30
+ }, ae = /* @__PURE__ */ B({
27
31
  __name: "ScreenFilter",
28
32
  props: {
29
33
  schema: {},
@@ -32,12 +36,12 @@ const N = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
32
36
  },
33
37
  emits: ["update:modelValue", "change"],
34
38
  setup(i, { emit: $ }) {
35
- const u = i, m = $, s = M(!1), p = d(() => u.modelValue ? Object.keys(u.modelValue).filter(
36
- (e) => u.modelValue[e] !== "" && u.modelValue[e] !== null && u.modelValue[e] !== void 0
39
+ const m = i, c = $, s = M(!1), p = d(() => m.modelValue ? Object.keys(m.modelValue).filter(
40
+ (e) => m.modelValue[e] !== "" && m.modelValue[e] !== null && m.modelValue[e] !== void 0
37
41
  ).length : 0), x = (e) => {
38
- m("update:modelValue", e.values), m("change", e.values), s.value = !1;
42
+ c("update:modelValue", e.values), c("change", e.values), s.value = !1;
39
43
  }, k = () => {
40
- m("update:modelValue", {}), m("change", {});
44
+ c("update:modelValue", {}), c("change", {});
41
45
  }, g = d(() => {
42
46
  const e = y("vlite.screen.filters");
43
47
  return e !== "vlite.screen.filters" ? e : "Filters";
@@ -52,7 +56,7 @@ const N = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
52
56
  key: 0,
53
57
  title: g.value,
54
58
  show: s.value,
55
- "onUpdate:show": t[3] || (t[3] = (c) => s.value = c),
59
+ "onUpdate:show": t[3] || (t[3] = (u) => s.value = u),
56
60
  "max-width": "sm:max-w-md"
57
61
  }, {
58
62
  trigger: o(() => [
@@ -60,7 +64,7 @@ const N = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
60
64
  key: 0,
61
65
  variant: "secondary",
62
66
  class: "flex items-center gap-1.5 pl-3 pr-1.5 shrink-0",
63
- onClick: t[0] || (t[0] = (c) => s.value = !0)
67
+ onClick: t[0] || (t[0] = (u) => s.value = !0)
64
68
  }, {
65
69
  default: o(() => [
66
70
  a(h, {
@@ -82,7 +86,7 @@ const N = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
82
86
  })) : (r(), n(f, {
83
87
  key: 1,
84
88
  variant: "outline",
85
- onClick: t[2] || (t[2] = (c) => s.value = !0),
89
+ onClick: t[2] || (t[2] = (u) => s.value = !0),
86
90
  title: V.value,
87
91
  size: "lg",
88
92
  asIcon: "",
@@ -124,7 +128,7 @@ const N = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
124
128
  }, 8, ["title", "show"])) : (r(), n(w(z), {
125
129
  key: 1,
126
130
  isOpen: s.value,
127
- "onUpdate:isOpen": t[4] || (t[4] = (c) => s.value = c),
131
+ "onUpdate:isOpen": t[4] || (t[4] = (u) => s.value = u),
128
132
  "close-on-select": !1,
129
133
  position: "bottom-end",
130
134
  maxHeight: "430px",
@@ -186,5 +190,5 @@ const N = { class: "text-gray-800! h-4! w-4! flex items-center justify-center" }
186
190
  }
187
191
  });
188
192
  export {
189
- re as default
193
+ ae as default
190
194
  };
@@ -3,10 +3,10 @@ declare const _default: import('vue').DefineComponent<SidebarMenuProps, {}, {},
3
3
  variant: "default" | "ghost";
4
4
  compact: boolean;
5
5
  orientation: "vertical" | "horizontal";
6
- iconSize: string;
7
6
  items: SidebarMenuItemSchema[];
8
- mobileBreakpoint: "sm" | "md" | "lg" | "xl" | "none";
9
7
  allowMultiple: boolean;
8
+ iconSize: string;
9
+ mobileBreakpoint: "sm" | "md" | "lg" | "xl" | "none";
10
10
  menuOffset: [number, number];
11
11
  indentSize: number;
12
12
  defaultExpanded: string[];
@@ -34,8 +34,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
34
34
  onDuplicate?: (id: string) => any;
35
35
  }>, {
36
36
  itemClass: string;
37
- confirmDelete: boolean;
38
37
  isEditing: boolean;
38
+ confirmDelete: boolean;
39
39
  canDelete: boolean;
40
40
  allowIconChange: boolean;
41
41
  activeItemClass: string;