duck-vue-components 0.0.0
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/README.md +29 -0
- package/dist/MyButton-C1krVCi6.cjs +36 -0
- package/dist/MyButton-C7riFwH6.js +28 -0
- package/dist/_plugin-vue_export-helper-DQXgr64F.cjs +13 -0
- package/dist/_plugin-vue_export-helper-DbXABBKy.js +8 -0
- package/dist/affix-CYU-9qMr.cjs +71 -0
- package/dist/affix-D9EM8_Um.js +66 -0
- package/dist/button-CGv1WHzT.cjs +132 -0
- package/dist/button-tOWSPPxz.js +126 -0
- package/dist/chunk-CZWwpsFl.cjs +43 -0
- package/dist/chunk-pbuEa-1d.js +13 -0
- package/dist/config.cjs +1 -0
- package/dist/config.js +1 -0
- package/dist/constants/json.cjs +4 -0
- package/dist/constants/json.d.cts +2 -0
- package/dist/constants/json.d.ts +2 -0
- package/dist/constants/json.js +2 -0
- package/dist/constants.cjs +14 -0
- package/dist/constants.d.cts +3 -0
- package/dist/constants.d.ts +3 -0
- package/dist/constants.js +3 -0
- package/dist/controls/MyButton.cjs +3 -0
- package/dist/controls/MyButton.d.cts +2 -0
- package/dist/controls/MyButton.d.ts +2 -0
- package/dist/controls/MyButton.js +2 -0
- package/dist/controls/affix.cjs +8 -0
- package/dist/controls/affix.d.cts +2 -0
- package/dist/controls/affix.d.ts +2 -0
- package/dist/controls/affix.js +2 -0
- package/dist/controls/button.cjs +8 -0
- package/dist/controls/button.js +2 -0
- package/dist/controls.cjs +18 -0
- package/dist/controls.d.cts +10 -0
- package/dist/controls.d.ts +10 -0
- package/dist/controls.js +5 -0
- package/dist/dom-CllENWMY.js +346 -0
- package/dist/dom-DS4YqkjW.cjs +580 -0
- package/dist/index-1ELDRrC5.d.ts +1397 -0
- package/dist/index-5JdIJn1m.d.cts +74 -0
- package/dist/index-6KzLtJFy.d.cts +157 -0
- package/dist/index-BGkTN1DD.d.cts +15 -0
- package/dist/index-BHq-BMCP.d.ts +74 -0
- package/dist/index-BI-hrf4t.d.ts +332 -0
- package/dist/index-BtOBjeH7.d.ts +10 -0
- package/dist/index-C-uY4885.d.cts +23 -0
- package/dist/index-C5SJLWEN.d.ts +23 -0
- package/dist/index-CSvc8L11.d.cts +51 -0
- package/dist/index-CeemHBNT.d.ts +51 -0
- package/dist/index-CfkAYIKD.d.cts +80 -0
- package/dist/index-CiJC-ieW.d.ts +157 -0
- package/dist/index-DamAmum6.d.ts +15 -0
- package/dist/index-DhOoJCHW.d.cts +1397 -0
- package/dist/index-PhthUD7x.d.cts +10 -0
- package/dist/index-oDsyZ3t2.d.cts +332 -0
- package/dist/index-x9xs2cbA.d.ts +80 -0
- package/dist/json-BkkaM20u.cjs +31034 -0
- package/dist/json-D-_zTSK6.js +31023 -0
- package/dist/locale-DhlAaV1Q.js +597 -0
- package/dist/locale-WzzxOobw.cjs +658 -0
- package/dist/locale.cjs +12 -0
- package/dist/locale.js +2 -0
- package/dist/objects-CLXPNOUW.js +134 -0
- package/dist/objects-o7u5s_lI.cjs +272 -0
- package/dist/packages/config.cjs +10 -0
- package/dist/packages/config.d.cts +2 -0
- package/dist/packages/config.d.ts +2 -0
- package/dist/packages/config.js +5 -0
- package/dist/packages/constants/json.cjs +4 -0
- package/dist/packages/constants/json.js +2 -0
- package/dist/packages/constants.cjs +78 -0
- package/dist/packages/constants.js +67 -0
- package/dist/packages/controls/MyButton.cjs +3 -0
- package/dist/packages/controls/MyButton.js +2 -0
- package/dist/packages/controls/affix.cjs +8 -0
- package/dist/packages/controls/affix.js +2 -0
- package/dist/packages/controls/button.cjs +8 -0
- package/dist/packages/controls/button.d.cts +2 -0
- package/dist/packages/controls/button.d.ts +2 -0
- package/dist/packages/controls/button.js +2 -0
- package/dist/packages/controls.cjs +31 -0
- package/dist/packages/controls.js +12 -0
- package/dist/packages/locale.cjs +12 -0
- package/dist/packages/locale.d.cts +39 -0
- package/dist/packages/locale.d.ts +39 -0
- package/dist/packages/locale.js +2 -0
- package/dist/packages/stores.cjs +337 -0
- package/dist/packages/stores.js +320 -0
- package/dist/packages/utils/dom.cjs +32 -0
- package/dist/packages/utils/dom.d.cts +2 -0
- package/dist/packages/utils/dom.d.ts +2 -0
- package/dist/packages/utils/dom.js +2 -0
- package/dist/packages/utils/vue/props.cjs +63 -0
- package/dist/packages/utils/vue/props.d.cts +2 -0
- package/dist/packages/utils/vue/props.d.ts +2 -0
- package/dist/packages/utils/vue/props.js +56 -0
- package/dist/packages/utils/vue.cjs +32 -0
- package/dist/packages/utils/vue.d.cts +3 -0
- package/dist/packages/utils/vue.d.ts +3 -0
- package/dist/packages/utils/vue.js +24 -0
- package/dist/packages/utils.cjs +190 -0
- package/dist/packages/utils.js +6 -0
- package/dist/packages.cjs +15 -0
- package/dist/packages.d.cts +3 -0
- package/dist/packages.d.ts +3 -0
- package/dist/packages.js +3 -0
- package/dist/stores.cjs +17 -0
- package/dist/stores.d.cts +805 -0
- package/dist/stores.d.ts +805 -0
- package/dist/stores.js +4 -0
- package/dist/style.css +15 -0
- package/dist/utils/dom.cjs +32 -0
- package/dist/utils/dom.js +2 -0
- package/dist/utils/vue/props.cjs +7 -0
- package/dist/utils/vue/props.js +2 -0
- package/dist/utils/vue.cjs +11 -0
- package/dist/utils/vue.js +3 -0
- package/dist/utils-DlBKdS0t.js +696 -0
- package/dist/utils-egS_3P4w.cjs +850 -0
- package/dist/utils.cjs +190 -0
- package/dist/utils.d.cts +5 -0
- package/dist/utils.d.ts +5 -0
- package/dist/utils.js +6 -0
- package/package.json +184 -0
package/dist/utils.cjs
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("./chunk-CZWwpsFl.cjs");
|
|
3
|
+
const require_dom = require("./dom-DS4YqkjW.cjs");
|
|
4
|
+
const require_objects = require("./objects-o7u5s_lI.cjs");
|
|
5
|
+
const require_packages_utils_vue_props = require("./packages/utils/vue/props.cjs");
|
|
6
|
+
const require_packages_utils_vue = require("./packages/utils/vue.cjs");
|
|
7
|
+
const require_utils = require("./utils-egS_3P4w.cjs");
|
|
8
|
+
let _vue_shared = require("@vue/shared");
|
|
9
|
+
let lodash_unified = require("lodash-unified");
|
|
10
|
+
let _vueuse_core = require("@vueuse/core");
|
|
11
|
+
exports.FormDataKey = require_utils.FormDataKey;
|
|
12
|
+
exports.Http = require_utils.Http;
|
|
13
|
+
Object.defineProperty(exports, "NOOP", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function() {
|
|
16
|
+
return _vue_shared.NOOP;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
exports.PathUtils = require_utils.PathUtils;
|
|
20
|
+
exports.addClass = require_dom.addClass;
|
|
21
|
+
exports.addUnit = require_dom.addUnit;
|
|
22
|
+
exports.animateScrollTo = require_dom.animateScrollTo;
|
|
23
|
+
exports.assignmentData = require_objects.assignmentData;
|
|
24
|
+
exports.attemptFocus = require_dom.attemptFocus;
|
|
25
|
+
exports.bd09ToGcj02 = require_utils.bd09ToGcj02;
|
|
26
|
+
exports.buildProp = require_packages_utils_vue_props.buildProp;
|
|
27
|
+
exports.buildProps = require_packages_utils_vue_props.buildProps;
|
|
28
|
+
exports.cAF = require_dom.cAF;
|
|
29
|
+
Object.defineProperty(exports, "camelize", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function() {
|
|
32
|
+
return _vue_shared.camelize;
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
exports.capitalize = require_dom.capitalize;
|
|
36
|
+
exports.castArray = require_utils.castArray;
|
|
37
|
+
exports.classNameToArray = require_dom.classNameToArray;
|
|
38
|
+
exports.composeEventHandlers = require_dom.composeEventHandlers;
|
|
39
|
+
exports.createFormData = require_utils.createFormData;
|
|
40
|
+
exports.debugWarn = require_dom.debugWarn;
|
|
41
|
+
exports.deepMerge = require_objects.deepMerge;
|
|
42
|
+
exports.deepMergeInPlace = require_objects.deepMergeInPlace;
|
|
43
|
+
exports.definePropType = require_packages_utils_vue_props.definePropType;
|
|
44
|
+
exports.easeInOutCubic = require_dom.easeInOutCubic;
|
|
45
|
+
Object.defineProperty(exports, "ensureArray", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function() {
|
|
48
|
+
return lodash_unified.castArray;
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
exports.entriesOf = require_objects.entriesOf;
|
|
52
|
+
exports.epPropKey = require_packages_utils_vue_props.epPropKey;
|
|
53
|
+
exports.escapeStringRegexp = require_dom.escapeStringRegexp;
|
|
54
|
+
exports.exportExcel = require_utils.exportExcel;
|
|
55
|
+
exports.exportExcelAll = require_utils.exportExcelAll;
|
|
56
|
+
exports.focusNode = require_dom.focusNode;
|
|
57
|
+
exports.gcj02ToBd09 = require_utils.gcj02ToBd09;
|
|
58
|
+
exports.generateId = require_utils.generateId;
|
|
59
|
+
exports.getClientXY = require_dom.getClientXY;
|
|
60
|
+
exports.getElement = require_dom.getElement;
|
|
61
|
+
exports.getOffsetTop = require_dom.getOffsetTop;
|
|
62
|
+
exports.getOffsetTopDistance = require_dom.getOffsetTopDistance;
|
|
63
|
+
exports.getProp = require_objects.getProp;
|
|
64
|
+
exports.getRandomInt = require_utils.getRandomInt;
|
|
65
|
+
exports.getScrollBarWidth = require_dom.getScrollBarWidth;
|
|
66
|
+
exports.getScrollContainer = require_dom.getScrollContainer;
|
|
67
|
+
exports.getScrollElement = require_dom.getScrollElement;
|
|
68
|
+
exports.getScrollTop = require_dom.getScrollTop;
|
|
69
|
+
exports.getSibling = require_dom.getSibling;
|
|
70
|
+
exports.getStyle = require_dom.getStyle;
|
|
71
|
+
exports.hasClass = require_dom.hasClass;
|
|
72
|
+
exports.hasOwn = require_objects.hasOwn;
|
|
73
|
+
exports.http = require_utils.http;
|
|
74
|
+
Object.defineProperty(exports, "hyphenate", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function() {
|
|
77
|
+
return _vue_shared.hyphenate;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
exports.initHttp = require_utils.initHttp;
|
|
81
|
+
Object.defineProperty(exports, "isArray", {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function() {
|
|
84
|
+
return _vue_shared.isArray;
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
exports.isBoolean = require_objects.isBoolean;
|
|
88
|
+
exports.isClient = _vueuse_core.isClient;
|
|
89
|
+
exports.isComponent = require_objects.isComponent;
|
|
90
|
+
Object.defineProperty(exports, "isDate", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function() {
|
|
93
|
+
return _vue_shared.isDate;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
exports.isElement = require_objects.isElement;
|
|
97
|
+
exports.isEmpty = require_objects.isEmpty;
|
|
98
|
+
exports.isEpProp = require_packages_utils_vue_props.isEpProp;
|
|
99
|
+
exports.isFirefox = require_dom.isFirefox;
|
|
100
|
+
exports.isFocusable = require_dom.isFocusable;
|
|
101
|
+
Object.defineProperty(exports, "isFunction", {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function() {
|
|
104
|
+
return _vue_shared.isFunction;
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
exports.isHTML = require_objects.isHTML;
|
|
108
|
+
exports.isIOS = _vueuse_core.isIOS;
|
|
109
|
+
exports.isInContainer = require_dom.isInContainer;
|
|
110
|
+
exports.isLeaf = require_dom.isLeaf;
|
|
111
|
+
exports.isNumber = require_objects.isNumber;
|
|
112
|
+
Object.defineProperty(exports, "isObject", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function() {
|
|
115
|
+
return _vue_shared.isObject;
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
Object.defineProperty(exports, "isPlainObject", {
|
|
119
|
+
enumerable: true,
|
|
120
|
+
get: function() {
|
|
121
|
+
return _vue_shared.isPlainObject;
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "isPromise", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function() {
|
|
127
|
+
return _vue_shared.isPromise;
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
exports.isPropAbsent = require_objects.isPropAbsent;
|
|
131
|
+
exports.isScroll = require_dom.isScroll;
|
|
132
|
+
Object.defineProperty(exports, "isString", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function() {
|
|
135
|
+
return _vue_shared.isString;
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
exports.isStringNumber = require_objects.isStringNumber;
|
|
139
|
+
Object.defineProperty(exports, "isSymbol", {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
get: function() {
|
|
142
|
+
return _vue_shared.isSymbol;
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
exports.isUndefined = require_objects.isUndefined;
|
|
146
|
+
exports.isVisible = require_dom.isVisible;
|
|
147
|
+
exports.isWindow = require_objects.isWindow;
|
|
148
|
+
Object.defineProperty(exports, "kebabCase", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function() {
|
|
151
|
+
return _vue_shared.hyphenate;
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
exports.keysOf = require_objects.keysOf;
|
|
155
|
+
exports.loadConfig = require_utils.loadConfig;
|
|
156
|
+
exports.loadScript = require_dom.loadScript;
|
|
157
|
+
exports.md5 = require_utils.md5;
|
|
158
|
+
exports.mutable = require_utils.mutable;
|
|
159
|
+
exports.obtainAllFocusableElements = require_dom.obtainAllFocusableElements;
|
|
160
|
+
exports.rAF = require_dom.rAF;
|
|
161
|
+
exports.removeClass = require_dom.removeClass;
|
|
162
|
+
exports.removeStyle = require_dom.removeStyle;
|
|
163
|
+
exports.renderTemplate = require_objects.renderTemplate;
|
|
164
|
+
exports.rwDecode = require_utils.rwDecode;
|
|
165
|
+
exports.rwEncode = require_utils.rwEncode;
|
|
166
|
+
exports.safeGet = require_objects.safeGet;
|
|
167
|
+
exports.safeSet = require_objects.safeSet;
|
|
168
|
+
exports.scrollIntoView = require_dom.scrollIntoView;
|
|
169
|
+
exports.setStyle = require_dom.setStyle;
|
|
170
|
+
exports.stringToArray = require_objects.stringToArray;
|
|
171
|
+
exports.throttleByRaf = require_utils.throttleByRaf;
|
|
172
|
+
exports.throwError = require_dom.throwError;
|
|
173
|
+
Object.defineProperty(exports, "toRawType", {
|
|
174
|
+
enumerable: true,
|
|
175
|
+
get: function() {
|
|
176
|
+
return _vue_shared.toRawType;
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
exports.transDataToString = require_objects.transDataToString;
|
|
180
|
+
exports.triggerEvent = require_dom.triggerEvent;
|
|
181
|
+
exports.unique = require_utils.unique;
|
|
182
|
+
exports.uniqueBy = require_utils.uniqueBy;
|
|
183
|
+
exports.uniqueByFn = require_utils.uniqueByFn;
|
|
184
|
+
exports.useFormField = require_utils.useFormField;
|
|
185
|
+
exports.useHttp = require_utils.useHttp;
|
|
186
|
+
exports.validateObjectStructure = require_objects.validateObjectStructure;
|
|
187
|
+
exports.whenMouse = require_dom.whenMouse;
|
|
188
|
+
exports.withInstall = require_packages_utils_vue.withInstall;
|
|
189
|
+
exports.withInstallDirective = require_packages_utils_vue.withInstallDirective;
|
|
190
|
+
exports.withInstallFunction = require_packages_utils_vue.withInstallFunction;
|
package/dist/utils.d.cts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { A as triggerEvent, C as attemptFocus, D as isLeaf, E as isFocusable, O as isVisible, S as whenMouse, T as getSibling, _ as getClientXY, a as getStyle, b as isInContainer, c as removeStyle, d as getScrollBarWidth, f as getScrollContainer, g as scrollIntoView, h as isScroll, i as classNameToArray, k as obtainAllFocusableElements, l as setStyle, m as getScrollTop, n as addClass, o as hasClass, p as getScrollElement, r as addUnit, s as removeClass, t as getElement, u as animateScrollTo, v as getOffsetTop, w as focusNode, x as composeEventHandlers, y as getOffsetTopDistance } from "./index-CfkAYIKD.cjs";
|
|
2
|
+
import { a as SFCInstallWithContext, i as EmitFn, n as withInstallDirective, o as SFCWithInstall, r as withInstallFunction, t as withInstall } from "./index-BGkTN1DD.cjs";
|
|
3
|
+
import { _ as IfNever, a as EpPropInputDefault, b as Writable, c as IfEpProp, d as ResolvePropType, f as buildProp, g as isEpProp, h as epPropKey, i as EpPropInput, l as IfNativePropType, m as definePropType, n as EpPropConvert, o as EpPropMergeType, p as buildProps, r as EpPropFinalized, s as ExtractPropType, t as EpProp, u as NativePropType, v as IfUnknown, x as WritableArray, y as UnknownToNever } from "./index-6KzLtJFy.cjs";
|
|
4
|
+
import { $ as escapeStringRegexp, A as mutable, B as isObject, C as easeInOutCubic, Ct as isIOS, D as HTMLElementCustomized, Dt as unique, E as Awaitable, Et as ensureArray, F as isElement, G as isStringNumber, H as isPromise, I as isEmpty, J as isWindow, K as isSymbol, L as isFunction, M as isBoolean, N as isComponent, O as Mutable, Ot as uniqueBy, P as isDate, Q as capitalize, R as isHTML, S as useHttp, St as isFirefox, T as Arrayable, Tt as castArray, U as isPropAbsent, V as isPlainObject, W as isString, X as stringToArray, Y as renderTemplate, Z as camelize, _ as HttpConfig, _t as NOOP, a as PathValue, at as rAF, b as http, bt as throwError, c as bd09ToGcj02, ct as deepMergeInPlace, d as exportExcelAll, dt as hasOwn, et as hyphenate, f as loadConfig, ft as keysOf, g as Http, gt as validateObjectStructure, h as rwEncode, ht as transDataToString, i as PathUtils, it as cAF, j as isArray, k as Nullable, kt as uniqueByFn, l as gcj02ToBd09, lt as entriesOf, m as rwDecode, mt as safeSet, n as FormDataKey, nt as generateId, o as createFormData, ot as assignmentData, p as md5, pt as safeGet, q as isUndefined, r as NestedKeyOf, rt as getRandomInt, s as useFormField, st as deepMerge, t as FormData, tt as kebabCase, u as exportExcel, ut as getProp, v as HttpPlugin, vt as toRawType, w as throttleByRaf, wt as loadScript, x as initHttp, xt as isClient, y as ResponseHandlerConfig, yt as debugWarn, z as isNumber } from "./index-oDsyZ3t2.cjs";
|
|
5
|
+
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/dist/utils.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { A as triggerEvent, C as attemptFocus, D as isLeaf, E as isFocusable, O as isVisible, S as whenMouse, T as getSibling, _ as getClientXY, a as getStyle, b as isInContainer, c as removeStyle, d as getScrollBarWidth, f as getScrollContainer, g as scrollIntoView, h as isScroll, i as classNameToArray, k as obtainAllFocusableElements, l as setStyle, m as getScrollTop, n as addClass, o as hasClass, p as getScrollElement, r as addUnit, s as removeClass, t as getElement, u as animateScrollTo, v as getOffsetTop, w as focusNode, x as composeEventHandlers, y as getOffsetTopDistance } from "./index-x9xs2cbA.js";
|
|
2
|
+
import { a as SFCInstallWithContext, i as EmitFn, n as withInstallDirective, o as SFCWithInstall, r as withInstallFunction, t as withInstall } from "./index-DamAmum6.js";
|
|
3
|
+
import { _ as IfNever, a as EpPropInputDefault, b as Writable, c as IfEpProp, d as ResolvePropType, f as buildProp, g as isEpProp, h as epPropKey, i as EpPropInput, l as IfNativePropType, m as definePropType, n as EpPropConvert, o as EpPropMergeType, p as buildProps, r as EpPropFinalized, s as ExtractPropType, t as EpProp, u as NativePropType, v as IfUnknown, x as WritableArray, y as UnknownToNever } from "./index-CiJC-ieW.js";
|
|
4
|
+
import { $ as escapeStringRegexp, A as mutable, B as isObject, C as easeInOutCubic, Ct as isIOS, D as HTMLElementCustomized, Dt as unique, E as Awaitable, Et as ensureArray, F as isElement, G as isStringNumber, H as isPromise, I as isEmpty, J as isWindow, K as isSymbol, L as isFunction, M as isBoolean, N as isComponent, O as Mutable, Ot as uniqueBy, P as isDate, Q as capitalize, R as isHTML, S as useHttp, St as isFirefox, T as Arrayable, Tt as castArray, U as isPropAbsent, V as isPlainObject, W as isString, X as stringToArray, Y as renderTemplate, Z as camelize, _ as HttpConfig, _t as NOOP, a as PathValue, at as rAF, b as http, bt as throwError, c as bd09ToGcj02, ct as deepMergeInPlace, d as exportExcelAll, dt as hasOwn, et as hyphenate, f as loadConfig, ft as keysOf, g as Http, gt as validateObjectStructure, h as rwEncode, ht as transDataToString, i as PathUtils, it as cAF, j as isArray, k as Nullable, kt as uniqueByFn, l as gcj02ToBd09, lt as entriesOf, m as rwDecode, mt as safeSet, n as FormDataKey, nt as generateId, o as createFormData, ot as assignmentData, p as md5, pt as safeGet, q as isUndefined, r as NestedKeyOf, rt as getRandomInt, s as useFormField, st as deepMerge, t as FormData, tt as kebabCase, u as exportExcel, ut as getProp, v as HttpPlugin, vt as toRawType, w as throttleByRaf, wt as loadScript, x as initHttp, xt as isClient, y as ResponseHandlerConfig, yt as debugWarn, z as isNumber } from "./index-BI-hrf4t.js";
|
|
5
|
+
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/dist/utils.js
ADDED
|
@@ -0,0 +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";
|
|
3
|
+
import { buildProp, buildProps, definePropType, epPropKey, isEpProp } from "./packages/utils/vue/props.js";
|
|
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";
|
|
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
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "duck-vue-components",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"description": "A starter for creating a Vue component library.",
|
|
6
|
+
"author": "Author Name <author.name@mail.com>",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"homepage": "https://github.com/author/library#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/author/library.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/author/library/issues"
|
|
15
|
+
},
|
|
16
|
+
"exports": {
|
|
17
|
+
"./config": {
|
|
18
|
+
"import": "./dist/config.js",
|
|
19
|
+
"require": "./dist/config.cjs"
|
|
20
|
+
},
|
|
21
|
+
"./constants": {
|
|
22
|
+
"import": "./dist/constants.js",
|
|
23
|
+
"require": "./dist/constants.cjs"
|
|
24
|
+
},
|
|
25
|
+
"./constants/json": {
|
|
26
|
+
"import": "./dist/constants/json.js",
|
|
27
|
+
"require": "./dist/constants/json.cjs"
|
|
28
|
+
},
|
|
29
|
+
"./controls": {
|
|
30
|
+
"import": "./dist/controls.js",
|
|
31
|
+
"require": "./dist/controls.cjs"
|
|
32
|
+
},
|
|
33
|
+
"./controls/affix": {
|
|
34
|
+
"import": "./dist/controls/affix.js",
|
|
35
|
+
"require": "./dist/controls/affix.cjs"
|
|
36
|
+
},
|
|
37
|
+
"./controls/button": {
|
|
38
|
+
"import": "./dist/controls/button.js",
|
|
39
|
+
"require": "./dist/controls/button.cjs"
|
|
40
|
+
},
|
|
41
|
+
"./controls/MyButton": {
|
|
42
|
+
"import": "./dist/controls/MyButton.js",
|
|
43
|
+
"require": "./dist/controls/MyButton.cjs"
|
|
44
|
+
},
|
|
45
|
+
"./locale": {
|
|
46
|
+
"import": "./dist/locale.js",
|
|
47
|
+
"require": "./dist/locale.cjs"
|
|
48
|
+
},
|
|
49
|
+
"./packages": {
|
|
50
|
+
"import": "./dist/packages.js",
|
|
51
|
+
"require": "./dist/packages.cjs"
|
|
52
|
+
},
|
|
53
|
+
"./packages/config": {
|
|
54
|
+
"import": "./dist/packages/config.js",
|
|
55
|
+
"require": "./dist/packages/config.cjs"
|
|
56
|
+
},
|
|
57
|
+
"./packages/constants": {
|
|
58
|
+
"import": "./dist/packages/constants.js",
|
|
59
|
+
"require": "./dist/packages/constants.cjs"
|
|
60
|
+
},
|
|
61
|
+
"./packages/constants/json": {
|
|
62
|
+
"import": "./dist/packages/constants/json.js",
|
|
63
|
+
"require": "./dist/packages/constants/json.cjs"
|
|
64
|
+
},
|
|
65
|
+
"./packages/controls": {
|
|
66
|
+
"import": "./dist/packages/controls.js",
|
|
67
|
+
"require": "./dist/packages/controls.cjs"
|
|
68
|
+
},
|
|
69
|
+
"./packages/controls/affix": {
|
|
70
|
+
"import": "./dist/packages/controls/affix.js",
|
|
71
|
+
"require": "./dist/packages/controls/affix.cjs"
|
|
72
|
+
},
|
|
73
|
+
"./packages/controls/button": {
|
|
74
|
+
"import": "./dist/packages/controls/button.js",
|
|
75
|
+
"require": "./dist/packages/controls/button.cjs"
|
|
76
|
+
},
|
|
77
|
+
"./packages/controls/MyButton": {
|
|
78
|
+
"import": "./dist/packages/controls/MyButton.js",
|
|
79
|
+
"require": "./dist/packages/controls/MyButton.cjs"
|
|
80
|
+
},
|
|
81
|
+
"./packages/locale": {
|
|
82
|
+
"import": "./dist/packages/locale.js",
|
|
83
|
+
"require": "./dist/packages/locale.cjs"
|
|
84
|
+
},
|
|
85
|
+
"./packages/stores": {
|
|
86
|
+
"import": "./dist/packages/stores.js",
|
|
87
|
+
"require": "./dist/packages/stores.cjs"
|
|
88
|
+
},
|
|
89
|
+
"./packages/utils": {
|
|
90
|
+
"import": "./dist/packages/utils.js",
|
|
91
|
+
"require": "./dist/packages/utils.cjs"
|
|
92
|
+
},
|
|
93
|
+
"./packages/utils/dom": {
|
|
94
|
+
"import": "./dist/packages/utils/dom.js",
|
|
95
|
+
"require": "./dist/packages/utils/dom.cjs"
|
|
96
|
+
},
|
|
97
|
+
"./packages/utils/vue": {
|
|
98
|
+
"import": "./dist/packages/utils/vue.js",
|
|
99
|
+
"require": "./dist/packages/utils/vue.cjs"
|
|
100
|
+
},
|
|
101
|
+
"./packages/utils/vue/props": {
|
|
102
|
+
"import": "./dist/packages/utils/vue/props.js",
|
|
103
|
+
"require": "./dist/packages/utils/vue/props.cjs"
|
|
104
|
+
},
|
|
105
|
+
"./stores": {
|
|
106
|
+
"import": "./dist/stores.js",
|
|
107
|
+
"require": "./dist/stores.cjs"
|
|
108
|
+
},
|
|
109
|
+
"./utils": {
|
|
110
|
+
"import": "./dist/utils.js",
|
|
111
|
+
"require": "./dist/utils.cjs"
|
|
112
|
+
},
|
|
113
|
+
"./utils/dom": {
|
|
114
|
+
"import": "./dist/utils/dom.js",
|
|
115
|
+
"require": "./dist/utils/dom.cjs"
|
|
116
|
+
},
|
|
117
|
+
"./utils/vue": {
|
|
118
|
+
"import": "./dist/utils/vue.js",
|
|
119
|
+
"require": "./dist/utils/vue.cjs"
|
|
120
|
+
},
|
|
121
|
+
"./utils/vue/props": {
|
|
122
|
+
"import": "./dist/utils/vue/props.js",
|
|
123
|
+
"require": "./dist/utils/vue/props.cjs"
|
|
124
|
+
},
|
|
125
|
+
"./package.json": "./package.json",
|
|
126
|
+
"./style.css": "./dist/style.css"
|
|
127
|
+
},
|
|
128
|
+
"main": "./dist/index.cjs",
|
|
129
|
+
"module": "./dist/index.js",
|
|
130
|
+
"types": "./dist/index.d.mts",
|
|
131
|
+
"files": [
|
|
132
|
+
"dist"
|
|
133
|
+
],
|
|
134
|
+
"publishConfig": {
|
|
135
|
+
"access": "public"
|
|
136
|
+
},
|
|
137
|
+
"scripts": {
|
|
138
|
+
"build": "tsdown",
|
|
139
|
+
"dev": "tsdown --watch",
|
|
140
|
+
"play": "vite",
|
|
141
|
+
"test": "vitest",
|
|
142
|
+
"typecheck": "vue-tsc --noEmit",
|
|
143
|
+
"release": "bumpp",
|
|
144
|
+
"prepublishOnly": "pnpm run build"
|
|
145
|
+
},
|
|
146
|
+
"peerDependencies": {
|
|
147
|
+
"vue": "^3.0.0"
|
|
148
|
+
},
|
|
149
|
+
"devDependencies": {
|
|
150
|
+
"@tsdown/css": "^0.21.7",
|
|
151
|
+
"@types/js-cookie": "^3.0.6",
|
|
152
|
+
"@types/node": "^25.5.0",
|
|
153
|
+
"@vitejs/plugin-vue": "^6.0.5",
|
|
154
|
+
"@vitest/browser-playwright": "^4.1.2",
|
|
155
|
+
"bumpp": "^11.0.1",
|
|
156
|
+
"playwright": "^1.58.2",
|
|
157
|
+
"tsdown": "^0.21.7",
|
|
158
|
+
"typescript": "^6.0.2",
|
|
159
|
+
"vite": "^8.0.3",
|
|
160
|
+
"vitest": "^4.1.2",
|
|
161
|
+
"vitest-browser-vue": "^2.1.0",
|
|
162
|
+
"vue": "^3.5.31",
|
|
163
|
+
"vue-tsc": "^3.2.6"
|
|
164
|
+
},
|
|
165
|
+
"dependencies": {
|
|
166
|
+
"@element-plus/icons-vue": "^2.3.2",
|
|
167
|
+
"@vue/shared": "^3.5.32",
|
|
168
|
+
"@vueuse/core": "^14.2.1",
|
|
169
|
+
"axios": "^1.15.0",
|
|
170
|
+
"crypto-js": "^4.2.0",
|
|
171
|
+
"dayjs": "^1.11.20",
|
|
172
|
+
"element-plus": "^2.13.6",
|
|
173
|
+
"file-saver": "^2.0.5",
|
|
174
|
+
"form-data": "^4.0.5",
|
|
175
|
+
"js-cookie": "^3.0.5",
|
|
176
|
+
"lodash-es": "^4.18.1",
|
|
177
|
+
"lodash-unified": "^1.0.3",
|
|
178
|
+
"pinia": "^3.0.4",
|
|
179
|
+
"pinia-plugin-persistedstate": "^4.7.1",
|
|
180
|
+
"rw-element-admin": "^1.0.0",
|
|
181
|
+
"vue-i18n": "^11.3.2",
|
|
182
|
+
"xlsx": "^0.18.5"
|
|
183
|
+
}
|
|
184
|
+
}
|