@steedos-widgets/amis-lib 6.3.0-beta.18 → 6.3.0-beta.19

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.umd.js CHANGED
@@ -806,10 +806,10 @@ if(!enableEnhancedLookup&&refObject.enable_tree&&field.multiple){enableEnhancedL
806
806
  disabledOn:"".concat(readonly," || ( (this._master && (this._master.relatedKey ==='").concat(field.name,"')) || ((this.relatedKey ==='").concat(field.name,"') && (").concat(field.multiple," != true)) )"),size:"lg",pickerSchema:pickerSchema,joinValues:false,extractValue:true};if(field.multiple){data.multiple=true;data.extractValue=true;}if(ctx.value){data.value=ctx.value;}if(ctx.selectFirst!=undefined){data.selectFirst=ctx.selectFirst;}if(!readonly){_context120.next=42;break;}_context120.next=41;return getLookupTpl(field,ctx);case 41:data.tpl=_context120.sent;case 42:return _context120.abrupt("return",data);case 43:case"end":return _context120.stop();}}},_callee120);}));return _getIdsPickerSchema.apply(this,arguments);}if(typeof window!='undefined'){window.getReferenceTo=getReferenceTo;window.getReferenceToSync=getReferenceToSync;}/*
807
807
  * @Author: baozhoutao@steedos.com
808
808
  * @Date: 2023-01-13 17:27:54
809
- * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
810
- * @LastEditTime: 2024-04-11 14:14:43
809
+ * @LastEditors: baozhoutao@steedos.com
810
+ * @LastEditTime: 2024-06-07 13:39:34
811
811
  * @Description:
812
- */var getMarkdownFieldSchema=function getMarkdownFieldSchema(field,readonly,ctx){if(readonly){return{"type":"control","label":field.label,"body":{"type":"markdown","name":field.name,"options":{"linkify":true,"html":true,"breaks":true}}};}else{return{"type":"control","label":field.label,"body":[{"type":"tabs","tabsMode":"strong","className":"steedos-markdown","tabs":[{"title":i18next__default["default"].t('frontend_form_edit'),"tab":[{"type":"editor","name":field.name,"labelClassName":"none","language":"markdown"}]},{"title":i18next__default["default"].t('frontend_form_preview'),"tab":[{"type":"markdown","name":field.name,"options":{"linkify":true,"html":true,"breaks":true}}]}]}]};}};var getHtmlFieldSchema=function getHtmlFieldSchema(field,readonly,ctx){if(readonly){// return {
812
+ */var getMarkdownFieldSchema=function getMarkdownFieldSchema(field,readonly,ctx){if(readonly){return{"type":"control","label":field.label,"body":{"type":"markdown","name":field.name,"options":{"linkify":true,"html":true,"breaks":true}}};}else{return{"type":"control","label":field.label,"body":[{"type":"tabs","tabsMode":"strong","className":"steedos-markdown","tabs":[{"title":i18next__default["default"].t('frontend_form_edit'),"tab":[{"type":"editor","name":field.name,"labelClassName":"none","language":"markdown","options":field.amis?field.amis.editorOptions:null}]},{"title":i18next__default["default"].t('frontend_form_preview'),"tab":[{"type":"markdown","name":field.name,"options":{"linkify":true,"html":true,"breaks":true}}]}]}]};}};var getHtmlFieldSchema=function getHtmlFieldSchema(field,readonly,ctx){if(readonly){// return {
813
813
  // "type": "control",
814
814
  // "label": field.label,
815
815
  // "body": {