rappel-ui 1.0.14 → 1.0.16

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 (138) hide show
  1. package/cjs/_virtual/_rolldown/runtime.js +1 -1
  2. package/cjs/components/button/src/button-group.vue_vue_type_script_setup_true_lang.js +1 -1
  3. package/cjs/components/button/src/button.vue_vue_type_script_setup_true_lang.js +1 -1
  4. package/cjs/components/colors/src/neutral-color.vue_vue_type_script_setup_true_lang.js +1 -1
  5. package/cjs/components/colors/src/primary-color.vue.d.ts +4 -1
  6. package/cjs/components/colors/src/primary-color.vue_vue_type_script_setup_true_lang.js +1 -1
  7. package/cjs/components/colors/src/secondary-color.vue.d.ts +7 -1
  8. package/cjs/components/colors/src/secondary-color.vue_vue_type_script_setup_true_lang.js +1 -1
  9. package/cjs/components/filter-panel/index.d.ts +9 -9
  10. package/cjs/components/filter-panel/src/filter-panel.vue.d.ts +3 -3
  11. package/cjs/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  12. package/cjs/components/popconfirm/index.d.ts +28 -5
  13. package/cjs/components/popconfirm/src/popconfirm.vue.d.ts +19 -4
  14. package/cjs/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -1
  15. package/cjs/components/popover/index.d.ts +19 -3
  16. package/cjs/components/popover/src/popover.vue.d.ts +10 -1
  17. package/cjs/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js +1 -1
  18. package/cjs/components/svg-icon/src/svg-icon.vue.d.ts +1 -0
  19. package/cjs/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.js +1 -1
  20. package/cjs/components/tooltip/src/use-tooltip.js +1 -1
  21. package/cjs/composables/use-theme/index.js +1 -1
  22. package/cjs/index.d.ts +72 -19
  23. package/cjs/index.js +1 -1
  24. package/cjs/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +1 -0
  25. package/cjs/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +1 -0
  26. package/cjs/node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js +1 -0
  27. package/cjs/svg-icons/constants.js +1 -0
  28. package/cjs/svg-icons/dist/es/index.js +1 -1
  29. package/cjs/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +1 -0
  30. package/cjs/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +1 -0
  31. package/cjs/svg-icons/dist/es/packages/composables/use-theme/index.js +1 -1
  32. package/cjs/svg-icons/index.js +1 -0
  33. package/cjs/utils/util.d.ts +8 -7
  34. package/cjs/utils/util.js +1 -1
  35. package/es/_virtual/_rolldown/runtime.mjs +2 -2
  36. package/es/components/button/src/button-group.vue_vue_type_script_setup_true_lang.mjs +1 -2
  37. package/es/components/button/src/button.vue_vue_type_script_setup_true_lang.mjs +1 -2
  38. package/es/components/colors/src/colors.vue_vue_type_script_setup_true_lang.mjs +1 -1
  39. package/es/components/colors/src/neutral-color.vue_vue_type_script_setup_true_lang.mjs +6 -4
  40. package/es/components/colors/src/primary-color.vue.d.ts +4 -1
  41. package/es/components/colors/src/primary-color.vue_vue_type_script_setup_true_lang.mjs +30 -21
  42. package/es/components/colors/src/secondary-color.vue.d.ts +7 -1
  43. package/es/components/colors/src/secondary-color.vue_vue_type_script_setup_true_lang.mjs +50 -31
  44. package/es/components/filter-panel/index.d.ts +9 -9
  45. package/es/components/filter-panel/src/filter-panel.vue.d.ts +3 -3
  46. package/es/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.mjs +4 -6
  47. package/es/components/index.mjs +1 -1
  48. package/es/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs +1 -1
  49. package/es/components/popconfirm/index.d.ts +28 -5
  50. package/es/components/popconfirm/src/popconfirm.vue.d.ts +19 -4
  51. package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.mjs +63 -49
  52. package/es/components/popover/index.d.ts +19 -3
  53. package/es/components/popover/src/popover.vue.d.ts +10 -1
  54. package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs +27 -22
  55. package/es/components/svg-icon/src/svg-icon.vue.d.ts +1 -0
  56. package/es/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +1 -2
  57. package/es/components/tabs/src/tabs.mjs +1 -1
  58. package/es/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.mjs +3 -3
  59. package/es/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.mjs +4 -4
  60. package/es/components/tooltip/src/use-tooltip.mjs +8 -15
  61. package/es/composables/use-theme/index.mjs +2 -2
  62. package/es/composables/use-time-nodes/index.mjs +1 -1
  63. package/es/index.d.ts +72 -19
  64. package/es/index.mjs +35 -35
  65. package/es/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1 -1
  66. package/es/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +2 -2
  67. package/es/node_modules/.pnpm/{@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_ → @vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_}/node_modules/@vueuse/core/dist/index.mjs +114 -112
  68. package/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +136 -0
  69. package/es/node_modules/.pnpm/process@0.11.10/node_modules/process/browser.mjs +90 -0
  70. package/es/svg-icons/constants.mjs +114 -0
  71. package/es/svg-icons/dist/es/index.mjs +19 -47
  72. package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +273 -0
  73. package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +88 -0
  74. package/es/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +1 -1
  75. package/es/svg-icons/dist/es/packages/composables/use-theme/index.mjs +1 -1
  76. package/es/svg-icons/index.mjs +77 -0
  77. package/es/utils/util.d.ts +8 -7
  78. package/es/utils/util.mjs +4 -4
  79. package/package.json +1 -1
  80. package/theme-chalk/base.css +1 -231
  81. package/theme-chalk/index.css +1 -1271
  82. package/theme-chalk/re-button-group.css +1 -68
  83. package/theme-chalk/re-button.css +1 -810
  84. package/theme-chalk/re-colors.css +1 -87
  85. package/theme-chalk/re-filter-panel.css +1 -36
  86. package/theme-chalk/re-popconfirm.css +1 -47
  87. package/theme-chalk/re-popover.css +1 -31
  88. package/theme-chalk/re-svg-icon.css +1 -33
  89. package/theme-chalk/re-tooltip.css +1 -62
  90. package/theme-chalk/root-vars.css +1 -201
  91. package/theme-chalk/src/base.scss +3 -4
  92. package/theme-chalk/src/colors.scss +16 -0
  93. package/theme-chalk/src/css-vars/_colors.scss +7 -7
  94. package/theme-chalk/src/function/index.scss +8 -8
  95. package/theme-chalk/src/mixins/_button.scss +1 -1
  96. package/umd/index.css +1 -0
  97. package/umd/index.js +9 -9
  98. package/cjs/components/button/style/index.js +0 -1
  99. package/cjs/components/button-group/style/index.js +0 -1
  100. package/cjs/components/colors/style/index.js +0 -1
  101. package/cjs/components/filter-panel/style/index.js +0 -1
  102. package/cjs/components/svg-icon/style/index.js +0 -1
  103. package/cjs/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +0 -1
  104. package/cjs/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +0 -1
  105. package/cjs/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +0 -1
  106. package/cjs/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +0 -1
  107. package/cjs/theme-chalk/src/base.css +0 -1
  108. package/cjs/theme-chalk/src/button-group.css +0 -1
  109. package/cjs/theme-chalk/src/button.css +0 -1
  110. package/cjs/theme-chalk/src/colors.css +0 -1
  111. package/cjs/theme-chalk/src/filter-panel.css +0 -1
  112. package/cjs/theme-chalk/src/svg-icon.css +0 -1
  113. package/es/components/button/style/index.mjs +0 -2
  114. package/es/components/button-group/style/index.mjs +0 -2
  115. package/es/components/colors/style/index.mjs +0 -2
  116. package/es/components/filter-panel/style/index.mjs +0 -2
  117. package/es/components/svg-icon/style/index.mjs +0 -2
  118. package/es/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +0 -121
  119. package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +0 -275
  120. package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +0 -88
  121. package/es/theme-chalk/src/base.css +0 -1
  122. package/es/theme-chalk/src/button-group.css +0 -1
  123. package/es/theme-chalk/src/button.css +0 -1
  124. package/es/theme-chalk/src/colors.css +0 -1
  125. package/es/theme-chalk/src/filter-panel.css +0 -1
  126. package/es/theme-chalk/src/svg-icon.css +0 -1
  127. package/theme-chalk/css-vars/_button-group.css +0 -15
  128. package/theme-chalk/css-vars/_button.css +0 -15
  129. package/theme-chalk/css-vars/_colors.css +0 -33
  130. package/theme-chalk/css-vars/_popconfirm.css +0 -15
  131. package/theme-chalk/css-vars/_tooltip.css +0 -15
  132. package/theme-chalk/function/_button.css +0 -15
  133. package/theme-chalk/function/index.css +0 -15
  134. package/theme-chalk/mixins/_base.css +0 -15
  135. package/theme-chalk/mixins/_button.css +0 -18
  136. package/theme-chalk/mixins/_popconfirm.css +0 -18
  137. package/theme-chalk/mixins/_tooltip.css +0 -18
  138. package/theme-chalk/mixins/index.css +0 -18
