@sybz-components/utils 1.0.8 → 1.0.9

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 CHANGED
@@ -3,7 +3,7 @@
3
3
  require('vue');
4
4
  require('consola');
5
5
  require('es-toolkit');
6
- const format = require('./shared/utils.DgGGZO3M.cjs');
6
+ const format = require('./shared/utils.Y29JLBLz.cjs');
7
7
  require('element-plus');
8
8
  require('./is.cjs');
9
9
 
package/dist/base.mjs CHANGED
@@ -1,6 +1,6 @@
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.D9a8F_tn.mjs';
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.Co6HoBFm.mjs';
5
5
  import 'element-plus';
6
6
  import './is.mjs';
package/dist/format.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const format = require('./shared/utils.DgGGZO3M.cjs');
3
+ const format = require('./shared/utils.Y29JLBLz.cjs');
4
4
  require('./is.cjs');
5
5
  require('consola');
6
6
  require('vue');
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.D9a8F_tn.mjs';
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.Co6HoBFm.mjs';
2
2
  import './is.mjs';
3
3
  import 'consola';
4
4
  import 'vue';
@@ -139,7 +139,7 @@ const gitCommitLog = (options = {}) => {
139
139
  return [
140
140
  {
141
141
  tag: "script",
142
- children: createClientCode(info, defaultLimit, options.autoPrint ?? true, options.expanded ?? true),
142
+ children: createClientCode(info, defaultLimit, options.autoPrint ?? true, options.expanded ?? false),
143
143
  injectTo: "head-prepend"
144
144
  }
145
145
  ];
@@ -35,7 +35,7 @@ interface GitCommitLogOptions {
35
35
  defaultLimit?: number;
36
36
  /** 页面加载后自动打印;传数字时同时指定打印条数,默认 true。 */
37
37
  autoPrint?: boolean | number;
38
- /** 打印后是否默认展开控制台分组,默认 true。 */
38
+ /** 打印后是否默认展开控制台分组,默认 false。 */
39
39
  expanded?: boolean;
40
40
  }
41
41
  declare global {
@@ -35,7 +35,7 @@ interface GitCommitLogOptions {
35
35
  defaultLimit?: number;
36
36
  /** 页面加载后自动打印;传数字时同时指定打印条数,默认 true。 */
37
37
  autoPrint?: boolean | number;
38
- /** 打印后是否默认展开控制台分组,默认 true。 */
38
+ /** 打印后是否默认展开控制台分组,默认 false。 */
39
39
  expanded?: boolean;
40
40
  }
41
41
  declare global {
@@ -35,7 +35,7 @@ interface GitCommitLogOptions {
35
35
  defaultLimit?: number;
36
36
  /** 页面加载后自动打印;传数字时同时指定打印条数,默认 true。 */
37
37
  autoPrint?: boolean | number;
38
- /** 打印后是否默认展开控制台分组,默认 true。 */
38
+ /** 打印后是否默认展开控制台分组,默认 false。 */
39
39
  expanded?: boolean;
40
40
  }
41
41
  declare global {
@@ -137,7 +137,7 @@ const gitCommitLog = (options = {}) => {
137
137
  return [
138
138
  {
139
139
  tag: "script",
140
- children: createClientCode(info, defaultLimit, options.autoPrint ?? true, options.expanded ?? true),
140
+ children: createClientCode(info, defaultLimit, options.autoPrint ?? true, options.expanded ?? false),
141
141
  injectTo: "head-prepend"
142
142
  }
143
143
  ];
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const format = require('./shared/utils.DgGGZO3M.cjs');
3
+ const format = require('./shared/utils.Y29JLBLz.cjs');
4
4
  const is = require('./is.cjs');
5
5
  require('vue');
6
6
  require('consola');
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { $ as $toast, c as clearStorage, a as clone, b as configureUtils, d as confirm, e as copy, 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, 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.D9a8F_tn.mjs';
1
+ export { $ as $toast, c as clearStorage, a as clone, b as configureUtils, d as confirm, e as copy, 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, 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.Co6HoBFm.mjs';
2
2
  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';
3
3
  import 'vue';
4
4
  import 'consola';
@@ -1064,7 +1064,7 @@ function getVariable(propertyName, fallback = "") {
1064
1064
  const DEFAULT_BUILD_TIME_FALLBACK = "\u672A\u6CE8\u5165";
1065
1065
  function getUtilsBuildTime(fallback = DEFAULT_BUILD_TIME_FALLBACK) {
1066
1066
  {
1067
- return "2026-08-24 10:43:21";
1067
+ return "2026-08-24 16:51:35";
1068
1068
  }
1069
1069
  }
1070
1070
  function test() {
@@ -1066,7 +1066,7 @@ function getVariable(propertyName, fallback = "") {
1066
1066
  const DEFAULT_BUILD_TIME_FALLBACK = "\u672A\u6CE8\u5165";
1067
1067
  function getUtilsBuildTime(fallback = DEFAULT_BUILD_TIME_FALLBACK) {
1068
1068
  {
1069
- return "2026-08-24 10:43:21";
1069
+ return "2026-08-24 16:51:35";
1070
1070
  }
1071
1071
  }
1072
1072
  function test() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sybz-components/utils",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "utils of sybz-components",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",