rappel-ui 1.0.19 → 1.0.21

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 (174) hide show
  1. package/cjs/components/button/index.js +1 -1
  2. package/cjs/components/button/src/button.vue_vue_type_script_setup_true_lang.js +1 -1
  3. package/cjs/components/button/src/types.d.ts +1 -1
  4. package/cjs/components/button/style/css.js +2 -1
  5. package/cjs/components/button/style/index.js +2 -1
  6. package/cjs/components/button-group/style/css.js +2 -0
  7. package/cjs/components/button-group/style/index.js +2 -0
  8. package/cjs/components/colors/index.js +1 -1
  9. package/cjs/components/colors/style/css.js +2 -1
  10. package/cjs/components/colors/style/index.js +2 -1
  11. package/cjs/components/filter-panel/index.js +1 -1
  12. package/cjs/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  13. package/cjs/components/filter-panel/style/css.js +2 -1
  14. package/cjs/components/filter-panel/style/index.js +2 -1
  15. package/cjs/components/input/index.js +1 -1
  16. package/cjs/components/popconfirm/index.d.ts +5 -5
  17. package/cjs/components/popconfirm/index.js +1 -1
  18. package/cjs/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
  19. package/cjs/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -1
  20. package/cjs/components/popconfirm/src/types.d.ts +2 -2
  21. package/cjs/components/popconfirm/style/css.js +2 -1
  22. package/cjs/components/popconfirm/style/index.js +2 -1
  23. package/cjs/components/popover/index.d.ts +5 -5
  24. package/cjs/components/popover/index.js +1 -1
  25. package/cjs/components/popover/src/popover.vue.d.ts +2 -2
  26. package/cjs/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js +1 -1
  27. package/cjs/components/popover/src/types.d.ts +1 -1
  28. package/cjs/components/popover/style/css.js +2 -1
  29. package/cjs/components/popover/style/index.js +2 -1
  30. package/cjs/components/svg-icon/index.js +1 -1
  31. package/cjs/components/svg-icon/style/css.js +2 -1
  32. package/cjs/components/svg-icon/style/index.js +2 -1
  33. package/cjs/components/tabs/index.js +1 -1
  34. package/cjs/components/tooltip/index.js +1 -1
  35. package/cjs/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.js +1 -1
  36. package/cjs/components/tooltip/src/types.d.ts +1 -1
  37. package/cjs/components/tooltip/src/use-tooltip.js +1 -1
  38. package/cjs/components/tooltip/style/css.js +2 -1
  39. package/cjs/components/tooltip/style/index.js +2 -1
  40. package/cjs/composables/use-theme/index.d.ts +1 -1
  41. package/cjs/composables/use-theme/index.js +1 -1
  42. package/cjs/index.d.ts +10 -10
  43. package/cjs/theme-chalk/index.d.ts +0 -0
  44. package/es/components/button/src/button.vue_vue_type_script_setup_true_lang.mjs +47 -48
  45. package/es/components/button/src/types.d.ts +1 -1
  46. package/es/components/button/style/css.mjs +2 -2
  47. package/es/components/button/style/index.mjs +2 -2
  48. package/es/components/button-group/style/css.mjs +2 -0
  49. package/es/components/button-group/style/index.mjs +2 -0
  50. package/es/components/colors/style/css.mjs +2 -2
  51. package/es/components/colors/style/index.mjs +2 -2
  52. package/es/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.mjs +45 -46
  53. package/es/components/filter-panel/style/css.mjs +2 -2
  54. package/es/components/filter-panel/style/index.mjs +2 -2
  55. package/es/components/popconfirm/index.d.ts +5 -5
  56. package/es/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
  57. package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.mjs +105 -108
  58. package/es/components/popconfirm/src/types.d.ts +2 -2
  59. package/es/components/popconfirm/style/css.mjs +2 -2
  60. package/es/components/popconfirm/style/index.mjs +2 -2
  61. package/es/components/popover/index.d.ts +5 -5
  62. package/es/components/popover/src/popover.vue.d.ts +2 -2
  63. package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs +1 -4
  64. package/es/components/popover/src/types.d.ts +1 -1
  65. package/es/components/popover/style/css.mjs +2 -2
  66. package/es/components/popover/style/index.mjs +2 -2
  67. package/es/components/svg-icon/style/css.mjs +2 -2
  68. package/es/components/svg-icon/style/index.mjs +2 -2
  69. package/es/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.mjs +2 -2
  70. package/es/components/tooltip/src/types.d.ts +1 -1
  71. package/es/components/tooltip/src/use-tooltip.mjs +24 -25
  72. package/es/components/tooltip/style/css.mjs +2 -2
  73. package/es/components/tooltip/style/index.mjs +2 -2
  74. package/es/composables/use-theme/index.d.ts +1 -1
  75. package/es/composables/use-theme/index.mjs +7 -8
  76. package/es/index.d.ts +10 -10
  77. package/es/theme-chalk/index.d.ts +0 -0
  78. package/package.json +1 -1
  79. package/cjs/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -1
  80. package/cjs/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -1
  81. package/cjs/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -1
  82. package/cjs/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -1
  83. package/cjs/node_modules/.pnpm/@floating-ui_vue@2.0.1_vue@3.5.26_typescript@5.9.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.js +0 -1
  84. 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 +0 -1
  85. 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 +0 -1
  86. package/cjs/node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js +0 -1
  87. package/cjs/svg-icons/dist/es/_virtual/_rolldown_dynamic_import_helper.js +0 -1
  88. package/cjs/svg-icons/dist/es/create-icon.js +0 -1
  89. package/cjs/svg-icons/dist/es/icon-names.js +0 -1
  90. package/cjs/svg-icons/dist/es/index.js +0 -1
  91. package/cjs/svg-icons/dist/es/packages/components/svg-icon/index.js +0 -1
  92. package/cjs/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.js +0 -1
  93. package/cjs/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.js +0 -1
  94. package/cjs/svg-icons/dist/es/packages/composables/use-namespace/index.js +0 -1
  95. package/cjs/svg-icons/dist/es/packages/utils/util.js +0 -1
  96. package/cjs/svg-icons/dist/es/packages/utils/vue/index.js +0 -1
  97. package/cjs/svg-icons/dist/es/src/arrow-backward.js +0 -1
  98. package/cjs/svg-icons/dist/es/src/arrow-down.js +0 -1
  99. package/cjs/svg-icons/dist/es/src/arrow-downward.js +0 -1
  100. package/cjs/svg-icons/dist/es/src/arrow-forward.js +0 -1
  101. package/cjs/svg-icons/dist/es/src/arrow-left.js +0 -1
  102. package/cjs/svg-icons/dist/es/src/arrow-right.js +0 -1
  103. package/cjs/svg-icons/dist/es/src/arrow-up.js +0 -1
  104. package/cjs/svg-icons/dist/es/src/arrow-upward.js +0 -1
  105. package/cjs/svg-icons/dist/es/src/check-circle.js +0 -1
  106. package/cjs/svg-icons/dist/es/src/check.js +0 -1
  107. package/cjs/svg-icons/dist/es/src/close-short.js +0 -1
  108. package/cjs/svg-icons/dist/es/src/close.js +0 -1
  109. package/cjs/svg-icons/dist/es/src/copy-closure.js +0 -1
  110. package/cjs/svg-icons/dist/es/src/copy.js +0 -1
  111. package/cjs/svg-icons/dist/es/src/delete.js +0 -1
  112. package/cjs/svg-icons/dist/es/src/exclam.js +0 -1
  113. package/cjs/svg-icons/dist/es/src/help.js +0 -1
  114. package/cjs/svg-icons/dist/es/src/loading.js +0 -1
  115. package/cjs/svg-icons/dist/es/src/more-dot-circle-horizontal.js +0 -1
  116. package/cjs/svg-icons/dist/es/src/more-dot-circle-outline-horizontal.js +0 -1
  117. package/cjs/svg-icons/dist/es/src/more-dot-circle-outline-vertical.js +0 -1
  118. package/cjs/svg-icons/dist/es/src/more-dot-circle.js +0 -1
  119. package/cjs/svg-icons/dist/es/src/more-dot-square-horizontal.js +0 -1
  120. package/cjs/svg-icons/dist/es/src/more-dot-square.js +0 -1
  121. package/cjs/svg-icons/dist/es/src/more-line.js +0 -1
  122. package/cjs/svg-icons/dist/es/src/search-bold.js +0 -1
  123. package/cjs/svg-icons/dist/es/src/search.js +0 -1
  124. package/cjs/svg-icons/dist/es/src/star-fill.js +0 -1
  125. package/cjs/svg-icons/dist/es/src/star.js +0 -1
  126. package/dist/index.css +0 -1
  127. package/dist/index.umd.js +0 -58
  128. package/es/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +0 -276
  129. package/es/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +0 -322
  130. package/es/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +0 -99
  131. package/es/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +0 -101
  132. package/es/node_modules/.pnpm/@floating-ui_vue@2.0.1_vue@3.5.26_typescript@5.9.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs +0 -111
  133. package/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +0 -478
  134. 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 +0 -136
  135. package/es/node_modules/.pnpm/process@0.11.10/node_modules/process/browser.mjs +0 -90
  136. package/es/svg-icons/dist/es/_virtual/_rolldown_dynamic_import_helper.mjs +0 -9
  137. package/es/svg-icons/dist/es/create-icon.mjs +0 -43
  138. package/es/svg-icons/dist/es/icon-names.mjs +0 -4
  139. package/es/svg-icons/dist/es/index.mjs +0 -70
  140. package/es/svg-icons/dist/es/packages/components/svg-icon/index.mjs +0 -6
  141. package/es/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.mjs +0 -5
  142. package/es/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +0 -49
  143. package/es/svg-icons/dist/es/packages/composables/use-namespace/index.mjs +0 -22
  144. package/es/svg-icons/dist/es/packages/utils/util.mjs +0 -6
  145. package/es/svg-icons/dist/es/packages/utils/vue/index.mjs +0 -17
  146. package/es/svg-icons/dist/es/src/arrow-backward.mjs +0 -8
  147. package/es/svg-icons/dist/es/src/arrow-down.mjs +0 -8
  148. package/es/svg-icons/dist/es/src/arrow-downward.mjs +0 -8
  149. package/es/svg-icons/dist/es/src/arrow-forward.mjs +0 -8
  150. package/es/svg-icons/dist/es/src/arrow-left.mjs +0 -8
  151. package/es/svg-icons/dist/es/src/arrow-right.mjs +0 -8
  152. package/es/svg-icons/dist/es/src/arrow-up.mjs +0 -8
  153. package/es/svg-icons/dist/es/src/arrow-upward.mjs +0 -8
  154. package/es/svg-icons/dist/es/src/check-circle.mjs +0 -8
  155. package/es/svg-icons/dist/es/src/check.mjs +0 -8
  156. package/es/svg-icons/dist/es/src/close-short.mjs +0 -8
  157. package/es/svg-icons/dist/es/src/close.mjs +0 -8
  158. package/es/svg-icons/dist/es/src/copy-closure.mjs +0 -8
  159. package/es/svg-icons/dist/es/src/copy.mjs +0 -8
  160. package/es/svg-icons/dist/es/src/delete.mjs +0 -8
  161. package/es/svg-icons/dist/es/src/exclam.mjs +0 -8
  162. package/es/svg-icons/dist/es/src/help.mjs +0 -8
  163. package/es/svg-icons/dist/es/src/loading.mjs +0 -8
  164. package/es/svg-icons/dist/es/src/more-dot-circle-horizontal.mjs +0 -8
  165. package/es/svg-icons/dist/es/src/more-dot-circle-outline-horizontal.mjs +0 -8
  166. package/es/svg-icons/dist/es/src/more-dot-circle-outline-vertical.mjs +0 -8
  167. package/es/svg-icons/dist/es/src/more-dot-circle.mjs +0 -8
  168. package/es/svg-icons/dist/es/src/more-dot-square-horizontal.mjs +0 -8
  169. package/es/svg-icons/dist/es/src/more-dot-square.mjs +0 -8
  170. package/es/svg-icons/dist/es/src/more-line.mjs +0 -8
  171. package/es/svg-icons/dist/es/src/search-bold.mjs +0 -8
  172. package/es/svg-icons/dist/es/src/search.mjs +0 -8
  173. package/es/svg-icons/dist/es/src/star-fill.mjs +0 -9
  174. package/es/svg-icons/dist/es/src/star.mjs +0 -8
