@sybz-components/utils 1.0.13 → 1.0.14
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/base.cjs +1 -1
- package/dist/base.mjs +1 -1
- package/dist/format.cjs +1 -1
- package/dist/format.mjs +1 -1
- package/dist/http.cjs +1 -1
- package/dist/http.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{utils.1vSv2Q9r.cjs → utils.Cp3n3FrB.cjs} +1 -1
- package/dist/shared/{utils.B9RT8TZf.mjs → utils.Dx5Dp11G.mjs} +1 -1
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +5 -5
package/dist/base.cjs
CHANGED
package/dist/base.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'vue';
|
|
2
2
|
import 'consola';
|
|
3
3
|
import 'es-toolkit';
|
|
4
|
-
export { $ as $toast, c as clearStorage, a as clone, b as configureUtils, d as confirm, e as copy, f as debounce, g as delay, h as getStorage, i as getType, j as getUtilsBuildTime, k as getVariable, l as isEmpty, m as log, n as merge, o as mockValue, p as processWidth, r as random, s as setStorage, t as test, q as throttle, u as toLine, v as tryCatch, w as validate, x as validateForm, y as validateOnSubmit } from './shared/utils.
|
|
4
|
+
export { $ as $toast, c as clearStorage, a as clone, b as configureUtils, d as confirm, e as copy, f as debounce, g as delay, h as getStorage, i as getType, j as getUtilsBuildTime, k as getVariable, l as isEmpty, m as log, n as merge, o as mockValue, p as processWidth, r as random, s as setStorage, t as test, q as throttle, u as toLine, v as tryCatch, w as validate, x as validateForm, y as validateOnSubmit } from './shared/utils.Dx5Dp11G.mjs';
|
|
5
5
|
import './confirmSemantic.mjs';
|
|
6
6
|
import 'element-plus';
|
|
7
7
|
import 'axios';
|
package/dist/format.cjs
CHANGED
package/dist/format.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { z as formatBytes, A as formatBytesConvert, B as formatDurationTime, C as formatTextToHtml, D as formatThousands, E as formatTime, F as formatToFixed } from './shared/utils.
|
|
1
|
+
export { z as formatBytes, A as formatBytesConvert, B as formatDurationTime, C as formatTextToHtml, D as formatThousands, E as formatTime, F as formatToFixed } from './shared/utils.Dx5Dp11G.mjs';
|
|
2
2
|
import './is.mjs';
|
|
3
3
|
import 'consola';
|
|
4
4
|
import 'vue';
|
package/dist/http.cjs
CHANGED
package/dist/http.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'axios';
|
|
2
|
-
export { H as HttpError, G as configureHttp, I as createHttp, J as http } from './shared/utils.
|
|
2
|
+
export { H as HttpError, G as configureHttp, I as createHttp, J as http } from './shared/utils.Dx5Dp11G.mjs';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import 'consola';
|
|
5
5
|
import 'es-toolkit';
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { $ as $toast, H as HttpError, c as clearStorage, a as clone, G as configureHttp, b as configureUtils, d as confirm, e as copy, I as createHttp, f as debounce, g as delay, z as formatBytes, A as formatBytesConvert, B as formatDurationTime, C as formatTextToHtml, D as formatThousands, E as formatTime, F as formatToFixed, h as getStorage, i as getType, j as getUtilsBuildTime, k as getVariable, J as http, l as isEmpty, m as log, n as merge, o as mockValue, p as processWidth, r as random, s as setStorage, t as test, q as throttle, u as toLine, v as tryCatch, w as validate, x as validateForm, y as validateOnSubmit } from './shared/utils.
|
|
1
|
+
export { $ as $toast, H as HttpError, c as clearStorage, a as clone, G as configureHttp, b as configureUtils, d as confirm, e as copy, I as createHttp, f as debounce, g as delay, z as formatBytes, A as formatBytesConvert, B as formatDurationTime, C as formatTextToHtml, D as formatThousands, E as formatTime, F as formatToFixed, h as getStorage, i as getType, j as getUtilsBuildTime, k as getVariable, J as http, l as isEmpty, m as log, n as merge, o as mockValue, p as processWidth, r as random, s as setStorage, t as test, q as throttle, u as toLine, v as tryCatch, w as validate, x as validateForm, y as validateOnSubmit } from './shared/utils.Dx5Dp11G.mjs';
|
|
2
2
|
export { resolveConfirmSemantic } from './confirmSemantic.mjs';
|
|
3
3
|
export { isArray, isBoolean, isComponent, isDate, isEmptyObject, isFunction, isIOS, isMap, isNumber, isObject, isPlainObject, isPromise, isRegExp, isSVGElement, isSet, isString, isStringNumber, isSymbol, isUrl, objectToString, toRawType, toTypeString } from './is.mjs';
|
|
4
4
|
export { SYBZ_THEME_PREFIX, isSybzTheme, resolveSybzComponentTheme } from './theme.mjs';
|
|
@@ -1202,7 +1202,7 @@ function getVariable(propertyName, fallback = "") {
|
|
|
1202
1202
|
const DEFAULT_BUILD_TIME_FALLBACK = "\u672A\u6CE8\u5165";
|
|
1203
1203
|
function getUtilsBuildTime(fallback = DEFAULT_BUILD_TIME_FALLBACK) {
|
|
1204
1204
|
{
|
|
1205
|
-
return "2026-09-
|
|
1205
|
+
return "2026-09-23 17:35:43";
|
|
1206
1206
|
}
|
|
1207
1207
|
}
|
|
1208
1208
|
function test() {
|
|
@@ -1196,7 +1196,7 @@ function getVariable(propertyName, fallback = "") {
|
|
|
1196
1196
|
const DEFAULT_BUILD_TIME_FALLBACK = "\u672A\u6CE8\u5165";
|
|
1197
1197
|
function getUtilsBuildTime(fallback = DEFAULT_BUILD_TIME_FALLBACK) {
|
|
1198
1198
|
{
|
|
1199
|
-
return "2026-09-
|
|
1199
|
+
return "2026-09-23 17:35:43";
|
|
1200
1200
|
}
|
|
1201
1201
|
}
|
|
1202
1202
|
function test() {
|
package/dist/vite.cjs
CHANGED
|
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
|
|
12
12
|
const tailwindcss__default = /*#__PURE__*/_interopDefaultCompat(tailwindcss);
|
|
13
13
|
|
|
14
|
-
const createCodeInspector = (options = {}) => codeInspectorPlugin.codeInspectorPlugin({ ...options, bundler: "vite" });
|
|
14
|
+
const createCodeInspector = (options = {}) => codeInspectorPlugin.codeInspectorPlugin({ editor: "code", ...options, bundler: "vite" });
|
|
15
15
|
const formatBuildTime = (date) => {
|
|
16
16
|
const pad = (value) => String(value).padStart(2, "0");
|
|
17
17
|
return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())} ${pad(date.getHours())}:${pad(
|
package/dist/vite.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import 'node:child_process';
|
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'node:path';
|
|
7
7
|
|
|
8
|
-
const createCodeInspector = (options = {}) => codeInspectorPlugin({ ...options, bundler: "vite" });
|
|
8
|
+
const createCodeInspector = (options = {}) => codeInspectorPlugin({ editor: "code", ...options, bundler: "vite" });
|
|
9
9
|
const formatBuildTime = (date) => {
|
|
10
10
|
const pad = (value) => String(value).padStart(2, "0");
|
|
11
11
|
return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())} ${pad(date.getHours())}:${pad(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sybz-components/utils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "utils of sybz-components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -54,24 +54,24 @@
|
|
|
54
54
|
},
|
|
55
55
|
"author": "",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"axios": "^1.19.0",
|
|
58
57
|
"@eslint/js": "9.39.4",
|
|
59
58
|
"@tailwindcss/vite": "^4.3.3",
|
|
60
59
|
"@typescript-eslint/eslint-plugin": "8.62.0",
|
|
61
60
|
"@typescript-eslint/parser": "8.62.0",
|
|
62
61
|
"@vue/reactivity": "^3.5.18",
|
|
63
62
|
"@vue/shared": "^3.5.18",
|
|
64
|
-
"
|
|
63
|
+
"axios": "^1.19.0",
|
|
64
|
+
"code-inspector-plugin": "^2.0.9",
|
|
65
65
|
"consola": "^3.4.2",
|
|
66
66
|
"element-plus": "^2.11.5",
|
|
67
|
+
"es-toolkit": "^1.39.10",
|
|
67
68
|
"eslint": "9.39.4",
|
|
68
69
|
"eslint-config-prettier": "9.1.2",
|
|
69
70
|
"eslint-plugin-vue": "10.9.2",
|
|
70
|
-
"es-toolkit": "^1.39.10",
|
|
71
|
-
"lodash-es": "^4.17.21",
|
|
72
71
|
"globals": "16.5.0",
|
|
73
72
|
"husky": "9.1.7",
|
|
74
73
|
"lint-staged": "15.5.2",
|
|
74
|
+
"lodash-es": "^4.17.21",
|
|
75
75
|
"prettier": "3.8.4",
|
|
76
76
|
"tailwindcss": "^4.3.3",
|
|
77
77
|
"vue": "3.4.15",
|