@whitesev/pops 1.5.3 → 1.5.4

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 (38) hide show
  1. package/dist/index.amd.js +111 -50
  2. package/dist/index.amd.js.map +1 -1
  3. package/dist/index.cjs.js +111 -50
  4. package/dist/index.cjs.js.map +1 -1
  5. package/dist/index.esm.js +111 -50
  6. package/dist/index.esm.js.map +1 -1
  7. package/dist/index.iife.js +111 -50
  8. package/dist/index.iife.js.map +1 -1
  9. package/dist/index.system.js +111 -50
  10. package/dist/index.system.js.map +1 -1
  11. package/dist/index.umd.js +111 -50
  12. package/dist/index.umd.js.map +1 -1
  13. package/dist/types/src/components/rightClickMenu/indexType.d.ts +1 -1
  14. package/dist/types/src/components/searchSuggestion/indexType.d.ts +1 -1
  15. package/dist/types/src/components/tooltip/indexType.d.ts +1 -1
  16. package/dist/types/src/handler/PopsElementHandler.d.ts +2 -1
  17. package/dist/types/src/handler/PopsHandler.d.ts +5 -0
  18. package/dist/types/src/types/components.d.ts +1 -1
  19. package/package.json +3 -2
  20. package/src/Pops.ts +1 -1
  21. package/src/components/alert/index.ts +6 -3
  22. package/src/components/confirm/index.ts +6 -3
  23. package/src/components/drawer/index.ts +6 -3
  24. package/src/components/folder/index.ts +6 -2
  25. package/src/components/iframe/index.ts +12 -8
  26. package/src/components/loading/index.ts +8 -3
  27. package/src/components/panel/index.ts +8 -3
  28. package/src/components/prompt/index.ts +7 -4
  29. package/src/components/rightClickMenu/index.ts +15 -3
  30. package/src/components/rightClickMenu/indexType.ts +1 -1
  31. package/src/components/searchSuggestion/index.ts +1 -1
  32. package/src/components/searchSuggestion/indexType.ts +1 -1
  33. package/src/components/tooltip/index.ts +3 -1
  34. package/src/components/tooltip/indexType.ts +1 -1
  35. package/src/handler/PopsElementHandler.ts +24 -18
  36. package/src/handler/PopsHandler.ts +27 -4
  37. package/src/types/components.d.ts +1 -1
  38. package/src/utils/PopsUtils.ts +8 -4