@@ -1,15 +1,15 @@
1
- import { computedAsync as e } from "../../../node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs";
2
- import { getAsyncIcon as t } from "../../../svg-icons/dist/es/index.mjs";
3
- import { useNamespace as n } from "../../../composables/use-namespace/index.mjs";
1
+ import { useNamespace as e } from "../../../composables/use-namespace/index.mjs";
4
2
  import "../../../composables/index.mjs";
5
- import { useEmits as r } from "../../tooltip/src/use-emit.mjs";
6
- import { filterNodeTypes as i } from "../../tooltip/src/constants.mjs";
7
- import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, h as m, mergeModels as h, normalizeClass as g, openBlock as _, renderSlot as v, resolveComponent as y, resolveDynamicComponent as b, toDisplayString as x, unref as S, useModel as C, useSlots as w, useTemplateRef as T, withCtx as E } from "vue";
3
+ import { useEmits as t } from "../../tooltip/src/use-emit.mjs";
4
+ import { filterNodeTypes as n } from "../../tooltip/src/constants.mjs";
5
+ import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, h as f, mergeModels as p, normalizeClass as m, openBlock as h, renderSlot as g, resolveComponent as _, resolveDynamicComponent as v, toDisplayString as y, unref as b, useModel as x, useSlots as S, useTemplateRef as C, withCtx as w } from "vue";
6
+ import { computedAsync as T } from "@vueuse/core";
7
+ import { getAsyncIcon as E } from "@rappel-ui/svg-icons";
8
8
  //#region packages/components/popconfirm/src/popconfirm.vue?vue&type=script&setup=true&lang.ts
