duck-vue-components 0.3.15 → 0.3.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.
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./chunk-pbuEa-1d.js";
2
- import { Et as isHTML, Lt as renderTemplate, P as withInstall, a as bd09ToGcj02, f as http, n as PathUtils, o as gcj02ToBd09, qt as loadScript, r as createFormData, s as exportExcel, t as FormDataKey, tt as assignmentData, u as useAppConfigStore, ut as transDataToString, xt as isComponent } from "./utils-DdyGbs-d.js";
3
- import { a as localeOptions, i as locale, t as i18n, u as t$3 } from "./locale-BscyDzS3.js";
2
+ import { Et as isHTML, Lt as renderTemplate, P as withInstall, a as bd09ToGcj02, f as http, n as PathUtils, o as gcj02ToBd09, qt as loadScript, r as createFormData, s as exportExcel, t as FormDataKey, tt as assignmentData, u as useAppConfigStore, ut as transDataToString, xt as isComponent } from "./utils-Cuzi7uA_.js";
3
+ import { a as locale, f as t$3, n as i18n, o as localeOptions } from "./locale-DGVQZeZr.js";
4
4
  import { useColumnsSettingStore, useLocalSettingStore } from "./stores.js";
5
5
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-Ccxcu2kh.js";
6
6
  import { useFormValue } from "./hooks.js";
@@ -1,5 +1,5 @@
1
- const require_locale = require("./locale-BTmar3YP.cjs");
2
- const require_utils = require("./utils-CoTJrNqM.cjs");
1
+ const require_locale = require("./locale-Uy-xh7gd.cjs");
2
+ const require_utils = require("./utils-BNRG0okT.cjs");
3
3
  const require_stores = require("./stores.cjs");
4
4
  const require__plugin_vue_export_helper = require("./_plugin-vue_export-helper-BeRLrMO0.cjs");
5
5
  const require_hooks = require("./hooks.cjs");
