duck-vue-components 0.0.0 → 0.0.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 (62) hide show
  1. package/dist/{MyButton-C7riFwH6.js → MyButton-Cf0_-8XV.js} +1 -1
  2. package/dist/{MyButton-C1krVCi6.cjs → MyButton-CtUd-JrH.cjs} +1 -1
  3. package/dist/{affix-D9EM8_Um.js → affix-CgckChk-.js} +3 -3
  4. package/dist/{affix-CYU-9qMr.cjs → affix-m5OpV64x.cjs} +3 -3
  5. package/dist/{button-tOWSPPxz.js → button-DW6j39uE.js} +5 -5
  6. package/dist/{button-CGv1WHzT.cjs → button-cGNH172O.cjs} +5 -5
  7. package/dist/controls/MyButton.cjs +1 -1
  8. package/dist/controls/MyButton.js +1 -1
  9. package/dist/controls/affix.cjs +1 -1
  10. package/dist/controls/affix.d.ts +1 -1
  11. package/dist/controls/affix.js +1 -1
  12. package/dist/controls/button.cjs +1 -1
  13. package/dist/controls/button.js +1 -1
  14. package/dist/controls.cjs +3 -3
  15. package/dist/controls.d.ts +2 -2
  16. package/dist/controls.js +3 -3
  17. package/dist/{dom-CllENWMY.js → dom-CSFTi2nK.js} +1 -1
  18. package/dist/{dom-DS4YqkjW.cjs → dom-IfZp2_eF.cjs} +1 -1
  19. package/dist/{index-C5SJLWEN.d.ts → index-BW5i9U4w.d.ts} +1 -1
  20. package/dist/{index-CeemHBNT.d.ts → index-BnQQPnM8.d.ts} +1 -1
  21. package/dist/{locale-DhlAaV1Q.js → locale-B2BTyGMQ.js} +2 -2
  22. package/dist/{locale-WzzxOobw.cjs → locale-BINXAbcX.cjs} +19 -1
  23. package/dist/locale.cjs +1 -1
  24. package/dist/locale.js +1 -1
  25. package/dist/packages/controls/MyButton.cjs +1 -1
  26. package/dist/packages/controls/MyButton.js +1 -1
  27. package/dist/packages/controls/affix.cjs +1 -1
  28. package/dist/packages/controls/affix.js +1 -1
  29. package/dist/packages/controls/button.cjs +1 -1
  30. package/dist/packages/controls/button.d.ts +1 -1
  31. package/dist/packages/controls/button.js +1 -1
  32. package/dist/packages/controls.cjs +3 -3
  33. package/dist/packages/controls.js +3 -3
  34. package/dist/packages/locale.cjs +1 -1
  35. package/dist/packages/locale.d.ts +1 -1
  36. package/dist/packages/locale.js +1 -1
  37. package/dist/packages/stores.cjs +4 -4
  38. package/dist/packages/stores.js +4 -4
  39. package/dist/packages/utils/dom.cjs +1 -1
  40. package/dist/packages/utils/dom.js +1 -1
  41. package/dist/packages/utils/vue/props.cjs +1 -1
  42. package/dist/packages/utils/vue/props.js +1 -1
  43. package/dist/packages/utils.cjs +3 -3
  44. package/dist/packages/utils.js +3 -3
  45. package/dist/packages.cjs +53 -0
  46. package/dist/packages.d.cts +6 -1
  47. package/dist/packages.d.ts +6 -1
  48. package/dist/packages.js +49 -1
  49. package/dist/stores.cjs +1 -1
  50. package/dist/stores.d.ts +2 -2
  51. package/dist/stores.js +1 -1
  52. package/dist/utils/dom.cjs +1 -1
  53. package/dist/utils/dom.js +1 -1
  54. package/dist/{utils-egS_3P4w.cjs → utils-Cz7Kgi6l.cjs} +5 -5
  55. package/dist/{utils-DlBKdS0t.js → utils-DhggJqBi.js} +5 -5
  56. package/dist/utils.cjs +3 -3
  57. package/dist/utils.js +3 -3
  58. package/package.json +1 -2
  59. /package/dist/{_plugin-vue_export-helper-DQXgr64F.cjs → _plugin-vue_export-helper-CEi-289Q.cjs} +0 -0
  60. /package/dist/{_plugin-vue_export-helper-DbXABBKy.js → _plugin-vue_export-helper-Dd4YuxUP.js} +0 -0
  61. /package/dist/{objects-o7u5s_lI.cjs → objects-D0as7Kdv.cjs} +0 -0
  62. /package/dist/{objects-CLXPNOUW.js → objects-i75zlPrk.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-DbXABBKy.js";
1
+ import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-Dd4YuxUP.js";
2
2
  import { createElementBlock, createElementVNode, createTextVNode, defineComponent, openBlock, ref, toDisplayString } from "vue";
3
3
  //#endregion
4
4
  //#region src/packages/controls/MyButton/MyButton.vue
@@ -1,5 +1,5 @@
1
1
  require("./chunk-CZWwpsFl.cjs");
2
- const require__plugin_vue_export_helper = require("./_plugin-vue_export-helper-DQXgr64F.cjs");
2
+ const require__plugin_vue_export_helper = require("./_plugin-vue_export-helper-CEi-289Q.cjs");
3
3
  let vue = require("vue");
4
4
  //#region src/packages/controls/MyButton/MyButton.vue?vue&type=script&setup=true&lang.ts
5
5
  var MyButton_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
@@ -1,9 +1,9 @@
1
1
  import { t as __exportAll } from "./chunk-pbuEa-1d.js";
2
- import { m as isComponent, y as isHTML } from "./objects-CLXPNOUW.js";
2
+ import { m as isComponent, y as isHTML } from "./objects-i75zlPrk.js";
3
3
  import { withInstall } from "./packages/utils/vue.js";
4
- import "./utils-DlBKdS0t.js";
5
- import { computed, createBlock, createElementBlock, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, openBlock, resolveDynamicComponent, toDisplayString, unref, withCtx } from "vue";
4
+ import "./utils-DhggJqBi.js";
6
5
  import { ElAffix, ElButton } from "element-plus";
6
+ import { computed, createBlock, createElementBlock, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, openBlock, resolveDynamicComponent, toDisplayString, unref, withCtx } from "vue";
7
7
  //#region src/packages/controls/affix/affix.vue?vue&type=script&setup=true&lang.ts
8
8
  const _hoisted_1 = ["innerHTML"];
9
9
  const _hoisted_2 = { key: 2 };
@@ -1,9 +1,9 @@
1
1
  const require_chunk = require("./chunk-CZWwpsFl.cjs");
2
- const require_objects = require("./objects-o7u5s_lI.cjs");
2
+ const require_objects = require("./objects-D0as7Kdv.cjs");
3
3
  const require_packages_utils_vue = require("./packages/utils/vue.cjs");
4
- require("./utils-egS_3P4w.cjs");
5
- let vue = require("vue");
4
+ require("./utils-Cz7Kgi6l.cjs");
6
5
  let element_plus = require("element-plus");
6
+ let vue = require("vue");
7
7
  //#region src/packages/controls/affix/affix.vue?vue&type=script&setup=true&lang.ts
8
8
  const _hoisted_1 = ["innerHTML"];
9
9
  const _hoisted_2 = { key: 2 };
@@ -1,11 +1,11 @@
1
1
  import { t as __exportAll } from "./chunk-pbuEa-1d.js";
2
- import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-DbXABBKy.js";
3
- import { m as isComponent, y as isHTML } from "./objects-CLXPNOUW.js";
2
+ import { u as t } from "./locale-B2BTyGMQ.js";
3
+ import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-Dd4YuxUP.js";
4
+ import { m as isComponent, y as isHTML } from "./objects-i75zlPrk.js";
4
5
  import { withInstall } from "./packages/utils/vue.js";
5
- import "./utils-DlBKdS0t.js";
6
- import { u as t } from "./locale-DhlAaV1Q.js";
7
- import { computed, createBlock, createCommentVNode, createElementBlock, createSlots, createTextVNode, createVNode, defineComponent, markRaw, mergeProps, openBlock, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, unref, withCtx, withModifiers } from "vue";
6
+ import "./utils-DhggJqBi.js";
8
7
  import { ElButton, ElDivider } from "element-plus";
8
+ import { computed, createBlock, createCommentVNode, createElementBlock, createSlots, createTextVNode, createVNode, defineComponent, markRaw, mergeProps, openBlock, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, unref, withCtx, withModifiers } from "vue";
9
9
  //#region src/packages/controls/button/button.vue?vue&type=script&setup=true&lang.ts
10
10
  const _hoisted_1 = ["innerHTML"];
11
11
  const _hoisted_2 = { key: 2 };
@@ -1,11 +1,11 @@
1
1
  const require_chunk = require("./chunk-CZWwpsFl.cjs");
2
- const require__plugin_vue_export_helper = require("./_plugin-vue_export-helper-DQXgr64F.cjs");
3
- const require_objects = require("./objects-o7u5s_lI.cjs");
2
+ const require_locale = require("./locale-BINXAbcX.cjs");
3
+ const require__plugin_vue_export_helper = require("./_plugin-vue_export-helper-CEi-289Q.cjs");
4
+ const require_objects = require("./objects-D0as7Kdv.cjs");
4
5
  const require_packages_utils_vue = require("./packages/utils/vue.cjs");
5
- require("./utils-egS_3P4w.cjs");
6
- const require_locale = require("./locale-WzzxOobw.cjs");
7
- let vue = require("vue");
6
+ require("./utils-Cz7Kgi6l.cjs");
8
7
  let element_plus = require("element-plus");
8
+ let vue = require("vue");
9
9
  //#region src/packages/controls/button/button.vue?vue&type=script&setup=true&lang.ts
10
10
  const _hoisted_1 = ["innerHTML"];
11
11
  const _hoisted_2 = { key: 2 };
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_MyButton = require("../MyButton-C1krVCi6.cjs");
2
+ const require_MyButton = require("../MyButton-CtUd-JrH.cjs");
3
3
  exports.MyButton = require_MyButton.MyButton_default;
@@ -1,2 +1,2 @@
1
- import { t as MyButton_default } from "../MyButton-C7riFwH6.js";
1
+ import { t as MyButton_default } from "../MyButton-Cf0_-8XV.js";
2
2
  export { MyButton_default as MyButton };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_affix = require("../affix-CYU-9qMr.cjs");
2
+ const require_affix = require("../affix-m5OpV64x.cjs");
3
3
  Object.defineProperty(exports, "RwAffix", {
4
4
  enumerable: true,
5
5
  get: function() {
@@ -1,2 +1,2 @@
1
- import { t as affix_d_exports } from "../index-C5SJLWEN.js";
1
+ import { t as affix_d_exports } from "../index-BW5i9U4w.js";
2
2
  export { affix_d_exports as RwAffix };
@@ -1,2 +1,2 @@
1
- import { t as affix_exports } from "../affix-D9EM8_Um.js";
1
+ import { t as affix_exports } from "../affix-CgckChk-.js";
2
2
  export { affix_exports as RwAffix };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_button = require("../button-CGv1WHzT.cjs");
2
+ const require_button = require("../button-cGNH172O.cjs");
3
3
  Object.defineProperty(exports, "RwButton", {
4
4
  enumerable: true,
5
5
  get: function() {
@@ -1,2 +1,2 @@
1
- import { t as button_exports } from "../button-tOWSPPxz.js";
1
+ import { t as button_exports } from "../button-DW6j39uE.js";
2
2
  export { button_exports as RwButton };
package/dist/controls.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_MyButton = require("./MyButton-C1krVCi6.cjs");
3
- const require_button = require("./button-CGv1WHzT.cjs");
4
- const require_affix = require("./affix-CYU-9qMr.cjs");
2
+ const require_MyButton = require("./MyButton-CtUd-JrH.cjs");
3
+ const require_button = require("./button-cGNH172O.cjs");
4
+ const require_affix = require("./affix-m5OpV64x.cjs");
5
5
  require("./packages/controls.cjs");
6
6
  exports.MyButton = require_MyButton.MyButton_default;
7
7
  Object.defineProperty(exports, "RwAffix", {
@@ -1,6 +1,6 @@
1
1
  import { t as _default } from "./index-BtOBjeH7.js";
2
- import { t as affix_d_exports } from "./index-C5SJLWEN.js";
3
- import { t as button_d_exports } from "./index-CeemHBNT.js";
2
+ import { t as affix_d_exports } from "./index-BW5i9U4w.js";
3
+ import { t as button_d_exports } from "./index-BnQQPnM8.js";
4
4
 
5
5
  //#region src/packages/controls/index.d.ts
6
6
  declare namespace index_d_exports {
package/dist/controls.js CHANGED
@@ -1,5 +1,5 @@
1
- import { t as MyButton_default } from "./MyButton-C7riFwH6.js";
2
- import { t as button_exports } from "./button-tOWSPPxz.js";
3
- import { t as affix_exports } from "./affix-D9EM8_Um.js";
1
+ import { t as MyButton_default } from "./MyButton-Cf0_-8XV.js";
2
+ import { t as button_exports } from "./button-DW6j39uE.js";
3
+ import { t as affix_exports } from "./affix-CgckChk-.js";
4
4
  import "./packages/controls.js";
5
5
  export { MyButton_default as MyButton, affix_exports as RwAffix, button_exports as RwButton };
@@ -1,4 +1,4 @@
1
- import { E as isStringNumber, T as isString$1, b as isNumber, i as entriesOf, k as isWindow, s as keysOf, v as isFunction, x as isObject$1 } from "./objects-CLXPNOUW.js";
1
+ import { E as isStringNumber, T as isString$1, b as isNumber, i as entriesOf, k as isWindow, s as keysOf, v as isFunction, x as isObject$1 } from "./objects-i75zlPrk.js";
2
2
  import { isClient, isIOS } from "@vueuse/core";
3
3
  import { camelize, capitalize, hyphenate, hyphenate as kebabCase } from "@vue/shared";
4
4
  //#region src/packages/utils/dom/aria.ts
@@ -1,5 +1,5 @@
1
1
  require("./chunk-CZWwpsFl.cjs");
2
- const require_objects = require("./objects-o7u5s_lI.cjs");
2
+ const require_objects = require("./objects-D0as7Kdv.cjs");
3
3
  let _vueuse_core = require("@vueuse/core");
4
4
  let _vue_shared = require("@vue/shared");
5
5
  //#region src/packages/utils/dom/aria.ts
@@ -1,7 +1,7 @@
1
1
  import { t as baseT } from "./index-BHq-BMCP.js";
2
2
  import { o as SFCWithInstall } from "./index-DamAmum6.js";
3
- import * as _$vue from "vue";
4
3
  import { AffixEmits, AffixProps } from "element-plus";
4
+ import * as _$vue from "vue";
5
5
 
6
6
  //#region src/packages/controls/affix/affix.vue.d.ts
7
7
  type __VLS_Props = {
@@ -1,9 +1,9 @@
1
1
  import { t as baseT } from "./index-BHq-BMCP.js";
2
2
  import { o as SFCWithInstall } from "./index-DamAmum6.js";
3
3
  import { O as Mutable } from "./index-BI-hrf4t.js";
4
+ import { ButtonProps } from "element-plus";
4
5
  import * as _$vue from "vue";
5
6
  import { Component } from "vue";
6
- import { ButtonProps } from "element-plus";
7
7
 
8
8
  //#region src/packages/controls/button/button.vue.d.ts
9
9
  type __VLS_Props = {
@@ -1,5 +1,5 @@
1
- import { reactive, watch } from "vue";
2
1
  import { createI18n } from "vue-i18n";
2
+ import { reactive, watch } from "vue";
3
3
  import Cookies from "js-cookie";
4
4
  //#region src/packages/locale/langs/cn.ts
5
5
  var cn_default = {
@@ -594,4 +594,4 @@ const t = (key, values) => {
594
594
  return i18n.global.t(key, values);
595
595
  };
596
596
  //#endregion
597
- export { localeOptions as a, messages as c, locale as i, setLanguage as l, initLangOptions as n, mergeLocaleMessage as o, initi18n as r, mergeLocaleMessages as s, i18n as t, t as u };
597
+ export { localeOptions as a, messages as c, tw_default as d, en_default as f, locale as i, setLanguage as l, initLangOptions as n, mergeLocaleMessage as o, cn_default as p, initi18n as r, mergeLocaleMessages as s, i18n as t, t as u };
@@ -1,6 +1,6 @@
1
1
  const require_chunk = require("./chunk-CZWwpsFl.cjs");
2
- let vue = require("vue");
3
2
  let vue_i18n = require("vue-i18n");
3
+ let vue = require("vue");
4
4
  let js_cookie = require("js-cookie");
5
5
  js_cookie = require_chunk.__toESM(js_cookie);
6
6
  //#region src/packages/locale/langs/cn.ts
@@ -596,6 +596,18 @@ const t = (key, values) => {
596
596
  return i18n.global.t(key, values);
597
597
  };
598
598
  //#endregion
599
+ Object.defineProperty(exports, "cn_default", {
600
+ enumerable: true,
601
+ get: function() {
602
+ return cn_default;
603
+ }
604
+ });
605
+ Object.defineProperty(exports, "en_default", {
606
+ enumerable: true,
607
+ get: function() {
608
+ return en_default;
609
+ }
610
+ });
599
611
  Object.defineProperty(exports, "i18n", {
600
612
  enumerable: true,
601
613
  get: function() {
@@ -656,3 +668,9 @@ Object.defineProperty(exports, "t", {
656
668
  return t;
657
669
  }
658
670
  });
671
+ Object.defineProperty(exports, "tw_default", {
672
+ enumerable: true,
673
+ get: function() {
674
+ return tw_default;
675
+ }
676
+ });
package/dist/locale.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_locale = require("./locale-WzzxOobw.cjs");
2
+ const require_locale = require("./locale-BINXAbcX.cjs");
3
3
  exports.i18n = require_locale.i18n;
4
4
  exports.initLangOptions = require_locale.initLangOptions;
5
5
  exports.initi18n = require_locale.initi18n;
package/dist/locale.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as localeOptions, c as messages, i as locale, l as setLanguage, n as initLangOptions, o as mergeLocaleMessage, r as initi18n, s as mergeLocaleMessages, t as i18n, u as t } from "./locale-DhlAaV1Q.js";
1
+ import { a as localeOptions, c as messages, i as locale, l as setLanguage, n as initLangOptions, o as mergeLocaleMessage, r as initi18n, s as mergeLocaleMessages, t as i18n, u as t } from "./locale-B2BTyGMQ.js";
2
2
  export { i18n, initLangOptions, initi18n, locale, localeOptions, mergeLocaleMessage, mergeLocaleMessages, messages, setLanguage, t };
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_MyButton = require("../../MyButton-C1krVCi6.cjs");
2
+ const require_MyButton = require("../../MyButton-CtUd-JrH.cjs");
3
3
  exports.MyButton = require_MyButton.MyButton_default;
@@ -1,2 +1,2 @@
1
- import { t as MyButton_default } from "../../MyButton-C7riFwH6.js";
1
+ import { t as MyButton_default } from "../../MyButton-Cf0_-8XV.js";
2
2
  export { MyButton_default as MyButton };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_affix = require("../../affix-CYU-9qMr.cjs");
2
+ const require_affix = require("../../affix-m5OpV64x.cjs");
3
3
  Object.defineProperty(exports, "RwAffix", {
4
4
  enumerable: true,
5
5
  get: function() {
@@ -1,2 +1,2 @@
1
- import { t as affix_exports } from "../../affix-D9EM8_Um.js";
1
+ import { t as affix_exports } from "../../affix-CgckChk-.js";
2
2
  export { affix_exports as RwAffix };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_button = require("../../button-CGv1WHzT.cjs");
2
+ const require_button = require("../../button-cGNH172O.cjs");
3
3
  Object.defineProperty(exports, "RwButton", {
4
4
  enumerable: true,
5
5
  get: function() {
@@ -1,2 +1,2 @@
1
- import { t as button_d_exports } from "../../index-CeemHBNT.js";
1
+ import { t as button_d_exports } from "../../index-BnQQPnM8.js";
2
2
  export { button_d_exports as RwButton };
@@ -1,2 +1,2 @@
1
- import { t as button_exports } from "../../button-tOWSPPxz.js";
1
+ import { t as button_exports } from "../../button-DW6j39uE.js";
2
2
  export { button_exports as RwButton };
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../chunk-CZWwpsFl.cjs");
3
- const require_MyButton = require("../MyButton-C1krVCi6.cjs");
4
- const require_button = require("../button-CGv1WHzT.cjs");
5
- const require_affix = require("../affix-CYU-9qMr.cjs");
3
+ const require_MyButton = require("../MyButton-CtUd-JrH.cjs");
4
+ const require_button = require("../button-cGNH172O.cjs");
5
+ const require_affix = require("../affix-m5OpV64x.cjs");
6
6
  //#region src/packages/controls/index.ts
7
7
  var controls_exports = /* @__PURE__ */ require_chunk.__exportAll({
8
8
  MyButton: () => require_MyButton.MyButton_default,
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "../chunk-pbuEa-1d.js";
2
- import { t as MyButton_default } from "../MyButton-C7riFwH6.js";
3
- import { t as button_exports } from "../button-tOWSPPxz.js";
4
- import { t as affix_exports } from "../affix-D9EM8_Um.js";
2
+ import { t as MyButton_default } from "../MyButton-Cf0_-8XV.js";
3
+ import { t as button_exports } from "../button-DW6j39uE.js";
4
+ import { t as affix_exports } from "../affix-CgckChk-.js";
5
5
  //#region src/packages/controls/index.ts
6
6
  var controls_exports = /* @__PURE__ */ __exportAll({
7
7
  MyButton: () => MyButton_default,
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_locale = require("../locale-WzzxOobw.cjs");
2
+ const require_locale = require("../locale-BINXAbcX.cjs");
3
3
  exports.i18n = require_locale.i18n;
4
4
  exports.initLangOptions = require_locale.initLangOptions;
5
5
  exports.initi18n = require_locale.initi18n;
@@ -1,5 +1,5 @@
1
- import * as _$vue from "vue";
2
1
  import { I18n } from "vue-i18n";
2
+ import * as _$vue from "vue";
3
3
 
4
4
  //#region src/packages/locale/index.d.ts
5
5
  /** 语言包结构 */
@@ -1,2 +1,2 @@
1
- import { a as localeOptions, c as messages, i as locale, l as setLanguage, n as initLangOptions, o as mergeLocaleMessage, r as initi18n, s as mergeLocaleMessages, t as i18n, u as t } from "../locale-DhlAaV1Q.js";
1
+ import { a as localeOptions, c as messages, i as locale, l as setLanguage, n as initLangOptions, o as mergeLocaleMessage, r as initi18n, s as mergeLocaleMessages, t as i18n, u as t } from "../locale-B2BTyGMQ.js";
2
2
  export { i18n, initLangOptions, initi18n, locale, localeOptions, mergeLocaleMessage, mergeLocaleMessages, messages, setLanguage, t };
@@ -1,12 +1,12 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../chunk-CZWwpsFl.cjs");
3
- const require_utils = require("../utils-egS_3P4w.cjs");
4
- let vue = require("vue");
5
- let _vueuse_core = require("@vueuse/core");
3
+ const require_utils = require("../utils-Cz7Kgi6l.cjs");
6
4
  let element_plus = require("element-plus");
7
- let pinia = require("pinia");
8
5
  let pinia_plugin_persistedstate = require("pinia-plugin-persistedstate");
9
6
  pinia_plugin_persistedstate = require_chunk.__toESM(pinia_plugin_persistedstate);
7
+ let pinia = require("pinia");
8
+ let vue = require("vue");
9
+ let _vueuse_core = require("@vueuse/core");
10
10
  let element_plus_es_locale_lang_zh_cn = require("element-plus/es/locale/lang/zh-cn");
11
11
  element_plus_es_locale_lang_zh_cn = require_chunk.__toESM(element_plus_es_locale_lang_zh_cn);
12
12
  let element_plus_es_locale_lang_zh_tw = require("element-plus/es/locale/lang/zh-tw");
@@ -1,9 +1,9 @@
1
- import { f as rwDecode, h as http, p as rwEncode, u as useAppConfigStore } from "../utils-DlBKdS0t.js";
2
- import { reactive } from "vue";
3
- import { useDark, useToggle } from "@vueuse/core";
1
+ import { f as rwDecode, h as http, p as rwEncode, u as useAppConfigStore } from "../utils-DhggJqBi.js";
4
2
  import { ElMessage } from "element-plus";
5
- import { createPinia, defineStore } from "pinia";
6
3
  import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
4
+ import { createPinia, defineStore } from "pinia";
5
+ import { reactive } from "vue";
6
+ import { useDark, useToggle } from "@vueuse/core";
7
7
  import elCn from "element-plus/es/locale/lang/zh-cn";
8
8
  import elTw from "element-plus/es/locale/lang/zh-tw";
9
9
  import elEn from "element-plus/es/locale/lang/en";
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_dom = require("../../dom-DS4YqkjW.cjs");
2
+ const require_dom = require("../../dom-IfZp2_eF.cjs");
3
3
  exports.addClass = require_dom.addClass;
4
4
  exports.addUnit = require_dom.addUnit;
5
5
  exports.animateScrollTo = require_dom.animateScrollTo;
@@ -1,2 +1,2 @@
1
- import { A as isInContainer, B as isFocusable, D as getClientXY, F as composeEventHandlers, H as isVisible, I as whenMouse, L as attemptFocus, O as getOffsetTop, R as focusNode, U as obtainAllFocusableElements, V as isLeaf, W as triggerEvent, a as getScrollElement, c as scrollIntoView, d as classNameToArray, f as getStyle, g as setStyle, h as removeStyle, i as getScrollContainer, k as getOffsetTopDistance, l as addClass, m as removeClass, n as animateScrollTo, o as getScrollTop, p as hasClass, r as getScrollBarWidth, s as isScroll, t as getElement, u as addUnit, z as getSibling } from "../../dom-CllENWMY.js";
1
+ import { A as isInContainer, B as isFocusable, D as getClientXY, F as composeEventHandlers, H as isVisible, I as whenMouse, L as attemptFocus, O as getOffsetTop, R as focusNode, U as obtainAllFocusableElements, V as isLeaf, W as triggerEvent, a as getScrollElement, c as scrollIntoView, d as classNameToArray, f as getStyle, g as setStyle, h as removeStyle, i as getScrollContainer, k as getOffsetTopDistance, l as addClass, m as removeClass, n as animateScrollTo, o as getScrollTop, p as hasClass, r as getScrollBarWidth, s as isScroll, t as getElement, u as addUnit, z as getSibling } from "../../dom-CSFTi2nK.js";
2
2
  export { addClass, addUnit, animateScrollTo, attemptFocus, classNameToArray, composeEventHandlers, focusNode, getClientXY, getElement, getOffsetTop, getOffsetTopDistance, getScrollBarWidth, getScrollContainer, getScrollElement, getScrollTop, getSibling, getStyle, hasClass, isFocusable, isInContainer, isLeaf, isScroll, isVisible, obtainAllFocusableElements, removeClass, removeStyle, scrollIntoView, setStyle, triggerEvent, whenMouse };
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../../chunk-CZWwpsFl.cjs");
3
- const require_objects = require("../../../objects-o7u5s_lI.cjs");
3
+ const require_objects = require("../../../objects-D0as7Kdv.cjs");
4
4
  let vue = require("vue");
5
5
  let lodash_unified = require("lodash-unified");
6
6
  let _vue_shared = require("@vue/shared");
@@ -1,4 +1,4 @@
1
- import { o as hasOwn, x as isObject } from "../../../objects-CLXPNOUW.js";
1
+ import { o as hasOwn, x as isObject } from "../../../objects-i75zlPrk.js";
2
2
  import { warn } from "vue";
3
3
  import { fromPairs } from "lodash-unified";
4
4
  //#region src/packages/utils/vue/props/runtime.ts
@@ -1,10 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../chunk-CZWwpsFl.cjs");
3
- const require_dom = require("../dom-DS4YqkjW.cjs");
4
- const require_objects = require("../objects-o7u5s_lI.cjs");
3
+ const require_dom = require("../dom-IfZp2_eF.cjs");
4
+ const require_objects = require("../objects-D0as7Kdv.cjs");
5
5
  const require_packages_utils_vue_props = require("./utils/vue/props.cjs");
6
6
  const require_packages_utils_vue = require("./utils/vue.cjs");
7
- const require_utils = require("../utils-egS_3P4w.cjs");
7
+ const require_utils = require("../utils-Cz7Kgi6l.cjs");
8
8
  let _vue_shared = require("@vue/shared");
9
9
  let lodash_unified = require("lodash-unified");
10
10
  let _vueuse_core = require("@vueuse/core");
@@ -1,6 +1,6 @@
1
- import { A as isInContainer, B as isFocusable, C as kebabCase, D as getClientXY, E as easeInOutCubic, F as composeEventHandlers, H as isVisible, I as whenMouse, L as attemptFocus, M as isFirefox, N as isIOS, O as getOffsetTop, P as loadScript, R as focusNode, S as hyphenate, T as rAF, U as obtainAllFocusableElements, V as isLeaf, W as triggerEvent, _ as debugWarn, a as getScrollElement, b as capitalize, c as scrollIntoView, d as classNameToArray, f as getStyle, g as setStyle, h as removeStyle, i as getScrollContainer, j as isClient, k as getOffsetTopDistance, l as addClass, m as removeClass, n as animateScrollTo, o as getScrollTop, p as hasClass, r as getScrollBarWidth, s as isScroll, t as getElement, u as addUnit, v as throwError, w as cAF, x as escapeStringRegexp, y as camelize, z as getSibling } from "../dom-CllENWMY.js";
2
- import { A as renderTemplate, C as isPromise, D as isSymbol, E as isStringNumber, O as isUndefined, S as isPlainObject, T as isString, _ as isEmpty, a as getProp, b as isNumber, c as safeGet, d as validateObjectStructure, f as isArray, g as isElement, h as isDate, i as entriesOf, j as stringToArray, k as isWindow, l as safeSet, m as isComponent, n as deepMerge, o as hasOwn, p as isBoolean, r as deepMergeInPlace, s as keysOf, t as assignmentData, u as transDataToString, v as isFunction, w as isPropAbsent, x as isObject, y as isHTML } from "../objects-CLXPNOUW.js";
1
+ import { A as isInContainer, B as isFocusable, C as kebabCase, D as getClientXY, E as easeInOutCubic, F as composeEventHandlers, H as isVisible, I as whenMouse, L as attemptFocus, M as isFirefox, N as isIOS, O as getOffsetTop, P as loadScript, R as focusNode, S as hyphenate, T as rAF, U as obtainAllFocusableElements, V as isLeaf, W as triggerEvent, _ as debugWarn, a as getScrollElement, b as capitalize, c as scrollIntoView, d as classNameToArray, f as getStyle, g as setStyle, h as removeStyle, i as getScrollContainer, j as isClient, k as getOffsetTopDistance, l as addClass, m as removeClass, n as animateScrollTo, o as getScrollTop, p as hasClass, r as getScrollBarWidth, s as isScroll, t as getElement, u as addUnit, v as throwError, w as cAF, x as escapeStringRegexp, y as camelize, z as getSibling } from "../dom-CSFTi2nK.js";
2
+ import { A as renderTemplate, C as isPromise, D as isSymbol, E as isStringNumber, O as isUndefined, S as isPlainObject, T as isString, _ as isEmpty, a as getProp, b as isNumber, c as safeGet, d as validateObjectStructure, f as isArray, g as isElement, h as isDate, i as entriesOf, j as stringToArray, k as isWindow, l as safeSet, m as isComponent, n as deepMerge, o as hasOwn, p as isBoolean, r as deepMergeInPlace, s as keysOf, t as assignmentData, u as transDataToString, v as isFunction, w as isPropAbsent, x as isObject, y as isHTML } from "../objects-i75zlPrk.js";
3
3
  import { buildProp, buildProps, definePropType, epPropKey, isEpProp } from "./utils/vue/props.js";
4
4
  import { withInstall, withInstallDirective, withInstallFunction } from "./utils/vue.js";
5
- import { C as toRawType, D as uniqueBy, E as unique, O as uniqueByFn, S as NOOP, T as ensureArray, _ as useHttp, a as bd09ToGcj02, b as generateId, c as exportExcelAll, d as md5, f as rwDecode, g as initHttp, h as http, i as useFormField, l as loadConfig, m as Http, n as PathUtils, o as gcj02ToBd09, p as rwEncode, r as createFormData, s as exportExcel, t as FormDataKey, v as throttleByRaf, w as castArray, x as getRandomInt, y as mutable } from "../utils-DlBKdS0t.js";
5
+ import { C as toRawType, D as uniqueBy, E as unique, O as uniqueByFn, S as NOOP, T as ensureArray, _ as useHttp, a as bd09ToGcj02, b as generateId, c as exportExcelAll, d as md5, f as rwDecode, g as initHttp, h as http, i as useFormField, l as loadConfig, m as Http, n as PathUtils, o as gcj02ToBd09, p as rwEncode, r as createFormData, s as exportExcel, t as FormDataKey, v as throttleByRaf, w as castArray, x as getRandomInt, y as mutable } from "../utils-DhggJqBi.js";
6
6
  export { FormDataKey, Http, NOOP, PathUtils, addClass, addUnit, animateScrollTo, assignmentData, attemptFocus, bd09ToGcj02, buildProp, buildProps, cAF, camelize, capitalize, castArray, classNameToArray, composeEventHandlers, createFormData, debugWarn, deepMerge, deepMergeInPlace, definePropType, easeInOutCubic, ensureArray, entriesOf, epPropKey, escapeStringRegexp, exportExcel, exportExcelAll, focusNode, gcj02ToBd09, generateId, getClientXY, getElement, getOffsetTop, getOffsetTopDistance, getProp, getRandomInt, getScrollBarWidth, getScrollContainer, getScrollElement, getScrollTop, getSibling, getStyle, hasClass, hasOwn, http, hyphenate, initHttp, isArray, isBoolean, isClient, isComponent, isDate, isElement, isEmpty, isEpProp, isFirefox, isFocusable, isFunction, isHTML, isIOS, isInContainer, isLeaf, isNumber, isObject, isPlainObject, isPromise, isPropAbsent, isScroll, isString, isStringNumber, isSymbol, isUndefined, isVisible, isWindow, kebabCase, keysOf, loadConfig, loadScript, md5, mutable, obtainAllFocusableElements, rAF, removeClass, removeStyle, renderTemplate, rwDecode, rwEncode, safeGet, safeSet, scrollIntoView, setStyle, stringToArray, throttleByRaf, throwError, toRawType, transDataToString, triggerEvent, unique, uniqueBy, uniqueByFn, useFormField, useHttp, validateObjectStructure, whenMouse, withInstall, withInstallDirective, withInstallFunction };
package/dist/packages.cjs CHANGED
@@ -1,6 +1,58 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_chunk = require("./chunk-CZWwpsFl.cjs");
3
+ const require_locale = require("./locale-BINXAbcX.cjs");
2
4
  const require_packages_config = require("./packages/config.cjs");
3
5
  const require_packages_controls = require("./packages/controls.cjs");
6
+ let element_plus = require("element-plus");
7
+ element_plus = require_chunk.__toESM(element_plus);
8
+ let pinia_plugin_persistedstate = require("pinia-plugin-persistedstate");
9
+ pinia_plugin_persistedstate = require_chunk.__toESM(pinia_plugin_persistedstate);
10
+ let pinia = require("pinia");
11
+ let vue_i18n = require("vue-i18n");
12
+ let vue = require("vue");
13
+ //#region src/packages/install/make-installer.ts
14
+ const makeInstaller = (components = []) => {
15
+ const install = (app, options) => {
16
+ components.forEach((c) => app.use(c));
17
+ };
18
+ return { install };
19
+ };
20
+ //#endregion
21
+ //#region src/packages/install/component.ts
22
+ const store = (0, pinia.createPinia)().use(pinia_plugin_persistedstate.default);
23
+ const initLangOptions = (0, vue.reactive)({
24
+ ClientLang: "cn",
25
+ fallbackLocale: "cn",
26
+ appLangs: [
27
+ "cn",
28
+ "en",
29
+ "tw"
30
+ ]
31
+ });
32
+ const messages = {
33
+ cn: require_locale.cn_default,
34
+ en: require_locale.en_default,
35
+ tw: require_locale.tw_default
36
+ };
37
+ const i18n = (0, vue_i18n.createI18n)({
38
+ locale: initLangOptions.ClientLang,
39
+ allowComposition: true,
40
+ messages,
41
+ globalInjection: true,
42
+ legacy: false,
43
+ fallbackLocale: initLangOptions.fallbackLocale,
44
+ missing: (locale, key) => {
45
+ return key;
46
+ }
47
+ });
48
+ //#endregion
49
+ //#region src/packages/index.ts
50
+ const install = makeInstaller([...[
51
+ element_plus.default,
52
+ store,
53
+ i18n
54
+ ]]).install;
55
+ //#endregion
4
56
  Object.defineProperty(exports, "config", {
5
57
  enumerable: true,
6
58
  get: function() {
@@ -13,3 +65,4 @@ Object.defineProperty(exports, "controls", {
13
65
  return require_packages_controls.controls_exports;
14
66
  }
15
67
  });
68
+ exports.install = install;
@@ -1,3 +1,8 @@
1
1
  import { t as index_d_exports } from "./packages/config.cjs";
2
2
  import { t as index_d_exports$1 } from "./controls.cjs";
3
- export { index_d_exports as config, index_d_exports$1 as controls };
3
+ import * as _$vue from "vue";
4
+
5
+ //#region src/packages/index.d.ts
6
+ declare const install: (app: _$vue.App, options?: any) => void;
7
+ //#endregion
8
+ export { index_d_exports as config, index_d_exports$1 as controls, install };
@@ -1,3 +1,8 @@
1
1
  import { t as index_d_exports } from "./packages/config.js";
2
2
  import { t as index_d_exports$1 } from "./controls.js";
3
- export { index_d_exports as config, index_d_exports$1 as controls };
3
+ import * as _$vue from "vue";
4
+
5
+ //#region src/packages/index.d.ts
6
+ declare const install: (app: _$vue.App, options?: any) => void;
7
+ //#endregion
8
+ export { index_d_exports as config, index_d_exports$1 as controls, install };
package/dist/packages.js CHANGED
@@ -1,3 +1,51 @@
1
+ import { d as tw_default, f as en_default, p as cn_default } from "./locale-B2BTyGMQ.js";
1
2
  import { t as config_exports } from "./packages/config.js";
2
3
  import { t as controls_exports } from "./packages/controls.js";
3
- export { config_exports as config, controls_exports as controls };
4
+ import ElementPlus from "element-plus";
5
+ import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
6
+ import { createPinia } from "pinia";
7
+ import { createI18n } from "vue-i18n";
8
+ import { reactive } from "vue";
9
+ //#region src/packages/install/make-installer.ts
10
+ const makeInstaller = (components = []) => {
11
+ const install = (app, options) => {
12
+ components.forEach((c) => app.use(c));
13
+ };
14
+ return { install };
15
+ };
16
+ //#endregion
17
+ //#region src/packages/install/component.ts
18
+ const store = createPinia().use(piniaPluginPersistedstate);
19
+ const initLangOptions = reactive({
20
+ ClientLang: "cn",
21
+ fallbackLocale: "cn",
22
+ appLangs: [
23
+ "cn",
24
+ "en",
25
+ "tw"
26
+ ]
27
+ });
28
+ const messages = {
29
+ cn: cn_default,
30
+ en: en_default,
31
+ tw: tw_default
32
+ };
33
+ //#endregion
34
+ //#region src/packages/index.ts
35
+ const install = makeInstaller([...[
36
+ ElementPlus,
37
+ store,
38
+ createI18n({
39
+ locale: initLangOptions.ClientLang,
40
+ allowComposition: true,
41
+ messages,
42
+ globalInjection: true,
43
+ legacy: false,
44
+ fallbackLocale: initLangOptions.fallbackLocale,
45
+ missing: (locale, key) => {
46
+ return key;
47
+ }
48
+ })
49
+ ]]).install;
50
+ //#endregion
51
+ export { config_exports as config, controls_exports as controls, install };
package/dist/stores.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_utils = require("./utils-egS_3P4w.cjs");
2
+ const require_utils = require("./utils-Cz7Kgi6l.cjs");
3
3
  const require_packages_stores = require("./packages/stores.cjs");
4
4
  exports.store = require_packages_stores.store;
5
5
  exports.useAppConfigStore = require_utils.useAppConfigStore;
package/dist/stores.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { l as labelPositionI } from "./index-BHq-BMCP.js";
2
- import { ComponentPublicInstance } from "vue";
3
- import * as _$_vueuse_core0 from "@vueuse/core";
4
2
  import * as _$pinia from "pinia";
5
3
  import { StateTree } from "pinia";
4
+ import { ComponentPublicInstance } from "vue";
5
+ import * as _$_vueuse_core0 from "@vueuse/core";
6
6
  export * from "pinia";
7
7
 
8
8
  //#region src/packages/stores/columnsSetting.d.ts
package/dist/stores.js CHANGED
@@ -1,4 +1,4 @@
1
- import { u as useAppConfigStore } from "./utils-DlBKdS0t.js";
1
+ import { u as useAppConfigStore } from "./utils-DhggJqBi.js";
2
2
  import { store, useColumnsSettingStore, useErrorStore, useLocalSettingStore } from "./packages/stores.js";
3
3
  export * from "pinia";
4
4
  export { store, useAppConfigStore, useColumnsSettingStore, useErrorStore, useLocalSettingStore };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_dom = require("../dom-DS4YqkjW.cjs");
2
+ const require_dom = require("../dom-IfZp2_eF.cjs");
3
3
  exports.addClass = require_dom.addClass;
4
4
  exports.addUnit = require_dom.addUnit;
5
5
  exports.animateScrollTo = require_dom.animateScrollTo;
package/dist/utils/dom.js CHANGED
@@ -1,2 +1,2 @@
1
- import { A as isInContainer, B as isFocusable, D as getClientXY, F as composeEventHandlers, H as isVisible, I as whenMouse, L as attemptFocus, O as getOffsetTop, R as focusNode, U as obtainAllFocusableElements, V as isLeaf, W as triggerEvent, a as getScrollElement, c as scrollIntoView, d as classNameToArray, f as getStyle, g as setStyle, h as removeStyle, i as getScrollContainer, k as getOffsetTopDistance, l as addClass, m as removeClass, n as animateScrollTo, o as getScrollTop, p as hasClass, r as getScrollBarWidth, s as isScroll, t as getElement, u as addUnit, z as getSibling } from "../dom-CllENWMY.js";
1
+ import { A as isInContainer, B as isFocusable, D as getClientXY, F as composeEventHandlers, H as isVisible, I as whenMouse, L as attemptFocus, O as getOffsetTop, R as focusNode, U as obtainAllFocusableElements, V as isLeaf, W as triggerEvent, a as getScrollElement, c as scrollIntoView, d as classNameToArray, f as getStyle, g as setStyle, h as removeStyle, i as getScrollContainer, k as getOffsetTopDistance, l as addClass, m as removeClass, n as animateScrollTo, o as getScrollTop, p as hasClass, r as getScrollBarWidth, s as isScroll, t as getElement, u as addUnit, z as getSibling } from "../dom-CSFTi2nK.js";
2
2
  export { addClass, addUnit, animateScrollTo, attemptFocus, classNameToArray, composeEventHandlers, focusNode, getClientXY, getElement, getOffsetTop, getOffsetTopDistance, getScrollBarWidth, getScrollContainer, getScrollElement, getScrollTop, getSibling, getStyle, hasClass, isFocusable, isInContainer, isLeaf, isScroll, isVisible, obtainAllFocusableElements, removeClass, removeStyle, scrollIntoView, setStyle, triggerEvent, whenMouse };
@@ -1,8 +1,10 @@
1
1
  const require_chunk = require("./chunk-CZWwpsFl.cjs");
2
- const require_dom = require("./dom-DS4YqkjW.cjs");
3
- require("./objects-o7u5s_lI.cjs");
2
+ const require_locale = require("./locale-BINXAbcX.cjs");
3
+ const require_dom = require("./dom-IfZp2_eF.cjs");
4
+ require("./objects-D0as7Kdv.cjs");
4
5
  require("./packages/utils/vue.cjs");
5
- const require_locale = require("./locale-WzzxOobw.cjs");
6
+ let element_plus = require("element-plus");
7
+ let pinia = require("pinia");
6
8
  let vue = require("vue");
7
9
  let _vue_shared = require("@vue/shared");
8
10
  require("lodash-unified");
@@ -10,8 +12,6 @@ let axios = require("axios");
10
12
  axios = require_chunk.__toESM(axios);
11
13
  let crypto_js = require("crypto-js");
12
14
  crypto_js = require_chunk.__toESM(crypto_js);
13
- let element_plus = require("element-plus");
14
- let pinia = require("pinia");
15
15
  let xlsx = require("xlsx");
16
16
  xlsx = require_chunk.__toESM(xlsx);
17
17
  let file_saver = require("file-saver");
@@ -1,14 +1,14 @@
1
- import { T as rAF, w as cAF } from "./dom-CllENWMY.js";
2
- import { f as isArray$1 } from "./objects-CLXPNOUW.js";
1
+ import { u as t } from "./locale-B2BTyGMQ.js";
2
+ import { T as rAF, w as cAF } from "./dom-CSFTi2nK.js";
3
+ import { f as isArray$1 } from "./objects-i75zlPrk.js";
3
4
  import "./packages/utils/vue.js";
4
- import { u as t } from "./locale-DhlAaV1Q.js";
5
+ import { ElMessageBox } from "element-plus";
6
+ import { defineStore } from "pinia";
5
7
  import { computed, inject, isReactive, reactive, ref } from "vue";
6
8
  import { NOOP, toRawType } from "@vue/shared";
7
9
  import { castArray as ensureArray } from "lodash-unified";
8
10
  import axios from "axios";
9
11
  import CryptoJS from "crypto-js";
10
- import { ElMessageBox } from "element-plus";
11
- import { defineStore } from "pinia";
12
12
  import * as XLSX from "xlsx";
13
13
  import { saveAs } from "file-saver";
14
14
  import dayjs from "dayjs";
package/dist/utils.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("./chunk-CZWwpsFl.cjs");
3
- const require_dom = require("./dom-DS4YqkjW.cjs");
4
- const require_objects = require("./objects-o7u5s_lI.cjs");
3
+ const require_dom = require("./dom-IfZp2_eF.cjs");
4
+ const require_objects = require("./objects-D0as7Kdv.cjs");
5
5
  const require_packages_utils_vue_props = require("./packages/utils/vue/props.cjs");
6
6
  const require_packages_utils_vue = require("./packages/utils/vue.cjs");
7
- const require_utils = require("./utils-egS_3P4w.cjs");
7
+ const require_utils = require("./utils-Cz7Kgi6l.cjs");
8
8
  let _vue_shared = require("@vue/shared");
9
9
  let lodash_unified = require("lodash-unified");
10
10
  let _vueuse_core = require("@vueuse/core");
package/dist/utils.js CHANGED
@@ -1,6 +1,6 @@
1
- import { A as isInContainer, B as isFocusable, C as kebabCase, D as getClientXY, E as easeInOutCubic, F as composeEventHandlers, H as isVisible, I as whenMouse, L as attemptFocus, M as isFirefox, N as isIOS, O as getOffsetTop, P as loadScript, R as focusNode, S as hyphenate, T as rAF, U as obtainAllFocusableElements, V as isLeaf, W as triggerEvent, _ as debugWarn, a as getScrollElement, b as capitalize, c as scrollIntoView, d as classNameToArray, f as getStyle, g as setStyle, h as removeStyle, i as getScrollContainer, j as isClient, k as getOffsetTopDistance, l as addClass, m as removeClass, n as animateScrollTo, o as getScrollTop, p as hasClass, r as getScrollBarWidth, s as isScroll, t as getElement, u as addUnit, v as throwError, w as cAF, x as escapeStringRegexp, y as camelize, z as getSibling } from "./dom-CllENWMY.js";
2
- import { A as renderTemplate, C as isPromise, D as isSymbol, E as isStringNumber, O as isUndefined, S as isPlainObject, T as isString, _ as isEmpty, a as getProp, b as isNumber, c as safeGet, d as validateObjectStructure, f as isArray, g as isElement, h as isDate, i as entriesOf, j as stringToArray, k as isWindow, l as safeSet, m as isComponent, n as deepMerge, o as hasOwn, p as isBoolean, r as deepMergeInPlace, s as keysOf, t as assignmentData, u as transDataToString, v as isFunction, w as isPropAbsent, x as isObject, y as isHTML } from "./objects-CLXPNOUW.js";
1
+ import { A as isInContainer, B as isFocusable, C as kebabCase, D as getClientXY, E as easeInOutCubic, F as composeEventHandlers, H as isVisible, I as whenMouse, L as attemptFocus, M as isFirefox, N as isIOS, O as getOffsetTop, P as loadScript, R as focusNode, S as hyphenate, T as rAF, U as obtainAllFocusableElements, V as isLeaf, W as triggerEvent, _ as debugWarn, a as getScrollElement, b as capitalize, c as scrollIntoView, d as classNameToArray, f as getStyle, g as setStyle, h as removeStyle, i as getScrollContainer, j as isClient, k as getOffsetTopDistance, l as addClass, m as removeClass, n as animateScrollTo, o as getScrollTop, p as hasClass, r as getScrollBarWidth, s as isScroll, t as getElement, u as addUnit, v as throwError, w as cAF, x as escapeStringRegexp, y as camelize, z as getSibling } from "./dom-CSFTi2nK.js";
2
+ import { A as renderTemplate, C as isPromise, D as isSymbol, E as isStringNumber, O as isUndefined, S as isPlainObject, T as isString, _ as isEmpty, a as getProp, b as isNumber, c as safeGet, d as validateObjectStructure, f as isArray, g as isElement, h as isDate, i as entriesOf, j as stringToArray, k as isWindow, l as safeSet, m as isComponent, n as deepMerge, o as hasOwn, p as isBoolean, r as deepMergeInPlace, s as keysOf, t as assignmentData, u as transDataToString, v as isFunction, w as isPropAbsent, x as isObject, y as isHTML } from "./objects-i75zlPrk.js";
3
3
  import { buildProp, buildProps, definePropType, epPropKey, isEpProp } from "./packages/utils/vue/props.js";
4
4
  import { withInstall, withInstallDirective, withInstallFunction } from "./packages/utils/vue.js";
5
- import { C as toRawType, D as uniqueBy, E as unique, O as uniqueByFn, S as NOOP, T as ensureArray, _ as useHttp, a as bd09ToGcj02, b as generateId, c as exportExcelAll, d as md5, f as rwDecode, g as initHttp, h as http, i as useFormField, l as loadConfig, m as Http, n as PathUtils, o as gcj02ToBd09, p as rwEncode, r as createFormData, s as exportExcel, t as FormDataKey, v as throttleByRaf, w as castArray, x as getRandomInt, y as mutable } from "./utils-DlBKdS0t.js";
5
+ import { C as toRawType, D as uniqueBy, E as unique, O as uniqueByFn, S as NOOP, T as ensureArray, _ as useHttp, a as bd09ToGcj02, b as generateId, c as exportExcelAll, d as md5, f as rwDecode, g as initHttp, h as http, i as useFormField, l as loadConfig, m as Http, n as PathUtils, o as gcj02ToBd09, p as rwEncode, r as createFormData, s as exportExcel, t as FormDataKey, v as throttleByRaf, w as castArray, x as getRandomInt, y as mutable } from "./utils-DhggJqBi.js";
6
6
  export { FormDataKey, Http, NOOP, PathUtils, addClass, addUnit, animateScrollTo, assignmentData, attemptFocus, bd09ToGcj02, buildProp, buildProps, cAF, camelize, capitalize, castArray, classNameToArray, composeEventHandlers, createFormData, debugWarn, deepMerge, deepMergeInPlace, definePropType, easeInOutCubic, ensureArray, entriesOf, epPropKey, escapeStringRegexp, exportExcel, exportExcelAll, focusNode, gcj02ToBd09, generateId, getClientXY, getElement, getOffsetTop, getOffsetTopDistance, getProp, getRandomInt, getScrollBarWidth, getScrollContainer, getScrollElement, getScrollTop, getSibling, getStyle, hasClass, hasOwn, http, hyphenate, initHttp, isArray, isBoolean, isClient, isComponent, isDate, isElement, isEmpty, isEpProp, isFirefox, isFocusable, isFunction, isHTML, isIOS, isInContainer, isLeaf, isNumber, isObject, isPlainObject, isPromise, isPropAbsent, isScroll, isString, isStringNumber, isSymbol, isUndefined, isVisible, isWindow, kebabCase, keysOf, loadConfig, loadScript, md5, mutable, obtainAllFocusableElements, rAF, removeClass, removeStyle, renderTemplate, rwDecode, rwEncode, safeGet, safeSet, scrollIntoView, setStyle, stringToArray, throttleByRaf, throwError, toRawType, transDataToString, triggerEvent, unique, uniqueBy, uniqueByFn, useFormField, useHttp, validateObjectStructure, whenMouse, withInstall, withInstallDirective, withInstallFunction };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "duck-vue-components",
3
3
  "type": "module",
4
- "version": "0.0.0",
4
+ "version": "0.0.1",
5
5
  "description": "A starter for creating a Vue component library.",
6
6
  "author": "Author Name <author.name@mail.com>",
7
7
  "license": "MIT",
@@ -177,7 +177,6 @@
177
177
  "lodash-unified": "^1.0.3",
178
178
  "pinia": "^3.0.4",
179
179
  "pinia-plugin-persistedstate": "^4.7.1",
180
- "rw-element-admin": "^1.0.0",
181
180
  "vue-i18n": "^11.3.2",
182
181
  "xlsx": "^0.18.5"
183
182
  }