@windwalker-io/unicorn-next 0.1.19 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/chunks/_arrayPush.js +325 -108
  2. package/dist/chunks/_arrayPush.js.map +1 -1
  3. package/dist/chunks/_baseRest.js +155 -60
  4. package/dist/chunks/_baseRest.js.map +1 -1
  5. package/dist/chunks/_baseUnary.js +463 -0
  6. package/dist/chunks/_baseUnary.js.map +1 -0
  7. package/dist/chunks/_getPrototype.js +292 -100
  8. package/dist/chunks/_getPrototype.js.map +1 -1
  9. package/dist/chunks/alert-adapter.js +29 -0
  10. package/dist/chunks/alert-adapter.js.map +1 -0
  11. package/dist/chunks/alert.js +21 -0
  12. package/dist/chunks/alert.js.map +1 -0
  13. package/dist/chunks/arr.js +24 -0
  14. package/dist/chunks/arr.js.map +1 -0
  15. package/dist/chunks/button-radio.js +127 -145
  16. package/dist/chunks/button-radio.js.map +1 -1
  17. package/dist/chunks/checkboxes-multi-select.js +44 -43
  18. package/dist/chunks/checkboxes-multi-select.js.map +1 -1
  19. package/dist/chunks/chunk.js +24 -0
  20. package/dist/chunks/cloneDeep.js +679 -212
  21. package/dist/chunks/cloneDeep.js.map +1 -1
  22. package/dist/chunks/cropper.min.js +6 -5
  23. package/dist/chunks/cropper.min.js.map +1 -1
  24. package/dist/chunks/crypto.js +26 -0
  25. package/dist/chunks/crypto.js.map +1 -0
  26. package/dist/chunks/data.js +49 -0
  27. package/dist/chunks/data.js.map +1 -0
  28. package/dist/chunks/dom.js +128 -0
  29. package/dist/chunks/dom.js.map +1 -0
  30. package/dist/chunks/events.js +270 -0
  31. package/dist/chunks/events.js.map +1 -0
  32. package/dist/chunks/field-cascade-select.js +207 -250
  33. package/dist/chunks/field-cascade-select.js.map +1 -1
  34. package/dist/chunks/field-file-drag.js +175 -209
  35. package/dist/chunks/field-file-drag.js.map +1 -1
  36. package/dist/chunks/field-flatpickr.js +94 -898
  37. package/dist/chunks/field-flatpickr.js.map +1 -1
  38. package/dist/chunks/field-modal-select.js +728 -467
  39. package/dist/chunks/field-modal-select.js.map +1 -1
  40. package/dist/chunks/field-modal-tree.js +771 -766
  41. package/dist/chunks/field-modal-tree.js.map +1 -1
  42. package/dist/chunks/field-multi-uploader.js +249 -256
  43. package/dist/chunks/field-multi-uploader.js.map +1 -1
  44. package/dist/chunks/field-repeatable.js +111 -127
  45. package/dist/chunks/field-repeatable.js.map +1 -1
  46. package/dist/chunks/field-single-image-drag.js +286 -338
  47. package/dist/chunks/field-single-image-drag.js.map +1 -1
  48. package/dist/chunks/form.js +146 -159
  49. package/dist/chunks/form.js.map +1 -1
  50. package/dist/chunks/grid.js +349 -418
  51. package/dist/chunks/grid.js.map +1 -1
  52. package/dist/chunks/helper.js +39 -0
  53. package/dist/chunks/helper.js.map +1 -0
  54. package/dist/chunks/http-client.js +221 -211
  55. package/dist/chunks/http-client.js.map +1 -1
  56. package/dist/chunks/iframe-modal.js +95 -115
  57. package/dist/chunks/iframe-modal.js.map +1 -1
  58. package/dist/chunks/keep-tab.js +92 -101
  59. package/dist/chunks/keep-tab.js.map +1 -1
  60. package/dist/chunks/lang.js +250 -0
  61. package/dist/chunks/lang.js.map +1 -0
  62. package/dist/chunks/legacy.js +197 -201
  63. package/dist/chunks/legacy.js.map +1 -1
  64. package/dist/chunks/list-dependent.js +195 -228
  65. package/dist/chunks/list-dependent.js.map +1 -1
  66. package/dist/chunks/loader.js +106 -0
  67. package/dist/chunks/loader.js.map +1 -0
  68. package/dist/chunks/monthSelect.js +251 -0
  69. package/dist/chunks/monthSelect.js.map +1 -0
  70. package/dist/chunks/router.js +111 -0
  71. package/dist/chunks/router.js.map +1 -0
  72. package/dist/chunks/s3-multipart-uploader.js +183 -210
  73. package/dist/chunks/s3-multipart-uploader.js.map +1 -1
  74. package/dist/chunks/s3-uploader.js +106 -128
  75. package/dist/chunks/s3-uploader.js.map +1 -1
  76. package/dist/chunks/show-on.js +358 -205
  77. package/dist/chunks/show-on.js.map +1 -1
  78. package/dist/chunks/timing.js +10 -0
  79. package/dist/chunks/timing.js.map +1 -0
  80. package/dist/chunks/tinymce.js +153 -203
  81. package/dist/chunks/tinymce.js.map +1 -1
  82. package/dist/chunks/ui-bootstrap5.js +58 -72
  83. package/dist/chunks/ui-bootstrap5.js.map +1 -1
  84. package/dist/chunks/ui.js +320 -0
  85. package/dist/chunks/ui.js.map +1 -0
  86. package/dist/chunks/unicorn.js.map +1 -1
  87. package/dist/chunks/useQueue.js +111 -0
  88. package/dist/chunks/useQueue.js.map +1 -0
  89. package/dist/chunks/useStack.js +76 -0
  90. package/dist/chunks/useStack.js.map +1 -0
  91. package/dist/chunks/validation.js +761 -853
  92. package/dist/chunks/validation.js.map +1 -1
  93. package/dist/editor.css +1 -1
  94. package/dist/index.d.ts +10 -8
  95. package/dist/multi-level-menu.css +1 -1
  96. package/dist/switcher.css +1 -1
  97. package/dist/unicorn.js +805 -130
  98. package/dist/unicorn.js.map +1 -1
  99. package/package.json +3 -3
  100. package/src/composable/useBsModalAlert.ts +29 -0
  101. package/src/composable/useHttp.ts +13 -1
  102. package/src/module/s3-uploader.ts +1 -1
  103. package/vite.config.ts +5 -1
  104. package/dist/chunks/_commonjsHelpers.js +0 -7
  105. package/dist/chunks/index.js +0 -314
  106. package/dist/chunks/isArguments.js +0 -146
  107. package/dist/chunks/unicorn.js +0 -2621
