@steedos-widgets/amis-object 3.6.6 → 3.6.7-beta.2
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/amis/AmisAppLauncher.d.ts +12 -0
- package/dist/amis/AmisInputTable.d.ts +2 -0
- package/dist/amis/AmisSpaceUsersPicker.d.ts +1 -3
- package/dist/amis-object.cjs.js +42 -28
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.js +42 -28
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.js +24 -24
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +21 -21
- package/package.json +3 -3
|
@@ -18,12 +18,24 @@ export declare const AmisAppLauncher: (props: any) => Promise<{
|
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
hiddenOn?: undefined;
|
|
21
|
+
icon?: undefined;
|
|
22
|
+
visibleOn?: undefined;
|
|
21
23
|
} | {
|
|
22
24
|
type: string;
|
|
23
25
|
className: string;
|
|
24
26
|
tpl: string;
|
|
25
27
|
hiddenOn: string;
|
|
26
28
|
badge?: undefined;
|
|
29
|
+
icon?: undefined;
|
|
30
|
+
visibleOn?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
type: string;
|
|
33
|
+
icon: string;
|
|
34
|
+
visibleOn: string;
|
|
35
|
+
className: string;
|
|
36
|
+
tpl?: undefined;
|
|
37
|
+
badge?: undefined;
|
|
38
|
+
hiddenOn?: undefined;
|
|
27
39
|
})[];
|
|
28
40
|
dialog: {
|
|
29
41
|
size: string;
|
|
@@ -18,6 +18,7 @@ export declare const AmisInputTable: (props: any) => Promise<{
|
|
|
18
18
|
className: any;
|
|
19
19
|
pipeIn: (value: any, data: any) => any;
|
|
20
20
|
pipeOut: (value: any, data: any) => any;
|
|
21
|
+
required: any;
|
|
21
22
|
}[];
|
|
22
23
|
id: string;
|
|
23
24
|
className: string;
|
|
@@ -31,5 +32,6 @@ export declare const AmisInputTable: (props: any) => Promise<{
|
|
|
31
32
|
visible: any;
|
|
32
33
|
hiddenOn: any;
|
|
33
34
|
hidden: any;
|
|
35
|
+
required: any;
|
|
34
36
|
className: string;
|
|
35
37
|
}>;
|
package/dist/amis-object.cjs.js
CHANGED
|
@@ -3870,7 +3870,7 @@ function getSwitchTpl(field){
|
|
|
3870
3870
|
|
|
3871
3871
|
function getPasswordTpl(field){
|
|
3872
3872
|
return `<% if (data.${field.name}) { %>
|
|
3873
|
-
<span
|
|
3873
|
+
<span>******</span>
|
|
3874
3874
|
<% } %>`
|
|
3875
3875
|
}
|
|
3876
3876
|
|
|
@@ -5925,14 +5925,14 @@ async function getTableSchema$1(object, fields, options){
|
|
|
5925
5925
|
headerToolbarClassName: "py-2 px-2 border-gray-300 border-solid border-b",
|
|
5926
5926
|
className: "",
|
|
5927
5927
|
draggable: false,
|
|
5928
|
-
defaultParams: getDefaultParams$1(options),
|
|
5929
5928
|
card: card,
|
|
5930
5929
|
syncLocation: false,
|
|
5931
5930
|
keepItemSelectionOnPageChange: true,
|
|
5932
5931
|
checkOnItemClick: isLookup ? true : false,
|
|
5933
5932
|
labelTpl: `\${${options.labelFieldName}}`,
|
|
5934
5933
|
autoFillHeight: false, // 自动高度效果不理想,先关闭
|
|
5935
|
-
columnsTogglable: false
|
|
5934
|
+
columnsTogglable: false,
|
|
5935
|
+
...getDefaultParams$1(options) //不可以使用crud的defaultParams属性,会造成翻页bug,https://github.com/steedos/steedos-platform/issues/6576
|
|
5936
5936
|
}
|
|
5937
5937
|
}
|
|
5938
5938
|
|
|
@@ -5958,7 +5958,6 @@ async function getTableSchema$1(object, fields, options){
|
|
|
5958
5958
|
headerToolbarClassName: "py-2 px-2 border-gray-300 border-solid border-b",
|
|
5959
5959
|
className: "",
|
|
5960
5960
|
draggable: false,
|
|
5961
|
-
defaultParams: getDefaultParams$1(options),
|
|
5962
5961
|
columns: columns,
|
|
5963
5962
|
syncLocation: false,
|
|
5964
5963
|
keepItemSelectionOnPageChange: true,
|
|
@@ -5966,7 +5965,8 @@ async function getTableSchema$1(object, fields, options){
|
|
|
5966
5965
|
labelTpl: `\${${options.labelFieldName}}`,
|
|
5967
5966
|
autoFillHeight: false, // 自动高度效果不理想,先关闭
|
|
5968
5967
|
columnsTogglable: false,
|
|
5969
|
-
...treeConfig
|
|
5968
|
+
...treeConfig,
|
|
5969
|
+
...getDefaultParams$1(options) //不可以使用crud的defaultParams属性,会造成翻页bug,https://github.com/steedos/steedos-platform/issues/6576
|
|
5970
5970
|
}
|
|
5971
5971
|
}
|
|
5972
5972
|
|
|
@@ -7569,7 +7569,6 @@ async function getListSchema$1(fields, options){
|
|
|
7569
7569
|
name: "thelist",
|
|
7570
7570
|
draggable: false,
|
|
7571
7571
|
headerToolbar: ['reload'],
|
|
7572
|
-
defaultParams: getDefaultParams(options),
|
|
7573
7572
|
syncLocation: false,
|
|
7574
7573
|
keepItemSelectionOnPageChange: true,
|
|
7575
7574
|
checkOnItemClick: false,
|
|
@@ -7591,7 +7590,8 @@ async function getListSchema$1(fields, options){
|
|
|
7591
7590
|
})
|
|
7592
7591
|
}
|
|
7593
7592
|
]
|
|
7594
|
-
}
|
|
7593
|
+
},
|
|
7594
|
+
...getDefaultParams(options) //不可以使用crud的defaultParams属性,会造成翻页bug,https://github.com/steedos/steedos-platform/issues/6576
|
|
7595
7595
|
}
|
|
7596
7596
|
}
|
|
7597
7597
|
|
|
@@ -7612,7 +7612,6 @@ async function getCardSchema(fields, options){
|
|
|
7612
7612
|
name: "cards",
|
|
7613
7613
|
draggable: false,
|
|
7614
7614
|
headerToolbar: ['statistics', 'pagination'],
|
|
7615
|
-
defaultParams: getDefaultParams(options),
|
|
7616
7615
|
syncLocation: false,
|
|
7617
7616
|
keepItemSelectionOnPageChange: false,
|
|
7618
7617
|
checkOnItemClick: false,
|
|
@@ -7623,7 +7622,8 @@ async function getCardSchema(fields, options){
|
|
|
7623
7622
|
"title": title
|
|
7624
7623
|
},
|
|
7625
7624
|
"body": [...listBody.columns]
|
|
7626
|
-
}
|
|
7625
|
+
},
|
|
7626
|
+
...getDefaultParams(options)
|
|
7627
7627
|
}
|
|
7628
7628
|
}
|
|
7629
7629
|
|
|
@@ -13174,9 +13174,7 @@ async function getListSchema(
|
|
|
13174
13174
|
}
|
|
13175
13175
|
|
|
13176
13176
|
if(localListViewProps.perPage){
|
|
13177
|
-
listSchema.
|
|
13178
|
-
perPage: localListViewProps.perPage
|
|
13179
|
-
};
|
|
13177
|
+
listSchema.perPage = localListViewProps.perPage;
|
|
13180
13178
|
}
|
|
13181
13179
|
defaults.listSchema = _$1.defaultsDeep({}, listSchema, defaults.listSchema || {});
|
|
13182
13180
|
}
|
|
@@ -14497,6 +14495,11 @@ async function lookupToAmisPicker(field, readonly, ctx){
|
|
|
14497
14495
|
|
|
14498
14496
|
var fieldFilters = ${JSON.stringify(field.filters)};
|
|
14499
14497
|
if(fieldFilters && fieldFilters.length){
|
|
14498
|
+
var filtersForString = JSON.stringify(fieldFilters);
|
|
14499
|
+
if(filtersForString.indexOf('$') > -1) {
|
|
14500
|
+
var currentAmis = amisRequire('amis');
|
|
14501
|
+
fieldFilters = JSON.parse(currentAmis.evaluate(filtersForString, api.data.$self.__super))
|
|
14502
|
+
}
|
|
14500
14503
|
filters.push(fieldFilters);
|
|
14501
14504
|
}
|
|
14502
14505
|
|
|
@@ -14897,6 +14900,11 @@ async function lookupToAmisSelect(field, readonly, ctx){
|
|
|
14897
14900
|
|
|
14898
14901
|
var fieldFilters = ${JSON.stringify(field.filters)};
|
|
14899
14902
|
if(fieldFilters && fieldFilters.length){
|
|
14903
|
+
var filtersForString = JSON.stringify(fieldFilters);
|
|
14904
|
+
if(filtersForString.indexOf('$') > -1) {
|
|
14905
|
+
var currentAmis = amisRequire('amis');
|
|
14906
|
+
fieldFilters = JSON.parse(currentAmis.evaluate(filtersForString, api.data.$))
|
|
14907
|
+
}
|
|
14900
14908
|
filters.push(fieldFilters);
|
|
14901
14909
|
}
|
|
14902
14910
|
|
|
@@ -18098,7 +18106,8 @@ const getAmisInputTableSchema = async (props) => {
|
|
|
18098
18106
|
}
|
|
18099
18107
|
}
|
|
18100
18108
|
return value;
|
|
18101
|
-
}
|
|
18109
|
+
},
|
|
18110
|
+
"required": props.required
|
|
18102
18111
|
};
|
|
18103
18112
|
if (buttonsForColumnOperations.length) {
|
|
18104
18113
|
inputTableSchema.columns.unshift({
|
|
@@ -18193,7 +18202,8 @@ const getAmisInputTableSchema = async (props) => {
|
|
|
18193
18202
|
"visible": props.$schema.visible,
|
|
18194
18203
|
"hiddenOn": props.$schema.hiddenOn,
|
|
18195
18204
|
"hidden": props.$schema.hidden,
|
|
18196
|
-
|
|
18205
|
+
"required": props.required,
|
|
18206
|
+
className,
|
|
18197
18207
|
};
|
|
18198
18208
|
// console.log("===schema===", schema);
|
|
18199
18209
|
return schema;
|
|
@@ -18495,9 +18505,7 @@ async function getSpaceUsersPickerAmisSchema(spaceUserSchema, name, options) {
|
|
|
18495
18505
|
"switch-per-page",
|
|
18496
18506
|
"pagination"
|
|
18497
18507
|
],
|
|
18498
|
-
"
|
|
18499
|
-
"perPage": 50
|
|
18500
|
-
},
|
|
18508
|
+
"perPage": 50,
|
|
18501
18509
|
"columns": [
|
|
18502
18510
|
{
|
|
18503
18511
|
"name": "_index",
|
|
@@ -21167,6 +21175,9 @@ var AmisObjectButton = function (props) {
|
|
|
21167
21175
|
if (schema && schema.body.length > 0) {
|
|
21168
21176
|
delete schema.body[0]['visibleOn'];
|
|
21169
21177
|
}
|
|
21178
|
+
if (schema && schema.body.length > 0 && button.visibleOn) {
|
|
21179
|
+
schema.body[0]['visibleOn'] = button.visibleOn;
|
|
21180
|
+
}
|
|
21170
21181
|
if (schema && className) {
|
|
21171
21182
|
schema.className = schema.className + ' steedos-object-button ' + className;
|
|
21172
21183
|
}
|
|
@@ -22446,6 +22457,12 @@ var AmisAppLauncher = function (props) { return __awaiter(void 0, void 0, void 0
|
|
|
22446
22457
|
className: "text-xl ml-4 mr-4 text-black nowrap ".concat(appNameClassName, " "),
|
|
22447
22458
|
tpl: '${app.name}',
|
|
22448
22459
|
hiddenOn: "".concat(!!app || !!!showAppName)
|
|
22460
|
+
},
|
|
22461
|
+
{
|
|
22462
|
+
"type": "icon",
|
|
22463
|
+
"icon": "angle-down",
|
|
22464
|
+
"visibleOn": "".concat(isMobile),
|
|
22465
|
+
"className": "absolute right-0"
|
|
22449
22466
|
}
|
|
22450
22467
|
],
|
|
22451
22468
|
"dialog": {
|
|
@@ -22545,7 +22562,7 @@ var AmisGlobalFooter = function (props) { return __awaiter(void 0, void 0, void
|
|
|
22545
22562
|
isMobile = window.innerWidth <= 768;
|
|
22546
22563
|
className = 'steedos-global-footer';
|
|
22547
22564
|
footerNavEach = "\n const classIcon = tab.icon.replace(/_/g,\"-\");\n if(locationPathname == tab.path){\n customTabId = tab.id;\n }else if(locationPathname.startsWith(tab.path + \"/\")){\n objectTabId = tab.id;\n }\n data.nav.push({\n \"label\": {\n type: 'tpl',\n tpl: `<span class='fill-slate-500 truncate text-gray-700 block -ml-px no-underline group flex items-center text-[11px] rounded-md flex-col leading-3 nav-label'><svg class=\"slds-icon slds-icon_container slds-icon-standard-`+classIcon+` flex-shrink-0 h-10 w-10\"><use xlink:href=\"/assets/icons/standard-sprite/svg/symbols.svg#${tab.icon || 'account'}\"></use></svg><span class=\"truncate\" style=\"max-width: 20vw\">${tab.name}</span></span>`,\n className:'h-full flex items-center'\n },\n \"to\": tab.path,\n \"target\":tab.target,\n \"id\": tab.id,\n \"activeOn\": \"\\\\${tabId == '\"+ tab.id +\"' && !isMenuNavVisible}\"\n });\n ";
|
|
22548
|
-
footerNavScript = "\n
|
|
22565
|
+
footerNavScript = "\n _.each(_.slice(payload.children, 0, 3), (tab,index)=>{\n ".concat(footerNavEach, "\n })\n data.nav.push({\n \"label\": {\n type: 'tpl',\n tpl: `<span class=' truncate text-gray-700 block -ml-px no-underline group flex items-center text-[11px] rounded-md flex-col leading-3 nav-label'><svg class=\"fill-slate-500 flex-shrink-0 !h-10 !w-10\" style=\"padding:7px\"><use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#rows\"></use></svg><span class=\"truncate\" style=\"max-width: 20vw\">").concat(instance.t('frontend_menu'), "</span></span>`,\n className:'h-full flex items-center'\n },\n \"id\": \"__menu__\",\n \"activeOn\": \"\\\\${isMenuNavVisible}\",\n \"isMenu\": true,\n \"menuReRengder\": \"${isMenuNavVisible}\"//\u4E3A\u4E86menu\u80FD\u6B63\u5E38\u663E\u793A\u9AD8\u4EAE\uFF0C\u89E6\u53D1\u91CD\u65B0\u6E32\u67D3\n });\n ");
|
|
22549
22566
|
menuNavScript = "\n _.each(_.groupBy(payload.children, 'group'), (tabs, groupName) => {\n if (groupName === 'undefined' || groupName === '') {\n _.each(tabs, function(tab){\n const classIcon = tab.icon.replace(/_/g, \"-\");\n data.links.push({\n \"label\": {\n type: 'tpl',\n tpl: `<span class='fill-slate-500 text-gray-700 block -ml-px no-underline group flex items-center text-lg font-medium rounded-md flex-row leading-3 nav-label'><svg class=\"mr-3 slds-icon slds-icon_container slds-icon-standard-` + classIcon + ` flex-shrink-0 h-10 w-10\"><use xlink:href=\"/assets/icons/standard-sprite/svg/symbols.svg#` + tab.icon + `\"></use></svg><span>` + tab.name +`</span><i class=\"fa fa-angle-right\" aria-hidden=\"true\" style=\"position: absolute;right: 20px;color: #bababa;\"></i></span>`,\n className: 'h-full flex items-center'\n },\n \"to\": tab.path,\n \"target\": tab.target,\n \"id\": tab.id,\n \"activeOn\": \"false\",\n \"className\": \"border-b border-gray-200 py-2.5\"\n });\n })\n } else {\n var tabGroup = _.find(tab_groups, { \"group_name\": groupName });\n data.links.push({\n \"label\": groupName,\n \"unfolded\": tabGroup && tabGroup.default_open != false,\n \"isGroup\": true,\n \"mode\": \"group\",\n \"children\": _.sortBy(_.map(tabs, (tab) => {\n const classIcon = tab.icon.replace(/_/g, \"-\");\n return {\n \"label\": {\n type: 'tpl',\n tpl: `<span class='fill-slate-500 text-gray-700 block -ml-px no-underline group flex items-center text-lg font-medium rounded-md flex-row leading-3 nav-label'><svg class=\"mr-3 slds-icon slds-icon_container slds-icon-standard-` + classIcon + ` flex-shrink-0 h-10 w-10\"><use xlink:href=\"/assets/icons/standard-sprite/svg/symbols.svg#` + tab.icon + `\"></use></svg><span>` + tab.name +`</span><i class=\"fa fa-angle-right\" aria-hidden=\"true\" style=\"position: absolute;right: 20px;color: #bababa;\"></i></span>`,\n className: 'h-full flex items-center'\n },\n \"to\": tab.path,\n \"target\": tab.target,\n \"id\": tab.id,\n \"activeOn\": \"false\",\n \"className\": \"border-b border-gray-200 py-2.5\"\n }\n }), function (tab){ return tab.index })\n })\n }\n });\n data.links = _.sortBy(data.links, function (tab) {\n if (tab.isGroup) {\n return _.findIndex(payload.tab_groups, function (group) {\n return group.group_name === tab.label;\n });\n } else {\n // \u6CA1\u6709\u5206\u7EC4\u7684\u9009\u9879\u5361\u6309index\u6392\u5217\u5728\u6709\u5206\u7EC4\u7684\u9009\u9879\u5361\u524D\u65B9\n return (tab.index || 0) - 1000;\n }\n })\n ";
|
|
22550
22567
|
schema = {};
|
|
22551
22568
|
if (links) {
|
|
@@ -22571,7 +22588,7 @@ var AmisGlobalFooter = function (props) { return __awaiter(void 0, void 0, void
|
|
|
22571
22588
|
schemaApi: {
|
|
22572
22589
|
"method": "get",
|
|
22573
22590
|
"url": "${context.rootUrl}/service/api/apps/".concat(appId, "/menus?mobile=true"),
|
|
22574
|
-
"adaptor": "\n try {\n if(payload.children && payload.children.length == 0){\n
|
|
22591
|
+
"adaptor": "\n try {\n // if(payload.children && payload.children.length == 0){\n // payload.data = {};\n // return payload\n // }\n const data = { nav: [],links: [] };\n const stacked = ".concat(stacked, ";\n const showIcon = ").concat(showIcon, ";\n const selectedId = '").concat(selectedId, "';\n const locationPathname = window.location.pathname;\n var customTabId = \"\";\n var objectTabId = \"\";\n const tab_groups = payload.tab_groups;\n payload.children = _.sortBy(payload.children, function(tab){\n return tab.index;\n })\n ").concat(footerNavScript, "\n ").concat(menuNavScript, "\n payload.data = {\n \"type\": \"service\",\n \"data\":{\n \"tabId\": customTabId || objectTabId,\n \"items\": data.nav,\n \"isMenuNavVisible\": false\n },\n \"id\": \"steedosMobileFooterService\",\n \"body\": [\n {\n \"type\": \"nav\",\n className: \"").concat(className, "\",\n \"stacked\": ").concat(stacked, ",\n \"indentSize\": ").concat(indentSize, ",\n \"source\": \"${items}\",\n \"onEvent\": {\n \"click\": {\n \"actions\": [\n {\n \"actionType\": \"setValue\",\n \"componentId\": \"steedosMobileFooterService\",\n \"args\": {\n \"value\": {\n \"isMenuNavVisible\": \"${event.data.item.isMenu}\",\n \"tabId\": \"${event.data.item.id}\",\n \"items\": data.nav\n }\n },\n \"expression\":\"${event.data.item.id}\"\n }\n ]\n }\n }\n },\n {\n \"type\": \"page\",\n \"bodyClassName\": \"p-0\",\n \"title\": {\n \"type\": \"steedos-app-launcher\",\n \"showAppName\": true,\n \"appId\": \"").concat(appId, "\",\n },\n \"className\": \"steedos-global-footer-menu-page\",\n \"visibleOn\": \"${isMenuNavVisible}\",\n \"body\": [\n {\n \"type\": \"nav\",\n \"id\": \"u:58c2a9249e9d\",\n \"stacked\": true,\n \"links\": data.links,\n \"onEvent\": {\n \"click\": {\n \"actions\": [\n {\n \"actionType\": \"setValue\",\n \"componentId\": \"steedosMobileFooterService\",\n \"args\": {\n \"value\": {\n \"isMenuNavVisible\": false,\n \"tabId\": \"${event.data.item.id}\",\n \"items\": data.nav\n }\n },\n \"expression\":\"${event.data.item.id}\"\n }\n ]\n }\n }\n }\n ]\n }\n ]\n \n };\n } catch (error) {\n console.log(`error`, error)\n }\n return payload;\n "),
|
|
22575
22592
|
"headers": {
|
|
22576
22593
|
"Authorization": "Bearer ${context.tenantId},${context.authToken}"
|
|
22577
22594
|
}
|
|
@@ -22587,7 +22604,7 @@ var AmisGlobalFooter = function (props) { return __awaiter(void 0, void 0, void
|
|
|
22587
22604
|
* @Author: baozhoutao@steedos.com
|
|
22588
22605
|
* @Date: 2022-09-01 14:44:57
|
|
22589
22606
|
* @LastEditors: baozhoutao@steedos.com
|
|
22590
|
-
* @LastEditTime: 2024-
|
|
22607
|
+
* @LastEditTime: 2024-03-19 15:55:42
|
|
22591
22608
|
* @Description:
|
|
22592
22609
|
*/
|
|
22593
22610
|
var AmisGlobalHeaderToolbar = function (props) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -22830,12 +22847,9 @@ var AmisGlobalHeaderToolbar = function (props) { return __awaiter(void 0, void 0
|
|
|
22830
22847
|
"actionType": "ajax"
|
|
22831
22848
|
},
|
|
22832
22849
|
{
|
|
22833
|
-
"
|
|
22834
|
-
|
|
22835
|
-
"blank": true
|
|
22836
|
-
},
|
|
22850
|
+
"actionType": "custom",
|
|
22851
|
+
"script": "if(Meteor.isCordova){window.open(Meteor.absoluteUrl(event.data.responseResult.responseData.redirect), '_blank')}else{window.open(event.data.responseResult.responseData.redirect, '_blank')}",
|
|
22837
22852
|
"expression": "${!!event.data.responseResult.responseData.redirect}",
|
|
22838
|
-
"actionType": "url"
|
|
22839
22853
|
}
|
|
22840
22854
|
]
|
|
22841
22855
|
}
|
|
@@ -23264,7 +23278,7 @@ var AmisFormInputs = [
|
|
|
23264
23278
|
'datetime',
|
|
23265
23279
|
'time',
|
|
23266
23280
|
'number',
|
|
23267
|
-
'password',
|
|
23281
|
+
// 'password',
|
|
23268
23282
|
'url',
|
|
23269
23283
|
'email'
|
|
23270
23284
|
];
|
|
@@ -23299,7 +23313,7 @@ function getAmisStaticFieldType(type, data_type, options) {
|
|
|
23299
23313
|
}
|
|
23300
23314
|
return "static-image";
|
|
23301
23315
|
}
|
|
23302
|
-
else if (type === 'textarea') {
|
|
23316
|
+
else if (type === 'textarea' || type === 'password') {
|
|
23303
23317
|
return 'static';
|
|
23304
23318
|
}
|
|
23305
23319
|
else if (type === 'html') {
|
|
@@ -23649,7 +23663,7 @@ var AmisSteedosField = function (props) { return __awaiter(void 0, void 0, void
|
|
|
23649
23663
|
case 11:
|
|
23650
23664
|
if (!(steedosField.type === "password")) return [3 /*break*/, 12];
|
|
23651
23665
|
Object.assign(schema, {
|
|
23652
|
-
"
|
|
23666
|
+
"tpl": "******"
|
|
23653
23667
|
});
|
|
23654
23668
|
return [3 /*break*/, 20];
|
|
23655
23669
|
case 12:
|