@whitesev/pops 1.5.5 → 1.5.6

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/index.amd.js CHANGED
@@ -4641,6 +4641,7 @@ define((function () { 'use strict';
4641
4641
  },
4642
4642
  content: {
4643
4643
  text: "",
4644
+ select: false,
4644
4645
  password: false,
4645
4646
  row: false,
4646
4647
  focus: true,
@@ -4816,7 +4817,11 @@ define((function () { 'use strict';
4816
4817
  }
4817
4818
  /* 设置自动获取焦点 */
4818
4819
  if (config.content.focus) {
4819
- $input?.focus();
4820
+ $input.focus();
4821
+ }
4822
+ /* 设置自动选中所有文字 */
4823
+ if (config.content.select) {
4824
+ $input.select();
4820
4825
  }
4821
4826
  return PopsHandler.handleResultDetails(eventDetails);
4822
4827
  }
@@ -10043,7 +10048,7 @@ define((function () { 'use strict';
10043
10048
  /** 配置 */
10044
10049
  config = {
10045
10050
  /** 版本号 */
10046
- version: "2024.9.11",
10051
+ version: "2024.9.14",
10047
10052
  cssText: {
10048
10053
  /** 主CSS */
10049
10054
  index: indexCSS,