@@ -0,0 +1,114 @@
1
+ //#region packages/svg-icons/constants.ts
2
+ var e = [
3
+ {
4
+ name: "arrow-right",
5
+ path: "M4 12h16 M20 12L14 6M20 12L14 18"
6
+ },
7
+ {
8
+ name: "arrow-left",
9
+ path: "M4 12L20 12M10 6L4 12L10 18"
10
+ },
11
+ {
12
+ name: "arrow-up",
13
+ path: "M12 4L12 20M6 10L12 4L18 10"
14
+ },
15
+ {
16
+ name: "arrow-down",
17
+ path: "M12 20L12 4M6 14L12 20L18 14"
18
+ },
19
+ {
20
+ name: "search",
21
+ path: "M4 10A6 6 0 1 0 16 10 A6 6 0 1 0 4 10M20 20 L14.5 14.5"
22
+ },
23
+ {
24
+ name: "search-bold",
25
+ path: "M4 11 A7 7 0 1 0 18 11A7 7 0 1 0 4 11M16 16 L20 20"
26
+ },
27
+ {
28
+ name: "arrow-downward",
29
+ path: "M5 9L12 16L19 9"
30
+ },
31
+ {
32
+ name: "arrow-upward",
33
+ path: "M5 16L12 9L19 16"
34
+ },
35
+ {
36
+ name: "arrow-forward",
37
+ path: "M15 5L8 12L15 19"
38
+ },
39
+ {
40
+ name: "arrow-backward",
41
+ path: "M8 5L15 12L8 19"
42
+ },
43
+ {
44
+ name: "delete",
45
+ path: "M8 4L16 4M8 5L16 5M3 6L21 6M6 8L6 19L18 19L18 8M10 9L10 16M14 16L14 9"
46
+ },
47
+ {
48
+ name: "close",
49
+ path: "M4 4L20 20M20 4L4 20"
50
+ },
51
+ {
52
+ name: "close-short",
53
+ path: "M6 6L18 18M18 6L6 18"
54
+ },
55
+ {
56
+ name: "loading",
57
+ path: "M12 2L12 7M19.54 4.46L16 8M22 12L17 12M19.54 19.54L16 16M12 22L12 17M4.46 19.54L8 16M2 12L7 12M4.47 4.47L8 8"
58
+ },
59
+ {
60
+ name: "more-dot-square",
61
+ path: "M10 4h2v2h-2v-2m0 1h2m0 1h-2M10 11 h2v2h-2v-2m0 1h2m0 1h-2M10 18 h2v2h-2v-2m0 1h2m0 1h-2"
62
+ },
63
+ {
64
+ name: "more-dot-square-horizontal",
65
+ path: "M4 11h2v2h-2v-2m0 1h2m0 1h-2M11 11h2v2h-2v-2m0 1h2m0 1h-2M18 11h2v2h-2v-2m0 1h2m0 1h-2"
66
+ },
67
+ {
68
+ name: "more-line",
69
+ path: "M5 5h14l0 1h-14zM5 11h14l0 1h-14zM5 17h14l0 1h-14z"
70
+ },
71
+ {
72
+ name: "more-dot-circle",
73
+ path: "M11 6a1 1 0 0 0 2 0a1 1 0 0 0 -2 0m1 0h1M11 12a1 1 0 0 0 2 0a1 1 0 0 0 -2 0m1 0h1M11 18a1 1 0 0 0 2 0a1 1 0 0 0 -2 0m1 0h1"
74
+ },
75
+ {
76
+ name: "more-dot-circle-horizontal",
77
+ path: "M4 12a1 1 0 0 0 2 0a1 1 0 0 0 -2 0m1 0h1M11 12a1 1 0 0 0 2 0a1 1 0 0 0 -2 0m1 0h1M18 12a1 1 0 0 0 2 0a1 1 0 0 0 -2 0m1 0h1"
78
+ },
79
+ {
80
+ name: "copy",
81
+ path: "M16 4h-11v11M9 8v12h11v-12h-11"
82
+ },
83
+ {
84
+ name: "copy-closure",
85
+ path: "M16 8v-4h-11v11h4M9 8v12h11v-12h-11"
86
+ },
87
+ {
88
+ name: "star",
89
+ path: "M12 2L14.63 9.25L22 9.64L16.26 14.51L18.18 22L12 17.77L5.82 22L7.74 14.51L2 9.64L9.37 9.25L12 2"
90
+ },
91
+ {
92
+ name: "star-fill",
93
+ path: "M12 2L14.63 9.25L22 9.64L16.26 14.51L18.18 22L12 17.77L5.82 22L7.74 14.51L2 9.64L9.37 9.25L12 2",
94
+ fill: "currentColor"
95
+ },
96
+ {
97
+ name: "help",
98
+ path: "M3 12A9 9 0 1 0 21 12A9 9 0 1 0 3 12m5.5 -2A3 3 0 1 1 14.5 10c0,2 -2.5,2 -2.5,4m0 3l0 1"
99
+ },
100
+ {
101
+ name: "more-dot-circle-outline-vertical",
102
+ path: "M3 12A9 9 0 1 0 21 12A9 9 0 1 0 3 12M11.5 7.5a0.5 0.5 0 0 0 1 0a0.5 0.5 0 0 0 -1 0M11.5 12a0.5 0.5 0 0 0 1 0a0.5 0.5 0 0 0 -1 0M11.5 16.5a0.5 0.5 0 0 0 1 0a0.5 0.5 0 0 0 -1 0"
103
+ },
104
+ {
105
+ name: "more-dot-circle-outline-horizontal",
106
+ path: "M3 12A9 9 0 1 0 21 12A9 9 0 1 0 3 12M7.5 12a0.5 0.5 0 0 0 1 0a0.5 0.5 0 0 0 -1 0M11.8 12a0.5 0.5 0 0 0 1 0a0.5 0.5 0 0 0 -1 0M16 12a0.5 0.5 0 0 0 1 0a0.5 0.5 0 0 0 -1 0"
107
+ },
108
+ {
109
+ name: "exclam",
110
+ path: "M3 12A9 9 0 1 0 21 12A9 9 0 1 0 3 12M11.5 7l1 0l-0.5 6l-0.5 -6m0.5 0l0 6m-0.5 3a0.5 0.5 0 0 0 1 0a0.5 0.5 0 0 0 -1 0"
111
+ }
112
+ ], t = e.map((e) => e.name);
113
+ //#endregion
114
+ export { t as iconNames, e as svgIcons };
@@ -1,46 +1,13 @@
1
- import { __exportAll as e } from "../../../_virtual/_rolldown/runtime.mjs";
2
- import { toPascalCase as t, withInstall as n } from "./packages/utils/vue/index.mjs";
1
+ import { toPascalCase as e, withInstall as t } from "./packages/utils/vue/index.mjs";
3
2
  import "./packages/utils/index.mjs";