package/dist/controls.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_controls = require("./controls-DQZoiNOf.cjs");
2
+ const require_controls = require("./controls-DEk02YrZ.cjs");
3
3
  Object.defineProperty(exports, "RwAffix", {
4
4
  enumerable: true,
5
5
  get: function() {
@@ -1,2 +1,2 @@
1
- import { A as radio_d_exports, B as button_d_exports, C as tree_d_exports, D as switch_d_exports, E as slider_d_exports, F as divider_d_exports, G as affix_d_exports, H as avatar_d_exports, I as dialog_d_exports, L as buttonGroup_d_exports, M as inputTag_d_exports, N as select_d_exports, O as mergeSelect_d_exports, P as input_d_exports, R as dropdown_d_exports, S as text_d_exports, T as map_d_exports, U as collapse_d_exports, V as autocomplete_d_exports, W as alert_d_exports, _ as segmented_d_exports, a as progress_d_exports, b as tag_d_exports, c as pageForm_d_exports, d as tableStruct_d_exports, f as pageBase_d_exports, g as RwFormItems, h as tabPane_d_exports, i as pagination_d_exports, j as inputNumber_d_exports, k as mergeInput_d_exports, m as tabs_d_exports, n as smallComp_d_exports, o as mTreeSTable_d_exports, p as RwForm, r as search_d_exports, s as pageTable_d_exports, u as pageStruct_d_exports, v as table_d_exports, w as upload_d_exports, x as image_d_exports, y as tagComp_d_exports, z as popconfirm_d_exports } from "./index-BZnHysMc.cjs";
1
+ import { A as radio_d_exports, B as button_d_exports, C as tree_d_exports, D as switch_d_exports, E as slider_d_exports, F as divider_d_exports, G as affix_d_exports, H as avatar_d_exports, I as dialog_d_exports, L as buttonGroup_d_exports, M as inputTag_d_exports, N as select_d_exports, O as mergeSelect_d_exports, P as input_d_exports, R as dropdown_d_exports, S as text_d_exports, T as map_d_exports, U as collapse_d_exports, V as autocomplete_d_exports, W as alert_d_exports, _ as segmented_d_exports, a as progress_d_exports, b as tag_d_exports, c as pageForm_d_exports, d as tableStruct_d_exports, f as pageBase_d_exports, g as RwFormItems, h as tabPane_d_exports, i as pagination_d_exports, j as inputNumber_d_exports, k as mergeInput_d_exports, m as tabs_d_exports, n as smallComp_d_exports, o as mTreeSTable_d_exports, p as RwForm, r as search_d_exports, s as pageTable_d_exports, u as pageStruct_d_exports, v as table_d_exports, w as upload_d_exports, x as image_d_exports, y as tagComp_d_exports, z as popconfirm_d_exports } from "./index-BuBhOT1C.cjs";
2
2
  export { affix_d_exports as RwAffix, alert_d_exports as RwAlert, autocomplete_d_exports as RwAutocomplete, avatar_d_exports as RwAvatar, button_d_exports as RwButton, buttonGroup_d_exports as RwButtonGroup, collapse_d_exports as RwCollapse, dialog_d_exports as RwDialog, divider_d_exports as RwDivider, dropdown_d_exports as RwDropdown, RwForm, RwFormItems, image_d_exports as RwImage, input_d_exports as RwInput, inputNumber_d_exports as RwInputNumber, inputTag_d_exports as RwInputTag, mTreeSTable_d_exports as RwMTreeSTable, map_d_exports as RwMap, mergeInput_d_exports as RwMergeInput, mergeSelect_d_exports as RwMergeSelect, pageBase_d_exports as RwPageBase, pageForm_d_exports as RwPageForm, pageTable_d_exports as RwPageTable, pagination_d_exports as RwPagination, popconfirm_d_exports as RwPopconfirm, progress_d_exports as RwProgress, radio_d_exports as RwRadio, search_d_exports as RwSearch, segmented_d_exports as RwSegmented, select_d_exports as RwSelect, slider_d_exports as RwSlider, switch_d_exports as RwSwitch, tabPane_d_exports as RwTabPane, table_d_exports as RwTable, tabs_d_exports as RwTabs, tag_d_exports as RwTag, tagComp_d_exports as RwTagComp, text_d_exports as RwText, tree_d_exports as RwTree, upload_d_exports as RwUpload, pageStruct_d_exports as pageStruct, smallComp_d_exports as smallComp, tableStruct_d_exports as tableStruct };
@@ -1,2 +1,2 @@
1
- import { A as radio_d_exports, B as button_d_exports, C as tree_d_exports, D as switch_d_exports, E as slider_d_exports, F as divider_d_exports, G as affix_d_exports, H as avatar_d_exports, I as dialog_d_exports, L as buttonGroup_d_exports, M as inputTag_d_exports, N as select_d_exports, O as mergeSelect_d_exports, P as input_d_exports, R as dropdown_d_exports, S as text_d_exports, T as map_d_exports, U as collapse_d_exports, V as autocomplete_d_exports, W as alert_d_exports, _ as segmented_d_exports, a as progress_d_exports, b as tag_d_exports, c as pageForm_d_exports, d as tableStruct_d_exports, f as pageBase_d_exports, g as RwFormItems, h as tabPane_d_exports, i as pagination_d_exports, j as inputNumber_d_exports, k as mergeInput_d_exports, m as tabs_d_exports, n as smallComp_d_exports, o as mTreeSTable_d_exports, p as RwForm, r as search_d_exports, s as pageTable_d_exports, u as pageStruct_d_exports, v as table_d_exports, w as upload_d_exports, x as image_d_exports, y as tagComp_d_exports, z as popconfirm_d_exports } from "./index-Du6VPIRM.js";
1
+ import { A as radio_d_exports, B as button_d_exports, C as tree_d_exports, D as switch_d_exports, E as slider_d_exports, F as divider_d_exports, G as affix_d_exports, H as avatar_d_exports, I as dialog_d_exports, L as buttonGroup_d_exports, M as inputTag_d_exports, N as select_d_exports, O as mergeSelect_d_exports, P as input_d_exports, R as dropdown_d_exports, S as text_d_exports, T as map_d_exports, U as collapse_d_exports, V as autocomplete_d_exports, W as alert_d_exports, _ as segmented_d_exports, a as progress_d_exports, b as tag_d_exports, c as pageForm_d_exports, d as tableStruct_d_exports, f as pageBase_d_exports, g as RwFormItems, h as tabPane_d_exports, i as pagination_d_exports, j as inputNumber_d_exports, k as mergeInput_d_exports, m as tabs_d_exports, n as smallComp_d_exports, o as mTreeSTable_d_exports, p as RwForm, r as search_d_exports, s as pageTable_d_exports, u as pageStruct_d_exports, v as table_d_exports, w as upload_d_exports, x as image_d_exports, y as tagComp_d_exports, z as popconfirm_d_exports } from "./index-BDkOsk2R.js";
2
2
  export { affix_d_exports as RwAffix, alert_d_exports as RwAlert, autocomplete_d_exports as RwAutocomplete, avatar_d_exports as RwAvatar, button_d_exports as RwButton, buttonGroup_d_exports as RwButtonGroup, collapse_d_exports as RwCollapse, dialog_d_exports as RwDialog, divider_d_exports as RwDivider, dropdown_d_exports as RwDropdown, RwForm, RwFormItems, image_d_exports as RwImage, input_d_exports as RwInput, inputNumber_d_exports as RwInputNumber, inputTag_d_exports as RwInputTag, mTreeSTable_d_exports as RwMTreeSTable, map_d_exports as RwMap, mergeInput_d_exports as RwMergeInput, mergeSelect_d_exports as RwMergeSelect, pageBase_d_exports as RwPageBase, pageForm_d_exports as RwPageForm, pageTable_d_exports as RwPageTable, pagination_d_exports as RwPagination, popconfirm_d_exports as RwPopconfirm, progress_d_exports as RwProgress, radio_d_exports as RwRadio, search_d_exports as RwSearch, segmented_d_exports as RwSegmented, select_d_exports as RwSelect, slider_d_exports as RwSlider, switch_d_exports as RwSwitch, tabPane_d_exports as RwTabPane, table_d_exports as RwTable, tabs_d_exports as RwTabs, tag_d_exports as RwTag, tagComp_d_exports as RwTagComp, text_d_exports as RwText, tree_d_exports as RwTree, upload_d_exports as RwUpload, pageStruct_d_exports as pageStruct, smallComp_d_exports as smallComp, tableStruct_d_exports as tableStruct };
package/dist/controls.js CHANGED
@@ -1,2 +1,2 @@
1
- import { A as switch_exports, B as dropdown_exports, C as tree_exports, D as slider_exports, E as map_exports, F as select_exports, G as collapse_exports, H as button_exports, I as input_exports, K as alert_exports, L as divider_exports, M as radio_exports, N as inputNumber_exports, O as mergeSelect_exports, P as inputTag_exports, R as dialog_exports, S as text_exports, T as pagination_exports, U as autocomplete_exports, V as popconfirm_exports, W as avatar_exports, _ as RwFormItems, a as mTreeSTable_exports, b as tagComp_exports, c as pageForm_exports, d as tableStruct_exports, f as pageBase_exports, g as tabPane_exports, h as tabs_exports, i as progress_exports, j as mergeInput_exports, k as image_exports, n as smallComp_exports, o as pageTable_exports, p as RwForm, q as affix_exports, r as search_exports, u as pageStruct_exports, v as segmented_exports, w as upload_exports, x as tag_exports, y as table_exports, z as buttonGroup_exports } from "./controls-xcEnXfzw.js";
1
+ import { A as switch_exports, B as dropdown_exports, C as tree_exports, D as slider_exports, E as map_exports, F as select_exports, G as collapse_exports, H as button_exports, I as input_exports, K as alert_exports, L as divider_exports, M as radio_exports, N as inputNumber_exports, O as mergeSelect_exports, P as inputTag_exports, R as dialog_exports, S as text_exports, T as pagination_exports, U as autocomplete_exports, V as popconfirm_exports, W as avatar_exports, _ as RwFormItems, a as mTreeSTable_exports, b as tagComp_exports, c as pageForm_exports, d as tableStruct_exports, f as pageBase_exports, g as tabPane_exports, h as tabs_exports, i as progress_exports, j as mergeInput_exports, k as image_exports, n as smallComp_exports, o as pageTable_exports, p as RwForm, q as affix_exports, r as search_exports, u as pageStruct_exports, v as segmented_exports, w as upload_exports, x as tag_exports, y as table_exports, z as buttonGroup_exports } from "./controls-B7oFKnTz.js";
2
2
  export { affix_exports as RwAffix, alert_exports as RwAlert, autocomplete_exports as RwAutocomplete, avatar_exports as RwAvatar, button_exports as RwButton, buttonGroup_exports as RwButtonGroup, collapse_exports as RwCollapse, dialog_exports as RwDialog, divider_exports as RwDivider, dropdown_exports as RwDropdown, RwForm, RwFormItems, image_exports as RwImage, input_exports as RwInput, inputNumber_exports as RwInputNumber, inputTag_exports as RwInputTag, mTreeSTable_exports as RwMTreeSTable, map_exports as RwMap, mergeInput_exports as RwMergeInput, mergeSelect_exports as RwMergeSelect, pageBase_exports as RwPageBase, pageForm_exports as RwPageForm, pageTable_exports as RwPageTable, pagination_exports as RwPagination, popconfirm_exports as RwPopconfirm, progress_exports as RwProgress, radio_exports as RwRadio, search_exports as RwSearch, segmented_exports as RwSegmented, select_exports as RwSelect, slider_exports as RwSlider, switch_exports as RwSwitch, tabPane_exports as RwTabPane, table_exports as RwTable, tabs_exports as RwTabs, tag_exports as RwTag, tagComp_exports as RwTagComp, text_exports as RwText, tree_exports as RwTree, upload_exports as RwUpload, pageStruct_exports as pageStruct, smallComp_exports as smallComp, tableStruct_exports as tableStruct };
package/dist/hooks.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("./locale-BTmar3YP.cjs");
3
- const require_utils = require("./utils-CoTJrNqM.cjs");
2
+ require("./locale-Uy-xh7gd.cjs");
3
+ const require_utils = require("./utils-BNRG0okT.cjs");
4
4
  let vue = require("vue");
5
5
  //#region src/packages/hooks/use-namespace/index.ts
6
6
  const defaultNamespace = "el";
package/dist/hooks.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as FormDataKey } from "./utils-DdyGbs-d.js";
1
+ import { t as FormDataKey } from "./utils-Cuzi7uA_.js";
2
2
  import { computed, getCurrentInstance, inject, onUnmounted, ref, unref } from "vue";
3
3
  //#region src/packages/hooks/use-namespace/index.ts
4
4
  const defaultNamespace = "el";
@@ -534,7 +534,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$23, {
534
534
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
535
535
  onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
536
536
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
537
- }>, "input" | "type" | "clear" | "autocomplete" | "modelValue" | "ref" | "disabled" | "clearIcon" | "validateEvent" | "tabindex" | "modelModifiers" | "autosize" | "wordLimitPosition" | "inputStyle" | "rows" | "focus" | "blur" | "select" | "textarea" | "textareaStyle" | "isComposing" | "resizeTextarea"> & {
537
+ }>, "input" | "type" | "clear" | "modelValue" | "disabled" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textarea" | "ref" | "textareaStyle" | "isComposing" | "focus" | "blur" | "select" | "resizeTextarea"> & {
538
538
  input: HTMLInputElement | undefined;
539
539
  textarea: HTMLTextAreaElement | undefined;
540
540
  ref: HTMLInputElement | HTMLTextAreaElement | undefined;
@@ -716,7 +716,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$23, {
716
716
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
717
717
  onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
718
718
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
719
- }>, "input" | "type" | "clear" | "autocomplete" | "modelValue" | "ref" | "disabled" | "clearIcon" | "validateEvent" | "tabindex" | "modelModifiers" | "autosize" | "wordLimitPosition" | "inputStyle" | "rows" | "focus" | "blur" | "select" | "textarea" | "textareaStyle" | "isComposing" | "resizeTextarea"> & {
719
+ }>, "input" | "type" | "clear" | "modelValue" | "disabled" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textarea" | "ref" | "textareaStyle" | "isComposing" | "focus" | "blur" | "select" | "resizeTextarea"> & {
720
720
  input: HTMLInputElement | undefined;
721
721
  textarea: HTMLTextAreaElement | undefined;
722
722
  ref: HTMLInputElement | HTMLTextAreaElement | undefined;
@@ -536,7 +536,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$23, {
536
536
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
537
537
  onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
538
538
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
539
- }>, "input" | "type" | "clear" | "autocomplete" | "modelValue" | "ref" | "disabled" | "clearIcon" | "validateEvent" | "tabindex" | "modelModifiers" | "autosize" | "wordLimitPosition" | "inputStyle" | "rows" | "focus" | "blur" | "select" | "textarea" | "textareaStyle" | "isComposing" | "resizeTextarea"> & {
539
+ }>, "input" | "type" | "clear" | "modelValue" | "disabled" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textarea" | "ref" | "textareaStyle" | "isComposing" | "focus" | "blur" | "select" | "resizeTextarea"> & {
540
540
  input: HTMLInputElement | undefined;
541
541
  textarea: HTMLTextAreaElement | undefined;
542
542
  ref: HTMLInputElement | HTMLTextAreaElement | undefined;
@@ -718,7 +718,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$23, {
718
718
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
719
719
  onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
720
720
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
721
- }>, "input" | "type" | "clear" | "autocomplete" | "modelValue" | "ref" | "disabled" | "clearIcon" | "validateEvent" | "tabindex" | "modelModifiers" | "autosize" | "wordLimitPosition" | "inputStyle" | "rows" | "focus" | "blur" | "select" | "textarea" | "textareaStyle" | "isComposing" | "resizeTextarea"> & {
721
+ }>, "input" | "type" | "clear" | "modelValue" | "disabled" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textarea" | "ref" | "textareaStyle" | "isComposing" | "focus" | "blur" | "select" | "resizeTextarea"> & {
722
722
  input: HTMLInputElement | undefined;
723
723
  textarea: HTMLTextAreaElement | undefined;
724
724
  ref: HTMLInputElement | HTMLTextAreaElement | undefined;
package/dist/index.cjs CHANGED
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_locale = require("./locale-BTmar3YP.cjs");
6
- const require_controls = require("./controls-DQZoiNOf.cjs");
5
+ const require_locale = require("./locale-Uy-xh7gd.cjs");
6
+ const require_controls = require("./controls-DEk02YrZ.cjs");
7
7
  require("element-plus/dist/index.css");
8
8
  require("element-plus/theme-chalk/dark/css-vars.css");
9
9
  let element_plus = require("element-plus");
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as index_d_exports } from "./index-BZnHysMc.cjs";
1
+ import { t as index_d_exports } from "./index-BuBhOT1C.cjs";
2
2
  import { t as FrameworkOptions } from "./index-C44rzTLG.cjs";
3
3
  import * as _$vue from "vue";
4
4
  export * from "element-plus";
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as FrameworkOptions } from "./index-Di4VXcF7.js";
2
- import { t as index_d_exports } from "./index-Du6VPIRM.js";
2
+ import { t as index_d_exports } from "./index-BDkOsk2R.js";
3
3
  import * as _$vue from "vue";
