@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 +7 -2
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +7 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +7 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +7 -2
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +7 -2
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +7 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/src/components/prompt/indexType.d.ts +7 -0
- package/dist/types/src/types/components.d.ts +18 -1
- package/dist/types/src/types/mask.d.ts +3 -0
- package/package.json +1 -1
- package/src/Pops.ts +1 -1
- package/src/components/prompt/index.ts +6 -2
- package/src/components/prompt/indexType.ts +7 -0
- package/src/types/components.d.ts +18 -1
- package/src/types/mask.d.ts +3 -0
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
|
|
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.
|
|
10051
|
+
version: "2024.9.14",
|
|
10047
10052
|
cssText: {
|
|
10048
10053
|
/** 主CSS */
|
|
10049
10054
|
index: indexCSS,
|