g-ui-web 1.3.26 → 1.3.27

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.
Binary file
package/lib/g-ui-web.js CHANGED
@@ -2118,7 +2118,7 @@ function ZB(e, t = 500, n, r) {
2118
2118
  a && clearTimeout(a), o = !1, a = null;
2119
2119
  }, i;
2120
2120
  }
2121
- function s2t(e, t, n = { leading: !1, trailing: !0 }) {
2121
+ function l2t(e, t, n = { leading: !1, trailing: !0 }) {
2122
2122
  let r = null, a = 0;
2123
2123
  const { leading: o, trailing: i } = n, s = function(...l) {
2124
2124
  const u = Date.now();
@@ -2135,7 +2135,7 @@ function s2t(e, t, n = { leading: !1, trailing: !0 }) {
2135
2135
  function khe(e) {
2136
2136
  return e.replace(/([A-Z])/g, "_$1").toLowerCase();
2137
2137
  }
2138
- function l2t(e, t = 2, n = ",", r = ".", a = "", o = "") {
2138
+ function u2t(e, t = 2, n = ",", r = ".", a = "", o = "") {
2139
2139
  if (Number(e) === 0)
2140
2140
  return Number(e).toFixed(t).replace(/\.?0+$/, "");
2141
2141
  if (!e)
@@ -2189,7 +2189,7 @@ const Dhe = (e, t) => e.toFixed(t), Ohe = (e) => 0 .toFixed(e) + "%", Mhe = (e,
2189
2189
  clear() {
2190
2190
  window.localStorage.clear();
2191
2191
  }
2192
- }, u2t = {
2192
+ }, c2t = {
2193
2193
  // 设置临时缓存
2194
2194
  set(e, t) {
2195
2195
  window.sessionStorage.setItem(Mg.setKey(e), JSON.stringify(t));
@@ -117134,10 +117134,9 @@ const yU = {
117134
117134
  };
117135
117135
  typeof window < "u" && window.Vue && aB(window.Vue);
117136
117136
  typeof window < "u" && window.baseURL && aB(window.baseURL);
117137
- const h2t = {
117138
- // 导出的对象必须具有 install,才能被 Vue.use() 方法安装
117137
+ const a2t = {
117139
117138
  install: aB
117140
- }, a2t = {
117139
+ }, o2t = {
117141
117140
  setTheme: CZ,
117142
117141
  getTheme: _Z,
117143
117142
  getThemeList: xNe,
@@ -117146,7 +117145,8 @@ const h2t = {
117146
117145
  getAjaxConfig: Rhe,
117147
117146
  loading: $M
117148
117147
  };
117149
- globalThis.gui = a2t;
117148
+ globalThis.gui = o2t;
117149
+ typeof window < "u" && (window.GuiWeb = a2t);
117150
117150
  export {
117151
117151
  g2 as DataSource,
117152
117152
  ynt as GBar,
@@ -117234,11 +117234,11 @@ export {
117234
117234
  FTt as GUpload,
117235
117235
  RAt as GWatermark,
117236
117236
  Mg as Local,
117237
- u2t as Session,
117237
+ c2t as Session,
117238
117238
  ZB as debounce,
117239
- h2t as default,
117240
- l2t as formatNumber,
117241
- a2t as gui,
117239
+ a2t as default,
117240
+ u2t as formatNumber,
117241
+ o2t as gui,
117242
117242
  CZ as setTheme,
117243
- s2t as throttle
117243
+ l2t as throttle
117244
117244
  };
Binary file