9
- var D = ["innerHTML"], O = p({
9
+ var D = ["innerHTML"], O = d({
10
10
  name: "RePopconfirm",
11
11
  __name: "popconfirm",
12
- props: h({
12
+ props: p({
13
13
  icon: { default: "help" },
14
14
  showIcon: {
15
15
  type: Boolean,
@@ -111,13 +111,10 @@ var D = ["innerHTML"], O = p({
111
111
  },
112
112
  virtualRef: { default: () => void 0 }
113
113
  }, {
114
- visible: {
115
- type: Boolean,
116
- default: void 0
117
- },
114
+ visible: { type: Boolean },
118
115
  visibleModifiers: {}
119
116
  }),
120
- emits: h([
117
+ emits: p([
121
118
  "confirm",
122
119
  "cancel",
123
120
  "beforeShow",
@@ -133,141 +130,141 @@ var D = ["innerHTML"], O = p({
133
130
  "leaveCancelled",
134
131
  "afterLeave"
135
132
  ], ["update:visible"]),
136
- setup(p, { expose: h, emit: O }) {
137
- let { n: k, ns: A } = n("popconfirm"), j = O, { beforeShow: M, beforeHide: N, show: P, hide: F, beforeEnter: I, enter: L, afterEnter: R, beforeLeave: z, leave: B, afterLeave: V, enterCancelled: H, leaveCancelled: U } = r(j), W = C(p, "visible"), G = o(() => [k(), p.floatingClass]), K = w(), q = o(() => {
133
+ setup(d, { expose: p, emit: O }) {
134
+ let { n: k, ns: A } = e("popconfirm"), j = O, { beforeShow: M, beforeHide: N, show: P, hide: F, beforeEnter: I, enter: L, afterEnter: R, beforeLeave: z, leave: B, afterLeave: V, enterCancelled: H, leaveCancelled: U } = t(j), W = x(d, "visible"), G = i(() => [k(), d.floatingClass]), K = S(), q = i(() => {
138
135
  var e, t;
139
- let n = K == null || (e = K.default) == null || (e = e.call(K)) == null ? void 0 : e.filter((e) => e && !i.includes(e.type.toString()))[0];
140
- return (n == null || (t = n.type) == null ? void 0 : t.toString()) === "Symbol(v-txt)" ? m("span", {}, n) : n;
141
- }), J = e(async () => await t(p.icon)), Y = T("tooltipRef"), X = (e) => {
136
+ let r = K == null || (e = K.default) == null || (e = e.call(K)) == null ? void 0 : e.filter((e) => e && !n.includes(e.type.toString()))[0];
137
+ return (r == null || (t = r.type) == null ? void 0 : t.toString()) === "Symbol(v-txt)" ? f("span", {}, r) : r;
138
+ }), J = T(async () => await E(d.icon)), Y = C("tooltipRef"), X = (e) => {
142
139
  var t;
143
140
  j("cancel", e), (t = Y.value) == null || t.delayHide();
144
141
  }, Z = (e) => {
145
142
  var t;
146
143
  j("confirm", e), (t = Y.value) == null || t.delayHide();
147
144
  };
148
- return h({
145
+ return p({
149
146
  tooltipRef: Y,
150
147
  cancel: X,
151
148
  confirm: Z
152
149
  }), (e, t) => {
153
- let n = y("re-button"), r = y("re-tooltip");
154
- return _(), s(r, {
150
+ let n = _("re-button"), i = _("re-tooltip");
151
+ return h(), a(i, {
155
152
  ref_key: "tooltipRef",
156
153
  ref: Y,
157
154
  visible: W.value,
158
155
  "onUpdate:visible": t[0] || (t[0] = (e) => W.value = e),
159
- width: p.width,
160
- height: p.height,
161
- "max-width": p.maxWidth,
162
- "max-height": p.maxHeight,
156
+ width: d.width,
157
+ height: d.height,
158
+ "max-width": d.maxWidth,
159
+ "max-height": d.maxHeight,
163
160
  "floating-class": G.value,
164
- "floating-style": p.floatingStyle,
165
- disabled: p.disabled,
166
- theme: p.theme,
167
- placement: p.placement,
168
- trigger: p.trigger,
169
- "reverse-theme": p.reverseTheme,
170
- "show-delay": p.showDelay,
171
- "hide-delay": p.hideDelay,
172
- transition: p.transition,
173
- "css-duration": p.cssDuration,
174
- "css-transition": p.cssTransition,
175
- "show-arrow": p.showArrow,
176
- offset: p.offset,
177
- teleported: p.teleported,
178
- "append-to": p.appendTo,
179
- persistent: p.persistent,
180
- boundary: p.boundary,
181
- "element-context": p.elementContext,
182
- "alt-boundary": p.altBoundary,
183
- "root-boundary": p.rootBoundary,
184
- "arrow-size": p.arrowSize,
185
- "arrow-offset": p.arrowOffset,
186
- "flip-offset": p.flipOffset,
187
- "arrow-options": p.arrowOptions,
188
- "flip-options": p.flipOptions,
189
- "inline-options": p.inlineOptions,
190
- "is-external": p.isExternal,
191
- "external-ref": p.externalRef,
192
- "is-virtual": p.isVirtual,
193
- "virtual-ref": p.virtualRef,
194
- onBeforeShow: S(M),
195
- onShow: S(P),
196
- onBeforeHide: S(N),
197
- onHide: S(F),
198
- onBeforeEnter: S(I),
199
- onEnter: S(L),
200
- onAfterEnter: S(R),
201
- onBeforeLeave: S(z),
202
- onLeave: S(B),
203
- onAfterLeave: S(V),
204
- onEnterCancelled: S(H),
205
- onLeaveCancelled: S(U)
161
+ "floating-style": d.floatingStyle,
162
+ disabled: d.disabled,
163
+ theme: d.theme,
164
+ placement: d.placement,
165
+ trigger: d.trigger,
166
+ "reverse-theme": d.reverseTheme,
167
+ "show-delay": d.showDelay,
168
+ "hide-delay": d.hideDelay,
169
+ transition: d.transition,
170
+ "css-duration": d.cssDuration,
171
+ "css-transition": d.cssTransition,
172
+ "show-arrow": d.showArrow,
173
+ offset: d.offset,
174
+ teleported: d.teleported,
175
+ "append-to": d.appendTo,
176
+ persistent: d.persistent,
177
+ boundary: d.boundary,
178
+ "element-context": d.elementContext,
179
+ "alt-boundary": d.altBoundary,
180
+ "root-boundary": d.rootBoundary,
181
+ "arrow-size": d.arrowSize,
182
+ "arrow-offset": d.arrowOffset,
183
+ "flip-offset": d.flipOffset,
184
+ "arrow-options": d.arrowOptions,
185
+ "flip-options": d.flipOptions,
186
+ "inline-options": d.inlineOptions,
187
+ "is-external": d.isExternal,
188
+ "external-ref": d.externalRef,
189
+ "is-virtual": d.isVirtual,
190
+ "virtual-ref": d.virtualRef,
191
+ onBeforeShow: b(M),
192
+ onShow: b(P),
193
+ onBeforeHide: b(N),
194
+ onHide: b(F),
195
+ onBeforeEnter: b(I),
196
+ onEnter: b(L),
197
+ onAfterEnter: b(R),
198
+ onBeforeLeave: b(z),
199
+ onLeave: b(B),
200
+ onAfterLeave: b(V),
201
+ onEnterCancelled: b(H),
202
+ onLeaveCancelled: b(U)
206
203
  }, {
207
- content: E(() => [
208
- v(e.$slots, "header", {
209
- icon: S(J),
210
- title: p.title
211
- }, () => [u("div", { class: g([S(A)("header")]) }, [v(e.$slots, "icon", { icon: S(J) }, () => [p.showIcon ? (_(), l(a, { key: 0 }, [typeof S(J) == "string" ? (_(), l("i", {
204
+ content: w(() => [
205
+ g(e.$slots, "header", {
206
+ icon: b(J),
207
+ title: d.title
208
+ }, () => [c("div", { class: m([b(A)("header")]) }, [g(e.$slots, "icon", { icon: b(J) }, () => [d.showIcon ? (h(), s(r, { key: 0 }, [typeof b(J) == "string" ? (h(), s("i", {
212
209
  key: 0,
213
- class: g([S(A)("icon"), S(J)]),
210
+ class: m([b(A)("icon"), b(J)]),
214
211
  "aria-hidden": "true"
215
- }, null, 2)) : (_(), s(b(S(J)), {
212
+ }, null, 2)) : (h(), a(v(b(J)), {
216
213
  key: 1,
217
- class: g([S(A)("icon")]),
214
+ class: m([b(A)("icon")]),
218
215
  "aria-hidden": "true"
219
- }, null, 8, ["class"]))], 64)) : c("", !0)]), v(e.$slots, "title", { title: p.title }, () => [u("div", { class: g([S(A)("title")]) }, x(p.title), 3)])], 2)]),
220
- v(e.$slots, "content", { content: p.content }, () => [p.isHtml ? (_(), l("div", {
216
+ }, null, 8, ["class"]))], 64)) : o("", !0)]), g(e.$slots, "title", { title: d.title }, () => [c("div", { class: m([b(A)("title")]) }, y(d.title), 3)])], 2)]),
217
+ g(e.$slots, "content", { content: d.content }, () => [d.isHtml ? (h(), s("div", {
221
218
  key: 0,
222
- class: g([S(A)("content")]),
223
- innerHTML: p.content
224
- }, null, 10, D)) : (_(), l("div", {
219
+ class: m([b(A)("content")]),
220
+ innerHTML: d.content
221
+ }, null, 10, D)) : (h(), s("div", {
225
222
  key: 1,
226
- class: g([S(A)("content")])
227
- }, x(p.content), 3))]),
228
- v(e.$slots, "footer", {
223
+ class: m([b(A)("content")])
224
+ }, y(d.content), 3))]),
225
+ g(e.$slots, "footer", {
229
226
  cancel: X,
230
- cancelSize: p.cancelSize,
231
- cancelType: p.cancelType,
232
- cancelText: p.cancelText,
227
+ cancelSize: d.cancelSize,
228
+ cancelType: d.cancelType,
229
+ cancelText: d.cancelText,
233
230
  confirm: Z,
234
- confirmSize: p.confirmSize,
235
- confirmType: p.confirmType,
236
- confirmText: p.confirmText
237
- }, () => [u("div", { class: g([S(A)("footer")]) }, [
238
- v(e.$slots, "cancel", {
231
+ confirmSize: d.confirmSize,
232
+ confirmType: d.confirmType,
233
+ confirmText: d.confirmText
234
+ }, () => [c("div", { class: m([b(A)("footer")]) }, [
235
+ g(e.$slots, "cancel", {
239
236
  cancel: X,
240
- cancelSize: p.cancelSize,
241
- cancelType: p.cancelType,
242
- cancelText: p.cancelText
243
- }, () => [f(n, {
244
- size: p.cancelSize,
245
- type: p.cancelType,
237
+ cancelSize: d.cancelSize,
238
+ cancelType: d.cancelType,
239
+ cancelText: d.cancelText
240
+ }, () => [u(n, {
241
+ size: d.cancelSize,
242
+ type: d.cancelType,
246
243
  onClick: X
247
244
  }, {
248
- default: E(() => [d(x(p.cancelText), 1)]),
245
+ default: w(() => [l(y(d.cancelText), 1)]),
249
246
  _: 1
250
247
  }, 8, ["size", "type"])]),
251
- v(e.$slots, "extra", {
248
+ g(e.$slots, "extra", {
252
249
  cancel: X,
253
250
  confirm: Z
254
251
  }),
255
- v(e.$slots, "confirm", {
252
+ g(e.$slots, "confirm", {
256
253
  confirm: Z,
257
- confirmSize: p.confirmSize,
258
- confirmType: p.confirmType,
259
- confirmText: p.confirmText
260
- }, () => [f(n, {
261
- size: p.confirmSize,
262
- type: p.confirmType,
254
+ confirmSize: d.confirmSize,
255
+ confirmType: d.confirmType,
256
+ confirmText: d.confirmText
257
+ }, () => [u(n, {
258
+ size: d.confirmSize,
259
+ type: d.confirmType,
263
260
  onClick: Z
264
261
  }, {
265
- default: E(() => [d(x(p.confirmText), 1)]),
262
+ default: w(() => [l(y(d.confirmText), 1)]),
266
263
  _: 1
267
264
  }, 8, ["size", "type"])])
268
265
  ], 2)])
269
266
  ]),
270
- default: E(() => [(_(), s(b(q.value)))]),
267
+ default: w(() => [(h(), a(v(q.value)))]),
271
268
  _: 3
272
269
  }, 8, "visible.width.height.max-width.max-height.floating-class.floating-style.disabled.theme.placement.trigger.reverse-theme.show-delay.hide-delay.transition.css-duration.css-transition.show-arrow.offset.teleported.append-to.persistent.boundary.element-context.alt-boundary.root-boundary.arrow-size.arrow-offset.flip-offset.arrow-options.flip-options.inline-options.is-external.external-ref.is-virtual.virtual-ref.onBeforeShow.onShow.onBeforeHide.onHide.onBeforeEnter.onEnter.onAfterEnter.onBeforeLeave.onLeave.onAfterLeave.onEnterCancelled.onLeaveCancelled".split("."));
273
270
  };
@@ -1,6 +1,6 @@
1
1
  import { Component } from 'vue';
2
- import { TooltipProps, FloatingEmits } from '@rappel-ui/components/tooltip';
3
- import { buttonTypes, buttonSizes } from '@rappel-ui/components/button';
2
+ import { TooltipProps, FloatingEmits } from '../../tooltip';
3
+ import { buttonTypes, buttonSizes } from '../../button';
4
4
  export interface PopconfirmProps extends TooltipProps {
5
5
  icon?: string | Component;
6
6
  showIcon?: boolean;
@@ -1,2 +1,2 @@
1
- import "@rappel-ui/theme-chalk/base.css";
2
- import "@rappel-ui/theme-chalk/re-popconfirm.css";
1
+ import '../../../../theme-chalk/base.css'
2
+ import '../../../../theme-chalk/re-popconfirm.css'
@@ -1,2 +1,2 @@
1
- import "@rappel-ui/theme-chalk/src/base.scss";
2
- import "@rappel-ui/theme-chalk/src/popconfirm.scss";
1
+ import '../../../../theme-chalk/src/base.scss'
2
+ import '../../../../theme-chalk/src/popconfirm.scss'
@@ -17,7 +17,7 @@ export declare const RePopover: {
17
17
  onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
18
18
  onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
19
19
  onAfterLeave?: ((el: HTMLElement) => any) | undefined;
20
- "onUpdate:visible"?: ((value: boolean) => any) | undefined;
20
+ "onUpdate:visible"?: ((value: boolean | undefined) => any) | undefined;
21
21
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
22
22
  beforeShow: (el: HTMLElement) => any;
23
23
  show: (el: HTMLElement) => any;
@@ -31,7 +31,7 @@ export declare const RePopover: {
31
31
  leave: (el: HTMLElement, done: () => void) => any;
32
32
  leaveCancelled: (el: HTMLElement) => any;
33
33
  afterLeave: (el: HTMLElement) => any;
34
- "update:visible": (value: boolean) => any;
34
+ "update:visible": (value: boolean | undefined) => any;
35
35
  }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
36
36
  P: {};
37
37
  B: {};
@@ -54,7 +54,7 @@ export declare const RePopover: {
54
54
  onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
55
55
  onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
56
56
  onAfterLeave?: ((el: HTMLElement) => any) | undefined;
57
- "onUpdate:visible"?: ((value: boolean) => any) | undefined;
57
+ "onUpdate:visible"?: ((value: boolean | undefined) => any) | undefined;
58
58
  }>, {}, {}, {}, {}, {}>;
59
59
  __isFragment?: never;
60
60
  __isTeleport?: never;
@@ -74,7 +74,7 @@ export declare const RePopover: {
74
74
  onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
75
75
  onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
76
76
  onAfterLeave?: ((el: HTMLElement) => any) | undefined;
77
- "onUpdate:visible"?: ((value: boolean) => any) | undefined;
77
+ "onUpdate:visible"?: ((value: boolean | undefined) => any) | undefined;
78
78
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
79
79
  beforeShow: (el: HTMLElement) => any;
80
80
  show: (el: HTMLElement) => any;
@@ -88,7 +88,7 @@ export declare const RePopover: {
88
88
  leave: (el: HTMLElement, done: () => void) => any;
89
89
  leaveCancelled: (el: HTMLElement) => any;
90
90
  afterLeave: (el: HTMLElement) => any;
91
- "update:visible": (value: boolean) => any;
91
+ "update:visible": (value: boolean | undefined) => any;
92
92
  }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
93
93
  $slots: {
94
94
  title?: (props: {}) => any;
@@ -24,7 +24,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
24
24
  leave: (el: HTMLElement, done: () => void) => any;
25
25
  leaveCancelled: (el: HTMLElement) => any;
26
26
  afterLeave: (el: HTMLElement) => any;
27
- "update:visible": (value: boolean) => any;
27
+ "update:visible": (value: boolean | undefined) => any;
28
28
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
29
29
  onBeforeShow?: ((el: HTMLElement) => any) | undefined;
30
30
  onShow?: ((el: HTMLElement) => any) | undefined;
@@ -38,7 +38,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
38
38
  onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
39
39
  onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
40
40
  onAfterLeave?: ((el: HTMLElement) => any) | undefined;
41
- "onUpdate:visible"?: ((value: boolean) => any) | undefined;
41
+ "onUpdate:visible"?: ((value: boolean | undefined) => any) | undefined;
42
42
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
43
43
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
44
44
  declare const _default: typeof __VLS_export;
@@ -98,10 +98,7 @@ var b = ["innerHTML"], x = s({
98
98
  },
99
99
  virtualRef: { default: () => void 0 }
100
100
  }, {
101
- visible: {
102
- type: Boolean,
103
- default: void 0
104
- },
101
+ visible: { type: Boolean },
105
102
  visibleModifiers: {}
106
103
  }),
107
104
  emits: l([
@@ -1,4 +1,4 @@
1
- import { TooltipProps, FloatingEmits } from '@rappel-ui/components/tooltip';
1
+ import { TooltipProps, FloatingEmits } from '../../tooltip';
2
2
  export interface PopoverProps extends TooltipProps {
3
3
  title?: string;
4
4
  }
@@ -1,2 +1,2 @@
1
- import "@rappel-ui/theme-chalk/base.css";
2
- import "@rappel-ui/theme-chalk/re-popover.css";
1
+ import '../../../../theme-chalk/base.css'
2
+ import '../../../../theme-chalk/re-popover.css'
@@ -1,2 +1,2 @@
1
- import "@rappel-ui/theme-chalk/src/base.scss";
2
- import "@rappel-ui/theme-chalk/src/popover.scss";
1
+ import '../../../../theme-chalk/src/base.scss'
2
+ import '../../../../theme-chalk/src/popover.scss'
@@ -1,2 +1,2 @@
1
- import "@rappel-ui/theme-chalk/base.css";
2
- import "@rappel-ui/theme-chalk/re-svg-icon.css";
1
+ import '../../../../theme-chalk/base.css'
2
+ import '../../../../theme-chalk/re-svg-icon.css'
@@ -1,2 +1,2 @@
1
- import "@rappel-ui/theme-chalk/src/base.scss";
2
- import "@rappel-ui/theme-chalk/src/svg-icon.scss";
1
+ import '../../../../theme-chalk/src/base.scss'
2
+ import '../../../../theme-chalk/src/svg-icon.scss'
@@ -3,7 +3,7 @@ import "../../../utils/index.mjs";
3
3
  import { useNamespace as t } from "../../../composables/use-namespace/index.mjs";
4
4
  import "../../../composables/index.mjs";
5
5
  import { autoUpdate as n, flip as r, inline as i, offset as a } from "../../../node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs";
6
- import { arrow as o, useFloating as s } from "../../../node_modules/.pnpm/@floating-ui_vue@2.0.1_vue@3.5.26_typescript@5.9.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs";
6
+ import { arrow as o, useFloating as s } from "../../../node_modules/.pnpm/@floating-ui_vue@2.0.1_vue@3.5.42_typescript@5.9.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs";
7
7
  import { useEmits as ee } from "./use-emit.mjs";
8
8
  import c from "./content.mjs";
9
9
  import { useTooltip as l } from "./use-tooltip.mjs";
@@ -105,7 +105,7 @@ var j = ["innerHTML"], M = _({
105
105
  }, {
106
106
  visible: {
107
107
  type: Boolean,
108
- default: void 0
108
+ default: !1
109
109
  },
110
110
  visibleModifiers: {}
111
111
  }),
@@ -1,6 +1,6 @@
1
1
  import { ShallowRef, ComputedRef, Ref, StyleValue } from 'vue';
2
2
  import { Placement, OffsetOptions, ArrowOptions, ShiftOptions, FlipOptions, InlineOptions, HideOptions, Boundary, RootBoundary, ElementContext, VirtualElement } from '@floating-ui/vue';
3
- import { Theme, MaybeClass } from '@rappel-ui/types';
3
+ import { Theme, MaybeClass } from '../../../types';
4
4
  export interface TooltipProps {
5
5
  visible?: boolean;
6
6
  content?: string;
@@ -1,23 +1,22 @@
1
- import { useDebounceFn as e } from "../../../node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs";
2
- import { onClickOutside as t, useElementHover as n, useEventListener as r } 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
- import { effectScope as i, unref as a, watch as o } from "vue";
1
+ import { effectScope as e, unref as t, watch as n } from "vue";
2
+ import { onClickOutside as r, useDebounceFn as i, useElementHover as a, useEventListener as o } from "@vueuse/core";
4
3
  //#region packages/components/tooltip/src/use-tooltip.ts
5
4
  function s({ triggerRef: s, isExternal: c, externalActiveRef: l, externalRef: u, trigger: d, floatingRef: f, open: p, showDelay: m = 0, hideDelay: h = 0, disabled: g }) {
6
- let _ = [], v = e(() => {
5
+ let _ = [], v = i(() => {
7
6
  p.value = !0;
8
- }, c ? 0 : m), y = e((e) => {
7
+ }, c ? 0 : m), y = i((e) => {
9
8
  p.value = !1, typeof e == "function" && e();
10
9
  }, c ? 0 : h), b = () => {
11
10
  if (s.value) switch (d) {
12
11
  case "click": {
13
- let e = r(s, "click", v), i = n(f, {
12
+ let e = o(s, "click", v), t = a(f, {
14
13
  delayEnter: 0,
15
14
  delayLeave: 0,
16
15
  triggerOnRemoval: !0
17
- }), a = t(s, () => {
18
- !i.value && y();
16
+ }), n = r(s, () => {
17
+ !t.value && y();
19
18
  });
20
- _.push(e, a);
19
+ _.push(e, n);
21
20
  break;
22
21
  }
23
22
  case "hover": {
@@ -25,32 +24,32 @@ function s({ triggerRef: s, isExternal: c, externalActiveRef: l, externalRef: u,
25
24
  delayEnter: m,
26
25
  delayLeave: h,
27
26
  triggerOnRemoval: !0
28
- }, t = n(s, e), r = n(f, e);
27
+ }, t = a(s, e), r = a(f, e);
29
28
  c && p.value && (t.value = !0);
30
- let { stop: i } = o(() => [t.value, r.value], ([e, t]) => {
29
+ let { stop: i } = n(() => [t.value, r.value], ([e, t]) => {
31
30
  p.value = e || t;
32
31
  });
33
32
  _.push(i);
34
33
  break;
35
34
  }
36
35
  case "focus": {
37
- let e = r(s, "focus", v), i = n(f, {
36
+ let e = o(s, "focus", v), t = a(f, {
38
37
  delayEnter: 0,
39
38
  delayLeave: 0,
40
39
  triggerOnRemoval: !0
41
- }), a = r(s, "blur", () => !i.value && y()), o = t(s, () => !i.value && y());
42
- _.push(e, a, o);
40
+ }), n = o(s, "blur", () => !t.value && y()), i = r(s, () => !t.value && y());
41
+ _.push(e, n, i);
43
42
  break;
44
43
  }
45
44
  case "contextmenu": {
46
- let e = r(s, "contextmenu", (e) => {
45
+ let e = o(s, "contextmenu", (e) => {
47
46
  e.preventDefault(), v();
48
- }), i = n(f, {
47
+ }), t = a(f, {
49
48
  delayEnter: 0,
50
49
  delayLeave: 0,
51
50
  triggerOnRemoval: !0
52
- }), a = t(s, () => !i.value && y());
53
- _.push(e, a);
51
+ }), n = r(s, () => !t.value && y());
52
+ _.push(e, n);
54
53
  break;
55
54
  }
56
55
  }
@@ -59,7 +58,7 @@ function s({ triggerRef: s, isExternal: c, externalActiveRef: l, externalRef: u,
59
58
  }, S = () => {
60
59
  p.value = !1, x();
61
60
  };
62
- return c && o(() => u == null ? void 0 : u.value, (e) => {
61
+ return c && n(() => u == null ? void 0 : u.value, (e) => {
63
62
  if (!(["click", "contextmenu"].includes(d) && l.value === e)) {
64
63
  if (!l.value || !p.value) {
65
64
  l.value = e, v();
@@ -73,22 +72,22 @@ function s({ triggerRef: s, isExternal: c, externalActiveRef: l, externalRef: u,
73
72
  start: b,
74
73
  stop: S,
75
74
  setup: () => {
76
- let e = i();
77
- return e.run(() => {
75
+ let r = e();
76
+ return r.run(() => {
78
77
  if (p.value) {
79
78
  x();
80
79
  return;
81
80
  }
82
- if (a(g)) {
81
+ if (t(g)) {
83
82
  S();
84
83
  return;
85
84
  }
86
- b(), o(() => a(g), (e) => {
85
+ b(), n(() => t(g), (e) => {
87
86
  e ? S() : b();
88
- }), o(s, (e) => {
87
+ }), n(s, (e) => {
89
88
  e && (x(), b());
90
89
  });
91
- }), { scope: e };
90
+ }), { scope: r };
92
91
  },
93
92
  delayHide: y,
94
93
  delayShow: v
@@ -1,2 +1,2 @@
1
- import "@rappel-ui/theme-chalk/base.css";
2
- import "@rappel-ui/theme-chalk/re-tooltip.css";
1
+ import '../../../../theme-chalk/base.css'
2
+ import '../../../../theme-chalk/re-tooltip.css'
@@ -1,2 +1,2 @@
1
- import "@rappel-ui/theme-chalk/src/base.scss";
2
- import "@rappel-ui/theme-chalk/src/tooltip.scss";
1
+ import '../../../../theme-chalk/src/base.scss'
2
+ import '../../../../theme-chalk/src/tooltip.scss'
@@ -1,5 +1,5 @@
1
1
  import { WritableComputedRef, ComputedRef } from 'vue';
2
- import { Theme } from '@rappel-ui/types';
2
+ import { Theme } from '../../types';
3
3
  export declare function useTheme(theme?: Theme, reverseTheme?: boolean): {
4
4
  isDark: WritableComputedRef<boolean>;
5
5
  currentTheme: ComputedRef<Theme>;
@@ -1,21 +1,20 @@
1
- import { useToggle as e } from "../../node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/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
- import { useNamespace as n } from "../use-namespace/index.mjs";
1
+ import { useNamespace as e } from "../use-namespace/index.mjs";
4
2
  import "../index.mjs";
5
- import { computed as r } from "vue";
3
+ import { computed as t } from "vue";
4
+ import { useDark as n, useToggle as r } from "@vueuse/core";
6
5
  //#region packages/composables/use-theme/index.ts
7
- var { libName: i } = n(""), a = t({
6
+ var { libName: i } = e(""), a = n({
8
7
  storageKey: `${i}-color-scheme`,
9
8
  selector: "html",
10
9
  attribute: "class",
11
10
  valueDark: "dark",
12
11
  valueLight: "light"
13
12
  });
14
- function o(t = "light", n = !1) {
15
- let i = e(a);
13
+ function o(e = "light", n = !1) {
14
+ let i = r(a);
16
15
  return {
17
16
  isDark: a,
18
- currentTheme: r(() => n ? t === "dark" ? "light" : "dark" : t),
17
+ currentTheme: t(() => n ? e === "dark" ? "light" : "dark" : e),
19
18
  toggle: i
20
19
  };
21
20
  }