duck-vue-components 0.2.0 → 0.2.2
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.
- package/dist/constants.cjs +1 -1
- package/dist/constants.d.cts +1 -1
- package/dist/{controls-B7qU1vjR.cjs → controls-DORSbC6g.cjs} +180 -107
- package/dist/{controls-BXlqLD72.js → controls-Dqd6AD6_.js} +114 -64
- package/dist/controls.cjs +7 -1
- package/dist/controls.d.cts +2 -2
- package/dist/controls.d.ts +2 -2
- package/dist/controls.js +2 -2
- package/dist/hooks.cjs +2 -2
- package/dist/{index-DZ1BE9W4.d.cts → index-CHT-pkrY.d.cts} +117 -99
- package/dist/index-CmiTP4nh.d.cts +804 -0
- package/dist/index-CpIVvKpt.d.ts +804 -0
- package/dist/{index-wNtoh5Kh.d.ts → index-DiJRuXzE.d.ts} +113 -97
- package/dist/index.cjs +4 -12
- package/dist/index.d.cts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -3
- package/dist/{locale-DTHxb_wp.cjs → locale-BTmar3YP.cjs} +44 -2
- package/dist/locale.cjs +1 -1
- package/dist/pages.cjs +1638 -0
- package/dist/pages.d.cts +36 -0
- package/dist/pages.d.ts +36 -0
- package/dist/pages.js +1627 -0
- package/dist/stores.cjs +6 -6
- package/dist/stores.d.cts +1 -803
- package/dist/stores.d.ts +1 -803
- package/dist/style.css +12 -0
- package/dist/{utils-D8ZjYN3B.cjs → utils-D_H_FuDE.cjs} +5 -6
- package/dist/utils.cjs +2 -2
- package/dist/utils.d.cts +1 -1
- package/package.json +6 -5
- package/dist/chunk-CZWwpsFl.cjs +0 -43
- package/dist/config.cjs +0 -10
- package/dist/config.d.cts +0 -2
- package/dist/config.d.ts +0 -2
- package/dist/config.js +0 -5
- /package/dist/{constants-CnfPtVsT.cjs → constants-Djb2MLAv.cjs} +0 -0
- /package/dist/{index-BCxPeUAH.d.cts → index-1Pf2-Oor.d.cts} +0 -0
- /package/dist/{index-DmYlGe4I.d.cts → index-DbRrwdMu.d.cts} +0 -0
package/dist/style.css
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
|
|
2
|
+
@import './transition.css';
|
|
3
|
+
|
|
4
|
+
@import './transition.css';
|
|
5
|
+
|
|
6
|
+
@import './transition.css';
|
|
7
|
+
|
|
8
|
+
@import './transition.css';
|
|
9
|
+
|
|
10
|
+
@import './transition.css';
|
|
11
|
+
|
|
12
|
+
@import './transition.css';
|
|
13
|
+
|
|
2
14
|
.my-button[data-v-8d6f1d45] {
|
|
3
15
|
padding: 8px 16px;
|
|
4
16
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_locale = require("./locale-DTHxb_wp.cjs");
|
|
1
|
+
const require_locale = require("./locale-BTmar3YP.cjs");
|
|
3
2
|
let element_plus = require("element-plus");
|
|
4
3
|
let pinia = require("pinia");
|
|
5
4
|
let vue = require("vue");
|
|
@@ -8,14 +7,14 @@ let _vue_shared = require("@vue/shared");
|
|
|
8
7
|
let lodash_unified = require("lodash-unified");
|
|
9
8
|
let lodash_es = require("lodash-es");
|
|
10
9
|
let axios = require("axios");
|
|
11
|
-
axios =
|
|
10
|
+
axios = require_locale.__toESM(axios);
|
|
12
11
|
let crypto_js = require("crypto-js");
|
|
13
|
-
crypto_js =
|
|
12
|
+
crypto_js = require_locale.__toESM(crypto_js);
|
|
14
13
|
let xlsx = require("xlsx");
|
|
15
|
-
xlsx =
|
|
14
|
+
xlsx = require_locale.__toESM(xlsx);
|
|
16
15
|
let file_saver = require("file-saver");
|
|
17
16
|
let dayjs = require("dayjs");
|
|
18
|
-
dayjs =
|
|
17
|
+
dayjs = require_locale.__toESM(dayjs);
|
|
19
18
|
//#region src/packages/utils/dom/aria.ts
|
|
20
19
|
const FOCUSABLE_ELEMENT_SELECTORS = `a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])`;
|
|
21
20
|
/**
|
package/dist/utils.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./
|
|
3
|
-
const require_utils = require("./utils-
|
|
2
|
+
require("./locale-BTmar3YP.cjs");
|
|
3
|
+
const require_utils = require("./utils-D_H_FuDE.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.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as escapeStringRegexp, $t as withInstallFunction, A as mutable, An as isVisible, At as EpProp, B as isObject, Bt as ResolvePropType, C as easeInOutCubic, Cn as composeEventHandlers, Ct as isIOS, D as HTMLElementCustomized, Dn as getSibling, Dt as unique, E as Awaitable, En as focusNode, Et as ensureArray, F as isElement, Ft as EpPropMergeType, G as isStringNumber, Gt as isEpProp, H as isPromise, Ht as buildProps, I as isEmpty, It as ExtractPropType, J as isWindow, Jt as UnknownToNever, K as isSymbol, Kt as IfNever, L as isFunction, Lt as IfEpProp, M as isBoolean, Mn as triggerEvent, Mt as EpPropFinalized, N as isComponent, Nt as EpPropInput, O as Mutable, On as isFocusable, Ot as uniqueBy, P as isDate, Pt as EpPropInputDefault, Q as capitalize, Qt as withInstallDirective, R as isHTML, Rt as IfNativePropType, S as useHttp, Sn as isInContainer, St as isFirefox, T as Arrayable, Tn as attemptFocus, Tt as castArray, U as isPropAbsent, Ut as definePropType, V as isPlainObject, Vt as buildProp, W as isString, Wt as epPropKey, X as stringToArray, Xt as WritableArray, Y as renderTemplate, Yt as Writable, Z as camelize, Zt as withInstall, _ as HttpConfig, _n as isScroll, _t as NOOP, a as PathValue, an as addUnit, at as rAF, b as http, bn as getOffsetTop, bt as throwError, c as bd09ToGcj02, cn as hasClass, ct as deepMergeInPlace, d as exportExcelAll, dn as setStyle, dt as hasOwn, en as EmitFn, et as hyphenate, f as loadConfig, fn as animateScrollTo, ft as keysOf, g as Http, gn as getScrollTop, gt as validateObjectStructure, h as rwEncode, hn as getScrollElement, ht as transDataToString, i as PathUtils, in as addClass, it as cAF, j as isArray, jn as obtainAllFocusableElements, jt as EpPropConvert, k as Nullable, kn as isLeaf, kt as uniqueByFn, l as gcj02ToBd09, ln as removeClass, lt as entriesOf, m as rwDecode, mn as getScrollContainer, mt as safeSet, n as FormDataKey, nn as SFCWithInstall, nt as generateId, o as createFormData, on as classNameToArray, ot as assignmentData, p as md5, pn as getScrollBarWidth, pt as safeGet, q as isUndefined, qt as IfUnknown, r as NestedKeyOf, rn as getElement, rt as getRandomInt, s as useFormField, sn as getStyle, st as deepMerge, t as FormData, tn as SFCInstallWithContext, tt as kebabCase, u as exportExcel, un as removeStyle, ut as getProp, v as HttpPlugin, vn as scrollIntoView, vt as toRawType, w as throttleByRaf, wn as whenMouse, wt as loadScript, x as initHttp, xn as getOffsetTopDistance, xt as isClient, y as ResponseHandlerConfig, yn as getClientXY, yt as debugWarn, z as isNumber, zt as NativePropType } from "./index-
|
|
1
|
+
import { $ as escapeStringRegexp, $t as withInstallFunction, A as mutable, An as isVisible, At as EpProp, B as isObject, Bt as ResolvePropType, C as easeInOutCubic, Cn as composeEventHandlers, Ct as isIOS, D as HTMLElementCustomized, Dn as getSibling, Dt as unique, E as Awaitable, En as focusNode, Et as ensureArray, F as isElement, Ft as EpPropMergeType, G as isStringNumber, Gt as isEpProp, H as isPromise, Ht as buildProps, I as isEmpty, It as ExtractPropType, J as isWindow, Jt as UnknownToNever, K as isSymbol, Kt as IfNever, L as isFunction, Lt as IfEpProp, M as isBoolean, Mn as triggerEvent, Mt as EpPropFinalized, N as isComponent, Nt as EpPropInput, O as Mutable, On as isFocusable, Ot as uniqueBy, P as isDate, Pt as EpPropInputDefault, Q as capitalize, Qt as withInstallDirective, R as isHTML, Rt as IfNativePropType, S as useHttp, Sn as isInContainer, St as isFirefox, T as Arrayable, Tn as attemptFocus, Tt as castArray, U as isPropAbsent, Ut as definePropType, V as isPlainObject, Vt as buildProp, W as isString, Wt as epPropKey, X as stringToArray, Xt as WritableArray, Y as renderTemplate, Yt as Writable, Z as camelize, Zt as withInstall, _ as HttpConfig, _n as isScroll, _t as NOOP, a as PathValue, an as addUnit, at as rAF, b as http, bn as getOffsetTop, bt as throwError, c as bd09ToGcj02, cn as hasClass, ct as deepMergeInPlace, d as exportExcelAll, dn as setStyle, dt as hasOwn, en as EmitFn, et as hyphenate, f as loadConfig, fn as animateScrollTo, ft as keysOf, g as Http, gn as getScrollTop, gt as validateObjectStructure, h as rwEncode, hn as getScrollElement, ht as transDataToString, i as PathUtils, in as addClass, it as cAF, j as isArray, jn as obtainAllFocusableElements, jt as EpPropConvert, k as Nullable, kn as isLeaf, kt as uniqueByFn, l as gcj02ToBd09, ln as removeClass, lt as entriesOf, m as rwDecode, mn as getScrollContainer, mt as safeSet, n as FormDataKey, nn as SFCWithInstall, nt as generateId, o as createFormData, on as classNameToArray, ot as assignmentData, p as md5, pn as getScrollBarWidth, pt as safeGet, q as isUndefined, qt as IfUnknown, r as NestedKeyOf, rn as getElement, rt as getRandomInt, s as useFormField, sn as getStyle, st as deepMerge, t as FormData, tn as SFCInstallWithContext, tt as kebabCase, u as exportExcel, un as removeStyle, ut as getProp, v as HttpPlugin, vn as scrollIntoView, vt as toRawType, w as throttleByRaf, wn as whenMouse, wt as loadScript, x as initHttp, xn as getOffsetTopDistance, xt as isClient, y as ResponseHandlerConfig, yn as getClientXY, yt as debugWarn, z as isNumber, zt as NativePropType } from "./index-DbRrwdMu.cjs";
|
|
2
2
|
export { Arrayable, Awaitable, EmitFn, EpProp, EpPropConvert, EpPropFinalized, EpPropInput, EpPropInputDefault, EpPropMergeType, ExtractPropType, FormData, FormDataKey, HTMLElementCustomized, Http, HttpConfig, HttpPlugin, IfEpProp, IfNativePropType, IfNever, IfUnknown, Mutable, NOOP, NativePropType, NestedKeyOf, Nullable, PathUtils, PathValue, ResolvePropType, ResponseHandlerConfig, SFCInstallWithContext, SFCWithInstall, UnknownToNever, Writable, WritableArray, 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.2.
|
|
4
|
+
"version": "0.2.2",
|
|
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",
|
|
@@ -25,10 +25,6 @@
|
|
|
25
25
|
"import": "./dist/index.js",
|
|
26
26
|
"require": "./dist/index.cjs"
|
|
27
27
|
},
|
|
28
|
-
"./config": {
|
|
29
|
-
"import": "./dist/config.js",
|
|
30
|
-
"require": "./dist/config.cjs"
|
|
31
|
-
},
|
|
32
28
|
"./constants": {
|
|
33
29
|
"import": "./dist/constants.js",
|
|
34
30
|
"require": "./dist/constants.cjs"
|
|
@@ -49,6 +45,10 @@
|
|
|
49
45
|
"import": "./dist/locale.js",
|
|
50
46
|
"require": "./dist/locale.cjs"
|
|
51
47
|
},
|
|
48
|
+
"./pages": {
|
|
49
|
+
"import": "./dist/pages.js",
|
|
50
|
+
"require": "./dist/pages.cjs"
|
|
51
|
+
},
|
|
52
52
|
"./stores": {
|
|
53
53
|
"import": "./dist/stores.js",
|
|
54
54
|
"require": "./dist/stores.cjs"
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"vue": "^3.0.0"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
+
"@rollup/plugin-url": "^8.0.2",
|
|
85
86
|
"@tsdown/css": "^0.21.7",
|
|
86
87
|
"@types/js-cookie": "^3.0.6",
|
|
87
88
|
"@types/node": "^25.5.0",
|
package/dist/chunk-CZWwpsFl.cjs
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __exportAll = (all, no_symbols) => {
|
|
9
|
-
let target = {};
|
|
10
|
-
for (var name in all) __defProp(target, name, {
|
|
11
|
-
get: all[name],
|
|
12
|
-
enumerable: true
|
|
13
|
-
});
|
|
14
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
15
|
-
return target;
|
|
16
|
-
};
|
|
17
|
-
var __copyProps = (to, from, except, desc) => {
|
|
18
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
19
|
-
key = keys[i];
|
|
20
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
21
|
-
get: ((k) => from[k]).bind(null, key),
|
|
22
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
return to;
|
|
26
|
-
};
|
|
27
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
-
value: mod,
|
|
29
|
-
enumerable: true
|
|
30
|
-
}) : target, mod));
|
|
31
|
-
//#endregion
|
|
32
|
-
Object.defineProperty(exports, "__exportAll", {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function() {
|
|
35
|
-
return __exportAll;
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
Object.defineProperty(exports, "__toESM", {
|
|
39
|
-
enumerable: true,
|
|
40
|
-
get: function() {
|
|
41
|
-
return __toESM;
|
|
42
|
-
}
|
|
43
|
-
});
|
package/dist/config.cjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
//#region src/packages/config/index.ts
|
|
3
|
-
var config_exports = /* @__PURE__ */ require("./chunk-CZWwpsFl.cjs").__exportAll({});
|
|
4
|
-
//#endregion
|
|
5
|
-
Object.defineProperty(exports, "config_exports", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return config_exports;
|
|
9
|
-
}
|
|
10
|
-
});
|
package/dist/config.d.cts
DELETED
package/dist/config.d.ts
DELETED
package/dist/config.js
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|