@steedos-widgets/sortable 1.3.10 → 1.3.12
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/assets.json +5 -5
- package/dist/sortable.cjs.js +7 -4
- package/dist/sortable.cjs.js.map +1 -1
- package/dist/sortable.esm.js +7 -4
- package/dist/sortable.esm.js.map +1 -1
- package/dist/sortable.umd.js +7 -4
- package/package.json +3 -3
package/dist/assets.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
{
|
|
4
4
|
"package": "@steedos-widgets/sortable",
|
|
5
5
|
"urls": [
|
|
6
|
-
"https://unpkg.com/@steedos-widgets/sortable@1.3.
|
|
7
|
-
"https://unpkg.com/@steedos-widgets/sortable@1.3.
|
|
6
|
+
"https://unpkg.com/@steedos-widgets/sortable@1.3.12/dist/sortable.umd.js",
|
|
7
|
+
"https://unpkg.com/@steedos-widgets/sortable@1.3.12/dist/sortable.umd.css"
|
|
8
8
|
],
|
|
9
9
|
"library": "BuilderSortable"
|
|
10
10
|
}
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"npm": {
|
|
16
16
|
"package": "@steedos-widgets/sortable"
|
|
17
17
|
},
|
|
18
|
-
"url": "https://unpkg.com/@steedos-widgets/sortable@1.3.
|
|
18
|
+
"url": "https://unpkg.com/@steedos-widgets/sortable@1.3.12/dist/meta.js",
|
|
19
19
|
"urls": {
|
|
20
|
-
"default": "https://unpkg.com/@steedos-widgets/sortable@1.3.
|
|
21
|
-
"design": "https://unpkg.com/@steedos-widgets/sortable@1.3.
|
|
20
|
+
"default": "https://unpkg.com/@steedos-widgets/sortable@1.3.12/dist/meta.js",
|
|
21
|
+
"design": "https://unpkg.com/@steedos-widgets/sortable@1.3.12/dist/meta.js"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
]
|
package/dist/sortable.cjs.js
CHANGED
|
@@ -55840,6 +55840,7 @@ const getSetListviewFiltersButtonSchema = ()=>{
|
|
|
55840
55840
|
}
|
|
55841
55841
|
}
|
|
55842
55842
|
],
|
|
55843
|
+
"className": "steedos-overflow-visible-dialog",
|
|
55843
55844
|
"showCloseButton": true,
|
|
55844
55845
|
"showErrorMsg": true,
|
|
55845
55846
|
"showLoading": true,
|
|
@@ -56426,7 +56427,7 @@ function getObjectHeaderQuickSearchBox(mainObject, fields, formFactor, { isLooku
|
|
|
56426
56427
|
"value": crudKeywords,
|
|
56427
56428
|
"clearable": true,
|
|
56428
56429
|
"clearAndSubmit": true,
|
|
56429
|
-
"searchImediately":
|
|
56430
|
+
"searchImediately": false
|
|
56430
56431
|
}
|
|
56431
56432
|
]
|
|
56432
56433
|
}
|
|
@@ -56904,6 +56905,8 @@ async function lookupToAmisTreeSelect(field, readonly, ctx) {
|
|
|
56904
56905
|
return amisSchema;
|
|
56905
56906
|
}
|
|
56906
56907
|
|
|
56908
|
+
const keywordsSearchBoxName = `__keywords_lookup`;
|
|
56909
|
+
|
|
56907
56910
|
const getReferenceTo = async (field)=>{
|
|
56908
56911
|
let referenceTo = field.reference_to;
|
|
56909
56912
|
if(!referenceTo){
|
|
@@ -57147,8 +57150,6 @@ async function lookupToAmisPicker(field, readonly, ctx){
|
|
|
57147
57150
|
|
|
57148
57151
|
source.data.$term = "$term";
|
|
57149
57152
|
source.data.$self = "$$";
|
|
57150
|
-
|
|
57151
|
-
let keywordsSearchBoxName = `__keywords_lookup__${field.name}__to__${refObjectConfig.name}`;
|
|
57152
57153
|
|
|
57153
57154
|
source.requestAdaptor = `
|
|
57154
57155
|
const selfData = JSON.parse(JSON.stringify(api.data.$self));
|
|
@@ -58447,7 +58448,9 @@ async function convertSFieldToAmisField(field, readonly, ctx) {
|
|
|
58447
58448
|
suffix: "%",
|
|
58448
58449
|
pipeIn: (value, data) => {
|
|
58449
58450
|
if(value){
|
|
58450
|
-
|
|
58451
|
+
// 因为例如 1.11 * 100 的值不是111,所以调整下。
|
|
58452
|
+
const result = value*100;
|
|
58453
|
+
return Number(result.toFixed(field.scale));
|
|
58451
58454
|
}
|
|
58452
58455
|
return value;
|
|
58453
58456
|
},
|