package/dist/index.esm.js CHANGED
@@ -1522,17 +1522,21 @@ class PopsUtils {
1522
1522
  else {
1523
1523
  for (const targetKeyName in target) {
1524
1524
  if (targetKeyName in source) {
1525
+ // @ts-ignore
1525
1526
  let targetValue = target[targetKeyName];
1527
+ // @ts-ignore
1526
1528
  let sourceValue = source[targetKeyName];
1527
1529
  if (typeof sourceValue === "object" &&
1528
1530
  sourceValue != null &&
1529
1531
  !UtilsContext.isDOM(sourceValue) &&
1530
1532
  Object.keys(sourceValue).length) {
1531
1533
  /* 源端的值是object类型,且不是元素节点 */
1534
+ // @ts-ignore
1532
1535
  target[targetKeyName] = UtilsContext.assign(targetValue, sourceValue, isAdd);
1533
1536
  continue;
1534
1537
  }
1535
1538
  /* 直接赋值 */
1539
+ // @ts-ignore
1536
1540
  target[targetKeyName] = sourceValue;
1537
1541
  }
1538
1542
  }
@@ -3550,6 +3554,9 @@ const PopsElementHandler = {
3550
3554
  */
3551
3555
  getMaskHTML(guid, zIndex = 101, style = "") {
3552
3556
  zIndex = zIndex - 100;
3557
+ if (style.startsWith(";")) {
3558
+ style = style.replace(";", "");
3559
+ }
3553
3560
  return `<div class="pops-mask" data-guid="${guid}" style="z-index:${zIndex};${style}"></div>`;
3554
3561
  },
3555
3562
  /**
@@ -3559,15 +3566,16 @@ const PopsElementHandler = {
3559
3566
  * @param config
3560
3567
  * @param html
3561
3568
  * @param bottomBtnHTML
3569
+ * @param zIndex
3562
3570
  */
3563
- getAnimHTML(guid, type, config, html = "", bottomBtnHTML = "") {
3571
+ getAnimHTML(guid, type, config, html = "", bottomBtnHTML = "", zIndex) {
3564
3572
  let __config = config;
3565
3573
  let popsAnimStyle = "";
3566
3574
  let popsStyle = "";
3567
3575
  let popsPosition = __config.position || "";
3568
3576
  if (config.zIndex != null) {
3569
- popsAnimStyle += `z-index: ${config.zIndex};`;
3570
- popsStyle += `z-index: ${config.zIndex};`;
3577
+ popsAnimStyle += `z-index: ${zIndex};`;
3578
+ popsStyle += `z-index: ${zIndex};`;
3571
3579
  }
3572
3580
  if (__config.width != null) {
3573
3581
  popsStyle += `width: ${__config.width};`;
@@ -3576,24 +3584,25 @@ const PopsElementHandler = {
3576
3584
  popsStyle += `height: ${__config.height};`;
3577
3585
  }
3578
3586
  let hasBottomBtn = bottomBtnHTML.trim() === "" ? false : true;
3579
- return `<div
3580
- class="pops-anim"
3581
- anim="${__config.animation || ""}"
3582
- style="${popsAnimStyle};"
3583
- data-guid="${guid}">
3587
+ return /*html*/ `
3588
+ <div
3589
+ class="pops-anim"
3590
+ anim="${__config.animation || ""}"
3591
+ style="${popsAnimStyle};"
3592
+ data-guid="${guid}">
3584
3593
  ${config.style != null
3585
3594
  ? `<style tyle="text/css">${config.style}</style>`
3586
3595
  : ""}
3587
- <div
3588
- class="pops ${config.class || ""}"
3589
- data-bottom-btn="${hasBottomBtn}"
3590
- type-value="${type}"
3591
- style="${popsStyle}"
3592
- position="${popsPosition}"
3593
- data-guid="${guid}">
3594
- ${html}
3595
- </div>
3596
- </div>`;
3596
+ <div
3597
+ class="pops ${config.class || ""}"
3598
+ data-bottom-btn="${hasBottomBtn}"
3599
+ type-value="${type}"
3600
+ style="${popsStyle}"
3601
+ position="${popsPosition}"
3602
+ data-guid="${guid}">
3603
+ ${html}
3604
+ </div>
3605
+ </div>`;
3597
3606
  },
3598
3607
  /**
3599
3608
  * 获取顶部按钮层HTML
@@ -4203,6 +4212,18 @@ const PopsHandler = {
4203
4212
  capture: true,
4204
4213
  });
4205
4214
  },
4215
+ /**
4216
+ * 把配置的z-index配置转为数字
4217
+ * @param zIndex
4218
+ */
4219
+ handleZIndex(zIndex) {
4220
+ if (typeof zIndex === "function") {
4221
+ return zIndex();
4222
+ }
4223
+ else {
4224
+ return zIndex;
4225
+ }
4226
+ },
4206
4227
  /**
4207
4228
  * 处理config.only
4208
4229
  * @param type 当前弹窗类型
@@ -4228,8 +4249,19 @@ const PopsHandler = {
4228
4249
  }
4229
4250
  }
4230
4251
  else {
4231
- const { zIndex: maxZIndex } = PopsInstanceUtils.getPopsMaxZIndex(config.zIndex + 100);
4232
- config.zIndex = maxZIndex;
4252
+ // 对配置进行处理
4253
+ // 选择配置的z-index和已有的pops实例的最大z-index值
4254
+ if (typeof config.zIndex === "function") {
4255
+ let originZIndexFn = config.zIndex;
4256
+ config.zIndex = () => {
4257
+ const { zIndex: maxZIndex } = PopsInstanceUtils.getPopsMaxZIndex(PopsHandler.handleZIndex(originZIndexFn) + 100);
4258
+ return maxZIndex;
4259
+ };
4260
+ }
4261
+ else {
4262
+ const { zIndex: maxZIndex } = PopsInstanceUtils.getPopsMaxZIndex(PopsHandler.handleZIndex(config.zIndex) + 100);
4263
+ config.zIndex = maxZIndex;
4264
+ }
4233
4265
  }
4234
4266
  return config;
4235
4267
  },
@@ -4317,12 +4349,15 @@ class PopsAlert {
4317
4349
  // 设置当前类型
4318
4350
  const PopsType = "alert";
4319
4351
  config = PopsHandler.handleOnly(PopsType, config);
4320
- let maskHTML = PopsElementHandler.getMaskHTML(guid, config.zIndex);
4352
+ // 先把z-index提取出来
4353
+ let zIndex = PopsHandler.handleZIndex(config.zIndex);
4354
+ let maskHTML = PopsElementHandler.getMaskHTML(guid, zIndex);
4321
4355
  let headerBtnHTML = PopsElementHandler.getHeaderBtnHTML(PopsType, config);
4322
4356
  let bottomBtnHTML = PopsElementHandler.getBottomBtnHTML(PopsType, config);
4323
4357
  let { headerStyle, headerPStyle } = PopsElementHandler.getHeaderStyle(PopsType, config);
4324
4358
  let { contentStyle, contentPStyle } = PopsElementHandler.getContentStyle(PopsType, config);
4325
- let animHTML = PopsElementHandler.getAnimHTML(guid, PopsType, config, `
4359
+ let animHTML = PopsElementHandler.getAnimHTML(guid, PopsType, config,
4360
+ /*html*/ `
4326
4361
  <div
4327
4362
  class="pops-alert-title"
4328
4363
  style="text-align: ${config.title.position};
@@ -4337,7 +4372,7 @@ class PopsAlert {
4337
4372
  ? config.content.text
4338
4373
  : `<p pops style="${contentPStyle}">${config.content.text}</p>`}
4339
4374
  </div>
4340
- ${bottomBtnHTML}`, bottomBtnHTML);
4375
+ ${bottomBtnHTML}`, bottomBtnHTML, zIndex);
4341
4376
  /**
4342
4377
  * 弹窗的主元素,包括动画层
4343
4378
  */
@@ -4499,12 +4534,15 @@ class PopsConfirm {
4499
4534
  // 设置当前类型
4500
4535
  const PopsType = "confirm";
4501
4536
  config = PopsHandler.handleOnly(PopsType, config);
4502
- let maskHTML = PopsElementHandler.getMaskHTML(guid, config.zIndex);
4537
+ // 先把z-index提取出来
4538
+ let zIndex = PopsHandler.handleZIndex(config.zIndex);
4539
+ let maskHTML = PopsElementHandler.getMaskHTML(guid, zIndex);
4503
4540
  let headerBtnHTML = PopsElementHandler.getHeaderBtnHTML(PopsType, config);
4504
4541
  let bottomBtnHTML = PopsElementHandler.getBottomBtnHTML(PopsType, config);
4505
4542
  let { headerStyle, headerPStyle } = PopsElementHandler.getHeaderStyle(PopsType, config);
4506
4543
  let { contentStyle, contentPStyle } = PopsElementHandler.getContentStyle(PopsType, config);
4507
- let animHTML = PopsElementHandler.getAnimHTML(guid, PopsType, config, `
4544
+ let animHTML = PopsElementHandler.getAnimHTML(guid, PopsType, config,
4545
+ /*html*/ `
4508
4546
  <div class="pops-confirm-title" style="text-align: ${config.title.position};${headerStyle}">
4509
4547
  ${config.title.html
4510
4548
  ? config.title.text
@@ -4518,7 +4556,7 @@ class PopsConfirm {
4518
4556
 
4519
4557
  </div>
4520
4558
  ${bottomBtnHTML}
4521
- `, bottomBtnHTML);
4559
+ `, bottomBtnHTML, zIndex);
4522
4560
  /**
4523
4561
  * 弹窗的主元素,包括动画层
4524
4562
  */
@@ -4687,12 +4725,15 @@ class PopsPrompt {
4687
4725
  let guid = popsUtils.getRandomGUID();
4688
4726
  const PopsType = "prompt";
4689
4727
  config = PopsHandler.handleOnly(PopsType, config);
4690
- let maskHTML = PopsElementHandler.getMaskHTML(guid, config.zIndex);
4728
+ // 先把z-index提取出来
4729
+ let zIndex = PopsHandler.handleZIndex(config.zIndex);
4730
+ let maskHTML = PopsElementHandler.getMaskHTML(guid, zIndex);
4691
4731
  let headerBtnHTML = PopsElementHandler.getHeaderBtnHTML(PopsType, config);
4692
4732
  let bottomBtnHTML = PopsElementHandler.getBottomBtnHTML(PopsType, config);
4693
4733
  let { headerStyle, headerPStyle } = PopsElementHandler.getHeaderStyle(PopsType, config);
4694
4734
  let { contentPStyle } = PopsElementHandler.getContentStyle(PopsType, config);
4695
- let animHTML = PopsElementHandler.getAnimHTML(guid, PopsType, config, `
4735
+ let animHTML = PopsElementHandler.getAnimHTML(guid, PopsType, config,
4736
+ /*html*/ `
4696
4737
  <div class="pops-prompt-title" style="text-align: ${config.title.position};${headerStyle}">
4697
4738
  ${config.title.html
4698
4739
  ? config.title.text
@@ -4710,8 +4751,8 @@ class PopsPrompt {
4710
4751
  (config.content.password ? "password" : "text") +
4711
4752
  '">'}
4712
4753
  </div>
4713
- ${bottomBtnHTML}
4714
- `, bottomBtnHTML);
4754
+ ${bottomBtnHTML}
4755
+ `, bottomBtnHTML, zIndex);
4715
4756
  /**
4716
4757
  * 弹窗的主元素,包括动画层
4717
4758
  */
@@ -4808,9 +4849,12 @@ class PopsLoading {
4808
4849
  let guid = popsUtils.getRandomGUID();
4809
4850
  const PopsType = "loading";
4810
4851
  config = PopsHandler.handleOnly(PopsType, config);
4811
- let maskHTML = PopsElementHandler.getMaskHTML(guid, config.zIndex);
4852
+ // 先把z-index提取出来
4853
+ let zIndex = PopsHandler.handleZIndex(config.zIndex);
4854
+ let maskHTML = PopsElementHandler.getMaskHTML(guid, zIndex);
4812
4855
  let { contentPStyle } = PopsElementHandler.getContentStyle("loading", config);
4813
- let animHTML = PopsElementHandler.getAnimHTML(guid, PopsType, config, `
4856
+ let animHTML = PopsElementHandler.getAnimHTML(guid, PopsType, config,
4857
+ /*html*/ `
4814
4858
  <div class="pops-loading-content">
4815
4859
  ${config.addIndexCSS
4816
4860
  ? `
@@ -4825,7 +4869,7 @@ class PopsLoading {
4825
4869
  ${config.style != null ? `<style>${config.style}</style>` : ""}
4826
4870
  <p pops style="${contentPStyle}">${config.content.text}</p>
4827
4871
  </div>
4828
- `, "");
4872
+ `, "", zIndex);
4829
4873
  /**
4830
4874
  * 弹窗的主元素,包括动画层
4831
4875
  */
@@ -4941,12 +4985,15 @@ class PopsIframe {
4941
4985
  let maskExtraStyle = config.animation != null && config.animation != ""
4942
4986
  ? "position:absolute;"
4943
4987
  : "";
4944
- let maskHTML = PopsElementHandler.getMaskHTML(guid, config.zIndex, maskExtraStyle);
4988
+ // 先把z-index提取出来
4989
+ let zIndex = PopsHandler.handleZIndex(config.zIndex);
4990
+ let maskHTML = PopsElementHandler.getMaskHTML(guid, zIndex, maskExtraStyle);
4945
4991
  let headerBtnHTML = PopsElementHandler.getHeaderBtnHTML(PopsType, config);
4946
4992
  let iframeLoadingHTML = '<div class="pops-loading"></div>';
4947
4993
  let titleText = config.title.text.trim() !== "" ? config.title.text : config.url;
4948
4994
  let { headerStyle, headerPStyle } = PopsElementHandler.getHeaderStyle(PopsType, config);
4949
- let animHTML = PopsElementHandler.getAnimHTML(guid, PopsType, config, `
4995
+ let animHTML = PopsElementHandler.getAnimHTML(guid, PopsType, config,
4996
+ /*html*/ `
4950
4997
  <div
4951
4998
  class="pops-iframe-title"
4952
4999
  style="text-align: ${config.title.position};${headerStyle}"
@@ -4967,7 +5014,7 @@ class PopsIframe {
4967
5014
  </iframe>
4968
5015
  </div>
4969
5016
  ${config.loading.enable ? iframeLoadingHTML : ""}
4970
- `, "");
5017
+ `, "", zIndex);
4971
5018
  /**
4972
5019
  * 弹窗的主元素,包括动画层
4973
5020
  */
@@ -5199,7 +5246,7 @@ class PopsTooltip {
5199
5246
  popsDOMUtils.addClassName(_toolTipElement_, config.className);
5200
5247
  }
5201
5248
  _toolTipElement_.setAttribute("data-guid", guid);
5202
- _toolTipElement_.style.zIndex = config.zIndex.toString();
5249
+ _toolTipElement_.style.zIndex = PopsHandler.handleZIndex(config.zIndex).toString();
5203
5250
  _toolTipElement_.innerHTML = `<div style="text-align: center;">${getContent()}</div>`;
5204
5251
  /* 箭头元素 */
5205
5252
  let _toolTipArrowHTML_ = '<div class="pops-tip-arrow"></div>';
@@ -5516,12 +5563,15 @@ class PopsDrawer {
5516
5563
  let guid = popsUtils.getRandomGUID();
5517
5564
  const PopsType = "drawer";
5518
5565
  config = PopsHandler.handleOnly(PopsType, config);
5519
- let maskHTML = PopsElementHandler.getMaskHTML(guid, config.zIndex);
5566
+ // 先把z-index提取出来
5567
+ let zIndex = PopsHandler.handleZIndex(config.zIndex);
5568
+ let maskHTML = PopsElementHandler.getMaskHTML(guid, zIndex);
5520
5569
  let headerBtnHTML = PopsElementHandler.getHeaderBtnHTML(PopsType, config);
5521
5570
  let bottomBtnHTML = PopsElementHandler.getBottomBtnHTML(PopsType, config);
5522
5571
  let { headerStyle, headerPStyle } = PopsElementHandler.getHeaderStyle(PopsType, config);
5523
5572
  let { contentStyle, contentPStyle } = PopsElementHandler.getContentStyle(PopsType, config);
5524
- let animHTML = PopsElementHandler.getAnimHTML(guid, PopsType, config, `
5573
+ let animHTML = PopsElementHandler.getAnimHTML(guid, PopsType, config,
5574
+ /*html*/ `
5525
5575
  ${config.title.enable
5526
5576
  ? `
5527
5577
  <div class="pops-${PopsType}-title" style="${headerStyle}">
@@ -5545,7 +5595,7 @@ class PopsDrawer {
5545
5595
  </div>
5546
5596
 
5547
5597
  ${bottomBtnHTML}
5548
- `, bottomBtnHTML);
5598
+ `, bottomBtnHTML, zIndex);
5549
5599
  /**
5550
5600
  * 弹窗的主元素,包括动画层
5551
5601
  */
@@ -5903,7 +5953,9 @@ class PopsFolder {
5903
5953
  let guid = popsUtils.getRandomGUID();
5904
5954
  const PopsType = "folder";
5905
5955
  config = PopsHandler.handleOnly(PopsType, config);
5906
- let maskHTML = PopsElementHandler.getMaskHTML(guid, config.zIndex);
5956
+ // 先把z-index提取出来
5957
+ let zIndex = PopsHandler.handleZIndex(config.zIndex);
5958
+ let maskHTML = PopsElementHandler.getMaskHTML(guid, zIndex);
5907
5959
  let headerBtnHTML = PopsElementHandler.getHeaderBtnHTML(PopsType, config);
5908
5960
  let bottomBtnHTML = PopsElementHandler.getBottomBtnHTML(PopsType, config);
5909
5961
  let { headerStyle, headerPStyle } = PopsElementHandler.getHeaderStyle(PopsType, config);
@@ -6014,7 +6066,7 @@ class PopsFolder {
6014
6066
  </div>
6015
6067
  </div>
6016
6068
  ${bottomBtnHTML}
6017
- `, bottomBtnHTML);
6069
+ `, bottomBtnHTML, zIndex);
6018
6070
  /**
6019
6071
  * 弹窗的主元素,包括动画层
6020
6072
  */
@@ -7005,10 +7057,13 @@ class PopsPanel {
7005
7057
  let guid = popsUtils.getRandomGUID();
7006
7058
  const PopsType = "panel";
7007
7059
  config = PopsHandler.handleOnly(PopsType, config);
7008
- let maskHTML = PopsElementHandler.getMaskHTML(guid, config.zIndex);
7060
+ // 先把z-index提取出来
7061
+ let zIndex = PopsHandler.handleZIndex(config.zIndex);
7062
+ let maskHTML = PopsElementHandler.getMaskHTML(guid, zIndex);
7009
7063
  let headerBtnHTML = PopsElementHandler.getHeaderBtnHTML(PopsType, config);
7010
7064
  let { headerStyle, headerPStyle } = PopsElementHandler.getHeaderStyle(PopsType, config);
7011
- let animHTML = PopsElementHandler.getAnimHTML(guid, PopsType, config, `
7065
+ let animHTML = PopsElementHandler.getAnimHTML(guid, PopsType, config,
7066
+ /*html*/ `
7012
7067
  <div
7013
7068
  class="pops-${PopsType}-title"
7014
7069
  style="text-align: ${config.title.position};
@@ -7026,7 +7081,7 @@ class PopsPanel {
7026
7081
  <ul class="pops-panel-container-header-ul"></ul>
7027
7082
  <ul></ul>
7028
7083
  </section>
7029
- </div>`, "");
7084
+ </div>`, "", zIndex);
7030
7085
  /**
7031
7086
  * 弹窗的主元素,包括动画层
7032
7087
  */
@@ -9117,7 +9172,7 @@ class PopsRightClickMenu {
9117
9172
  * @param isChildren 是否是rightClickMenu的某一项的子菜单
9118
9173
  */
9119
9174
  getMenuContainerElement(zIndex, isChildren) {
9120
- let menuElement = popsUtils.parseTextToDOM(`
9175
+ let menuElement = popsUtils.parseTextToDOM(/*html*/ `
9121
9176
  <div class="pops-${PopsType}" ${isChildren ? 'is-children="true"' : ""}>
9122
9177
  <style type="text/css" data-from="pops-${PopsType}">
9123
9178
  .pops-${PopsType} *{
@@ -9205,6 +9260,12 @@ class PopsRightClickMenu {
9205
9260
  }
9206
9261
  return menuElement;
9207
9262
  },
9263
+ /**
9264
+ * 动态获取配的z-index
9265
+ */
9266
+ getMenuZIndex() {
9267
+ return PopsHandler.handleZIndex(config.zIndex);
9268
+ },
9208
9269
  /**
9209
9270
  * 获取left、top偏移
9210
9271
  * @param menuElement 菜单元素
@@ -9239,7 +9300,7 @@ class PopsRightClickMenu {
9239
9300
  * @param _config_
9240
9301
  */
9241
9302
  showMenu(menuEvent, _config_) {
9242
- let menuElement = this.getMenuContainerElement(config.zIndex, false);
9303
+ let menuElement = this.getMenuContainerElement(this.getMenuZIndex(), false);
9243
9304
  menuElement["__menuData__"] = {
9244
9305
  child: [],
9245
9306
  };
@@ -9277,7 +9338,7 @@ class PopsRightClickMenu {
9277
9338
  * @param targetLiElement 父li项元素
9278
9339
  */
9279
9340
  showClildMenu(menuEvent, posInfo, _config_, rootElement, targetLiElement) {
9280
- let menuElement = this.getMenuContainerElement(config.zIndex, true);
9341
+ let menuElement = this.getMenuContainerElement(this.getMenuZIndex(), true);
9281
9342
  menuElement["__menuData__"] = {
9282
9343
  parent: targetLiElement,
9283
9344
  root: rootElement,
@@ -9543,7 +9604,7 @@ class PopsSearchSuggestion {
9543
9604
  }
9544
9605
  ul.pops-${PopsType}-search-suggestion-hint{
9545
9606
  position: ${config.isAbsolute ? "absolute" : "fixed"};
9546
- z-index: ${config.zIndex};
9607
+ z-index: ${PopsHandler.handleZIndex(config.zIndex)};
9547
9608
  width: 0;
9548
9609
  left: 0;
9549
9610
  max-height: ${config.maxHeight};
@@ -9980,7 +10041,7 @@ class Pops {
9980
10041
  /** 配置 */
9981
10042
  config = {
9982
10043
  /** 版本号 */
9983
- version: "2024.9.9",
10044
+ version: "2024.9.10",
9984
10045
  cssText: {
9985
10046
  /** 主CSS */
9986
10047
  index: indexCSS,