@byteluck-fe/model-driven-controls 7.0.0-props.99 → 8.0.0-beta.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/README.md +9 -0
- package/dist/catalog/index.js +241 -0
- package/dist/catalog/index.mjs +241 -0
- package/dist/esm/api-doc-index.js +1 -0
- package/dist/esm/baseControls/BarChart/designer.js +38 -32
- package/dist/esm/baseControls/BarChart/property.js +175 -43
- package/dist/esm/baseControls/BarChart/runtime.js +12 -20
- package/dist/esm/baseControls/BarChart/schema.json +1686 -0
- package/dist/esm/baseControls/BatchDeleteButton/designer.js +12 -20
- package/dist/esm/baseControls/BatchDeleteButton/property.js +46 -22
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +12 -20
- package/dist/esm/baseControls/BatchDeleteButton/schema.json +4 -4
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +12 -20
- package/dist/esm/baseControls/BatchPrintListButton/property.js +21 -21
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +12 -20
- package/dist/esm/baseControls/BatchPrintListButton/schema.json +207 -5
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +12 -20
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +11 -17
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +12 -20
- package/dist/esm/baseControls/BatchPrintRecordListButton/schema.json +207 -5
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +12 -20
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +29 -21
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +12 -20
- package/dist/esm/baseControls/BatchSubmissionListButton/schema.json +207 -5
- package/dist/esm/baseControls/Button/designer.js +12 -20
- package/dist/esm/baseControls/Button/property.js +21 -23
- package/dist/esm/baseControls/Button/runtime.js +12 -20
- package/dist/esm/baseControls/Button/schema.json +207 -5
- package/dist/esm/baseControls/Comment/designer.js +12 -20
- package/dist/esm/baseControls/Comment/property.js +21 -21
- package/dist/esm/baseControls/Comment/runtime.js +12 -20
- package/dist/esm/baseControls/Comment/schema.json +4 -4
- package/dist/esm/baseControls/CreateFormListButton/designer.js +12 -20
- package/dist/esm/baseControls/CreateFormListButton/property.js +21 -21
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +12 -20
- package/dist/esm/baseControls/CreateFormListButton/schema.json +207 -5
- package/dist/esm/baseControls/Dashboard/designer.js +12 -20
- package/dist/esm/baseControls/Dashboard/property.js +45 -21
- package/dist/esm/baseControls/Dashboard/runtime.js +12 -20
- package/dist/esm/baseControls/Dashboard/schema.json +4 -4
- package/dist/esm/baseControls/Divider/designer.js +12 -20
- package/dist/esm/baseControls/Divider/property.js +49 -21
- package/dist/esm/baseControls/Divider/runtime.js +12 -20
- package/dist/esm/baseControls/Divider/schema.json +7 -8
- package/dist/esm/baseControls/ExportListButton/designer.js +12 -20
- package/dist/esm/baseControls/ExportListButton/property.js +21 -21
- package/dist/esm/baseControls/ExportListButton/runtime.js +12 -20
- package/dist/esm/baseControls/ExportListButton/schema.json +208 -6
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +12 -20
- package/dist/esm/baseControls/ExportRecordListButton/property.js +11 -17
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +12 -20
- package/dist/esm/baseControls/ExportRecordListButton/schema.json +207 -5
- package/dist/esm/baseControls/FormSelectButton/designer.js +12 -20
- package/dist/esm/baseControls/FormSelectButton/property.js +29 -21
- package/dist/esm/baseControls/FormSelectButton/runtime.js +12 -20
- package/dist/esm/baseControls/FormSelectButton/schema.json +214 -7
- package/dist/esm/baseControls/Iframe/designer.js +17 -25
- package/dist/esm/baseControls/Iframe/property.js +29 -24
- package/dist/esm/baseControls/Iframe/runtime.js +12 -20
- package/dist/esm/baseControls/Iframe/schema.json +4 -4
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +12 -20
- package/dist/esm/baseControls/ImportRecordListButton/property.js +25 -22
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +12 -20
- package/dist/esm/baseControls/ImportRecordListButton/schema.json +209 -6
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +12 -20
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +41 -21
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +12 -20
- package/dist/esm/baseControls/InvoiceCheckButton/schema.json +207 -5
- package/dist/esm/baseControls/LineChart/designer.js +199 -0
- package/dist/esm/baseControls/LineChart/index.js +11 -0
- package/dist/esm/baseControls/LineChart/property.js +256 -0
- package/dist/esm/baseControls/LineChart/runtime.js +104 -0
- package/dist/esm/baseControls/LineChart/schema.json +1686 -0
- package/dist/esm/baseControls/Link/designer.js +12 -20
- package/dist/esm/baseControls/Link/property.js +38 -22
- package/dist/esm/baseControls/Link/runtime.js +12 -20
- package/dist/esm/baseControls/Link/schema.json +6 -29
- package/dist/esm/baseControls/ListSelectButton/designer.js +12 -20
- package/dist/esm/baseControls/ListSelectButton/property.js +41 -21
- package/dist/esm/baseControls/ListSelectButton/runtime.js +12 -20
- package/dist/esm/baseControls/ListSelectButton/schema.json +220 -8
- package/dist/esm/baseControls/ListViewSelect/designer.js +12 -20
- package/dist/esm/baseControls/ListViewSelect/property.js +21 -21
- package/dist/esm/baseControls/ListViewSelect/runtime.js +12 -20
- package/dist/esm/baseControls/ListViewSelect/schema.json +4 -4
- package/dist/esm/baseControls/OperationButton/designer.js +12 -20
- package/dist/esm/baseControls/OperationButton/property.js +69 -21
- package/dist/esm/baseControls/OperationButton/runtime.js +12 -20
- package/dist/esm/baseControls/OperationButton/schema.json +4 -4
- package/dist/esm/baseControls/Pagination/designer.js +12 -20
- package/dist/esm/baseControls/Pagination/property.js +12 -20
- package/dist/esm/baseControls/Pagination/runtime.js +12 -20
- package/dist/esm/baseControls/Pagination/schema.json +4 -4
- package/dist/esm/baseControls/PieChart/designer.js +35 -29
- package/dist/esm/baseControls/PieChart/property.js +174 -44
- package/dist/esm/baseControls/PieChart/runtime.js +12 -20
- package/dist/esm/baseControls/PieChart/schema.json +1678 -0
- package/dist/esm/baseControls/ReferenceList/designer.js +12 -20
- package/dist/esm/baseControls/ReferenceList/property.js +33 -21
- package/dist/esm/baseControls/ReferenceList/runtime.js +12 -20
- package/dist/esm/baseControls/ReferenceList/schema.json +17 -6
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +12 -20
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +11 -17
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +12 -20
- package/dist/esm/baseControls/SubmissionRecordListButton/schema.json +207 -5
- package/dist/esm/baseControls/Text/designer.js +13 -21
- package/dist/esm/baseControls/Text/property.js +62 -22
- package/dist/esm/baseControls/Text/runtime.js +12 -20
- package/dist/esm/baseControls/Text/schema.json +15 -8
- package/dist/esm/baseControls/TextOcrButton/designer.js +12 -20
- package/dist/esm/baseControls/TextOcrButton/property.js +41 -21
- package/dist/esm/baseControls/TextOcrButton/runtime.js +12 -20
- package/dist/esm/baseControls/TextOcrButton/schema.json +207 -5
- package/dist/esm/baseControls/Title/designer.js +12 -20
- package/dist/esm/baseControls/Title/property.js +29 -21
- package/dist/esm/baseControls/Title/runtime.js +12 -20
- package/dist/esm/baseControls/Title/schema.json +16 -6
- package/dist/esm/baseControls/index.js +1 -0
- package/dist/esm/baseControls/utils.js +61 -0
- package/dist/esm/catalog/generated/control-catalog.v1.json +84906 -0
- package/dist/esm/catalog/index.js +2 -0
- package/dist/esm/catalog/query.js +78 -0
- package/dist/esm/catalog/types.js +1 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +12 -20
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +25 -21
- package/dist/esm/columnControls/ApprovalStatusColumn/runtime.js +12 -20
- package/dist/esm/columnControls/ApprovalStatusColumn/schema.json +16 -7
- package/dist/esm/columnControls/ArrayColumn/designer.js +12 -20
- package/dist/esm/columnControls/ArrayColumn/property.js +33 -21
- package/dist/esm/columnControls/ArrayColumn/runtime.js +12 -20
- package/dist/esm/columnControls/ArrayColumn/schema.json +47 -13
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +12 -20
- package/dist/esm/columnControls/AutoNumberColumn/property.js +21 -21
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +12 -20
- package/dist/esm/columnControls/AutoNumberColumn/schema.json +16 -7
- package/dist/esm/columnControls/CustomColumn/designer.js +19 -32
- package/dist/esm/columnControls/CustomColumn/property.js +21 -21
- package/dist/esm/columnControls/CustomColumn/runtime.js +13 -23
- package/dist/esm/columnControls/CustomColumn/schema.json +6 -6
- package/dist/esm/columnControls/DecimalColumn/designer.js +15 -26
- package/dist/esm/columnControls/DecimalColumn/property.js +45 -21
- package/dist/esm/columnControls/DecimalColumn/runtime.js +12 -20
- package/dist/esm/columnControls/DecimalColumn/schema.json +47 -13
- package/dist/esm/columnControls/DepartmentColumn/designer.js +15 -26
- package/dist/esm/columnControls/DepartmentColumn/property.js +17 -21
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +12 -20
- package/dist/esm/columnControls/DepartmentColumn/schema.json +6 -6
- package/dist/esm/columnControls/EmployeeColumn/designer.js +12 -20
- package/dist/esm/columnControls/EmployeeColumn/property.js +17 -21
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +12 -20
- package/dist/esm/columnControls/EmployeeColumn/schema.json +9 -7
- package/dist/esm/columnControls/FileColumn/designer.js +12 -20
- package/dist/esm/columnControls/FileColumn/property.js +17 -21
- package/dist/esm/columnControls/FileColumn/runtime.js +12 -20
- package/dist/esm/columnControls/FileColumn/schema.json +11 -7
- package/dist/esm/columnControls/GroupColumn/designer.js +12 -20
- package/dist/esm/columnControls/GroupColumn/property.js +11 -17
- package/dist/esm/columnControls/GroupColumn/runtime.js +12 -20
- package/dist/esm/columnControls/GroupColumn/schema.json +6 -6
- package/dist/esm/columnControls/ImageColumn/designer.js +12 -20
- package/dist/esm/columnControls/ImageColumn/property.js +11 -17
- package/dist/esm/columnControls/ImageColumn/runtime.js +12 -20
- package/dist/esm/columnControls/ImageColumn/schema.json +6 -6
- package/dist/esm/columnControls/LocationColumn/designer.js +12 -20
- package/dist/esm/columnControls/LocationColumn/property.js +21 -21
- package/dist/esm/columnControls/LocationColumn/runtime.js +12 -20
- package/dist/esm/columnControls/LocationColumn/schema.json +16 -7
- package/dist/esm/columnControls/OperationColumn/designer.js +21 -35
- package/dist/esm/columnControls/OperationColumn/property.js +21 -21
- package/dist/esm/columnControls/OperationColumn/runtime.js +12 -20
- package/dist/esm/columnControls/OperationColumn/schema.json +6 -6
- package/dist/esm/columnControls/OrderColumn/designer.js +12 -20
- package/dist/esm/columnControls/OrderColumn/property.js +12 -20
- package/dist/esm/columnControls/OrderColumn/runtime.js +12 -20
- package/dist/esm/columnControls/OrderColumn/schema.json +6 -6
- package/dist/esm/columnControls/PeopleColumn/designer.js +12 -20
- package/dist/esm/columnControls/PeopleColumn/property.js +11 -17
- package/dist/esm/columnControls/PeopleColumn/runtime.js +12 -20
- package/dist/esm/columnControls/PeopleColumn/schema.json +6 -6
- package/dist/esm/columnControls/TextColumn/designer.js +15 -26
- package/dist/esm/columnControls/TextColumn/property.js +29 -21
- package/dist/esm/columnControls/TextColumn/runtime.js +12 -20
- package/dist/esm/columnControls/TextColumn/schema.json +16 -7
- package/dist/esm/columnControls/TimescopeColumn/designer.js +15 -26
- package/dist/esm/columnControls/TimescopeColumn/property.js +29 -21
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +12 -20
- package/dist/esm/columnControls/TimescopeColumn/schema.json +16 -7
- package/dist/esm/columnControls/TimestampColumn/designer.js +15 -26
- package/dist/esm/columnControls/TimestampColumn/property.js +29 -21
- package/dist/esm/columnControls/TimestampColumn/runtime.js +12 -20
- package/dist/esm/columnControls/TimestampColumn/schema.json +16 -7
- package/dist/esm/columnControls/VarcharColumn/designer.js +12 -20
- package/dist/esm/columnControls/VarcharColumn/property.js +41 -21
- package/dist/esm/columnControls/VarcharColumn/runtime.js +12 -20
- package/dist/esm/columnControls/VarcharColumn/schema.json +50 -14
- package/dist/esm/formControls/Address/designer.js +12 -20
- package/dist/esm/formControls/Address/property.js +29 -21
- package/dist/esm/formControls/Address/runtime.js +12 -20
- package/dist/esm/formControls/Address/schema.json +43 -6
- package/dist/esm/formControls/Amount/designer.js +15 -26
- package/dist/esm/formControls/Amount/property.js +63 -24
- package/dist/esm/formControls/Amount/runtime.js +12 -20
- package/dist/esm/formControls/Amount/schema.json +66 -11
- package/dist/esm/formControls/Attachment/designer.js +13 -24
- package/dist/esm/formControls/Attachment/property.js +73 -21
- package/dist/esm/formControls/Attachment/runtime.js +12 -20
- package/dist/esm/formControls/Attachment/schema.json +32 -5
- package/dist/esm/formControls/AutoNumber/designer.js +12 -20
- package/dist/esm/formControls/AutoNumber/property.js +17 -21
- package/dist/esm/formControls/AutoNumber/runtime.js +12 -20
- package/dist/esm/formControls/AutoNumber/schema.json +27 -4
- package/dist/esm/formControls/Barcode/designer.js +53 -41
- package/dist/esm/formControls/Barcode/property.js +49 -29
- package/dist/esm/formControls/Barcode/runtime.js +12 -20
- package/dist/esm/formControls/Barcode/schema.json +54 -29
- package/dist/esm/formControls/Calc/designer.js +15 -26
- package/dist/esm/formControls/Calc/property.js +49 -21
- package/dist/esm/formControls/Calc/runtime.js +12 -20
- package/dist/esm/formControls/Calc/schema.json +43 -6
- package/dist/esm/formControls/Cascader/designer.js +12 -20
- package/dist/esm/formControls/Cascader/property.js +65 -21
- package/dist/esm/formControls/Cascader/runtime.js +12 -20
- package/dist/esm/formControls/Cascader/schema.json +47 -10
- package/dist/esm/formControls/Checkbox/designer.js +12 -20
- package/dist/esm/formControls/Checkbox/property.js +69 -21
- package/dist/esm/formControls/Checkbox/runtime.js +12 -20
- package/dist/esm/formControls/Checkbox/schema.json +70 -23
- package/dist/esm/formControls/Counter/designer.js +12 -20
- package/dist/esm/formControls/Counter/property.js +41 -21
- package/dist/esm/formControls/Counter/runtime.js +12 -20
- package/dist/esm/formControls/Counter/schema.json +111 -31
- package/dist/esm/formControls/DatePicker/designer.js +15 -26
- package/dist/esm/formControls/DatePicker/property.js +58 -22
- package/dist/esm/formControls/DatePicker/runtime.js +12 -20
- package/dist/esm/formControls/DatePicker/schema.json +31 -5
- package/dist/esm/formControls/DateRange/designer.js +15 -26
- package/dist/esm/formControls/DateRange/property.js +61 -21
- package/dist/esm/formControls/DateRange/runtime.js +12 -20
- package/dist/esm/formControls/DateRange/schema.json +43 -6
- package/dist/esm/formControls/Department/designer.js +15 -26
- package/dist/esm/formControls/Department/property.js +53 -21
- package/dist/esm/formControls/Department/runtime.js +12 -20
- package/dist/esm/formControls/Department/schema.json +27 -4
- package/dist/esm/formControls/Department2/designer.js +15 -26
- package/dist/esm/formControls/Department2/property.js +73 -21
- package/dist/esm/formControls/Department2/runtime.js +12 -20
- package/dist/esm/formControls/Department2/schema.json +30 -18
- package/dist/esm/formControls/ElectronicSignature/designer.js +12 -20
- package/dist/esm/formControls/ElectronicSignature/property.js +45 -21
- package/dist/esm/formControls/ElectronicSignature/runtime.js +12 -20
- package/dist/esm/formControls/ElectronicSignature/schema.json +34 -5
- package/dist/esm/formControls/Employee/designer.js +12 -20
- package/dist/esm/formControls/Employee/property.js +45 -21
- package/dist/esm/formControls/Employee/runtime.js +12 -20
- package/dist/esm/formControls/Employee/schema.json +27 -4
- package/dist/esm/formControls/Employee2/designer.js +12 -20
- package/dist/esm/formControls/Employee2/property.js +73 -21
- package/dist/esm/formControls/Employee2/runtime.js +12 -20
- package/dist/esm/formControls/Employee2/schema.json +30 -18
- package/dist/esm/formControls/Image/designer.js +12 -20
- package/dist/esm/formControls/Image/property.js +29 -21
- package/dist/esm/formControls/Image/runtime.js +12 -20
- package/dist/esm/formControls/Image/schema.json +29 -14
- package/dist/esm/formControls/Input/designer.js +12 -20
- package/dist/esm/formControls/Input/property.js +12 -20
- package/dist/esm/formControls/Input/runtime.js +12 -20
- package/dist/esm/formControls/Input/schema.json +32 -5
- package/dist/esm/formControls/Number/designer.js +15 -26
- package/dist/esm/formControls/Number/property.js +73 -21
- package/dist/esm/formControls/Number/runtime.js +12 -20
- package/dist/esm/formControls/Number/schema.json +32 -5
- package/dist/esm/formControls/OrganizationSelection/designer.js +15 -26
- package/dist/esm/formControls/OrganizationSelection/property.js +89 -21
- package/dist/esm/formControls/OrganizationSelection/runtime.js +12 -20
- package/dist/esm/formControls/OrganizationSelection/schema.json +40 -7
- package/dist/esm/formControls/QrCode/designer.js +59 -47
- package/dist/esm/formControls/QrCode/property.js +49 -26
- package/dist/esm/formControls/QrCode/runtime.js +12 -20
- package/dist/esm/formControls/QrCode/schema.json +89 -55
- package/dist/esm/formControls/Radio/designer.js +12 -20
- package/dist/esm/formControls/Radio/property.js +73 -21
- package/dist/esm/formControls/Radio/runtime.js +12 -20
- package/dist/esm/formControls/Radio/schema.json +70 -10
- package/dist/esm/formControls/RichText/designer.js +13 -21
- package/dist/esm/formControls/RichText/property.js +50 -22
- package/dist/esm/formControls/RichText/runtime.js +12 -20
- package/dist/esm/formControls/RichText/schema.json +54 -14
- package/dist/esm/formControls/Score/designer.js +29 -28
- package/dist/esm/formControls/Score/property.js +44 -22
- package/dist/esm/formControls/Score/runtime.js +12 -20
- package/dist/esm/formControls/Score/schema.json +27 -9
- package/dist/esm/formControls/SearchDateRange/designer.js +12 -20
- package/dist/esm/formControls/SearchDateRange/property.js +57 -21
- package/dist/esm/formControls/SearchDateRange/runtime.js +12 -20
- package/dist/esm/formControls/SearchDateRange/schema.json +31 -5
- package/dist/esm/formControls/SearchInput/designer.js +12 -20
- package/dist/esm/formControls/SearchInput/property.js +11 -17
- package/dist/esm/formControls/SearchInput/runtime.js +12 -20
- package/dist/esm/formControls/SearchInput/schema.json +32 -5
- package/dist/esm/formControls/SearchNumberRange/designer.js +12 -20
- package/dist/esm/formControls/SearchNumberRange/property.js +33 -21
- package/dist/esm/formControls/SearchNumberRange/runtime.js +12 -20
- package/dist/esm/formControls/SearchNumberRange/schema.json +31 -5
- package/dist/esm/formControls/Select/designer.js +12 -20
- package/dist/esm/formControls/Select/property.js +65 -21
- package/dist/esm/formControls/Select/runtime.js +12 -20
- package/dist/esm/formControls/Select/schema.json +75 -16
- package/dist/esm/formControls/SelectMultiple/designer.js +12 -37
- package/dist/esm/formControls/SelectMultiple/property.js +61 -21
- package/dist/esm/formControls/SelectMultiple/runtime.js +12 -20
- package/dist/esm/formControls/SelectMultiple/schema.json +75 -16
- package/dist/esm/formControls/SelectRelation/designer.js +15 -26
- package/dist/esm/formControls/SelectRelation/property.js +77 -21
- package/dist/esm/formControls/SelectRelation/runtime.js +12 -20
- package/dist/esm/formControls/SelectRelation/schema.json +64 -12
- package/dist/esm/formControls/Slider/designer.js +14 -21
- package/dist/esm/formControls/Slider/property.js +50 -29
- package/dist/esm/formControls/Slider/runtime.js +12 -20
- package/dist/esm/formControls/Slider/schema.json +58 -6
- package/dist/esm/formControls/Switch/designer.js +27 -34
- package/dist/esm/formControls/Switch/property.js +49 -24
- package/dist/esm/formControls/Switch/runtime.js +12 -20
- package/dist/esm/formControls/Switch/schema.json +27 -4
- package/dist/esm/formControls/Tag/designer.js +27 -34
- package/dist/esm/formControls/Tag/property.js +53 -21
- package/dist/esm/formControls/Tag/runtime.js +12 -20
- package/dist/esm/formControls/Tag/schema.json +102 -54
- package/dist/esm/formControls/Textarea/designer.js +12 -20
- package/dist/esm/formControls/Textarea/property.js +49 -21
- package/dist/esm/formControls/Textarea/runtime.js +12 -20
- package/dist/esm/formControls/Textarea/schema.json +67 -6
- package/dist/esm/formControls/TimePicker/designer.js +12 -20
- package/dist/esm/formControls/TimePicker/property.js +33 -21
- package/dist/esm/formControls/TimePicker/runtime.js +12 -20
- package/dist/esm/formControls/TimePicker/schema.json +27 -4
- package/dist/esm/formControls/TimeRange/designer.js +12 -20
- package/dist/esm/formControls/TimeRange/property.js +53 -21
- package/dist/esm/formControls/TimeRange/runtime.js +12 -20
- package/dist/esm/formControls/TimeRange/schema.json +43 -6
- package/dist/esm/formControls/Tree/designer.js +12 -20
- package/dist/esm/formControls/Tree/property.js +89 -21
- package/dist/esm/formControls/Tree/runtime.js +12 -20
- package/dist/esm/formControls/Tree/schema.json +43 -6
- package/dist/esm/formControls/VueFormItem/designer.js +12 -20
- package/dist/esm/formControls/VueFormItem/property.js +29 -21
- package/dist/esm/formControls/VueFormItem/runtime.js +12 -20
- package/dist/esm/formControls/VueFormItem/schema.json +27 -4
- package/dist/esm/formControls/VuePage/designer.js +12 -20
- package/dist/esm/formControls/VuePage/property.js +29 -21
- package/dist/esm/formControls/VuePage/runtime.js +12 -20
- package/dist/esm/formControls/VuePage/schema.json +27 -4
- package/dist/esm/formControls/WPS/designer.js +12 -20
- package/dist/esm/formControls/WPS/property.js +61 -21
- package/dist/esm/formControls/WPS/runtime.js +12 -20
- package/dist/esm/formControls/WPS/schema.json +45 -5
- package/dist/esm/framework.js +2 -6
- package/dist/esm/layoutControls/ActionBar/designer.js +12 -20
- package/dist/esm/layoutControls/ActionBar/property.js +25 -21
- package/dist/esm/layoutControls/ActionBar/runtime.js +12 -20
- package/dist/esm/layoutControls/ActionBar/schema.json +4 -4
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +4 -2
- package/dist/esm/layoutControls/AdvancedContainer/designer.js +11 -17
- package/dist/esm/layoutControls/AdvancedContainer/property.js +21 -21
- package/dist/esm/layoutControls/AdvancedContainer/runtime.js +11 -17
- package/dist/esm/layoutControls/AdvancedContainer/schema.json +9 -5
- package/dist/esm/layoutControls/BlankContainer/designer.js +20 -27
- package/dist/esm/layoutControls/BlankContainer/property.js +56 -27
- package/dist/esm/layoutControls/BlankContainer/runtime.js +12 -20
- package/dist/esm/layoutControls/BlankContainer/schema.json +9 -4
- package/dist/esm/layoutControls/CardGroup/designer.js +12 -20
- package/dist/esm/layoutControls/CardGroup/property.js +53 -21
- package/dist/esm/layoutControls/CardGroup/runtime.js +12 -20
- package/dist/esm/layoutControls/CardGroup/schema.json +6 -6
- package/dist/esm/layoutControls/Col/designer.js +12 -20
- package/dist/esm/layoutControls/Col/property.js +25 -21
- package/dist/esm/layoutControls/Col/runtime.js +12 -20
- package/dist/esm/layoutControls/Col/schema.json +4 -4
- package/dist/esm/layoutControls/Collapse/designer.js +12 -20
- package/dist/esm/layoutControls/Collapse/property.js +25 -21
- package/dist/esm/layoutControls/Collapse/runtime.js +12 -20
- package/dist/esm/layoutControls/Collapse/schema.json +4 -9
- package/dist/esm/layoutControls/CollapsePane/designer.js +12 -20
- package/dist/esm/layoutControls/CollapsePane/property.js +17 -21
- package/dist/esm/layoutControls/CollapsePane/runtime.js +12 -20
- package/dist/esm/layoutControls/CollapsePane/schema.json +4 -4
- package/dist/esm/layoutControls/DataView/designer.js +12 -20
- package/dist/esm/layoutControls/DataView/property.js +33 -21
- package/dist/esm/layoutControls/DataView/runtime.js +12 -20
- package/dist/esm/layoutControls/DataView/schema.json +55 -9
- package/dist/esm/layoutControls/Grid/designer.js +12 -20
- package/dist/esm/layoutControls/Grid/property.js +11 -17
- package/dist/esm/layoutControls/Grid/runtime.js +11 -17
- package/dist/esm/layoutControls/Grid/schema.json +4 -4
- package/dist/esm/layoutControls/GridLayoutContainer/designer.js +12 -20
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +21 -21
- package/dist/esm/layoutControls/GridLayoutContainer/runtime.js +12 -20
- package/dist/esm/layoutControls/GridLayoutContainer/schema.json +4 -4
- package/dist/esm/layoutControls/GridRow/designer.js +12 -20
- package/dist/esm/layoutControls/GridRow/property.js +11 -17
- package/dist/esm/layoutControls/GridRow/runtime.js +11 -17
- package/dist/esm/layoutControls/GridRow/schema.json +31 -6
- package/dist/esm/layoutControls/GridTableColumn/designer.js +12 -20
- package/dist/esm/layoutControls/GridTableColumn/property.js +61 -21
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +12 -20
- package/dist/esm/layoutControls/GridTableColumn/schema.json +23 -5
- package/dist/esm/layoutControls/ListView/designer.js +12 -20
- package/dist/esm/layoutControls/ListView/property.js +97 -21
- package/dist/esm/layoutControls/ListView/runtime.js +12 -20
- package/dist/esm/layoutControls/ListView/schema.json +90 -10
- package/dist/esm/layoutControls/Page/Setting.js +4 -2
- package/dist/esm/layoutControls/Page/designer.js +11 -17
- package/dist/esm/layoutControls/Page/property.js +33 -21
- package/dist/esm/layoutControls/Page/runtime.js +11 -17
- package/dist/esm/layoutControls/Page/schema.json +4 -4
- package/dist/esm/layoutControls/Position/designer.js +11 -17
- package/dist/esm/layoutControls/Position/property.js +29 -21
- package/dist/esm/layoutControls/Position/runtime.js +11 -17
- package/dist/esm/layoutControls/Position/schema.json +4 -4
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +4 -2
- package/dist/esm/layoutControls/PositioningContainer/designer.js +11 -17
- package/dist/esm/layoutControls/PositioningContainer/property.js +11 -17
- package/dist/esm/layoutControls/PositioningContainer/runtime.js +11 -17
- package/dist/esm/layoutControls/PositioningContainer/schema.json +4 -4
- package/dist/esm/layoutControls/Row/designer.js +12 -20
- package/dist/esm/layoutControls/Row/property.js +41 -21
- package/dist/esm/layoutControls/Row/runtime.js +12 -20
- package/dist/esm/layoutControls/Row/schema.json +31 -6
- package/dist/esm/layoutControls/Step/designer.js +12 -20
- package/dist/esm/layoutControls/Step/property.js +61 -21
- package/dist/esm/layoutControls/Step/runtime.js +12 -20
- package/dist/esm/layoutControls/Step/schema.json +18 -9
- package/dist/esm/layoutControls/StepPane/designer.js +12 -20
- package/dist/esm/layoutControls/StepPane/property.js +45 -21
- package/dist/esm/layoutControls/StepPane/runtime.js +12 -20
- package/dist/esm/layoutControls/StepPane/schema.json +4 -4
- package/dist/esm/layoutControls/SubTableColumn/designer.js +12 -20
- package/dist/esm/layoutControls/SubTableColumn/property.js +37 -21
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +12 -20
- package/dist/esm/layoutControls/SubTableColumn/schema.json +10 -5
- package/dist/esm/layoutControls/SubTableRow/designer.js +12 -20
- package/dist/esm/layoutControls/SubTableRow/property.js +11 -17
- package/dist/esm/layoutControls/SubTableRow/runtime.js +12 -20
- package/dist/esm/layoutControls/SubTableRow/schema.json +4 -4
- package/dist/esm/layoutControls/Tab/designer.js +12 -20
- package/dist/esm/layoutControls/Tab/property.js +33 -21
- package/dist/esm/layoutControls/Tab/runtime.js +12 -20
- package/dist/esm/layoutControls/Tab/schema.json +4 -4
- package/dist/esm/layoutControls/TabPane/designer.js +12 -20
- package/dist/esm/layoutControls/TabPane/property.js +17 -21
- package/dist/esm/layoutControls/TabPane/runtime.js +12 -20
- package/dist/esm/layoutControls/TabPane/schema.json +4 -4
- package/dist/esm/layoutControls/TableLayout/designer.js +12 -20
- package/dist/esm/layoutControls/TableLayout/property.js +73 -21
- package/dist/esm/layoutControls/TableLayout/runtime.js +12 -20
- package/dist/esm/layoutControls/TableLayout/schema.json +65 -26
- package/dist/esm/layoutControls/TableLayoutCol/designer.js +12 -20
- package/dist/esm/layoutControls/TableLayoutCol/property.js +53 -21
- package/dist/esm/layoutControls/TableLayoutCol/runtime.js +12 -20
- package/dist/esm/layoutControls/TableLayoutCol/schema.json +10 -5
- package/dist/esm/layoutControls/TableLayoutRow/designer.js +12 -20
- package/dist/esm/layoutControls/TableLayoutRow/property.js +21 -21
- package/dist/esm/layoutControls/TableLayoutRow/runtime.js +12 -20
- package/dist/esm/layoutControls/TableLayoutRow/schema.json +4 -4
- package/dist/esm/layoutControls/TableLayoutWrapper/designer.js +12 -20
- package/dist/esm/layoutControls/TableLayoutWrapper/property.js +25 -21
- package/dist/esm/layoutControls/TableLayoutWrapper/runtime.js +12 -20
- package/dist/esm/layoutControls/TableLayoutWrapper/schema.json +4 -4
- package/dist/esm/layoutControls/Toolbox/designer.js +12 -20
- package/dist/esm/layoutControls/Toolbox/property.js +11 -17
- package/dist/esm/layoutControls/Toolbox/runtime.js +11 -17
- package/dist/esm/layoutControls/Toolbox/schema.json +4 -4
- package/dist/esm/listControls/GridTable/designer.js +24 -41
- package/dist/esm/listControls/GridTable/property.js +12 -20
- package/dist/esm/listControls/GridTable/runtime.js +12 -20
- package/dist/esm/listControls/GridTable/schema.json +4 -4
- package/dist/esm/listControls/SubTable/designer.js +12 -20
- package/dist/esm/listControls/SubTable/property.js +157 -21
- package/dist/esm/listControls/SubTable/runtime.js +12 -20
- package/dist/esm/listControls/SubTable/schema.json +35 -8
- package/dist/esm/searchControls/SimpleSearch/designer.js +12 -20
- package/dist/esm/searchControls/SimpleSearch/property.js +61 -21
- package/dist/esm/searchControls/SimpleSearch/runtime.js +12 -20
- package/dist/esm/searchControls/SimpleSearch/schema.json +20 -6
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +12 -20
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +17 -21
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +12 -20
- package/dist/esm/wrapControls/GridLayoutWrap/schema.json +4 -4
- package/dist/index.umd.js +8 -1
- package/dist/types/api-doc-index.d.ts +1 -0
- package/dist/types/baseControls/BarChart/property.d.ts +158 -17
- package/dist/types/baseControls/BatchDeleteButton/property.d.ts +40 -0
- package/dist/types/baseControls/BatchPrintListButton/property.d.ts +10 -0
- package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +20 -0
- package/dist/types/baseControls/Button/property.d.ts +20 -1
- package/dist/types/baseControls/Comment/property.d.ts +10 -0
- package/dist/types/baseControls/CreateFormListButton/property.d.ts +10 -0
- package/dist/types/baseControls/Dashboard/property.d.ts +40 -0
- package/dist/types/baseControls/Divider/property.d.ts +45 -0
- package/dist/types/baseControls/ExportListButton/property.d.ts +10 -0
- package/dist/types/baseControls/FormSelectButton/property.d.ts +20 -0
- package/dist/types/baseControls/Iframe/property.d.ts +15 -0
- package/dist/types/baseControls/ImportRecordListButton/property.d.ts +14 -0
- package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +35 -0
- package/dist/types/baseControls/LineChart/designer.d.ts +14 -0
- package/dist/types/baseControls/LineChart/index.d.ts +12 -0
- package/dist/types/baseControls/LineChart/property.d.ts +283 -0
- package/dist/types/baseControls/LineChart/runtime.d.ts +9 -0
- package/dist/types/baseControls/Link/property.d.ts +30 -0
- package/dist/types/baseControls/ListSelectButton/property.d.ts +35 -0
- package/dist/types/baseControls/ListViewSelect/property.d.ts +10 -0
- package/dist/types/baseControls/OperationButton/property.d.ts +70 -0
- package/dist/types/baseControls/PieChart/property.d.ts +145 -41
- package/dist/types/baseControls/ReferenceList/property.d.ts +25 -0
- package/dist/types/baseControls/Text/property.d.ts +60 -0
- package/dist/types/baseControls/TextOcrButton/property.d.ts +35 -0
- package/dist/types/baseControls/Title/property.d.ts +20 -0
- package/dist/types/baseControls/index.d.ts +2 -0
- package/dist/types/baseControls/utils.d.ts +9 -0
- package/dist/types/catalog/index.d.ts +2 -0
- package/dist/types/catalog/query.d.ts +15 -0
- package/dist/types/catalog/types.d.ts +103 -0
- package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +15 -0
- package/dist/types/columnControls/ArrayColumn/property.d.ts +25 -0
- package/dist/types/columnControls/AutoNumberColumn/property.d.ts +10 -0
- package/dist/types/columnControls/CustomColumn/designer.d.ts +1 -2
- package/dist/types/columnControls/CustomColumn/property.d.ts +10 -0
- package/dist/types/columnControls/CustomColumn/runtime.d.ts +0 -2
- package/dist/types/columnControls/DecimalColumn/property.d.ts +40 -0
- package/dist/types/columnControls/DepartmentColumn/property.d.ts +5 -0
- package/dist/types/columnControls/EmployeeColumn/property.d.ts +5 -0
- package/dist/types/columnControls/FileColumn/property.d.ts +5 -0
- package/dist/types/columnControls/LocationColumn/property.d.ts +10 -0
- package/dist/types/columnControls/OperationColumn/property.d.ts +10 -0
- package/dist/types/columnControls/TextColumn/property.d.ts +20 -0
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +20 -0
- package/dist/types/columnControls/TimestampColumn/property.d.ts +20 -0
- package/dist/types/columnControls/VarcharColumn/property.d.ts +35 -0
- package/dist/types/formControls/Address/property.d.ts +20 -0
- package/dist/types/formControls/Amount/property.d.ts +60 -0
- package/dist/types/formControls/Attachment/property.d.ts +75 -0
- package/dist/types/formControls/AutoNumber/property.d.ts +5 -0
- package/dist/types/formControls/Barcode/property.d.ts +40 -10
- package/dist/types/formControls/Calc/property.d.ts +45 -0
- package/dist/types/formControls/Cascader/property.d.ts +65 -0
- package/dist/types/formControls/Checkbox/property.d.ts +70 -0
- package/dist/types/formControls/Counter/property.d.ts +35 -0
- package/dist/types/formControls/DatePicker/property.d.ts +55 -0
- package/dist/types/formControls/DateRange/property.d.ts +60 -0
- package/dist/types/formControls/Department/property.d.ts +50 -0
- package/dist/types/formControls/Department2/property.d.ts +75 -0
- package/dist/types/formControls/ElectronicSignature/property.d.ts +40 -0
- package/dist/types/formControls/Employee/property.d.ts +40 -0
- package/dist/types/formControls/Employee2/property.d.ts +75 -0
- package/dist/types/formControls/Image/property.d.ts +20 -0
- package/dist/types/formControls/Number/property.d.ts +75 -0
- package/dist/types/formControls/OrganizationSelection/property.d.ts +95 -0
- package/dist/types/formControls/QrCode/property.d.ts +45 -10
- package/dist/types/formControls/Radio/property.d.ts +75 -0
- package/dist/types/formControls/RichText/property.d.ts +45 -0
- package/dist/types/formControls/Score/designer.d.ts +9 -0
- package/dist/types/formControls/Score/property.d.ts +37 -0
- package/dist/types/formControls/SearchDateRange/property.d.ts +55 -0
- package/dist/types/formControls/SearchNumberRange/property.d.ts +25 -0
- package/dist/types/formControls/Select/property.d.ts +65 -0
- package/dist/types/formControls/SelectMultiple/property.d.ts +60 -0
- package/dist/types/formControls/SelectRelation/property.d.ts +80 -0
- package/dist/types/formControls/Slider/property.d.ts +35 -4
- package/dist/types/formControls/Switch/property.d.ts +40 -0
- package/dist/types/formControls/Tag/property.d.ts +50 -0
- package/dist/types/formControls/Textarea/property.d.ts +45 -0
- package/dist/types/formControls/TimePicker/property.d.ts +25 -0
- package/dist/types/formControls/TimeRange/property.d.ts +50 -0
- package/dist/types/formControls/Tree/property.d.ts +95 -0
- package/dist/types/formControls/VueFormItem/property.d.ts +20 -0
- package/dist/types/formControls/VuePage/property.d.ts +20 -0
- package/dist/types/formControls/WPS/property.d.ts +60 -0
- package/dist/types/layoutControls/ActionBar/property.d.ts +15 -0
- package/dist/types/layoutControls/AdvancedContainer/property.d.ts +10 -0
- package/dist/types/layoutControls/BlankContainer/property.d.ts +46 -5
- package/dist/types/layoutControls/CardGroup/property.d.ts +50 -0
- package/dist/types/layoutControls/Col/property.d.ts +15 -0
- package/dist/types/layoutControls/Collapse/property.d.ts +15 -0
- package/dist/types/layoutControls/CollapsePane/property.d.ts +5 -0
- package/dist/types/layoutControls/DataView/property.d.ts +25 -0
- package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +10 -0
- package/dist/types/layoutControls/GridTableColumn/property.d.ts +60 -0
- package/dist/types/layoutControls/ListView/property.d.ts +105 -0
- package/dist/types/layoutControls/Page/property.d.ts +25 -0
- package/dist/types/layoutControls/Position/property.d.ts +20 -0
- package/dist/types/layoutControls/Row/property.d.ts +53 -0
- package/dist/types/layoutControls/Step/property.d.ts +60 -0
- package/dist/types/layoutControls/StepPane/property.d.ts +40 -0
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +30 -0
- package/dist/types/layoutControls/Tab/property.d.ts +25 -0
- package/dist/types/layoutControls/TabPane/property.d.ts +5 -0
- package/dist/types/layoutControls/TableLayout/property.d.ts +82 -2
- package/dist/types/layoutControls/TableLayoutCol/property.d.ts +50 -0
- package/dist/types/layoutControls/TableLayoutRow/property.d.ts +10 -0
- package/dist/types/layoutControls/TableLayoutWrapper/property.d.ts +15 -0
- package/dist/types/listControls/SubTable/property.d.ts +180 -0
- package/dist/types/searchControls/SimpleSearch/property.d.ts +60 -0
- package/dist/types/type.d.ts +2 -1
- package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +5 -0
- package/package.json +30 -7
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
|
|
|
35
31
|
configurable: true,
|
|
36
32
|
writable: true
|
|
37
33
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
34
|
+
} else obj[key] = value;
|
|
41
35
|
return obj;
|
|
42
36
|
}
|
|
43
37
|
function _get_prototype_of(o) {
|
|
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
|
|
|
59
53
|
});
|
|
60
54
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
55
|
}
|
|
56
|
+
function _is_native_reflect_construct() {
|
|
57
|
+
try {
|
|
58
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
59
|
+
} catch (_) {}
|
|
60
|
+
return (_is_native_reflect_construct = function() {
|
|
61
|
+
return !!result;
|
|
62
|
+
})();
|
|
63
|
+
}
|
|
62
64
|
function _possible_constructor_return(self, call) {
|
|
63
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
64
|
-
return call;
|
|
65
|
-
}
|
|
65
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
66
66
|
return _assert_this_initialized(self);
|
|
67
67
|
}
|
|
68
68
|
function _set_prototype_of(o, p) {
|
|
@@ -76,14 +76,6 @@ function _type_of(obj) {
|
|
|
76
76
|
"@swc/helpers - typeof";
|
|
77
77
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
78
|
}
|
|
79
|
-
function _is_native_reflect_construct() {
|
|
80
|
-
try {
|
|
81
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
-
} catch (_) {}
|
|
83
|
-
return (_is_native_reflect_construct = function() {
|
|
84
|
-
return !!result;
|
|
85
|
-
})();
|
|
86
|
-
}
|
|
87
79
|
/*
|
|
88
80
|
* @Author: Elvis shuaiqy@hotmail.com
|
|
89
81
|
* @Date: 2022-07-07 00:12:37
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _define_property(obj, key, value) {
|
|
17
13
|
if (key in obj) {
|
|
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
|
|
|
21
17
|
configurable: true,
|
|
22
18
|
writable: true
|
|
23
19
|
});
|
|
24
|
-
} else
|
|
25
|
-
obj[key] = value;
|
|
26
|
-
}
|
|
20
|
+
} else obj[key] = value;
|
|
27
21
|
return obj;
|
|
28
22
|
}
|
|
29
23
|
function _get_prototype_of(o) {
|
|
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
|
|
|
45
39
|
});
|
|
46
40
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
41
|
}
|
|
42
|
+
function _is_native_reflect_construct() {
|
|
43
|
+
try {
|
|
44
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
45
|
+
} catch (_) {}
|
|
46
|
+
return (_is_native_reflect_construct = function() {
|
|
47
|
+
return !!result;
|
|
48
|
+
})();
|
|
49
|
+
}
|
|
48
50
|
function _possible_constructor_return(self, call) {
|
|
49
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
50
|
-
return call;
|
|
51
|
-
}
|
|
51
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
52
52
|
return _assert_this_initialized(self);
|
|
53
53
|
}
|
|
54
54
|
function _set_prototype_of(o, p) {
|
|
@@ -62,14 +62,6 @@ function _type_of(obj) {
|
|
|
62
62
|
"@swc/helpers - typeof";
|
|
63
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
64
|
}
|
|
65
|
-
function _is_native_reflect_construct() {
|
|
66
|
-
try {
|
|
67
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
-
} catch (_) {}
|
|
69
|
-
return (_is_native_reflect_construct = function() {
|
|
70
|
-
return !!result;
|
|
71
|
-
})();
|
|
72
|
-
}
|
|
73
65
|
/**
|
|
74
66
|
* name: rok_w_p_s
|
|
75
67
|
* description: WPS 文档组件,用于新建、上传、编辑和管理在线文档。适合协同编辑、公文处理等场景,支持新增来源、下载导出、修订模式及水印重命名配置。
|
|
@@ -154,7 +146,55 @@ var WPSProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
154
146
|
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11;
|
|
155
147
|
_this = _call_super(this, WPSProperty, [
|
|
156
148
|
props
|
|
157
|
-
]),
|
|
149
|
+
]), /**
|
|
150
|
+
* 内容
|
|
151
|
+
* @defaultValue '新建文档'
|
|
152
|
+
* @public
|
|
153
|
+
*/ _define_property(_this, "content", void 0), /**
|
|
154
|
+
* 是否允许新增
|
|
155
|
+
* @defaultValue true
|
|
156
|
+
* @public
|
|
157
|
+
*/ _define_property(_this, "canAdd", void 0), /**
|
|
158
|
+
* 允许上传本地文件
|
|
159
|
+
* @defaultValue true
|
|
160
|
+
* @public
|
|
161
|
+
*/ _define_property(_this, "addLocal", void 0), /**
|
|
162
|
+
* 允许新建在线文档
|
|
163
|
+
* @defaultValue true
|
|
164
|
+
* @public
|
|
165
|
+
*/ _define_property(_this, "addOnline", void 0), /**
|
|
166
|
+
* 是否允许下载
|
|
167
|
+
* @defaultValue true
|
|
168
|
+
* @public
|
|
169
|
+
*/ _define_property(_this, "canDownload", void 0), /**
|
|
170
|
+
* 是否允许编辑
|
|
171
|
+
* @defaultValue true
|
|
172
|
+
* @public
|
|
173
|
+
*/ _define_property(_this, "canEdit", void 0), /**
|
|
174
|
+
* 是否允许导出
|
|
175
|
+
* @defaultValue true
|
|
176
|
+
* @public
|
|
177
|
+
*/ _define_property(_this, "canExport", void 0), /**
|
|
178
|
+
* 是否允许删除
|
|
179
|
+
* @defaultValue false
|
|
180
|
+
* @public
|
|
181
|
+
*/ _define_property(_this, "canDelete", void 0), /**
|
|
182
|
+
* WPS 配置
|
|
183
|
+
* @defaultValue new WPSSetting()
|
|
184
|
+
* @public
|
|
185
|
+
*/ _define_property(_this, "wpsSetting", void 0), /**
|
|
186
|
+
* 最大文件大小
|
|
187
|
+
* @defaultValue 10485760
|
|
188
|
+
* @public
|
|
189
|
+
*/ _define_property(_this, "maxSize", void 0), /**
|
|
190
|
+
* 默认值
|
|
191
|
+
* @defaultValue []
|
|
192
|
+
* @public
|
|
193
|
+
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
194
|
+
* 是否开启修订模式
|
|
195
|
+
* @defaultValue false
|
|
196
|
+
* @public
|
|
197
|
+
*/ _define_property(_this, "revisionsMode", void 0);
|
|
158
198
|
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : WPSControl.controlName;
|
|
159
199
|
_this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.createWPS', null, '新建文档');
|
|
160
200
|
_this.canAdd = (_ref2 = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _ref2 !== void 0 ? _ref2 : true;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
|
|
|
35
31
|
configurable: true,
|
|
36
32
|
writable: true
|
|
37
33
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
34
|
+
} else obj[key] = value;
|
|
41
35
|
return obj;
|
|
42
36
|
}
|
|
43
37
|
function _get_prototype_of(o) {
|
|
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
|
|
|
59
53
|
});
|
|
60
54
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
55
|
}
|
|
56
|
+
function _is_native_reflect_construct() {
|
|
57
|
+
try {
|
|
58
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
59
|
+
} catch (_) {}
|
|
60
|
+
return (_is_native_reflect_construct = function() {
|
|
61
|
+
return !!result;
|
|
62
|
+
})();
|
|
63
|
+
}
|
|
62
64
|
function _possible_constructor_return(self, call) {
|
|
63
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
64
|
-
return call;
|
|
65
|
-
}
|
|
65
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
66
66
|
return _assert_this_initialized(self);
|
|
67
67
|
}
|
|
68
68
|
function _set_prototype_of(o, p) {
|
|
@@ -76,14 +76,6 @@ function _type_of(obj) {
|
|
|
76
76
|
"@swc/helpers - typeof";
|
|
77
77
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
78
|
}
|
|
79
|
-
function _is_native_reflect_construct() {
|
|
80
|
-
try {
|
|
81
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
-
} catch (_) {}
|
|
83
|
-
return (_is_native_reflect_construct = function() {
|
|
84
|
-
return !!result;
|
|
85
|
-
})();
|
|
86
|
-
}
|
|
87
79
|
import { RuntimeFormControl } from '@byteluck-fe/model-driven-core';
|
|
88
80
|
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
89
81
|
import WPSProperty from './property';
|
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
"description": "是否隐藏",
|
|
10
10
|
"default": false
|
|
11
11
|
},
|
|
12
|
+
"className": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"description": "样式类",
|
|
18
|
+
"default": []
|
|
19
|
+
},
|
|
12
20
|
"caption": {
|
|
13
21
|
"type": "string",
|
|
14
22
|
"description": "标题",
|
|
@@ -17,14 +25,14 @@
|
|
|
17
25
|
"defaultState": {
|
|
18
26
|
"type": "string",
|
|
19
27
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
28
|
+
"readonly",
|
|
29
|
+
"default"
|
|
22
30
|
],
|
|
23
31
|
"description": "默认状态",
|
|
24
32
|
"default": "default",
|
|
25
33
|
"enumDescription": [
|
|
26
|
-
"
|
|
27
|
-
"
|
|
34
|
+
"readonly",
|
|
35
|
+
"default"
|
|
28
36
|
]
|
|
29
37
|
},
|
|
30
38
|
"captionSize": {
|
|
@@ -42,6 +50,21 @@
|
|
|
42
50
|
"description": "标题斜体",
|
|
43
51
|
"default": false
|
|
44
52
|
},
|
|
53
|
+
"captionFontWeight": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"enum": [
|
|
56
|
+
"normal",
|
|
57
|
+
"bold",
|
|
58
|
+
"lighter"
|
|
59
|
+
],
|
|
60
|
+
"description": "标题字重;",
|
|
61
|
+
"default": "normal",
|
|
62
|
+
"enumDescription": [
|
|
63
|
+
"常规",
|
|
64
|
+
"粗体",
|
|
65
|
+
"更细"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
45
68
|
"isHideCaption": {
|
|
46
69
|
"type": "boolean",
|
|
47
70
|
"description": "隐藏标题",
|
|
@@ -236,7 +259,24 @@
|
|
|
236
259
|
}
|
|
237
260
|
},
|
|
238
261
|
"description": "WPS 配置",
|
|
239
|
-
"default":
|
|
262
|
+
"default": {
|
|
263
|
+
"types": [
|
|
264
|
+
"word",
|
|
265
|
+
"ppt",
|
|
266
|
+
"excel"
|
|
267
|
+
],
|
|
268
|
+
"history": false,
|
|
269
|
+
"collaborativeRecord": false,
|
|
270
|
+
"logicToDelete": true,
|
|
271
|
+
"watermark": {
|
|
272
|
+
"active": false,
|
|
273
|
+
"text": ""
|
|
274
|
+
},
|
|
275
|
+
"autoRename": {
|
|
276
|
+
"active": false,
|
|
277
|
+
"text": ""
|
|
278
|
+
}
|
|
279
|
+
}
|
|
240
280
|
},
|
|
241
281
|
"maxSize": {
|
|
242
282
|
"type": "integer",
|
package/dist/esm/framework.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _class_call_check(instance, Constructor) {
|
|
2
|
-
if (!(instance instanceof Constructor))
|
|
3
|
-
throw new TypeError("Cannot call a class as a function");
|
|
4
|
-
}
|
|
2
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
5
3
|
}
|
|
6
4
|
function _define_property(obj, key, value) {
|
|
7
5
|
if (key in obj) {
|
|
@@ -11,9 +9,7 @@ function _define_property(obj, key, value) {
|
|
|
11
9
|
configurable: true,
|
|
12
10
|
writable: true
|
|
13
11
|
});
|
|
14
|
-
} else
|
|
15
|
-
obj[key] = value;
|
|
16
|
-
}
|
|
12
|
+
} else obj[key] = value;
|
|
17
13
|
return obj;
|
|
18
14
|
}
|
|
19
15
|
import { genNonDuplicateId } from '@byteluck-fe/model-driven-shared';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
|
|
|
35
31
|
configurable: true,
|
|
36
32
|
writable: true
|
|
37
33
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
34
|
+
} else obj[key] = value;
|
|
41
35
|
return obj;
|
|
42
36
|
}
|
|
43
37
|
function _get_prototype_of(o) {
|
|
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
|
|
|
59
53
|
});
|
|
60
54
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
55
|
}
|
|
56
|
+
function _is_native_reflect_construct() {
|
|
57
|
+
try {
|
|
58
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
59
|
+
} catch (_) {}
|
|
60
|
+
return (_is_native_reflect_construct = function() {
|
|
61
|
+
return !!result;
|
|
62
|
+
})();
|
|
63
|
+
}
|
|
62
64
|
function _possible_constructor_return(self, call) {
|
|
63
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
64
|
-
return call;
|
|
65
|
-
}
|
|
65
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
66
66
|
return _assert_this_initialized(self);
|
|
67
67
|
}
|
|
68
68
|
function _set_prototype_of(o, p) {
|
|
@@ -76,14 +76,6 @@ function _type_of(obj) {
|
|
|
76
76
|
"@swc/helpers - typeof";
|
|
77
77
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
78
|
}
|
|
79
|
-
function _is_native_reflect_construct() {
|
|
80
|
-
try {
|
|
81
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
-
} catch (_) {}
|
|
83
|
-
return (_is_native_reflect_construct = function() {
|
|
84
|
-
return !!result;
|
|
85
|
-
})();
|
|
86
|
-
}
|
|
87
79
|
import { DesignerLayoutControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
80
|
import ActionBarControlProperty from './property';
|
|
89
81
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _define_property(obj, key, value) {
|
|
17
13
|
if (key in obj) {
|
|
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
|
|
|
21
17
|
configurable: true,
|
|
22
18
|
writable: true
|
|
23
19
|
});
|
|
24
|
-
} else
|
|
25
|
-
obj[key] = value;
|
|
26
|
-
}
|
|
20
|
+
} else obj[key] = value;
|
|
27
21
|
return obj;
|
|
28
22
|
}
|
|
29
23
|
function _get_prototype_of(o) {
|
|
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
|
|
|
45
39
|
});
|
|
46
40
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
41
|
}
|
|
42
|
+
function _is_native_reflect_construct() {
|
|
43
|
+
try {
|
|
44
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
45
|
+
} catch (_) {}
|
|
46
|
+
return (_is_native_reflect_construct = function() {
|
|
47
|
+
return !!result;
|
|
48
|
+
})();
|
|
49
|
+
}
|
|
48
50
|
function _possible_constructor_return(self, call) {
|
|
49
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
50
|
-
return call;
|
|
51
|
-
}
|
|
51
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
52
52
|
return _assert_this_initialized(self);
|
|
53
53
|
}
|
|
54
54
|
function _set_prototype_of(o, p) {
|
|
@@ -62,14 +62,6 @@ function _type_of(obj) {
|
|
|
62
62
|
"@swc/helpers - typeof";
|
|
63
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
64
|
}
|
|
65
|
-
function _is_native_reflect_construct() {
|
|
66
|
-
try {
|
|
67
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
-
} catch (_) {}
|
|
69
|
-
return (_is_native_reflect_construct = function() {
|
|
70
|
-
return !!result;
|
|
71
|
-
})();
|
|
72
|
-
}
|
|
73
65
|
/**
|
|
74
66
|
* name: rok_action_bar
|
|
75
67
|
* description: 页面操作栏容器组件。用于在表单或页面顶部、底部承载保存、提交等操作按钮。支持顶部/底部及固定定位、左右中对齐和背景透明展示。
|
|
@@ -83,7 +75,19 @@ var ActionBarControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
83
75
|
var _ref, _ref1, _ref2;
|
|
84
76
|
_this = _call_super(this, ActionBarControlProperty, [
|
|
85
77
|
props
|
|
86
|
-
]),
|
|
78
|
+
]), /**
|
|
79
|
+
* 位置;取值:top:顶部;bottom:底部;top-fixed:固定在顶部;bottom-fixed:固定在底部;
|
|
80
|
+
* @defaultValue 'bottom'
|
|
81
|
+
* @public
|
|
82
|
+
*/ _define_property(_this, "position", void 0), /**
|
|
83
|
+
* 背景透明
|
|
84
|
+
* @defaultValue true
|
|
85
|
+
* @public
|
|
86
|
+
*/ _define_property(_this, "opacity", void 0), /**
|
|
87
|
+
* 对齐方式;取值:left:左侧;middle:中间;right:右侧;
|
|
88
|
+
* @defaultValue 'right'
|
|
89
|
+
* @public
|
|
90
|
+
*/ _define_property(_this, "align", void 0);
|
|
87
91
|
_this.position = (_ref = props === null || props === void 0 ? void 0 : props.position) !== null && _ref !== void 0 ? _ref : 'bottom';
|
|
88
92
|
_this.opacity = (_ref1 = props === null || props === void 0 ? void 0 : props.opacity) !== null && _ref1 !== void 0 ? _ref1 : true;
|
|
89
93
|
_this.align = (_ref2 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref2 !== void 0 ? _ref2 : 'right';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
|
|
|
35
31
|
configurable: true,
|
|
36
32
|
writable: true
|
|
37
33
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
34
|
+
} else obj[key] = value;
|
|
41
35
|
return obj;
|
|
42
36
|
}
|
|
43
37
|
function _get_prototype_of(o) {
|
|
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
|
|
|
59
53
|
});
|
|
60
54
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
55
|
}
|
|
56
|
+
function _is_native_reflect_construct() {
|
|
57
|
+
try {
|
|
58
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
59
|
+
} catch (_) {}
|
|
60
|
+
return (_is_native_reflect_construct = function() {
|
|
61
|
+
return !!result;
|
|
62
|
+
})();
|
|
63
|
+
}
|
|
62
64
|
function _possible_constructor_return(self, call) {
|
|
63
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
64
|
-
return call;
|
|
65
|
-
}
|
|
65
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
66
66
|
return _assert_this_initialized(self);
|
|
67
67
|
}
|
|
68
68
|
function _set_prototype_of(o, p) {
|
|
@@ -76,14 +76,6 @@ function _type_of(obj) {
|
|
|
76
76
|
"@swc/helpers - typeof";
|
|
77
77
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
78
|
}
|
|
79
|
-
function _is_native_reflect_construct() {
|
|
80
|
-
try {
|
|
81
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
-
} catch (_) {}
|
|
83
|
-
return (_is_native_reflect_construct = function() {
|
|
84
|
-
return !!result;
|
|
85
|
-
})();
|
|
86
|
-
}
|
|
87
79
|
import { RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
88
80
|
import ActionBarControlProperty from './property';
|
|
89
81
|
var ActionBarControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"defaultState": {
|
|
18
18
|
"type": "string",
|
|
19
19
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
20
|
+
"readonly",
|
|
21
|
+
"default"
|
|
22
22
|
],
|
|
23
23
|
"description": "默认状态",
|
|
24
24
|
"enumDescription": [
|
|
25
|
-
"
|
|
26
|
-
"
|
|
25
|
+
"readonly",
|
|
26
|
+
"default"
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
29
|
"position": {
|
|
@@ -7,10 +7,12 @@ function _array_without_holes(arr) {
|
|
|
7
7
|
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
8
8
|
}
|
|
9
9
|
function _iterable_to_array(iter) {
|
|
10
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
10
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
11
|
+
return Array.from(iter);
|
|
12
|
+
}
|
|
11
13
|
}
|
|
12
14
|
function _non_iterable_spread() {
|
|
13
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
15
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14
16
|
}
|
|
15
17
|
function _to_consumable_array(arr) {
|
|
16
18
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -46,10 +42,16 @@ function _inherits(subClass, superClass) {
|
|
|
46
42
|
});
|
|
47
43
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
48
44
|
}
|
|
45
|
+
function _is_native_reflect_construct() {
|
|
46
|
+
try {
|
|
47
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
48
|
+
} catch (_) {}
|
|
49
|
+
return (_is_native_reflect_construct = function() {
|
|
50
|
+
return !!result;
|
|
51
|
+
})();
|
|
52
|
+
}
|
|
49
53
|
function _possible_constructor_return(self, call) {
|
|
50
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
51
|
-
return call;
|
|
52
|
-
}
|
|
54
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
53
55
|
return _assert_this_initialized(self);
|
|
54
56
|
}
|
|
55
57
|
function _set_prototype_of(o, p) {
|
|
@@ -63,14 +65,6 @@ function _type_of(obj) {
|
|
|
63
65
|
"@swc/helpers - typeof";
|
|
64
66
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
65
67
|
}
|
|
66
|
-
function _is_native_reflect_construct() {
|
|
67
|
-
try {
|
|
68
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
69
|
-
} catch (_) {}
|
|
70
|
-
return (_is_native_reflect_construct = function() {
|
|
71
|
-
return !!result;
|
|
72
|
-
})();
|
|
73
|
-
}
|
|
74
68
|
import { DesignerLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
75
69
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
76
70
|
var AdvancedContainerControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|