4
4
  export * from "element-plus";
5
5
  export * from "pinia";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { d as tw_default, f as en_default, p as cn_default } from "./locale-BscyDzS3.js";
2
- import { t as controls_exports } from "./controls-xcEnXfzw.js";
1
+ import { h as cn_default, m as en_default, p as tw_default } from "./locale-DGVQZeZr.js";
2
+ import { t as controls_exports } from "./controls-B7oFKnTz.js";
3
3
  import "element-plus/dist/index.css";
4
4
  import "element-plus/theme-chalk/dark/css-vars.css";
5
5
  import ElementPlus from "element-plus";
package/dist/layout.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("./locale-BTmar3YP.cjs");
2
+ require("./locale-Uy-xh7gd.cjs");
3
3
  const require__plugin_vue_export_helper = require("./_plugin-vue_export-helper-BeRLrMO0.cjs");
4
4
  let vue = require("vue");
5
5
  //#region src/packages/layout/tlr/index.vue
@@ -593,5 +593,11 @@ const { locale } = i18n.global;
593
593
  const t = (key, values) => {
594
594
  return i18n.global.t(key, values);
595
595
  };
596
+ const n = (key, values) => {
597
+ return i18n.global.n(key, values);
598
+ };
599
+ const d = (key, values) => {
600
+ return i18n.global.d(key, values);
601
+ };
596
602
  //#endregion
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 };
603
+ export { locale as a, mergeLocaleMessages as c, setLanguage as d, t as f, cn_default as h, initi18n as i, messages as l, en_default as m, i18n as n, localeOptions as o, tw_default as p, initLangOptions as r, mergeLocaleMessage as s, d as t, n as u };
@@ -625,6 +625,12 @@ const { locale } = i18n.global;
625
625
  const t = (key, values) => {
626
626
  return i18n.global.t(key, values);
627
627
  };