@@ -1,146 +0,0 @@
1
- var freeGlobal = typeof global == "object" && global && /* @__PURE__ */ (() => global.Object)() === Object && global;
2
- var freeSelf = typeof self == "object" && self && /* @__PURE__ */ (() => self.Object)() === Object && self;
3
- var root = freeGlobal || freeSelf || /* @__PURE__ */ Function("return this")();
4
- var Symbol$1 = /* @__PURE__ */ (() => root.Symbol)();
5
- var objectProto$3 = /* @__PURE__ */ (() => Object.prototype)();
6
- var hasOwnProperty$2 = /* @__PURE__ */ (() => objectProto$3.hasOwnProperty)();
7
- var nativeObjectToString$1 = /* @__PURE__ */ (() => objectProto$3.toString)();
8
- var symToStringTag$1 = Symbol$1 ? /* @__PURE__ */ (() => Symbol$1.toStringTag)() : void 0;
9
- function getRawTag(value) {
10
- var isOwn = hasOwnProperty$2.call(value, symToStringTag$1), tag = value[symToStringTag$1];
11
- try {
12
- value[symToStringTag$1] = void 0;
13
- var unmasked = true;
14
- } catch (e) {
15
- }
16
- var result = nativeObjectToString$1.call(value);
17
- if (unmasked) {
18
- if (isOwn) {
19
- value[symToStringTag$1] = tag;
20
- } else {
21
- delete value[symToStringTag$1];
22
- }
23
- }
24
- return result;
25
- }
26
- var objectProto$2 = /* @__PURE__ */ (() => Object.prototype)();
27
- var nativeObjectToString = /* @__PURE__ */ (() => objectProto$2.toString)();
28
- function objectToString(value) {
29
- return nativeObjectToString.call(value);
30
- }
31
- var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
32
- var symToStringTag = Symbol$1 ? /* @__PURE__ */ (() => Symbol$1.toStringTag)() : void 0;
33
- function baseGetTag(value) {
34
- if (value == null) {
35
- return value === void 0 ? undefinedTag : nullTag;
36
- }
37
- return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
38
- }
39
- function isObjectLike(value) {
40
- return value != null && typeof value == "object";
41
- }
42
- var isArray = /* @__PURE__ */ (() => Array.isArray)();
43
- function isObject(value) {
44
- var type = typeof value;
45
- return value != null && (type == "object" || type == "function");
46
- }
47
- var asyncTag = "[object AsyncFunction]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
48
- function isFunction(value) {
49
- if (!isObject(value)) {
50
- return false;
51
- }
52
- var tag = baseGetTag(value);
53
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
54
- }
55
- var coreJsData = /* @__PURE__ */ (() => root["__core-js_shared__"])();
56
- var maskSrcKey = /* @__PURE__ */ (function() {
57
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
58
- return uid ? "Symbol(src)_1." + uid : "";
59
- })();
60
- function isMasked(func) {
61
- return !!maskSrcKey && maskSrcKey in func;
62
- }
63
- var funcProto$1 = /* @__PURE__ */ (() => Function.prototype)();
64
- var funcToString$1 = /* @__PURE__ */ (() => funcProto$1.toString)();
65
- function toSource(func) {
66
- if (func != null) {
67
- try {
68
- return funcToString$1.call(func);
69
- } catch (e) {
70
- }
71
- try {
72
- return func + "";
73
- } catch (e) {
74
- }
75
- }
76
- return "";
77
- }
78
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
79
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
80
- var funcProto = /* @__PURE__ */ (() => Function.prototype)(), objectProto$1 = /* @__PURE__ */ (() => Object.prototype)();
81
- var funcToString = /* @__PURE__ */ (() => funcProto.toString)();
82
- var hasOwnProperty$1 = /* @__PURE__ */ (() => objectProto$1.hasOwnProperty)();
83
- var reIsNative = /* @__PURE__ */ RegExp(
84
- "^" + /* @__PURE__ */ funcToString.call(hasOwnProperty$1).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
85
- );
86
- function baseIsNative(value) {
87
- if (!isObject(value) || isMasked(value)) {
88
- return false;
89
- }
90
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
91
- return pattern.test(toSource(value));
92
- }
93
- function getValue(object, key) {
94
- return object == null ? void 0 : object[key];
95
- }
96
- function getNative(object, key) {
97
- var value = getValue(object, key);
98
- return baseIsNative(value) ? value : void 0;
99
- }
100
- var defineProperty = /* @__PURE__ */ (function() {
101
- try {
102
- var func = getNative(Object, "defineProperty");
103
- func({}, "", {});
104
- return func;
105
- } catch (e) {
106
- }
107
- })();
108
- function eq(value, other) {
109
- return value === other || value !== value && other !== other;
110
- }
111
- var MAX_SAFE_INTEGER = 9007199254740991;
112
- function isLength(value) {
113
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
114
- }
115
- function isArrayLike(value) {
116
- return value != null && isLength(value.length) && !isFunction(value);
117
- }
118
- var argsTag = "[object Arguments]";
119
- function baseIsArguments(value) {
120
- return isObjectLike(value) && baseGetTag(value) == argsTag;
121
- }
122
- var objectProto = /* @__PURE__ */ (() => Object.prototype)();
123
- var hasOwnProperty = /* @__PURE__ */ (() => objectProto.hasOwnProperty)();
124
- var propertyIsEnumerable = /* @__PURE__ */ (() => objectProto.propertyIsEnumerable)();
125
- var isArguments = /* @__PURE__ */ baseIsArguments(/* @__PURE__ */ (function() {
126
- return arguments;
127
- })()) ? baseIsArguments : function(value) {
128
- return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
129
- };
130
- export {
131
- Symbol$1 as S,
132
- isArray as a,
133
- baseGetTag as b,
134
- isObject as c,
135
- isArrayLike as d,
136
- eq as e,
137
- defineProperty as f,
138
- getNative as g,
139
- isLength as h,
140
- isObjectLike as i,
141
- freeGlobal as j,
142
- isArguments as k,
143
- root as r,
144
- toSource as t
145
- };
146
- //# sourceMappingURL=isArguments.js.map