@ibiz-template/vue3-components 0.7.11 → 0.7.13-alpha.0
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-Ky5xo5V5.js +4 -0
- package/dist/index-WP6TUdg-.js +1 -0
- package/dist/index-kgWpXafW.js +1 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/wang-editor-PQvDXaA9.js +1 -0
- package/dist/{xlsx-util-lBpTaCO_.js → xlsx-util-OSsMvylt.js} +1 -1
- package/es/control/context-menu/context-menu.d.ts +1 -0
- package/es/control/context-menu/context-menu.mjs +8 -0
- package/es/control/context-menu/index.d.ts +1 -0
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +2 -0
- package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +2 -0
- package/es/control/grid/grid/grid.mjs +0 -1
- package/es/control/kanban/kanban.mjs +1 -1
- package/es/control/list/list.mjs +2 -2
- package/es/control/search-bar/filter-tree/filter-tree.mjs +2 -2
- package/es/control/toolbar/export-excel/export-excel.css +1 -1
- package/es/editor/autocomplete/autocomplete-editor.controller.mjs +4 -1
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +3 -1
- package/es/editor/code/monaco-editor/monaco-editor.mjs +3 -3
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +2 -1
- package/es/editor/data-picker/picker-editor.controller.mjs +12 -3
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.mjs +1 -1
- package/es/editor/html/wang-editor/wang-editor.mjs +7 -7
- package/es/editor/list-box/list-box-picker-editor.controller.mjs +4 -1
- package/es/editor/markdown/markdown-editor.controller.mjs +2 -2
- package/es/editor/not-supported-editor/not-supported-editor.mjs +4 -2
- package/es/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.mjs +4 -2
- package/es/editor/span/span-editor.controller.mjs +4 -1
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.mjs +3 -1
- package/es/editor/text-box/text-box-editor.controller.mjs +4 -4
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +7 -3
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.mjs +1 -1
- package/es/locale/en/index.d.ts +550 -44
- package/es/locale/en/index.mjs +554 -48
- package/es/locale/zh-CN/index.d.ts +548 -44
- package/es/locale/zh-CN/index.mjs +552 -48
- package/es/panel-component/auth-captcha/auth-captcha.controller.d.ts +57 -0
- package/es/panel-component/auth-captcha/auth-captcha.controller.mjs +123 -0
- package/es/panel-component/auth-captcha/auth-captcha.css +1 -0
- package/es/panel-component/auth-captcha/auth-captcha.d.ts +29 -0
- package/es/panel-component/auth-captcha/auth-captcha.mjs +72 -0
- package/es/panel-component/auth-captcha/auth-captcha.provider.d.ts +14 -0
- package/es/panel-component/auth-captcha/auth-captcha.provider.mjs +21 -0
- package/es/panel-component/auth-captcha/auth-captcha.state.d.ts +45 -0
- package/es/panel-component/auth-captcha/auth-captcha.state.mjs +51 -0
- package/es/panel-component/auth-captcha/index.d.ts +26 -0
- package/es/panel-component/auth-captcha/index.mjs +15 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.mjs +1 -1
- package/es/panel-component/index.mjs +4 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.mjs +2 -2
- package/es/panel-component/nav-tabs/nav-tabs.mjs +4 -4
- package/es/panel-component/panel-button/panel-button.controller.mjs +7 -1
- package/es/panel-component/panel-remember-me/panel-remember-me.mjs +1 -1
- package/es/panel-component/panel-tab-panel/index.d.ts +4 -2
- package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.d.ts +31 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.mjs +42 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.d.ts +5 -3
- package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +14 -5
- package/es/panel-component/panel-tab-panel/panel-tab-panel.provider.d.ts +2 -1
- package/es/panel-component/panel-tab-panel/panel-tab-panel.provider.mjs +2 -2
- package/es/panel-component/panel-tab-panel/panel-tab-panel.state.d.ts +20 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.state.mjs +24 -0
- package/es/panel-component/searchform-buttons/searchform-buttons.controller.mjs +3 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.mjs +16 -11
- package/es/panel-component/short-cut/index.d.ts +43 -0
- package/es/panel-component/short-cut/index.mjs +12 -0
- package/es/panel-component/short-cut/short-cut.css +1 -0
- package/es/panel-component/short-cut/short-cut.d.ts +46 -0
- package/es/panel-component/short-cut/short-cut.mjs +190 -0
- package/es/panel-component/short-cut/short-cut.provider.d.ts +12 -0
- package/es/panel-component/short-cut/short-cut.provider.mjs +21 -0
- package/es/panel-component/user-message/async-action/async-action-preview/async-action-preview.mjs +20 -14
- package/es/panel-component/user-message/async-action/async-action-tab/async-action-tab.mjs +5 -3
- package/es/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.mjs +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.mjs +3 -3
- package/es/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.mjs +9 -5
- package/es/panel-component/user-message/user-message.mjs +4 -4
- package/es/view/403-view/403-view.mjs +4 -4
- package/es/view/404-view/404-view.mjs +4 -4
- package/es/view/error-view/error-view.mjs +3 -1
- package/es/view/login-view/login-view.mjs +27 -23
- package/es/view/sub-app-ref-view/sub-app-ref-view.mjs +1 -1
- package/es/view-engine/edit-view.engine.mjs +22 -18
- package/es/view-engine/exp-view.engine.mjs +1 -1
- package/es/view-engine/login-view.engine.d.ts +3 -1
- package/es/view-engine/login-view.engine.mjs +20 -4
- package/es/view-engine/mpickup-view-engine.mjs +1 -1
- package/es/view-engine/opt-view.engine.mjs +2 -2
- package/es/view-engine/tab-exp-view.engine.mjs +2 -2
- package/es/view-engine/wf-dyna-edit-view.engine.mjs +5 -2
- package/es/web-app/guard/auth-guard/auth-guard.mjs +2 -2
- package/es/web-app/util/unauthorized-handler/unauthorized-handler.mjs +3 -1
- package/lib/control/context-menu/context-menu.cjs +8 -0
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +1 -1
- package/lib/control/grid/grid/grid.cjs +0 -1
- package/lib/control/kanban/kanban.cjs +1 -1
- package/lib/control/list/list.cjs +1 -1
- package/lib/control/search-bar/filter-tree/filter-tree.cjs +2 -2
- package/lib/control/toolbar/export-excel/export-excel.css +1 -1
- package/lib/editor/autocomplete/autocomplete-editor.controller.cjs +4 -1
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +3 -1
- package/lib/editor/code/monaco-editor/monaco-editor.cjs +3 -3
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +2 -1
- package/lib/editor/data-picker/picker-editor.controller.cjs +12 -3
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.cjs +1 -1
- package/lib/editor/html/wang-editor/wang-editor.cjs +6 -6
- package/lib/editor/list-box/list-box-picker-editor.controller.cjs +4 -1
- package/lib/editor/markdown/markdown-editor.controller.cjs +2 -2
- package/lib/editor/not-supported-editor/not-supported-editor.cjs +3 -1
- package/lib/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.cjs +3 -1
- package/lib/editor/span/span-editor.controller.cjs +4 -1
- package/lib/editor/text-box/ibiz-input-ip/ibiz-input-ip.cjs +3 -1
- package/lib/editor/text-box/text-box-editor.controller.cjs +4 -4
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +6 -2
- package/lib/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.cjs +1 -1
- package/lib/locale/en/index.cjs +554 -48
- package/lib/locale/zh-CN/index.cjs +552 -48
- package/lib/panel-component/auth-captcha/auth-captcha.cjs +74 -0
- package/lib/panel-component/auth-captcha/auth-captcha.controller.cjs +125 -0
- package/lib/panel-component/auth-captcha/auth-captcha.css +1 -0
- package/lib/panel-component/auth-captcha/auth-captcha.provider.cjs +23 -0
- package/lib/panel-component/auth-captcha/auth-captcha.state.cjs +53 -0
- package/lib/panel-component/auth-captcha/index.cjs +20 -0
- package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +1 -1
- package/lib/panel-component/index.cjs +4 -0
- package/lib/panel-component/nav-pos-index/nav-pos-index.cjs +1 -1
- package/lib/panel-component/nav-tabs/nav-tabs.cjs +3 -3
- package/lib/panel-component/panel-button/panel-button.controller.cjs +7 -1
- package/lib/panel-component/panel-remember-me/panel-remember-me.cjs +1 -1
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.cjs +14 -5
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.controller.cjs +44 -0
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.provider.cjs +2 -2
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.state.cjs +26 -0
- package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +15 -10
- package/lib/panel-component/searchform-buttons/searchform-buttons.controller.cjs +3 -1
- package/lib/panel-component/short-cut/index.cjs +17 -0
- package/lib/panel-component/short-cut/short-cut.cjs +192 -0
- package/lib/panel-component/short-cut/short-cut.css +1 -0
- package/lib/panel-component/short-cut/short-cut.provider.cjs +23 -0
- package/lib/panel-component/user-message/async-action/async-action-preview/async-action-preview.cjs +19 -13
- package/lib/panel-component/user-message/async-action/async-action-tab/async-action-tab.cjs +4 -2
- package/lib/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.cjs +1 -1
- package/lib/panel-component/user-message/internal-message/internal-message-json/internal-message-json.cjs +2 -2
- package/lib/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.cjs +8 -4
- package/lib/panel-component/user-message/user-message.cjs +4 -4
- package/lib/view/403-view/403-view.cjs +3 -3
- package/lib/view/404-view/404-view.cjs +3 -3
- package/lib/view/error-view/error-view.cjs +3 -1
- package/lib/view/login-view/login-view.cjs +26 -22
- package/lib/view/sub-app-ref-view/sub-app-ref-view.cjs +1 -1
- package/lib/view-engine/edit-view.engine.cjs +22 -18
- package/lib/view-engine/exp-view.engine.cjs +1 -1
- package/lib/view-engine/login-view.engine.cjs +20 -4
- package/lib/view-engine/mpickup-view-engine.cjs +1 -1
- package/lib/view-engine/opt-view.engine.cjs +2 -2
- package/lib/view-engine/tab-exp-view.engine.cjs +2 -2
- package/lib/view-engine/wf-dyna-edit-view.engine.cjs +5 -2
- package/lib/web-app/guard/auth-guard/auth-guard.cjs +2 -2
- package/lib/web-app/util/unauthorized-handler/unauthorized-handler.cjs +3 -1
- package/package.json +6 -5
- package/dist/index-0Z8KS6t6.js +0 -1
- package/dist/index-GZW20-jI.js +0 -4
- package/dist/index-OkS9bkdl.js +0 -1
- package/dist/wang-editor-HlmvPsb1.js +0 -1
package/dist/index-OkS9bkdl.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register([],(function(e){"use strict";return{execute:function(){e("default",{app:{logout:"Logout",error:"Error",success:"Success",confirm:"Confirm",cancel:"Cancel",return:"Return",noData:"No data available",refresh:"Refresh",noSupport:"Not supported currently",add:"Add",delete:"Delete",save:"Save",edit:"Edit",complete:"Complete",more:"More"},view:{},control:{common:{determine:"Determine",retreat:"Retreat",forward:"Forward",noSupportItem:"{name} is currently not supported",noFoundNode:"Node with _uuid {id} not found",itemsSelected:"{length} items selected",citeErrMessage:"Unable to find table component reference",noDomErrMessage:"Unable to find corresponding table row dom element",noPopErrMessage:"Unable to obtain an instance of the pop component",currentNoData:"Current no data",updateSuccess:"Update success",newSuccCreated:"New successfully created",deleteSuccess:"Delete successful"},menu:{noSupportAlign:"The menu direction {align} is not supported temporarily",noFoundModel:"no find the menu item model {menuKey}",noFoundFunction:"The adapter for {menuKey} does not have a renderText method"},calendar:{lastYear:"Last year",lastMonth:"Last month",today:"Today",nextMonth:"Next month",nextYear:"Next year"},chart:{chartPlaceholder:"Chart"},dashboard:{customDashboardContainer:{portalCustomPrompt:"Portal customization"},dashboardDesign:{global:"Global level",add:"Add",customPortal:"Customize portal",colNum:"Column number",cellHeight:"Cell height",restoreDefault:"Restore default",save:"Save"}},form:{noSupportDetailType:"Form detail type not supported: {detailType} or corresponding provider cannot be found",formDruipart:{saveFirst:"Please save the master data first"},formGroupPanel:{showMore:"Show More",putAway:"Put Away"},formMDctrlForm:{noFindProvider:"Provider not found for form"},formMDctrlRepeater:{noSupportStyle:"Repeater style {repeaterStyle} is currently not supported"},repeaterGrid:{promptInformation:"Do you want to delete the selected item",absentOrLoad:"Not present or loading"},repeaterSingleForm:{errorMessage:"No repeatedForm"},mdCtrlContainer:{promptInformation:"Do you want to delete the selected item",noSlot:"Item slot not provided"},formMDctrl:{errorMessage:"The content type is currently not supported as {contentType}"}},gantt:{complete:"Completed amount",total:"Total",deadline:"Deadline"},kanban:{selectAll:"Select all",selectedDataCount:"Selected <span>{length}</span> pieces of data",newPrompt:"Newly build",natchOperation:"Batch operation"},reportPanel:{unrealized:"Unrealized"},searchBar:{saveGroup:"Save group",filter:"Filter",filterTree:{addItem:"Add item",search:"Search",reset:"Reset"},searchGroups:{groupValueRule:"Group name cannot be empty",errorMessage:"Group name cannot be duplicate!",noEditPrompt:"The configured grouping is not editable",savePrompt:"Please save the group first",delTitle:"Confirm delete",confirmDelPrompt:"Are you sure to delete group <span>{itemName}</span?",unrecoverablePrompt:"Cannot recover after group deletion",newGroup:"New group",groupManage:"Group manage",groupName:"Group Name",enterPrompt:"Please enter the group name",editGroup:"Edit grouping",manageTips:"Tips:Manage grouping of search bars",name:"Name",show:"Show",operate:"Operate",dialogCancel:"Cancel",dialogDetermine:"Determine"}},toolbar:{exportExcel:{exportAll:"Export all(Export up to 1000 rows)",expCurrentPage:"Export current page",expCurrentSelect:"Export the current selection",page:"Page",export:"Export"}},tree:{noFoundInstance:"Unable to find el tree instance object",noSupported:"Not currently supported dropType:{dropType}"},treeGridEx:{noFoundMessage:"Unable to find row data object for {id}"}},component:{indexSearch:{placeholder:"Search Content"},dataImport:{startImport:"Start importing. Please refer to the application notification for detailed progress and results",importSuccess:"A total of {totalNum} pieces of imported data, error [{errorNum}], successful [{successNum}]",importData:"Import Data",clickToUpload:"Click on this area to upload",importResults:"Import Results",downloadTemplate:"Download the import template and fill in as required:",templateFile:"Data import template file",continue:"Continue importing"},dataImport2:{atLastOne:"Select at least one mapping attribute",uploadPlease:"Please upload the file",fileName:"Current file name: {fileName}",saveMode:"Import Mode Save",reUpload:"Re upload files",fileUpload:"File upload",import:"Import",selectProperties:"Please select column import properties!"},dataImport2Select:{selectMode:"Select import mode",edit:"Edit"},dataImport2Table:{selectAttribute:"Select the import attribute corresponding to the current column"},doingNotice:{jobInProgress:"There are <span class={class}>{num}</span> backend jobs currently executing, please wait"},extendActionTimeLine:{processTime:"Processing time",comments:"Approval opinions",reject:"Reject"},mapChart:{high:"High",low:"Low"},pagination:{display:"Display",piece:"Piece",total:"Total",pieceData:"Piece of data"},rawItem:{errorConfig:"{type} type custom parameter configuration error",noSupportVideo:"Your browser does not support video tags"},gridSetting:{hideControl:"Column selection"},actionToolbar:{more:"More"}},editor:{code:{readOnlyPrompt:"Currently in read-only mode, not editable",confirmCancelPrompt:"Are you sure you want to cancel editing?",cancelEditPrompt:"Canceling editing will prevent the modified content from being saved and cannot be retrieved.",confirmCancel:"Confirm cancel"}},runtime:{common:{unrealized:"unrealized"},command:{app:{notFindApplicationFunction:"An app feature called {appFuncId} cannot be found",notFindApplicationFunctionYype:"Unsupported application function type: {appFuncType}",notFindApplicationView:"The application view [{appViewId}] does not exist"}},controller:{common:{control:{componentActivation:"Component [{name}] ({id}) is active",componentPause:"Component [{name}] ({id}) is pause",unsupportedType:"Unsupported entity data change type: {type}",uncheckedData:"Unchecked data",dataDeletion:"data deletion",confirmDataDeletion:"Confirm deletion of data?",noImportModel:"No import model is configured!"},editor:{editorNotConfigured:"Editor type [{editorType}], code table not configured"},view:{viewActivation:"View [{name}] ({id}) is active",viewPause:"View [{name}] ({id}) is pause",viewDestroy:"View [{name}] ({id}) is destroy",notFoundViewEngine:"The View Engine implementation was not found:",noSupportBehavior:"No engine support for pre-built interface behavior {key}"}},control:{menu:{notFindMenu:"Cannot find menu item named {id}",noConfigured:"No application functionality configured"},calendar:{missingViewLogic:"Missing {itemType}_opendata view logic",notFoundModel:"Calendar item model not found"},chart:{notConfiguredX:"Sequence is not configured with X-axis",notConfiguredY:"Sequence is not configured with Y-axis",missingClassification:"Missing classification attribute configuration",missingValue:"Missing value attribute configuration",notSupportSequence:"Charts do not support sequence types at this time {seriesType}",notFindSequence:"Cannot find generator for {seriesIndex} sequence!",notInitialised:"The chart object is not properly initialised",notCalculated:"Options have not been calculated."},dataView:{noBehaviourGroup:"No interface behaviour group is configured for the action",noBehaviourGroupAction:"No interface behaviour is configured for the action item interface behaviour group",propertiesNotConfigured:"Grouping properties are not configured",tableNotConfigured:"The grouping code table is not configured",sortingItems:"Items with sorting enabled must be associated with an entity attribute"},expBar:{unableMore:"Unable to get multiple data widgets [{xdataControlName}] controller",multiNode:"Multi-node views are implemented by subclasses",notFindNodeModel:"Cannot find node model for {nodeId}"},form:{formCompletion:"Please check the form completion!",savedSuccessfully:"{srfmajortext}Saved successfully!",prompt:"prompt",deletion:"Confirm deletion?",itemUpdate:"No {formItemUpdateId} form item update was found.",processStarted:"Process started successfully",processSubmitted:"Process submitted successfully",lackBehavior:"Lack of return operation entity behavior",initializationException:"Initialization Exception: Form member [{id}]({detailType}) already exists, duplicate form item identifier Please check configuration!",relationshipInterface:"Receive data change events from the relationship interface",fillIn:"Please fill in {caption} ",unconfiguredWidgets:"Multi-data widgets unconfigured content widgets",noFoundFormController:"No form controller corresponding to {id} found",multiDataAddData:"Multi-data widget type {contentType} does not support adding data at the moment",mdControllerNotExist:"mdController does not exist",repeaterNotSupported:"Repeater styles are not supported at this time {detailStyle}",searchTerms:"No search terms found to apply",saveSearch:"No saved search criteria found"},gantt:{notNode:"Not entity gantt node data",rowData:"Row data does not exist",simpleMode:"Simple mode, no saving",nonentity:"Non-entity node data cannot be saved",notChange:"The value has not changed",dataDeleted:"Data [{str}] deleted successfully!",firstComplete:"Please complete the current line in the line editor first",notSupport:"{treeNodeType} node type not supported"},grid:{unsupported:"Unsupported types {type}",attributeColumns:"Attribute columns with no grouping attributes configured",notCodeTable:"The attribute column {groupFieldName} of the grouping attribute does not have a configuration code table",configureFirstColumn:"Please configure the grouping attribute column {groupFieldName} as the first column",requiresCodeTable:"Code table grouping mode requires code table configuration",notMatchCodeTable:"The grouping code table does not match the code table for the attribute column {groupFieldName}",convertedValue:"The sort attribute of {srfmajortext} cannot be converted to a value",missingConfiguration:"Missing configuration of aggregated entities or aggregated datasets",newRows:"New rows are not supported",saveCancel:"Row data validation failed, save cancel",notSupportRowEditing:"The current form does not support row editing, and you cannot toggle on row editing.",lineEditing:"Only one line can be open for line editing at the same time",updateColumns:"No {updateId} edit columns found for update",exported:"No exported data",tabularColumns:"No tabular columns",corresponding:"Corresponding table data item not found [{deField}].",pickedUpData:"The value of {valueItem} is not picked up in the row data.",notSupportedMode:"Attribute column aggregation mode {aggMode} is not supported yet.",remoteAggregation:"Remote aggregation is not supported yet",aggregateMode:"Aggregate mode is not supported yet {aggMode}",formattingError:"{aggValue} value formatting error",checksumErrors:"{codeName}Checksum errors, {fieldName}",behaviorGroup:"The action column does not have an interface behavior group configured",interfaceBehavior:"No interface behavior is configured for the action column interface behavior group"},kanban:{sortingProperties:"Sorting properties are not configured",sortDirection:"Sort direction is not configured",groupedOn:"Kanban components must be grouped on",adjustmentsGroup:"The current Kanban does not allow adjustments to the grouping!",notAllowReorder:"Current Kanban does not allow reordering!"},meditViewPanel:{DraftNew:"Draft - New",dataExist:"Edit View Panel widget UI data does not exist"},panel:{panelData:"Panel data not captured"},reportPanel:{reportType:"Report panel generator factory parameter error, report panel does not specify report type",notImplemented:"Specify the report {reportType} type report panel generator not implemented yet"},searchBar:{notFoundEntity:"Cannot find the associated entity corresponding to the attribute {targetField}.",missingModel:"Missing editor model",JSONFormat:"{data} non-standard JSON format:"},toolbar:{notFound:"Interface behavior model {actionId} not found"},tree:{notFoundTreeData:"Cannot find corresponding tree node data",sortAttribute:"Missing Configuration Sort Attribute",editMode:"The tree node is not configured for edit mode: name",nodeData:"Not entity tree node data",notFoundTreeNode:"Tree node not found"},treeGrid:{columnsSchema:"TreeTable Unvalued Columns Schema",columnMode:"Tree table without parent column mode"},treeGridEx:{notConfigured:"The node is not configured with a data item that corresponds to the table column {name}",editItem:"Edit item model corresponding to table column {name} was not found",notPickedUp:"The value of {valueItem} is not picked up in the row data.",behaviorGroup:"The {id} action column does not have an interface behavior group configured.",notSupportCreation:"Does not support the creation of new",updateBehavior:"Tree nodes are not configured to update entity behavior"},wizardPanel:{wizardForm:"Cannot find the wizard form for {activeFormTag}.",formController:"Cannot find a form controller for {activeFormTag}.",noConfiguration:"There is no Configuration Wizard form collection",wizardFormIdentifier:"Cannot find the wizard form with the {tag} identifier.",noPreviousForm:"No previous form",nextStep:"Cannot find next wizard step",nextForm:"Cannot find the next wizard form"}},utils:{buttonState:{isFinitenconsistency:"Inconsistency between entity {appDeName} of {uiActionId} interface behavior and entity {appDeId} of data"},counter:{decrement:"Decrement cannot be called for a count of 0!"},dataFileUtil:{notExist:"ibiz.util.getExportExcel does not exist",loadError:"Export module loading error",importData:"No corresponding import data model was found"},valueDefault:{notExist:"appdata.context does not exist",notsupported:"Default value type [{valueType}] not supported"},valueEx:{objectNameField:"Missing objectNameField"},valueRule:{length:"The length of the content must be less than or equal to {maxLength}, the current length is {length}."},viewMsg:{message:"Cannot find model for view message group {msgGroupId}",noFound:"No {message} view message model found"}}}}})}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["vue","@wangeditor/editor-for-vue","qx-util","ramda","@ibiz-template/vue3-util","@ibiz-template/core","element-plus"],(function(e,t){"use strict";var a,l,n,o,s,i,r,c,u,d,v,m,h,f,g,b,p,S,y,C,E,F;return{setters:[function(e){a=e.defineComponent,l=e.ref,n=e.shallowRef,o=e.watch,s=e.onBeforeUnmount,i=e.onMounted,r=e.nextTick,c=e.onUnmounted,u=e.createVNode,d=e.resolveComponent,v=e.createTextVNode},function(e){m=e.Toolbar,h=e.Editor},function(e){f=e.getCookie,g=e.createUUID},function(e){b=e.isNil},function(e){p=e.getHtmlProps,S=e.getEditorEmits,y=e.useNamespace},function(e){C=e.CoreConst,E=e.awaitTimeout},function(e){F=e.ElMessageBox}],execute:function(){e("default",a({name:"IBizHtml",props:p(),emits:S(),setup(e,{emit:a}){const d=y("html"),p=e.controller,S=l(),T=l({});let k=null,U=0;const x=l(),A=n(),w=l(""),N=l({Authorization:"Bearer ".concat(f(C.TOKEN))}),B=l(""),H=l(""),O=l(!0),L=l(!1),P=l(!1),R=l(!1),z=l(!1),I=p.model;I.editorParams&&(I.editorParams.enableEdit&&(L.value=!0,P.value=!0,O.value=p.toBoolean(I.editorParams.enableEdit)&&!e.readonly&&!e.disabled),I.editorParams.enableFullScreen&&(R.value=p.toBoolean(I.editorParams.enableFullScreen))),e.readonly&&(L.value=!1,P.value=!0),o((()=>e.data),(e=>{if(e){const t=ibiz.util.file.calcFileUpDownUrl(p.context,p.params,e,p.editorParams);B.value=t.uploadUrl,H.value=t.downloadUrl}}),{immediate:!0,deep:!0});const D=(e,t)=>{if(t)return!0},M=e=>e,V={excludeKeys:["group-video"]};p.chatCompletion&&(V.insertKeys={index:60,keys:["|","aichart"]});const K={placeholder:p.placeHolder,readOnly:L.value?P.value:e.readonly,MENU_CONF:{uploadImage:{server:B.value,fieldName:"file",maxFileSize:10485760,maxNumberOfFiles:10,allowedFileTypes:[],headers:N.value,withCredentials:!0,onBeforeUpload:e=>e,onProgress(e){console.log("progress",e)},onSuccess(e,t){console.log("".concat(e.name," 上传成功"),t)},onFailed(e,t){console.log("".concat(e.name," 上传失败"),t)},onError(e,t,a){console.log("".concat(e.name," 上传出错"),t,a)},async customInsert(e,t){t(H.value.replace("%fileId%",e.id),e.filename,"")}},insertLink:{checkLink:D,parseLinkUrl:M},editLink:{checkLink:D,parseLinkUrl:M}}};let q;s((()=>{const e=A.value;null!=e&&e.destroy()}));const J=e=>{A.value=e,e.setHtml(w.value),e.on("aiClick",(()=>{(async()=>{var e;if(p.deService){const l=await t.import("@ibiz-template-plugin/ai-chat"),n=l.chat||l.default.chat;q=n;const o=n.create({question:async e=>{var t;const a=g();return await(null==(t=p.deService)?void 0:t.aiChatSse((e=>{if(ibiz.log.info("aiChatSse",e),20===e.actionstate&&e.actionresult)o.addMessage({messageid:a,state:e.actionstate,type:"DEFAULT",role:"ASSISTANT",content:e.actionresult});else if(30===e.actionstate&&e.actionresult){const t=JSON.parse(e.actionresult).choices;t&&t.length>0&&o.replaceMessage({messageid:a,state:e.actionstate,type:"DEFAULT",role:"ASSISTANT",content:t[0].content||""})}else 40===e.actionstate&&o.replaceMessage({messageid:a,state:e.actionstate,type:"ERROR",role:"ASSISTANT",content:e.actionresult})}),p.context,{},{messages:e})),o.addMessage({messageid:a,state:10,type:"DEFAULT",role:"ASSISTANT",content:""}),!0},action:(e,t)=>{"backfill"===e&&(L.value?w.value=t.content:a("change",t.content))}}),s=await(null==(e=p.deService)?void 0:e.aiChatHistory(p.context,{}));s.data&&Array.isArray(s.data)&&s.data.forEach((e=>{const t={messageid:g(),state:30,type:"DEFAULT",role:e.role,content:e.content};o.addMessage(t)}))}})()}))},_=t=>{const l=t.getHtml(),n="<p><br></p>"===l?"":l;n===e.value||""===n&&b(e.value)||!L.value&&t.isFocused()&&a("change",n)},j=e=>{},G=e=>{a("focus")},Q=e=>{a("blur")},W=(e,t)=>{alert("【自定义提示】".concat(t," - ").concat(e))},X=(e,t,a)=>{a(!0)},Y=()=>{const e=A.value;null!=e&&e.disable()},Z=()=>{const e=A.value;null!=e&&e.enable()};i((()=>{o((()=>e.value),((t,a)=>{t===a||"string"!=typeof e.value&&null!=t||r(null==t?()=>{w.value=""}:()=>{w.value=t})}),{immediate:!0}),o((()=>e.disabled),((e,t)=>{e!==t&&(!0===e?Y():Z())}),{immediate:!0})}));const $=()=>{P.value=!P.value,P.value?Y():(Z(),A.value.focus(),(()=>{var t,a;if(e.value){const l=e.value.indexOf("</p>");if(l>=0){const e=null==(t=A.value.selection.anchor)?void 0:t.offset,n=null==(a=A.value.selection.anchor)?void 0:a.path;0===e&&n.length>0&&0===n[0]&&A.value.move(l-3)}}})())},ee=()=>{z.value=!z.value,r((()=>{P.value?Y():(Z(),A.value.focus())}))};return i((()=>{E(0,(()=>{if(S.value&&x.value){const e=S.value.offsetHeight;k=new ResizeObserver((t=>{const a=t[0].contentRect.height;if(a!==U){const l={height:"".concat(e-t[0].contentRect.height,"px")};T.value=d.cssVarBlock(l),U=a}})),k.observe(x.value.selector)}}))})),c((()=>{k&&k.disconnect(),q&&q.close()})),{ns:d,editorRef:A,mode:"default",valueHtml:w,toolbarConfig:V,editorConfig:K,handleCreated:J,handleChange:_,handleDestroyed:j,handleFocus:G,handleBlur:Q,customAlert:W,customPaste:X,insertText:e=>{const t=A.value;null!=t&&t.insertText(e)},printHtml:()=>{const e=A.value;null!=e&&console.log(e.getHtml())},disable:Y,enable:Z,renderHeaserToolbar:()=>L.value||R.value?u("div",{class:d.b("custom-toolbar")},[L.value&&O.value&&P.value?u("i",{class:"fa fa-edit","aria-hidden":"true",onClick:()=>$()},null):null,R.value?z.value?u("i",{class:"fa fa-compress","aria-hidden":"true",onClick:()=>ee()},null):u("i",{class:"fa fa-expand","aria-hidden":"true",onClick:()=>ee()},null):null]):null,renderEditorContent:()=>u("div",{class:d.b("content"),ref:"htmlContent",style:T.value},[u(m,{ref:"toolbarRef",editor:A.value,"default-config":V,mode:"default",class:d.b("toolbar")},null),u(h,{class:d.b("editor"),modelValue:w.value,"onUpdate:modelValue":e=>w.value=e,"default-config":K,mode:"default",onOnCreated:J,onOnChange:_,onOnDestroyed:j,onOnFocus:G,onOnBlur:Q,oncustomAlert:W,oncustomPaste:X},null)]),renderFooter:()=>L.value?u("div",{class:[d.b("footer"),{[d.b("footer-dialog")]:z.value}]},[u("div",{class:d.be("footer","cancel"),onClick:()=>{e.value!==w.value?F({title:"确认取消",type:"warning",customClass:d.b("message"),message:u("div",{class:d.be("message","message-content")},[u("p",null,[v("确定要取消编辑吗?")]),u("p",{class:d.bem("message","message-content","message-tip")},[v("取消编辑将无法保存修改的内容,且不能找回。")])]),showCancelButton:!0,cancelButtonClass:d.be("message","message-cancel"),confirmButtonClass:d.be("message","message-comfire")}).then((()=>{w.value=e.value||"",$()})).catch((()=>{A.value.focus()})):$()}},[v("取消")]),u("div",{class:d.be("footer","save"),onClick:()=>(()=>{P.value=!0,A.value.disable();const e=w.value;a("change",e),z.value&&(z.value=!1)})()},[v("保存")])]):null,htmlContent:S,hasEnableEdit:L,cssVars:T,toolbarRef:x,isFullScreen:z,readonlyState:P,changeFullScreenState:ee}},render(){return this.isFullScreen?u(d("el-dialog"),{modelValue:this.isFullScreen,"onUpdate:modelValue":e=>this.isFullScreen=e,width:"80%",top:"10vh",class:this.ns.b("dialog-full-screen"),onClose:()=>this.changeFullScreenState()},{default:()=>[u("div",{class:[this.ns.b(),{[this.ns.b("editor-readonly")]:this.readonlyState}]},[this.renderHeaserToolbar(),this.renderEditorContent(),this.hasEnableEdit&&!this.readonlyState?this.renderFooter():null])]}):u("div",{class:[this.ns.b(),{[this.ns.b("editor-readonly")]:this.readonlyState},this.ns.is("show-ai",!0)]},[this.renderHeaserToolbar(),this.renderEditorContent(),this.hasEnableEdit&&!this.readonlyState?this.renderFooter():null])}}))}}}));
|