628
+ const n = (key, values) => {
629
+ return i18n.global.n(key, values);
630
+ };
631
+ const d = (key, values) => {
632
+ return i18n.global.d(key, values);
633
+ };
628
634
  //#endregion
629
635
  Object.defineProperty(exports, "__exportAll", {
630
636
  enumerable: true,
@@ -644,6 +650,12 @@ Object.defineProperty(exports, "cn_default", {
644
650
  return cn_default;
645
651
  }
646
652
  });
653
+ Object.defineProperty(exports, "d", {
654
+ enumerable: true,
655
+ get: function() {
656
+ return d;
657
+ }
658
+ });
647
659
  Object.defineProperty(exports, "en_default", {
648
660
  enumerable: true,
649
661
  get: function() {
@@ -698,6 +710,12 @@ Object.defineProperty(exports, "messages", {
698
710
  return messages;
699
711
  }
700
712
  });
713
+ Object.defineProperty(exports, "n", {
714
+ enumerable: true,
715
+ get: function() {
716
+ return n;
717
+ }
718
+ });
701
719
  Object.defineProperty(exports, "setLanguage", {
702
720
  enumerable: true,
703
721
  get: function() {
package/dist/locale.cjs CHANGED
@@ -1,5 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_locale = require("./locale-BTmar3YP.cjs");
2
+ const require_locale = require("./locale-Uy-xh7gd.cjs");
3
+ exports.d = require_locale.d;
3
4
  exports.i18n = require_locale.i18n;
4
5
  exports.initLangOptions = require_locale.initLangOptions;
5
6
  exports.initi18n = require_locale.initi18n;
@@ -8,5 +9,6 @@ exports.localeOptions = require_locale.localeOptions;
8
9
  exports.mergeLocaleMessage = require_locale.mergeLocaleMessage;
9
10
  exports.mergeLocaleMessages = require_locale.mergeLocaleMessages;
10
11
  exports.messages = require_locale.messages;
12
+ exports.n = require_locale.n;
11
13
  exports.setLanguage = require_locale.setLanguage;
12
14
  exports.t = require_locale.t;
package/dist/locale.d.cts CHANGED
@@ -35,5 +35,7 @@ declare function mergeLocaleMessages(moduleName: string, langs: any): void;
35
35
  declare function mergeLocaleMessage(moduleName: string | undefined, langs: langsI, targetI18n?: I18n): void;
36
36
  declare const locale: _$vue.WritableComputedRef<string, string>;
37
37
  declare const t: (key: string, values?: any) => string;
38
+ declare const n: (key: number, values?: any) => string;
39
+ declare const d: (key: string, values?: any) => string;
38
40
  //#endregion
39
- export { i18n, initLangOptions, initLangOptionsI, initi18n, langInfoI, langsI, locale, localeOptions, mergeLocaleMessage, mergeLocaleMessages, messages, setLanguage, t };
41
+ export { d, i18n, initLangOptions, initLangOptionsI, initi18n, langInfoI, langsI, locale, localeOptions, mergeLocaleMessage, mergeLocaleMessages, messages, n, setLanguage, t };
package/dist/locale.d.ts CHANGED
@@ -35,5 +35,7 @@ declare function mergeLocaleMessages(moduleName: string, langs: any): void;
35
35
  declare function mergeLocaleMessage(moduleName: string | undefined, langs: langsI, targetI18n?: I18n): void;
36
36
  declare const locale: _$vue.WritableComputedRef<string, string>;
37
37
  declare const t: (key: string, values?: any) => string;
38
+ declare const n: (key: number, values?: any) => string;
39
+ declare const d: (key: string, values?: any) => string;
38
40
  //#endregion
39
- export { i18n, initLangOptions, initLangOptionsI, initi18n, langInfoI, langsI, locale, localeOptions, mergeLocaleMessage, mergeLocaleMessages, messages, setLanguage, t };
41
+ export { d, i18n, initLangOptions, initLangOptionsI, initi18n, langInfoI, langsI, locale, localeOptions, mergeLocaleMessage, mergeLocaleMessages, messages, n, setLanguage, t };
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-BscyDzS3.js";
2
- export { i18n, initLangOptions, initi18n, locale, localeOptions, mergeLocaleMessage, mergeLocaleMessages, messages, setLanguage, t };
1
+ import { a as locale, c as mergeLocaleMessages, d as setLanguage, f as t, i as initi18n, l as messages, n as i18n, o as localeOptions, r as initLangOptions, s as mergeLocaleMessage, t as d, u as n } from "./locale-DGVQZeZr.js";
2
+ export { d, i18n, initLangOptions, initi18n, locale, localeOptions, mergeLocaleMessage, mergeLocaleMessages, messages, n, setLanguage, t };
package/dist/pages.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_locale = require("./locale-BTmar3YP.cjs");
3
- const require_utils = require("./utils-CoTJrNqM.cjs");
4
- const require_controls = require("./controls-DQZoiNOf.cjs");
2
+ const require_locale = require("./locale-Uy-xh7gd.cjs");
3
+ const require_utils = require("./utils-BNRG0okT.cjs");
4
+ const require_controls = require("./controls-DEk02YrZ.cjs");
5
5
  const require_stores = require("./stores.cjs");
6
6
  const require__plugin_vue_export_helper = require("./_plugin-vue_export-helper-BeRLrMO0.cjs");
7
7
  const require_hooks = require("./hooks.cjs");
package/dist/pages.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { K as __exportAll, l as OptionT$2 } from "./index-BZnHysMc.cjs";
1
+ import { K as __exportAll, l as OptionT$2 } from "./index-BuBhOT1C.cjs";
2
2
  import { nn as SFCWithInstall } from "./index-EQ65J7je.cjs";
3
3
  import * as _$vue from "vue";
4
4
 
package/dist/pages.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { nn as SFCWithInstall } from "./index-CaT_2j-S.js";
2
- import { l as OptionT$2 } from "./index-Du6VPIRM.js";
2
+ import { l as OptionT$2 } from "./index-BDkOsk2R.js";
3
3
  import * as _$vue from "vue";
4
4
 
5
5
  //#region src/packages/pages/localSetting/localSetting.vue.d.ts
package/dist/pages.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./chunk-pbuEa-1d.js";
2
- import { P as withInstall, u as useAppConfigStore } from "./utils-DdyGbs-d.js";
3
- import { a as localeOptions, l as setLanguage, o as mergeLocaleMessage, u as t } from "./locale-BscyDzS3.js";
4
- import { _ as RwFormItems, c as pageForm_exports, l as init$2, m as init$1, s as init } from "./controls-xcEnXfzw.js";
2
+ import { P as withInstall, u as useAppConfigStore } from "./utils-Cuzi7uA_.js";
3
+ import { d as setLanguage, f as t, o as localeOptions, s as mergeLocaleMessage } from "./locale-DGVQZeZr.js";
4
+ import { _ as RwFormItems, c as pageForm_exports, l as init$2, m as init$1, s as init } from "./controls-B7oFKnTz.js";
5
5
  import { useLocalSettingStore } from "./stores.js";
6
6
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-Ccxcu2kh.js";
7
7
  import { useMouse } from "./hooks.js";
package/dist/stores.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_locale = require("./locale-BTmar3YP.cjs");
3
- const require_utils = require("./utils-CoTJrNqM.cjs");
2
+ const require_locale = require("./locale-Uy-xh7gd.cjs");
3
+ const require_utils = require("./utils-BNRG0okT.cjs");
4
4
  let element_plus = require("element-plus");
5
5
  let pinia = require("pinia");
6
6
  let _vueuse_core = require("@vueuse/core");
package/dist/stores.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as rwEncode, f as http, g as rwDecode, u as useAppConfigStore } from "./utils-DdyGbs-d.js";
1
+ import { _ as rwEncode, f as http, g as rwDecode, u as useAppConfigStore } from "./utils-Cuzi7uA_.js";
2
2
  import { ElMessage } from "element-plus";
3
3
  import { createPinia, defineStore } from "pinia";
4
4
  import { useDark, useToggle } from "@vueuse/core";
@@ -1,4 +1,4 @@
1
- const require_locale = require("./locale-BTmar3YP.cjs");
1
+ const require_locale = require("./locale-Uy-xh7gd.cjs");
2
2
  let element_plus = require("element-plus");
3
3
  let pinia = require("pinia");
4
4
  let _vueuse_core = require("@vueuse/core");
@@ -1,4 +1,4 @@
1
- import { u as t } from "./locale-BscyDzS3.js";
1
+ import { f as t } from "./locale-DGVQZeZr.js";
2
2
  import { ElMessageBox } from "element-plus";
3
3
  import { defineStore } from "pinia";
4
4
  import { isClient, isIOS } from "@vueuse/core";
package/dist/utils.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("./locale-BTmar3YP.cjs");
3
- const require_utils = require("./utils-CoTJrNqM.cjs");
2
+ require("./locale-Uy-xh7gd.cjs");
3
+ const require_utils = require("./utils-BNRG0okT.cjs");
4
4
  let _vue_shared = require("@vue/shared");
5
5
  let lodash_unified = require("lodash-unified");
6
6
  let _vueuse_core = require("@vueuse/core");
package/dist/utils.js CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as debugWarn, $t as isFocusable, A as buildProps, At as isPromise, B as getScrollContainer, Bt as getClientXY, C as toRawType, Ct as isElement, D as uniqueBy, Dt as isNumber, E as unique, Et as isHTML, F as withInstallDirective, Ft as isUndefined, G as addClass, Gt as isFirefox, H as getScrollTop, Ht as getOffsetTopDistance, I as withInstallFunction, It as isWindow, J as getStyle, Jt as composeEventHandlers, K as addUnit, Kt as isIOS, L as getElement, Lt as renderTemplate, M as epPropKey, Mt as isString, N as isEpProp, Nt as isStringNumber, O as uniqueByFn, Ot as isObject, P as withInstall, Pt as isSymbol, Q as setStyle, Qt as getSibling, R as animateScrollTo, Rt as stringToArray, S as NOOP, St as isDate, T as ensureArray, Tt as isFunction, U as isScroll, Ut as isInContainer, V as getScrollElement, Vt as getOffsetTop, W as scrollIntoView, Wt as isClient, X as removeClass, Xt as attemptFocus, Y as hasClass, Yt as whenMouse, Z as removeStyle, Zt as focusNode, _ as rwEncode, _t as cAF, a as bd09ToGcj02, at as getProp, b as generateId, bt as isBoolean, c as exportExcelAll, ct as safeGet, d as Http, dt as validateObjectStructure, en as isLeaf, et as throwError, f as http, ft as camelize, g as rwDecode, gt as kebabCase, h as md5, ht as hyphenate, i as useFormField, it as entriesOf, j as definePropType, jt as isPropAbsent, k as buildProp, kt as isPlainObject, l as loadConfig, lt as safeSet, m as useHttp, mt as escapeStringRegexp, n as PathUtils, nn as obtainAllFocusableElements, nt as deepMerge, o as gcj02ToBd09, ot as hasOwn, p as initHttp, pt as capitalize, q as classNameToArray, qt as loadScript, r as createFormData, rn as triggerEvent, rt as deepMergeInPlace, s as exportExcel, st as keysOf, t as FormDataKey, tn as isVisible, tt as assignmentData, ut as transDataToString, v as throttleByRaf, vt as rAF, w as castArray, wt as isEmpty, x as getRandomInt, xt as isComponent, y as mutable, yt as isArray, z as getScrollBarWidth, zt as easeInOutCubic } from "./utils-DdyGbs-d.js";
1
+ import { $ as debugWarn, $t as isFocusable, A as buildProps, At as isPromise, B as getScrollContainer, Bt as getClientXY, C as toRawType, Ct as isElement, D as uniqueBy, Dt as isNumber, E as unique, Et as isHTML, F as withInstallDirective, Ft as isUndefined, G as addClass, Gt as isFirefox, H as getScrollTop, Ht as getOffsetTopDistance, I as withInstallFunction, It as isWindow, J as getStyle, Jt as composeEventHandlers, K as addUnit, Kt as isIOS, L as getElement, Lt as renderTemplate, M as epPropKey, Mt as isString, N as isEpProp, Nt as isStringNumber, O as uniqueByFn, Ot as isObject, P as withInstall, Pt as isSymbol, Q as setStyle, Qt as getSibling, R as animateScrollTo, Rt as stringToArray, S as NOOP, St as isDate, T as ensureArray, Tt as isFunction, U as isScroll, Ut as isInContainer, V as getScrollElement, Vt as getOffsetTop, W as scrollIntoView, Wt as isClient, X as removeClass, Xt as attemptFocus, Y as hasClass, Yt as whenMouse, Z as removeStyle, Zt as focusNode, _ as rwEncode, _t as cAF, a as bd09ToGcj02, at as getProp, b as generateId, bt as isBoolean, c as exportExcelAll, ct as safeGet, d as Http, dt as validateObjectStructure, en as isLeaf, et as throwError, f as http, ft as camelize, g as rwDecode, gt as kebabCase, h as md5, ht as hyphenate, i as useFormField, it as entriesOf, j as definePropType, jt as isPropAbsent, k as buildProp, kt as isPlainObject, l as loadConfig, lt as safeSet, m as useHttp, mt as escapeStringRegexp, n as PathUtils, nn as obtainAllFocusableElements, nt as deepMerge, o as gcj02ToBd09, ot as hasOwn, p as initHttp, pt as capitalize, q as classNameToArray, qt as loadScript, r as createFormData, rn as triggerEvent, rt as deepMergeInPlace, s as exportExcel, st as keysOf, t as FormDataKey, tn as isVisible, tt as assignmentData, ut as transDataToString, v as throttleByRaf, vt as rAF, w as castArray, wt as isEmpty, x as getRandomInt, xt as isComponent, y as mutable, yt as isArray, z as getScrollBarWidth, zt as easeInOutCubic } from "./utils-Cuzi7uA_.js";
2
2
  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.3.15",
4
+ "version": "0.3.16",
5
5
  "description": "A Vue 3 component library with controls, utils, stores and more.",
6
6
  "author": "Your Name <your.email@mail.com>",
7
7
  "license": "MIT",