4
- import { ReSvgIcon as r } from "./packages/components/svg-icon/index.mjs";
5
- import { iconNames as i, svgIcons as a } from "./constants.mjs";
6
- import { defineComponent as o, h as s } from "vue";
3
+ import { ReSvgIcon as n } from "./packages/components/svg-icon/index.mjs";
4
+ import { iconNames as r, svgIcons as i } from "./constants.mjs";
5
+ import { defineComponent as a, h as o } from "vue";
7
6
  //#region packages/svg-icons/dist/es/index.mjs
8
- var c = /* @__PURE__ */ e({
9
- ArrowBackward: () => b,
10
- ArrowDown: () => m,
11
- ArrowDownward: () => _,
12
- ArrowForward: () => y,
13
- ArrowLeft: () => f,
14
- ArrowRight: () => d,
15
- ArrowUp: () => p,
16
- ArrowUpward: () => v,
17
- Close: () => S,
18
- CloseShort: () => C,
19
- Copy: () => A,
20
- CopyClosure: () => j,
21
- Delete: () => x,
22
- Exclam: () => F,
23
- Help: () => P,
24
- Loading: () => w,
25
- MoreDotCircle: () => O,
26
- MoreDotCircleHorizontal: () => k,
27
- MoreDotSquare: () => T,
28
- MoreDotSquareHorizontal: () => E,
29
- MoreLine: () => D,
30
- Search: () => h,
31
- SearchBold: () => g,
32
- Star: () => M,
33
- StarFill: () => N,
34
- createIcon: () => u,
35
- getIcon: () => l,
36
- iconNames: () => i,
37
- moreDotCircleOutlineHorizontal: () => L,
38
- moreDotCircleOutlineVertical: () => I,
39
- svgIcons: () => a
40
- }), l = (e) => typeof e == "string" && i.includes(e) ? u(e) : e, u = (e) => {
41
- let i = a.find((t) => t.name === e);
42
- if (i) return n(o({
43
- name: t(e),
7
+ var s = (e) => typeof e == "string" && r.includes(e) ? c(e) : e, c = (r) => {
8
+ let s = i.find((e) => e.name === r);
9
+ if (s) return t(a({
10
+ name: e(r),
44
11
  inheritAttrs: !0,
45
12
  props: {
46
13
  size: {
@@ -53,7 +20,7 @@ var c = /* @__PURE__ */ e({
53
20
  },
54
21
  fill: {
55
22
  type: String,
56
- default: i.fill || void 0
23
+ default: s.fill || void 0
57
24
  },
58
25
  spin: {
59
26
  type: Boolean,
@@ -61,9 +28,9 @@ var c = /* @__PURE__ */ e({
61
28
  }
62
29
  },
63
30
  setup(e, { attrs: t }) {
64
- return () => s(r, {
65
- name: i.name,
66
- path: i.path,
31
+ return () => o(n, {
32
+ name: s.name,
33
+ path: s.path,
67
34
  size: e.size,
68
35
  color: e.color,
69
36
  spin: e.spin,
@@ -72,6 +39,11 @@ var c = /* @__PURE__ */ e({
72
39
  });
73
40
  }
74
41
  }));
75
- }, d = u("arrow-right"), f = u("arrow-left"), p = u("arrow-up"), m = u("arrow-down"), h = u("search"), g = u("search-bold"), _ = u("arrow-downward"), v = u("arrow-upward"), y = u("arrow-forward"), b = u("arrow-backward"), x = u("delete"), S = u("close"), C = u("close-short"), w = u("loading"), T = u("more-dot-square"), E = u("more-dot-square-horizontal"), D = u("more-line"), O = u("more-dot-circle"), k = u("more-dot-circle-horizontal"), A = u("copy"), j = u("copy-closure"), M = u("star"), N = u("star-fill"), P = u("help"), F = u("exclam"), I = u("more-dot-circle-outline-vertical"), L = u("more-dot-circle-outline-horizontal");
42
+ };
43
+ c("arrow-right"), c("arrow-left"), c("arrow-up"), c("arrow-down"), c("search"), c("search-bold");
44
+ var l = c("arrow-downward"), u = c("arrow-upward");
45
+ c("arrow-forward"), c("arrow-backward"), c("delete"), c("close"), c("close-short");
46
+ var d = c("loading");
47
+ c("more-dot-square"), c("more-dot-square-horizontal"), c("more-line"), c("more-dot-circle"), c("more-dot-circle-horizontal"), c("copy"), c("copy-closure"), c("star"), c("star-fill"), c("help"), c("exclam"), c("more-dot-circle-outline-vertical"), c("more-dot-circle-outline-horizontal");
76
48
  //#endregion
77
- export { b as ArrowBackward, m as ArrowDown, _ as ArrowDownward, y as ArrowForward, f as ArrowLeft, d as ArrowRight, p as ArrowUp, v as ArrowUpward, S as Close, C as CloseShort, A as Copy, j as CopyClosure, x as Delete, F as Exclam, P as Help, w as Loading, O as MoreDotCircle, k as MoreDotCircleHorizontal, T as MoreDotSquare, E as MoreDotSquareHorizontal, D as MoreLine, h as Search, g as SearchBold, M as Star, N as StarFill, u as createIcon, c as es_exports, l as getIcon, i as iconNames, L as moreDotCircleOutlineHorizontal, I as moreDotCircleOutlineVertical, a as svgIcons };
49
+ export { l as ArrowDownward, u as ArrowUpward, d as Loading, c as createIcon, s as getIcon, r as iconNames, i as svgIcons };
@@ -0,0 +1,273 @@
1
+ import { injectLocal as e, isClient as t, isObject as n, pxValue as r, toArray as i, toRef as a, tryOnMounted as o, watchImmediate as s, watchPausable as c } from "../../../../../@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs";
2
+ import { computed as l, getCurrentInstance as u, hasInjectionContext as d, nextTick as f, onMounted as p, ref as m, shallowRef as h, toValue as g, unref as _, watch as v, watchEffect as y } from "vue";
3
+ //#region packages/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs
4
+ var b = t ? window : void 0;
5
+ t && window.document, t && window.navigator, t && window.location;
6
+ function x(e) {
7
+ var t;
8
+ let n = g(e);
9
+ return (t = n == null ? void 0 : n.$el) == null ? n : t;
10
+ }
11
+ function S(...e) {
12
+ let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), r = l(() => {
13
+ let t = i(g(e[0])).filter((e) => e != null);
14
+ return t.every((e) => typeof e != "string") ? t : void 0;
15
+ });
16
+ return s(() => {
17
+ var t, n;
18
+ return [
19
+ (t = (n = r.value) == null ? void 0 : n.map((e) => x(e))) == null ? [b].filter((e) => e != null) : t,
20
+ i(g(r.value ? e[1] : e[0])),
21
+ i(_(r.value ? e[2] : e[1])),
22
+ g(r.value ? e[3] : e[2])
23
+ ];
24
+ }, ([e, r, i, a], o, s) => {
25
+ if (!(e != null && e.length) || !(r != null && r.length) || !(i != null && i.length)) return;
26
+ let c = n(a) ? { ...a } : a, l = e.flatMap((e) => r.flatMap((n) => i.map((r) => t(e, n, r, c))));
27
+ s(() => {
28
+ l.forEach((e) => e());
29
+ });
30
+ }, { flush: "post" });
31
+ }
32
+ function C() {
33
+ let e = h(!1), t = u();
34
+ return t && p(() => {
35
+ e.value = !0;
36
+ }, t), e;
37
+ }
38
+ function w(e) {
39
+ let t = C();
40
+ return l(() => (t.value, !!e()));
41
+ }
42
+ var T = Symbol("vueuse-ssr-width");
43
+ function E() {
44
+ let t = d() ? e(T, null) : null;
45
+ return typeof t == "number" ? t : void 0;
46
+ }
47
+ function D(e, t = {}) {
48
+ let { window: n = b, ssrWidth: i = E() } = t, a = w(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), o = h(typeof i == "number"), s = h(), c = h(!1);
49
+ return y(() => {
50
+ if (o.value) {
51
+ o.value = !a.value;
52
+ let t = g(e).split(",");
53
+ c.value = t.some((e) => {
54
+ let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), o = !!(n || a);
55
+ return n && o && (o = i >= r(n[1])), a && o && (o = i <= r(a[1])), t ? !o : o;
56
+ });
57
+ return;
58
+ }
59
+ a.value && (s.value = n.matchMedia(g(e)), c.value = s.value.matches);
60
+ }), S(s, "change", (e) => {
61
+ c.value = e.matches;
62
+ }, { passive: !0 }), l(() => c.value);
63
+ }
64
+ var O = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, k = "__vueuse_ssr_handlers__", A = j();
65
+ function j() {
66
+ return k in O || (O[k] = O[k] || {}), O[k];
67
+ }
68
+ function M(e, t) {
69
+ return A[e] || t;
70
+ }
71
+ function N(e) {
72
+ return D("(prefers-color-scheme: dark)", e);
73
+ }
74
+ function P(e) {
75
+ return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
76
+ }
77
+ var F = {
78
+ boolean: {
79
+ read: (e) => e === "true",
80
+ write: (e) => String(e)
81
+ },
82
+ object: {
83
+ read: (e) => JSON.parse(e),
84
+ write: (e) => JSON.stringify(e)
85
+ },
86
+ number: {
87
+ read: (e) => Number.parseFloat(e),
88
+ write: (e) => String(e)
89
+ },
90
+ any: {
91
+ read: (e) => e,
92
+ write: (e) => String(e)
93
+ },
94
+ string: {
95
+ read: (e) => e,
96
+ write: (e) => String(e)
97
+ },
98
+ map: {
99
+ read: (e) => new Map(JSON.parse(e)),
100
+ write: (e) => JSON.stringify(Array.from(e.entries()))
101
+ },
102
+ set: {
103
+ read: (e) => new Set(JSON.parse(e)),
104
+ write: (e) => JSON.stringify(Array.from(e))
105
+ },
106
+ date: {
107
+ read: (e) => new Date(e),
108
+ write: (e) => e.toISOString()
109
+ }
110
+ }, I = "vueuse-storage";
111
+ function L(e, t, n, r = {}) {
112
+ var i;
113
+ let { flush: a = "pre", deep: s = !0, listenToStorageChanges: u = !0, writeDefaults: d = !0, mergeDefaults: p = !1, shallow: _, window: y = b, eventFilter: x, onError: C = (e) => {
114
+ console.error(e);
115
+ }, initOnMounted: w } = r, T = (_ ? h : m)(typeof t == "function" ? t() : t), E = l(() => g(e));
116
+ if (!n) try {
117
+ n = M("getDefaultStorage", () => b == null ? void 0 : b.localStorage)();
118
+ } catch (e) {
119
+ C(e);
120
+ }
121
+ if (!n) return T;
122
+ let D = g(t), O = P(D), k = (i = r.serializer) == null ? F[O] : i, { pause: A, resume: j } = c(T, (e) => R(e), {
123
+ flush: a,
124
+ deep: s,
125
+ eventFilter: x
126
+ });
127
+ v(E, () => B(), { flush: a });
128
+ let N = !1;
129
+ y && u && (n instanceof Storage ? S(y, "storage", (e) => {
130
+ w && !N || B(e);
131
+ }, { passive: !0 }) : S(y, "vueuse-storage", (e) => {
132
+ w && !N || V(e);
133
+ })), w ? o(() => {
134
+ N = !0, B();
135
+ }) : B();
136
+ function L(e, t) {
137
+ if (y) {
138
+ let r = {
139
+ key: E.value,
140
+ oldValue: e,
141
+ newValue: t,
142
+ storageArea: n
143
+ };
144
+ y.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", r) : new CustomEvent(I, { detail: r }));
145
+ }
146
+ }
147
+ function R(e) {
148
+ try {
149
+ let t = n.getItem(E.value);
150
+ if (e == null) L(t, null), n.removeItem(E.value);
151
+ else {
152
+ let r = k.write(e);
153
+ t !== r && (n.setItem(E.value, r), L(t, r));
154
+ }
155
+ } catch (e) {
156
+ C(e);
157
+ }
158
+ }
159
+ function z(e) {
160
+ let t = e ? e.newValue : n.getItem(E.value);
161
+ if (t == null) return d && D != null && n.setItem(E.value, k.write(D)), D;
162
+ if (!e && p) {
163
+ let e = k.read(t);
164
+ return typeof p == "function" ? p(e, D) : O === "object" && !Array.isArray(e) ? {
165
+ ...D,
166
+ ...e
167
+ } : e;
168
+ } else if (typeof t != "string") return t;
169
+ else return k.read(t);
170
+ }
171
+ function B(e) {
172
+ if (!(e && e.storageArea !== n)) {
173
+ if (e && e.key == null) {
174
+ T.value = D;
175
+ return;
176
+ }
177
+ if (!(e && e.key !== E.value)) {
178
+ A();
179
+ try {
180
+ let t = k.write(T.value);
181
+ (e === void 0 || (e == null ? void 0 : e.newValue) !== t) && (T.value = z(e));
182
+ } catch (e) {
183
+ C(e);
184
+ } finally {
185
+ e ? f(j) : j();
186
+ }
187
+ }
188
+ }
189
+ }
190
+ function V(e) {
191
+ B(e.detail);
192
+ }
193
+ return T;
194
+ }
195
+ var R = "*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";
196
+ function z(e = {}) {
197
+ let { selector: t = "html", attribute: n = "class", initialValue: r = "auto", window: i = b, storage: s, storageKey: c = "vueuse-color-scheme", listenToStorageChanges: u = !0, storageRef: d, emitAuto: f, disableTransition: p = !0 } = e, m = {
198
+ auto: "",
199
+ light: "light",
200
+ dark: "dark",
201
+ ...e.modes || {}
202
+ }, h = N({ window: i }), g = l(() => h.value ? "dark" : "light"), _ = d || (c == null ? a(r) : L(c, r, s, {
203
+ window: i,
204
+ listenToStorageChanges: u
205
+ })), y = l(() => _.value === "auto" ? g.value : _.value), S = M("updateHTMLAttrs", (e, t, n) => {
206
+ let r = typeof e == "string" ? i == null ? void 0 : i.document.querySelector(e) : x(e);
207
+ if (!r) return;
208
+ let a = new Set(), o = new Set(), s = null;
209
+ if (t === "class") {
210
+ let e = n.split(/\s/g);
211
+ Object.values(m).flatMap((e) => (e || "").split(/\s/g)).filter(Boolean).forEach((t) => {
212
+ e.includes(t) ? a.add(t) : o.add(t);
213
+ });
214
+ } else s = {
215
+ key: t,
216
+ value: n
217
+ };
218
+ if (a.size === 0 && o.size === 0 && s === null) return;
219
+ let c;
220
+ p && (c = i.document.createElement("style"), c.appendChild(document.createTextNode(R)), i.document.head.appendChild(c));
221
+ for (let e of a) r.classList.add(e);
222
+ for (let e of o) r.classList.remove(e);
223
+ s && r.setAttribute(s.key, s.value), p && (i.getComputedStyle(c).opacity, document.head.removeChild(c));
224
+ });
225
+ function C(e) {
226
+ var r;
227
+ S(t, n, (r = m[e]) == null ? e : r);
228
+ }
229
+ function w(t) {
230
+ e.onChanged ? e.onChanged(t, C) : C(t);
231
+ }
232
+ v(y, w, {
233
+ flush: "post",
234
+ immediate: !0
235
+ }), o(() => w(y.value));
236
+ let T = l({
237
+ get() {
238
+ return f ? _.value : y.value;
239
+ },
240
+ set(e) {
241
+ _.value = e;
242
+ }
243
+ });
244
+ return Object.assign(T, {
245
+ store: _,
246
+ system: g,
247
+ state: y
248
+ });
249
+ }
250
+ function B(e = {}) {
251
+ let { valueDark: t = "dark", valueLight: n = "" } = e, r = z({
252
+ ...e,
253
+ onChanged: (t, n) => {
254
+ var r;
255
+ e.onChanged ? (r = e.onChanged) == null || r.call(e, t === "dark", n, t) : n(t);
256
+ },
257
+ modes: {
258
+ dark: t,
259
+ light: n
260
+ }
261
+ }), i = l(() => r.system.value);
262
+ return l({
263
+ get() {
264
+ return r.value === "dark";
265
+ },
266
+ set(e) {
267
+ let t = e ? "dark" : "light";
268
+ i.value === t ? r.value = "auto" : r.value = t;
269
+ }
270
+ });
271
+ }
272
+ //#endregion
273
+ export { F as StorageSerializers, I as customStorageEventName, b as defaultWindow, M as getSSRHandler, e as injectLocal, t as isClient, n as isObject, r as pxValue, i as toArray, a as toRef, o as tryOnMounted, x as unrefElement, z as useColorMode, B as useDark, S as useEventListener, D as useMediaQuery, C as useMounted, N as usePreferredDark, E as useSSRWidth, L as useStorage, w as useSupported, s as watchImmediate, c as watchPausable };
@@ -0,0 +1,88 @@
1
+ import { customRef as e, getCurrentInstance as t, getCurrentScope as n, hasInjectionContext as r, inject as i, nextTick as a, onMounted as o, readonly as s, ref as c, shallowReadonly as l, toRef as u, watch as d } from "vue";
2
+ //#region packages/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs
3
+ var f = new WeakMap(), p = (...e) => {
4
+ var a;
5
+ let o = e[0], s = (a = t()) == null ? void 0 : a.proxy, c = s == null ? n() : s;
6
+ if (c == null && !r()) throw Error("injectLocal must be called in setup");
7
+ return c && f.has(c) && o in f.get(c) ? f.get(c)[o] : i(...e);
8
+ }, m = typeof window < "u" && typeof document < "u";
9
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
10
+ var h = Object.prototype.toString, g = (e) => h.call(e) === "[object Object]", _ = () => {};
11
+ function v(...t) {
12
+ if (t.length !== 1) return u(...t);
13
+ let n = t[0];
14
+ return typeof n == "function" ? s(e(() => ({
15
+ get: n,
16
+ set: _
17
+ }))) : c(n);
18
+ }
19
+ function y(e, t) {
20
+ function n(...n) {
21
+ return new Promise((r, i) => {
22
+ Promise.resolve(e(() => t.apply(this, n), {
23
+ fn: t,
24
+ thisArg: this,
25
+ args: n
26
+ })).then(r).catch(i);
27
+ });
28
+ }
29
+ return "cancel" in e && Object.assign(n, {
30
+ cancel: e.cancel,
31
+ flush: e.flush,
32
+ isPending: e.isPending
33
+ }), n;
34
+ }
35
+ var b = (e) => e();
36
+ function x(e = b, t = {}) {
37
+ let { initialState: n = "active" } = t, r = v(n === "active");
38
+ function i() {
39
+ r.value = !1;
40
+ }
41
+ function a() {
42
+ r.value = !0;
43
+ }
44
+ return {
45
+ isActive: l(r),
46
+ pause: i,
47
+ resume: a,
48
+ eventFilter: (...t) => {
49
+ r.value && e(...t);
50
+ }
51
+ };
52
+ }
53
+ function S(e) {
54
+ return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
55
+ }
56
+ function C(e) {
57
+ return Array.isArray(e) ? e : [e];
58
+ }
59
+ function w(e) {
60
+ return e || t();
61
+ }
62
+ function T(e, t, n = {}) {
63
+ let { eventFilter: r = b, ...i } = n;
64
+ return d(e, y(r, t), i);
65
+ }
66
+ function E(e, t, n = {}) {
67
+ let { eventFilter: r, initialState: i = "active", ...a } = n, { eventFilter: o, pause: s, resume: c, isActive: l } = x(r, { initialState: i });
68
+ return {
69
+ stop: T(e, t, {
70
+ ...a,
71
+ eventFilter: o
72
+ }),
73
+ pause: s,
74
+ resume: c,
75
+ isActive: l
76
+ };
77
+ }
78
+ function D(e, t = !0, n) {
79
+ w(n) ? o(e, n) : t ? e() : a(e);
80
+ }
81
+ function O(e, t, n) {
82
+ return d(e, t, {
83
+ ...n,
84
+ immediate: !0
85
+ });
86
+ }
87
+ //#endregion
88
+ export { b as bypassFilter, y as createFilterWrapper, w as getLifeCycleTarget, p as injectLocal, m as isClient, g as isObject, _ as noop, x as pausableFilter, S as pxValue, C as toArray, v as toRef, D as tryOnMounted, O as watchImmediate, E as watchPausable, T as watchWithFilter };
@@ -12,7 +12,7 @@ var l = [
12
12
  "d",
13
13
  "name",
14
14
  "fill"
15
- ], d = /*@__PURE__*/ a({
15
+ ], d = a({
16
16
  name: "ReSvgIcon",
17
17
  __name: "svg-icon",
18
18
  props: {
@@ -1,5 +1,5 @@
1
1
  import { useNamespace as e } from "../use-namespace/index.mjs";
2
- import { useDark as t } from "../../../node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs";
2
+ import { useDark as t } from "../../../node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs";
3
3
  import "../index.mjs";
4
4
  import "vue";
5
5
  //#region packages/svg-icons/dist/es/packages/composables/use-theme/index.mjs
@@ -0,0 +1,77 @@
1
+ import { __exportAll as e } from "../_virtual/_rolldown/runtime.mjs";
2
+ import { toPascalCase as t, withInstall as n } from "../utils/vue/index.mjs";
3
+ import "../utils/index.mjs";
4
+ import { ReSvgIcon as r } from "../components/svg-icon/index.mjs";
5
+ import { iconNames as i, svgIcons as a } from "./constants.mjs";
6
+ import { defineComponent as o, h as s } from "vue";
7
+ //#region packages/svg-icons/index.ts
8
+ var c = e({
9
+ ArrowBackward: () => b,
10
+ ArrowDown: () => m,
11
+ ArrowDownward: () => _,
12
+ ArrowForward: () => y,
13
+ ArrowLeft: () => f,
14
+ ArrowRight: () => d,
15
+ ArrowUp: () => p,
16
+ ArrowUpward: () => v,
17
+ Close: () => S,
18
+ CloseShort: () => C,
19
+ Copy: () => A,
20
+ CopyClosure: () => j,
21
+ Delete: () => x,
22
+ Exclam: () => F,
23
+ Help: () => P,
24
+ Loading: () => w,
25
+ MoreDotCircle: () => O,
26
+ MoreDotCircleHorizontal: () => k,
27
+ MoreDotSquare: () => T,
28
+ MoreDotSquareHorizontal: () => E,
29
+ MoreLine: () => D,
30
+ Search: () => h,
31
+ SearchBold: () => g,
32
+ Star: () => M,
33
+ StarFill: () => N,
34
+ createIcon: () => u,
35
+ getIcon: () => l,
36
+ iconNames: () => i,
37
+ moreDotCircleOutlineHorizontal: () => L,
38
+ moreDotCircleOutlineVertical: () => I,
39
+ svgIcons: () => a
40
+ }), l = (e) => typeof e == "string" && i.includes(e) ? u(e) : e, u = (e) => {
41
+ let i = a.find((t) => t.name === e);
42
+ if (i) return n(o({
43
+ name: t(e),
44
+ inheritAttrs: !0,
45
+ props: {
46
+ size: {
47
+ type: [String, Number],
48
+ default: "1em"
49
+ },
50
+ color: {
51
+ type: String,
52
+ default: void 0
53
+ },
54
+ fill: {
55
+ type: String,
56
+ default: i.fill || void 0
57
+ },
58
+ spin: {
59
+ type: Boolean,
60
+ default: !1
61
+ }
62
+ },
63
+ setup(e, { attrs: t }) {
64
+ return () => s(r, {
65
+ name: i.name,
66
+ path: i.path,
67
+ size: e.size,
68
+ color: e.color,
69
+ spin: e.spin,
70
+ fill: e.fill,
71
+ ...t
72
+ });
73
+ }
74
+ }));
75
+ }, d = u("arrow-right"), f = u("arrow-left"), p = u("arrow-up"), m = u("arrow-down"), h = u("search"), g = u("search-bold"), _ = u("arrow-downward"), v = u("arrow-upward"), y = u("arrow-forward"), b = u("arrow-backward"), x = u("delete"), S = u("close"), C = u("close-short"), w = u("loading"), T = u("more-dot-square"), E = u("more-dot-square-horizontal"), D = u("more-line"), O = u("more-dot-circle"), k = u("more-dot-circle-horizontal"), A = u("copy"), j = u("copy-closure"), M = u("star"), N = u("star-fill"), P = u("help"), F = u("exclam"), I = u("more-dot-circle-outline-vertical"), L = u("more-dot-circle-outline-horizontal");
76
+ //#endregion
77
+ export { b as ArrowBackward, m as ArrowDown, _ as ArrowDownward, y as ArrowForward, f as ArrowLeft, d as ArrowRight, p as ArrowUp, v as ArrowUpward, S as Close, C as CloseShort, A as Copy, j as CopyClosure, x as Delete, F as Exclam, P as Help, w as Loading, O as MoreDotCircle, k as MoreDotCircleHorizontal, T as MoreDotSquare, E as MoreDotSquareHorizontal, D as MoreLine, h as Search, g as SearchBold, M as Star, N as StarFill, u as createIcon, l as getIcon, i as iconNames, L as moreDotCircleOutlineHorizontal, I as moreDotCircleOutlineVertical, a as svgIcons, c as svg_icons_exports };