@byteluck-fe/model-driven-controls 2.23.0-beta.23-dx → 2.23.0-beta.25-dx
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/esm/api-doc-index.js +90 -0
- package/dist/esm/baseControls/BatchDeleteButton/designer.js +164 -0
- package/dist/esm/baseControls/BatchDeleteButton/index.js +11 -0
- package/dist/esm/baseControls/BatchDeleteButton/property.js +109 -0
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +112 -0
- package/dist/esm/baseControls/BatchDeleteButton/types.js +0 -0
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +158 -0
- package/dist/esm/baseControls/BatchPrintListButton/index.js +11 -0
- package/dist/esm/baseControls/BatchPrintListButton/property.js +121 -0
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +112 -0
- package/dist/esm/baseControls/BatchPrintListButton/types.js +0 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +153 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/index.js +11 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +80 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +112 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/types.js +0 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +162 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/index.js +11 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +135 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +112 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/types.js +0 -0
- package/dist/esm/baseControls/Button/designer.js +172 -0
- package/dist/esm/baseControls/Button/index.js +11 -0
- package/dist/esm/baseControls/Button/property.js +141 -0
- package/dist/esm/baseControls/Button/runtime.js +112 -0
- package/dist/esm/baseControls/Button/types.js +0 -0
- package/dist/esm/baseControls/CreateFormListButton/designer.js +162 -0
- package/dist/esm/baseControls/CreateFormListButton/index.js +11 -0
- package/dist/esm/baseControls/CreateFormListButton/property.js +117 -0
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +112 -0
- package/dist/esm/baseControls/CreateFormListButton/types.js +0 -0
- package/dist/esm/baseControls/Dashboard/designer.js +152 -0
- package/dist/esm/baseControls/Dashboard/index.js +11 -0
- package/dist/esm/baseControls/Dashboard/property.js +138 -0
- package/dist/esm/baseControls/Dashboard/runtime.js +112 -0
- package/dist/esm/baseControls/Divider/designer.js +142 -0
- package/dist/esm/baseControls/Divider/index.js +11 -0
- package/dist/esm/baseControls/Divider/property.js +94 -0
- package/dist/esm/baseControls/Divider/runtime.js +112 -0
- package/dist/esm/baseControls/Divider/types.js +0 -0
- package/dist/esm/baseControls/ExportListButton/designer.js +158 -0
- package/dist/esm/baseControls/ExportListButton/index.js +11 -0
- package/dist/esm/baseControls/ExportListButton/property.js +114 -0
- package/dist/esm/baseControls/ExportListButton/runtime.js +112 -0
- package/dist/esm/baseControls/ExportListButton/types.js +0 -0
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +153 -0
- package/dist/esm/baseControls/ExportRecordListButton/index.js +11 -0
- package/dist/esm/baseControls/ExportRecordListButton/property.js +80 -0
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +112 -0
- package/dist/esm/baseControls/ExportRecordListButton/types.js +0 -0
- package/dist/esm/baseControls/FormSelectButton/designer.js +163 -0
- package/dist/esm/baseControls/FormSelectButton/index.js +11 -0
- package/dist/esm/baseControls/FormSelectButton/property.js +159 -0
- package/dist/esm/baseControls/FormSelectButton/runtime.js +112 -0
- package/dist/esm/baseControls/FormSelectButton/types.js +0 -0
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +159 -0
- package/dist/esm/baseControls/ImportRecordListButton/index.js +11 -0
- package/dist/esm/baseControls/ImportRecordListButton/property.js +108 -0
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +112 -0
- package/dist/esm/baseControls/ImportRecordListButton/types.js +0 -0
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +176 -0
- package/dist/esm/baseControls/InvoiceCheckButton/index.js +11 -0
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +159 -0
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +112 -0
- package/dist/esm/baseControls/InvoiceCheckButton/types.js +0 -0
- package/dist/esm/baseControls/Link/designer.js +153 -0
- package/dist/esm/baseControls/Link/index.js +11 -0
- package/dist/esm/baseControls/Link/property.js +95 -0
- package/dist/esm/baseControls/Link/runtime.js +112 -0
- package/dist/esm/baseControls/Link/types.js +0 -0
- package/dist/esm/baseControls/ListSelectButton/designer.js +164 -0
- package/dist/esm/baseControls/ListSelectButton/index.js +11 -0
- package/dist/esm/baseControls/ListSelectButton/property.js +179 -0
- package/dist/esm/baseControls/ListSelectButton/runtime.js +112 -0
- package/dist/esm/baseControls/ListSelectButton/types.js +0 -0
- package/dist/esm/baseControls/ListViewSelect/designer.js +139 -0
- package/dist/esm/baseControls/ListViewSelect/index.js +11 -0
- package/dist/esm/baseControls/ListViewSelect/property.js +134 -0
- package/dist/esm/baseControls/ListViewSelect/runtime.js +112 -0
- package/dist/esm/baseControls/OperationButton/designer.js +161 -0
- package/dist/esm/baseControls/OperationButton/index.js +11 -0
- package/dist/esm/baseControls/OperationButton/property.js +131 -0
- package/dist/esm/baseControls/OperationButton/runtime.js +112 -0
- package/dist/esm/baseControls/OperationButton/types.js +0 -0
- package/dist/esm/baseControls/Pagination/designer.js +126 -0
- package/dist/esm/baseControls/Pagination/index.js +11 -0
- package/dist/esm/baseControls/Pagination/property.js +110 -0
- package/dist/esm/baseControls/Pagination/runtime.js +112 -0
- package/dist/esm/baseControls/ReferenceList/designer.js +158 -0
- package/dist/esm/baseControls/ReferenceList/index.js +11 -0
- package/dist/esm/baseControls/ReferenceList/property.js +139 -0
- package/dist/esm/baseControls/ReferenceList/runtime.js +112 -0
- package/dist/esm/baseControls/ReferenceList/types.js +0 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +153 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/index.js +11 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +80 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +112 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/types.js +0 -0
- package/dist/esm/baseControls/Text/designer.js +158 -0
- package/dist/esm/baseControls/Text/index.js +11 -0
- package/dist/esm/baseControls/Text/property.js +103 -0
- package/dist/esm/baseControls/Text/runtime.js +112 -0
- package/dist/esm/baseControls/Text/types.js +0 -0
- package/dist/esm/baseControls/TextOcrButton/designer.js +176 -0
- package/dist/esm/baseControls/TextOcrButton/index.js +11 -0
- package/dist/esm/baseControls/TextOcrButton/property.js +161 -0
- package/dist/esm/baseControls/TextOcrButton/runtime.js +112 -0
- package/dist/esm/baseControls/TextOcrButton/types.js +0 -0
- package/dist/esm/baseControls/Title/designer.js +155 -0
- package/dist/esm/baseControls/Title/index.js +11 -0
- package/dist/esm/baseControls/Title/property.js +154 -0
- package/dist/esm/baseControls/Title/runtime.js +112 -0
- package/dist/esm/baseControls/Title/types.js +0 -0
- package/dist/esm/baseControls/index.js +23 -0
- package/dist/esm/baseControls/utils.js +28 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +133 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/index.js +11 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +107 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/runtime.js +91 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/types.js +0 -0
- package/dist/esm/columnControls/ArrayColumn/designer.js +137 -0
- package/dist/esm/columnControls/ArrayColumn/index.js +11 -0
- package/dist/esm/columnControls/ArrayColumn/property.js +141 -0
- package/dist/esm/columnControls/ArrayColumn/runtime.js +93 -0
- package/dist/esm/columnControls/ArrayColumn/types.js +0 -0
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +133 -0
- package/dist/esm/columnControls/AutoNumberColumn/index.js +11 -0
- package/dist/esm/columnControls/AutoNumberColumn/property.js +118 -0
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +93 -0
- package/dist/esm/columnControls/AutoNumberColumn/types.js +0 -0
- package/dist/esm/columnControls/CustomColumn/designer.js +205 -0
- package/dist/esm/columnControls/CustomColumn/index.js +11 -0
- package/dist/esm/columnControls/CustomColumn/property.js +119 -0
- package/dist/esm/columnControls/CustomColumn/runtime.js +93 -0
- package/dist/esm/columnControls/CustomColumn/types.js +0 -0
- package/dist/esm/columnControls/DecimalColumn/designer.js +201 -0
- package/dist/esm/columnControls/DecimalColumn/index.js +11 -0
- package/dist/esm/columnControls/DecimalColumn/property.js +154 -0
- package/dist/esm/columnControls/DecimalColumn/runtime.js +93 -0
- package/dist/esm/columnControls/DecimalColumn/types.js +0 -0
- package/dist/esm/columnControls/DepartmentColumn/designer.js +183 -0
- package/dist/esm/columnControls/DepartmentColumn/index.js +11 -0
- package/dist/esm/columnControls/DepartmentColumn/property.js +100 -0
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +93 -0
- package/dist/esm/columnControls/DepartmentColumn/types.js +0 -0
- package/dist/esm/columnControls/EmployeeColumn/designer.js +158 -0
- package/dist/esm/columnControls/EmployeeColumn/index.js +11 -0
- package/dist/esm/columnControls/EmployeeColumn/property.js +101 -0
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +93 -0
- package/dist/esm/columnControls/EmployeeColumn/types.js +0 -0
- package/dist/esm/columnControls/FileColumn/designer.js +133 -0
- package/dist/esm/columnControls/FileColumn/index.js +11 -0
- package/dist/esm/columnControls/FileColumn/property.js +100 -0
- package/dist/esm/columnControls/FileColumn/runtime.js +93 -0
- package/dist/esm/columnControls/FileColumn/types.js +0 -0
- package/dist/esm/columnControls/ImageColumn/designer.js +129 -0
- package/dist/esm/columnControls/ImageColumn/index.js +11 -0
- package/dist/esm/columnControls/ImageColumn/property.js +80 -0
- package/dist/esm/columnControls/ImageColumn/runtime.js +93 -0
- package/dist/esm/columnControls/ImageColumn/types.js +0 -0
- package/dist/esm/columnControls/LocationColumn/designer.js +133 -0
- package/dist/esm/columnControls/LocationColumn/index.js +11 -0
- package/dist/esm/columnControls/LocationColumn/property.js +118 -0
- package/dist/esm/columnControls/LocationColumn/runtime.js +93 -0
- package/dist/esm/columnControls/LocationColumn/types.js +0 -0
- package/dist/esm/columnControls/OperationColumn/designer.js +356 -0
- package/dist/esm/columnControls/OperationColumn/index.js +11 -0
- package/dist/esm/columnControls/OperationColumn/property.js +168 -0
- package/dist/esm/columnControls/OperationColumn/runtime.js +93 -0
- package/dist/esm/columnControls/OperationColumn/types.js +0 -0
- package/dist/esm/columnControls/OrderColumn/designer.js +112 -0
- package/dist/esm/columnControls/OrderColumn/index.js +11 -0
- package/dist/esm/columnControls/OrderColumn/property.js +120 -0
- package/dist/esm/columnControls/OrderColumn/runtime.js +93 -0
- package/dist/esm/columnControls/OrderColumn/types.js +0 -0
- package/dist/esm/columnControls/PeopleColumn/designer.js +129 -0
- package/dist/esm/columnControls/PeopleColumn/index.js +11 -0
- package/dist/esm/columnControls/PeopleColumn/property.js +80 -0
- package/dist/esm/columnControls/PeopleColumn/runtime.js +93 -0
- package/dist/esm/columnControls/PeopleColumn/types.js +0 -0
- package/dist/esm/columnControls/TextColumn/designer.js +199 -0
- package/dist/esm/columnControls/TextColumn/index.js +11 -0
- package/dist/esm/columnControls/TextColumn/property.js +130 -0
- package/dist/esm/columnControls/TextColumn/runtime.js +93 -0
- package/dist/esm/columnControls/TextColumn/types.js +0 -0
- package/dist/esm/columnControls/TimescopeColumn/designer.js +187 -0
- package/dist/esm/columnControls/TimescopeColumn/index.js +11 -0
- package/dist/esm/columnControls/TimescopeColumn/property.js +125 -0
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +93 -0
- package/dist/esm/columnControls/TimescopeColumn/types.js +0 -0
- package/dist/esm/columnControls/TimestampColumn/designer.js +187 -0
- package/dist/esm/columnControls/TimestampColumn/index.js +11 -0
- package/dist/esm/columnControls/TimestampColumn/property.js +125 -0
- package/dist/esm/columnControls/TimestampColumn/runtime.js +93 -0
- package/dist/esm/columnControls/TimestampColumn/types.js +0 -0
- package/dist/esm/columnControls/VarcharColumn/designer.js +150 -0
- package/dist/esm/columnControls/VarcharColumn/index.js +11 -0
- package/dist/esm/columnControls/VarcharColumn/property.js +146 -0
- package/dist/esm/columnControls/VarcharColumn/runtime.js +93 -0
- package/dist/esm/columnControls/VarcharColumn/types.js +0 -0
- package/dist/esm/columnControls/index.js +17 -0
- package/dist/esm/formControls/Address/designer.js +170 -0
- package/dist/esm/formControls/Address/index.js +11 -0
- package/dist/esm/formControls/Address/property.js +159 -0
- package/dist/esm/formControls/Address/runtime.js +126 -0
- package/dist/esm/formControls/Address/types.js +0 -0
- package/dist/esm/formControls/Amount/designer.js +235 -0
- package/dist/esm/formControls/Amount/index.js +11 -0
- package/dist/esm/formControls/Amount/property.js +282 -0
- package/dist/esm/formControls/Amount/runtime.js +114 -0
- package/dist/esm/formControls/Amount/types.js +0 -0
- package/dist/esm/formControls/Attachment/designer.js +194 -0
- package/dist/esm/formControls/Attachment/index.js +11 -0
- package/dist/esm/formControls/Attachment/property.js +177 -0
- package/dist/esm/formControls/Attachment/runtime.js +114 -0
- package/dist/esm/formControls/Attachment/types.js +0 -0
- package/dist/esm/formControls/AutoNumber/designer.js +165 -0
- package/dist/esm/formControls/AutoNumber/index.js +11 -0
- package/dist/esm/formControls/AutoNumber/property.js +96 -0
- package/dist/esm/formControls/AutoNumber/runtime.js +114 -0
- package/dist/esm/formControls/AutoNumber/types.js +0 -0
- package/dist/esm/formControls/Calc/designer.js +235 -0
- package/dist/esm/formControls/Calc/index.js +11 -0
- package/dist/esm/formControls/Calc/property.js +188 -0
- package/dist/esm/formControls/Calc/runtime.js +114 -0
- package/dist/esm/formControls/Calc/types.js +0 -0
- package/dist/esm/formControls/Checkbox/designer.js +191 -0
- package/dist/esm/formControls/Checkbox/index.js +11 -0
- package/dist/esm/formControls/Checkbox/property.js +194 -0
- package/dist/esm/formControls/Checkbox/runtime.js +114 -0
- package/dist/esm/formControls/Checkbox/types.js +0 -0
- package/dist/esm/formControls/DatePicker/designer.js +223 -0
- package/dist/esm/formControls/DatePicker/index.js +11 -0
- package/dist/esm/formControls/DatePicker/property.js +127 -0
- package/dist/esm/formControls/DatePicker/runtime.js +114 -0
- package/dist/esm/formControls/DatePicker/types.js +0 -0
- package/dist/esm/formControls/DateRange/designer.js +222 -0
- package/dist/esm/formControls/DateRange/index.js +11 -0
- package/dist/esm/formControls/DateRange/property.js +196 -0
- package/dist/esm/formControls/DateRange/runtime.js +114 -0
- package/dist/esm/formControls/DateRange/types.js +0 -0
- package/dist/esm/formControls/Department/designer.js +221 -0
- package/dist/esm/formControls/Department/index.js +11 -0
- package/dist/esm/formControls/Department/property.js +155 -0
- package/dist/esm/formControls/Department/runtime.js +114 -0
- package/dist/esm/formControls/Department/types.js +0 -0
- package/dist/esm/formControls/Department2/designer.js +235 -0
- package/dist/esm/formControls/Department2/index.js +11 -0
- package/dist/esm/formControls/Department2/property.js +202 -0
- package/dist/esm/formControls/Department2/runtime.js +114 -0
- package/dist/esm/formControls/Department2/types.js +0 -0
- package/dist/esm/formControls/ElectronicSignature/designer.js +180 -0
- package/dist/esm/formControls/ElectronicSignature/index.js +11 -0
- package/dist/esm/formControls/ElectronicSignature/property.js +196 -0
- package/dist/esm/formControls/ElectronicSignature/runtime.js +114 -0
- package/dist/esm/formControls/ElectronicSignature/types.js +0 -0
- package/dist/esm/formControls/Employee/designer.js +183 -0
- package/dist/esm/formControls/Employee/index.js +11 -0
- package/dist/esm/formControls/Employee/property.js +139 -0
- package/dist/esm/formControls/Employee/runtime.js +114 -0
- package/dist/esm/formControls/Employee/types.js +0 -0
- package/dist/esm/formControls/Employee2/designer.js +196 -0
- package/dist/esm/formControls/Employee2/index.js +11 -0
- package/dist/esm/formControls/Employee2/property.js +189 -0
- package/dist/esm/formControls/Employee2/runtime.js +114 -0
- package/dist/esm/formControls/Employee2/types.js +0 -0
- package/dist/esm/formControls/Image/designer.js +187 -0
- package/dist/esm/formControls/Image/index.js +11 -0
- package/dist/esm/formControls/Image/property.js +79 -0
- package/dist/esm/formControls/Image/runtime.js +106 -0
- package/dist/esm/formControls/Image/types.js +0 -0
- package/dist/esm/formControls/Input/designer.js +194 -0
- package/dist/esm/formControls/Input/index.js +11 -0
- package/dist/esm/formControls/Input/property.js +206 -0
- package/dist/esm/formControls/Input/runtime.js +114 -0
- package/dist/esm/formControls/Input/types.js +0 -0
- package/dist/esm/formControls/Number/designer.js +247 -0
- package/dist/esm/formControls/Number/index.js +11 -0
- package/dist/esm/formControls/Number/property.js +246 -0
- package/dist/esm/formControls/Number/runtime.js +114 -0
- package/dist/esm/formControls/Number/types.js +0 -0
- package/dist/esm/formControls/OrganizationSelection/designer.js +236 -0
- package/dist/esm/formControls/OrganizationSelection/index.js +11 -0
- package/dist/esm/formControls/OrganizationSelection/property.js +217 -0
- package/dist/esm/formControls/OrganizationSelection/runtime.js +114 -0
- package/dist/esm/formControls/OrganizationSelection/types.js +0 -0
- package/dist/esm/formControls/Radio/designer.js +187 -0
- package/dist/esm/formControls/Radio/index.js +11 -0
- package/dist/esm/formControls/Radio/property.js +152 -0
- package/dist/esm/formControls/Radio/runtime.js +114 -0
- package/dist/esm/formControls/Radio/types.js +0 -0
- package/dist/esm/formControls/RichText/designer.js +189 -0
- package/dist/esm/formControls/RichText/index.js +11 -0
- package/dist/esm/formControls/RichText/property.js +158 -0
- package/dist/esm/formControls/RichText/runtime.js +114 -0
- package/dist/esm/formControls/RichText/types.js +0 -0
- package/dist/esm/formControls/Score/designer.js +248 -0
- package/dist/esm/formControls/Score/index.js +11 -0
- package/dist/esm/formControls/Score/property.js +171 -0
- package/dist/esm/formControls/Score/runtime.js +114 -0
- package/dist/esm/formControls/Score/types.js +0 -0
- package/dist/esm/formControls/SearchDateRange/designer.js +191 -0
- package/dist/esm/formControls/SearchDateRange/index.js +11 -0
- package/dist/esm/formControls/SearchDateRange/property.js +160 -0
- package/dist/esm/formControls/SearchDateRange/runtime.js +114 -0
- package/dist/esm/formControls/SearchDateRange/types.js +0 -0
- package/dist/esm/formControls/SearchInput/designer.js +158 -0
- package/dist/esm/formControls/SearchInput/index.js +11 -0
- package/dist/esm/formControls/SearchInput/property.js +85 -0
- package/dist/esm/formControls/SearchInput/runtime.js +114 -0
- package/dist/esm/formControls/SearchInput/types.js +0 -0
- package/dist/esm/formControls/SearchNumberRange/designer.js +175 -0
- package/dist/esm/formControls/SearchNumberRange/index.js +11 -0
- package/dist/esm/formControls/SearchNumberRange/property.js +142 -0
- package/dist/esm/formControls/SearchNumberRange/runtime.js +114 -0
- package/dist/esm/formControls/SearchNumberRange/types.js +0 -0
- package/dist/esm/formControls/Select/designer.js +185 -0
- package/dist/esm/formControls/Select/index.js +11 -0
- package/dist/esm/formControls/Select/property.js +173 -0
- package/dist/esm/formControls/Select/runtime.js +114 -0
- package/dist/esm/formControls/Select/types.js +0 -0
- package/dist/esm/formControls/SelectMultiple/designer.js +184 -0
- package/dist/esm/formControls/SelectMultiple/index.js +11 -0
- package/dist/esm/formControls/SelectMultiple/property.js +187 -0
- package/dist/esm/formControls/SelectMultiple/runtime.js +114 -0
- package/dist/esm/formControls/SelectMultiple/types.js +0 -0
- package/dist/esm/formControls/SelectRelation/designer.js +228 -0
- package/dist/esm/formControls/SelectRelation/index.js +11 -0
- package/dist/esm/formControls/SelectRelation/property.js +217 -0
- package/dist/esm/formControls/SelectRelation/runtime.js +114 -0
- package/dist/esm/formControls/SelectRelation/types.js +0 -0
- package/dist/esm/formControls/Textarea/designer.js +194 -0
- package/dist/esm/formControls/Textarea/index.js +11 -0
- package/dist/esm/formControls/Textarea/property.js +187 -0
- package/dist/esm/formControls/Textarea/runtime.js +114 -0
- package/dist/esm/formControls/Textarea/types.js +0 -0
- package/dist/esm/formControls/Tree/designer.js +208 -0
- package/dist/esm/formControls/Tree/index.js +11 -0
- package/dist/esm/formControls/Tree/property.js +206 -0
- package/dist/esm/formControls/Tree/runtime.js +114 -0
- package/dist/esm/formControls/VueFormItem/designer.js +173 -0
- package/dist/esm/formControls/VueFormItem/index.js +11 -0
- package/dist/esm/formControls/VueFormItem/property.js +133 -0
- package/dist/esm/formControls/VueFormItem/runtime.js +114 -0
- package/dist/esm/formControls/VueFormItem/types.js +0 -0
- package/dist/esm/formControls/VuePage/designer.js +129 -0
- package/dist/esm/formControls/VuePage/index.js +11 -0
- package/dist/esm/formControls/VuePage/property.js +133 -0
- package/dist/esm/formControls/VuePage/runtime.js +114 -0
- package/dist/esm/formControls/VuePage/types.js +0 -0
- package/dist/esm/formControls/WPS/designer.js +194 -0
- package/dist/esm/formControls/WPS/index.js +11 -0
- package/dist/esm/formControls/WPS/property.js +186 -0
- package/dist/esm/formControls/WPS/runtime.js +114 -0
- package/dist/esm/formControls/index.js +31 -0
- package/dist/esm/framework.js +378 -0
- package/dist/esm/index.js +23 -0
- package/dist/esm/layoutControls/ActionBar/designer.js +159 -0
- package/dist/esm/layoutControls/ActionBar/index.js +11 -0
- package/dist/esm/layoutControls/ActionBar/property.js +97 -0
- package/dist/esm/layoutControls/ActionBar/runtime.js +113 -0
- package/dist/esm/layoutControls/ActionBar/types.js +0 -0
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +60 -0
- package/dist/esm/layoutControls/AdvancedContainer/designer.js +108 -0
- package/dist/esm/layoutControls/AdvancedContainer/index.js +11 -0
- package/dist/esm/layoutControls/AdvancedContainer/property.js +90 -0
- package/dist/esm/layoutControls/AdvancedContainer/runtime.js +95 -0
- package/dist/esm/layoutControls/CardGroup/designer.js +154 -0
- package/dist/esm/layoutControls/CardGroup/index.js +11 -0
- package/dist/esm/layoutControls/CardGroup/property.js +116 -0
- package/dist/esm/layoutControls/CardGroup/runtime.js +112 -0
- package/dist/esm/layoutControls/CardGroup/types.js +0 -0
- package/dist/esm/layoutControls/Col/designer.js +135 -0
- package/dist/esm/layoutControls/Col/index.js +11 -0
- package/dist/esm/layoutControls/Col/property.js +93 -0
- package/dist/esm/layoutControls/Col/runtime.js +112 -0
- package/dist/esm/layoutControls/Col/types.js +0 -0
- package/dist/esm/layoutControls/DataView/designer.js +120 -0
- package/dist/esm/layoutControls/DataView/index.js +11 -0
- package/dist/esm/layoutControls/DataView/property.js +150 -0
- package/dist/esm/layoutControls/DataView/runtime.js +112 -0
- package/dist/esm/layoutControls/DataView/types.js +0 -0
- package/dist/esm/layoutControls/Grid/designer.js +125 -0
- package/dist/esm/layoutControls/Grid/index.js +11 -0
- package/dist/esm/layoutControls/Grid/property.js +2 -0
- package/dist/esm/layoutControls/Grid/runtime.js +95 -0
- package/dist/esm/layoutControls/Grid/types.js +0 -0
- package/dist/esm/layoutControls/GridLayoutContainer/designer.js +141 -0
- package/dist/esm/layoutControls/GridLayoutContainer/index.js +11 -0
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +94 -0
- package/dist/esm/layoutControls/GridLayoutContainer/runtime.js +112 -0
- package/dist/esm/layoutControls/GridLayoutContainer/types.js +0 -0
- package/dist/esm/layoutControls/GridRow/designer.js +128 -0
- package/dist/esm/layoutControls/GridRow/index.js +11 -0
- package/dist/esm/layoutControls/GridRow/property.js +73 -0
- package/dist/esm/layoutControls/GridRow/runtime.js +95 -0
- package/dist/esm/layoutControls/GridRow/types.js +0 -0
- package/dist/esm/layoutControls/GridTableColumn/designer.js +121 -0
- package/dist/esm/layoutControls/GridTableColumn/index.js +11 -0
- package/dist/esm/layoutControls/GridTableColumn/property.js +112 -0
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +91 -0
- package/dist/esm/layoutControls/GridTableColumn/types.js +0 -0
- package/dist/esm/layoutControls/ListView/designer.js +171 -0
- package/dist/esm/layoutControls/ListView/index.js +11 -0
- package/dist/esm/layoutControls/ListView/property.js +318 -0
- package/dist/esm/layoutControls/ListView/runtime.js +112 -0
- package/dist/esm/layoutControls/ListView/types.js +0 -0
- package/dist/esm/layoutControls/Page/Setting.js +80 -0
- package/dist/esm/layoutControls/Page/designer.js +108 -0
- package/dist/esm/layoutControls/Page/index.js +11 -0
- package/dist/esm/layoutControls/Page/property.js +93 -0
- package/dist/esm/layoutControls/Page/runtime.js +95 -0
- package/dist/esm/layoutControls/Position/Setting.js +5 -0
- package/dist/esm/layoutControls/Position/designer.js +108 -0
- package/dist/esm/layoutControls/Position/index.js +11 -0
- package/dist/esm/layoutControls/Position/property.js +95 -0
- package/dist/esm/layoutControls/Position/runtime.js +95 -0
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +60 -0
- package/dist/esm/layoutControls/PositioningContainer/designer.js +108 -0
- package/dist/esm/layoutControls/PositioningContainer/index.js +11 -0
- package/dist/esm/layoutControls/PositioningContainer/property.js +72 -0
- package/dist/esm/layoutControls/PositioningContainer/runtime.js +95 -0
- package/dist/esm/layoutControls/Row/designer.js +135 -0
- package/dist/esm/layoutControls/Row/index.js +11 -0
- package/dist/esm/layoutControls/Row/property.js +92 -0
- package/dist/esm/layoutControls/Row/runtime.js +112 -0
- package/dist/esm/layoutControls/Row/types.js +0 -0
- package/dist/esm/layoutControls/SubTableColumn/designer.js +127 -0
- package/dist/esm/layoutControls/SubTableColumn/index.js +11 -0
- package/dist/esm/layoutControls/SubTableColumn/property.js +142 -0
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +91 -0
- package/dist/esm/layoutControls/SubTableColumn/types.js +0 -0
- package/dist/esm/layoutControls/SubTableRow/designer.js +115 -0
- package/dist/esm/layoutControls/SubTableRow/index.js +11 -0
- package/dist/esm/layoutControls/SubTableRow/property.js +73 -0
- package/dist/esm/layoutControls/SubTableRow/runtime.js +112 -0
- package/dist/esm/layoutControls/SubTableRow/types.js +0 -0
- package/dist/esm/layoutControls/Tab/designer.js +148 -0
- package/dist/esm/layoutControls/Tab/index.js +11 -0
- package/dist/esm/layoutControls/Tab/property.js +90 -0
- package/dist/esm/layoutControls/Tab/runtime.js +112 -0
- package/dist/esm/layoutControls/Tab/types.js +0 -0
- package/dist/esm/layoutControls/TabPane/designer.js +160 -0
- package/dist/esm/layoutControls/TabPane/index.js +11 -0
- package/dist/esm/layoutControls/TabPane/property.js +110 -0
- package/dist/esm/layoutControls/TabPane/runtime.js +112 -0
- package/dist/esm/layoutControls/TabPane/types.js +0 -0
- package/dist/esm/layoutControls/Toolbox/designer.js +147 -0
- package/dist/esm/layoutControls/Toolbox/index.js +11 -0
- package/dist/esm/layoutControls/Toolbox/property.js +73 -0
- package/dist/esm/layoutControls/Toolbox/runtime.js +110 -0
- package/dist/esm/layoutControls/Toolbox/types.js +0 -0
- package/dist/esm/layoutControls/index.js +19 -0
- package/dist/esm/listControls/GridTable/designer.js +408 -0
- package/dist/esm/listControls/GridTable/index.js +11 -0
- package/dist/esm/listControls/GridTable/property.js +135 -0
- package/dist/esm/listControls/GridTable/runtime.js +133 -0
- package/dist/esm/listControls/GridTable/types.js +0 -0
- package/dist/esm/listControls/SubTable/designer.js +245 -0
- package/dist/esm/listControls/SubTable/index.js +11 -0
- package/dist/esm/listControls/SubTable/property.js +371 -0
- package/dist/esm/listControls/SubTable/runtime.js +127 -0
- package/dist/esm/listControls/SubTable/types.js +0 -0
- package/dist/esm/listControls/index.js +2 -0
- package/dist/esm/searchControls/SimpleSearch/designer.js +123 -0
- package/dist/esm/searchControls/SimpleSearch/index.js +11 -0
- package/dist/esm/searchControls/SimpleSearch/property.js +184 -0
- package/dist/esm/searchControls/SimpleSearch/runtime.js +93 -0
- package/dist/esm/searchControls/SimpleSearch/types.js +0 -0
- package/dist/esm/searchControls/index.js +1 -0
- package/dist/esm/type.js +1 -0
- package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +28 -0
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +133 -0
- package/dist/esm/wrapControls/GridLayoutWrap/index.js +20 -0
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +89 -0
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +118 -0
- package/dist/esm/wrapControls/index.js +1 -0
- package/dist/index.umd.js +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,103 @@
|
|
|
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
|
+
}
|
|
5
|
+
return self;
|
|
6
|
+
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
11
|
+
function _class_call_check(instance, Constructor) {
|
|
12
|
+
if (!(instance instanceof Constructor)) {
|
|
13
|
+
throw new TypeError("Cannot call a class as a function");
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function _define_property(obj, key, value) {
|
|
17
|
+
if (key in obj) {
|
|
18
|
+
Object.defineProperty(obj, key, {
|
|
19
|
+
value: value,
|
|
20
|
+
enumerable: true,
|
|
21
|
+
configurable: true,
|
|
22
|
+
writable: true
|
|
23
|
+
});
|
|
24
|
+
} else {
|
|
25
|
+
obj[key] = value;
|
|
26
|
+
}
|
|
27
|
+
return obj;
|
|
28
|
+
}
|
|
29
|
+
function _get_prototype_of(o) {
|
|
30
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
31
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
32
|
+
};
|
|
33
|
+
return _get_prototype_of(o);
|
|
34
|
+
}
|
|
35
|
+
function _inherits(subClass, superClass) {
|
|
36
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
37
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
38
|
+
}
|
|
39
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
40
|
+
constructor: {
|
|
41
|
+
value: subClass,
|
|
42
|
+
writable: true,
|
|
43
|
+
configurable: true
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
|
+
}
|
|
48
|
+
function _possible_constructor_return(self, call) {
|
|
49
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
50
|
+
return call;
|
|
51
|
+
}
|
|
52
|
+
return _assert_this_initialized(self);
|
|
53
|
+
}
|
|
54
|
+
function _set_prototype_of(o, p) {
|
|
55
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
56
|
+
o.__proto__ = p;
|
|
57
|
+
return o;
|
|
58
|
+
};
|
|
59
|
+
return _set_prototype_of(o, p);
|
|
60
|
+
}
|
|
61
|
+
function _type_of(obj) {
|
|
62
|
+
"@swc/helpers - typeof";
|
|
63
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
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
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
74
|
+
import { Property } from '@byteluck-fe/model-driven-core';
|
|
75
|
+
var TextProperty = /*#__PURE__*/ function(Property) {
|
|
76
|
+
"use strict";
|
|
77
|
+
_inherits(TextProperty, Property);
|
|
78
|
+
function TextProperty(props) {
|
|
79
|
+
_class_call_check(this, TextProperty);
|
|
80
|
+
var _this;
|
|
81
|
+
_this = _call_super(this, TextProperty, [
|
|
82
|
+
props
|
|
83
|
+
]), // public dataBind: DataBind
|
|
84
|
+
_define_property(_this, "content", void 0), _define_property(_this, "fontSize", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "align", void 0), _define_property(_this, "showState", void 0);
|
|
85
|
+
var _props_fontSize;
|
|
86
|
+
// this.dataBind = new DataBind(props?.dataBind)
|
|
87
|
+
_this.fontSize = (_props_fontSize = props === null || props === void 0 ? void 0 : props.fontSize) !== null && _props_fontSize !== void 0 ? _props_fontSize : '14px';
|
|
88
|
+
var _props_color;
|
|
89
|
+
_this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '#646A73';
|
|
90
|
+
var _props_icon;
|
|
91
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'page-hint';
|
|
92
|
+
var _props_showState;
|
|
93
|
+
_this.showState = (_props_showState = props === null || props === void 0 ? void 0 : props.showState) !== null && _props_showState !== void 0 ? _props_showState : 'text';
|
|
94
|
+
var _props_content;
|
|
95
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.text', null, '说明文字');
|
|
96
|
+
var _props_align;
|
|
97
|
+
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
|
|
98
|
+
return _this;
|
|
99
|
+
}
|
|
100
|
+
return TextProperty;
|
|
101
|
+
}(Property);
|
|
102
|
+
export default TextProperty;
|
|
103
|
+
export { TextProperty };
|
|
@@ -0,0 +1,112 @@
|
|
|
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
|
+
}
|
|
5
|
+
return self;
|
|
6
|
+
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
11
|
+
function _class_call_check(instance, Constructor) {
|
|
12
|
+
if (!(instance instanceof Constructor)) {
|
|
13
|
+
throw new TypeError("Cannot call a class as a function");
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function _defineProperties(target, props) {
|
|
17
|
+
for(var i = 0; i < props.length; i++){
|
|
18
|
+
var descriptor = props[i];
|
|
19
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
20
|
+
descriptor.configurable = true;
|
|
21
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
22
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
26
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
27
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
|
+
return Constructor;
|
|
29
|
+
}
|
|
30
|
+
function _define_property(obj, key, value) {
|
|
31
|
+
if (key in obj) {
|
|
32
|
+
Object.defineProperty(obj, key, {
|
|
33
|
+
value: value,
|
|
34
|
+
enumerable: true,
|
|
35
|
+
configurable: true,
|
|
36
|
+
writable: true
|
|
37
|
+
});
|
|
38
|
+
} else {
|
|
39
|
+
obj[key] = value;
|
|
40
|
+
}
|
|
41
|
+
return obj;
|
|
42
|
+
}
|
|
43
|
+
function _get_prototype_of(o) {
|
|
44
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
45
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
46
|
+
};
|
|
47
|
+
return _get_prototype_of(o);
|
|
48
|
+
}
|
|
49
|
+
function _inherits(subClass, superClass) {
|
|
50
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
51
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
52
|
+
}
|
|
53
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
54
|
+
constructor: {
|
|
55
|
+
value: subClass,
|
|
56
|
+
writable: true,
|
|
57
|
+
configurable: true
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
|
+
}
|
|
62
|
+
function _possible_constructor_return(self, call) {
|
|
63
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
64
|
+
return call;
|
|
65
|
+
}
|
|
66
|
+
return _assert_this_initialized(self);
|
|
67
|
+
}
|
|
68
|
+
function _set_prototype_of(o, p) {
|
|
69
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
70
|
+
o.__proto__ = p;
|
|
71
|
+
return o;
|
|
72
|
+
};
|
|
73
|
+
return _set_prototype_of(o, p);
|
|
74
|
+
}
|
|
75
|
+
function _type_of(obj) {
|
|
76
|
+
"@swc/helpers - typeof";
|
|
77
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
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
|
+
import { RuntimeControl } from '@byteluck-fe/model-driven-core';
|
|
88
|
+
import TextProperty from './property';
|
|
89
|
+
var TextControl = /*#__PURE__*/ function(RuntimeControl) {
|
|
90
|
+
"use strict";
|
|
91
|
+
_inherits(TextControl, RuntimeControl);
|
|
92
|
+
function TextControl(props) {
|
|
93
|
+
_class_call_check(this, TextControl);
|
|
94
|
+
var _this;
|
|
95
|
+
_this = _call_super(this, TextControl, [
|
|
96
|
+
props
|
|
97
|
+
]), _define_property(_this, "props", void 0);
|
|
98
|
+
_this.props = new TextProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
99
|
+
return _this;
|
|
100
|
+
}
|
|
101
|
+
_create_class(TextControl, null, [
|
|
102
|
+
{
|
|
103
|
+
key: "controlType",
|
|
104
|
+
get: function get() {
|
|
105
|
+
return 'text';
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
]);
|
|
109
|
+
return TextControl;
|
|
110
|
+
}(RuntimeControl);
|
|
111
|
+
export default TextControl;
|
|
112
|
+
export { TextControl as RuntimeTextControl };
|
|
File without changes
|
|
@@ -0,0 +1,176 @@
|
|
|
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
|
+
}
|
|
5
|
+
return self;
|
|
6
|
+
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
11
|
+
function _class_call_check(instance, Constructor) {
|
|
12
|
+
if (!(instance instanceof Constructor)) {
|
|
13
|
+
throw new TypeError("Cannot call a class as a function");
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function _defineProperties(target, props) {
|
|
17
|
+
for(var i = 0; i < props.length; i++){
|
|
18
|
+
var descriptor = props[i];
|
|
19
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
20
|
+
descriptor.configurable = true;
|
|
21
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
22
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
26
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
27
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
|
+
return Constructor;
|
|
29
|
+
}
|
|
30
|
+
function _define_property(obj, key, value) {
|
|
31
|
+
if (key in obj) {
|
|
32
|
+
Object.defineProperty(obj, key, {
|
|
33
|
+
value: value,
|
|
34
|
+
enumerable: true,
|
|
35
|
+
configurable: true,
|
|
36
|
+
writable: true
|
|
37
|
+
});
|
|
38
|
+
} else {
|
|
39
|
+
obj[key] = value;
|
|
40
|
+
}
|
|
41
|
+
return obj;
|
|
42
|
+
}
|
|
43
|
+
function _get_prototype_of(o) {
|
|
44
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
45
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
46
|
+
};
|
|
47
|
+
return _get_prototype_of(o);
|
|
48
|
+
}
|
|
49
|
+
function _inherits(subClass, superClass) {
|
|
50
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
51
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
52
|
+
}
|
|
53
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
54
|
+
constructor: {
|
|
55
|
+
value: subClass,
|
|
56
|
+
writable: true,
|
|
57
|
+
configurable: true
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
|
+
}
|
|
62
|
+
function _possible_constructor_return(self, call) {
|
|
63
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
64
|
+
return call;
|
|
65
|
+
}
|
|
66
|
+
return _assert_this_initialized(self);
|
|
67
|
+
}
|
|
68
|
+
function _set_prototype_of(o, p) {
|
|
69
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
70
|
+
o.__proto__ = p;
|
|
71
|
+
return o;
|
|
72
|
+
};
|
|
73
|
+
return _set_prototype_of(o, p);
|
|
74
|
+
}
|
|
75
|
+
function _type_of(obj) {
|
|
76
|
+
"@swc/helpers - typeof";
|
|
77
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
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
|
+
import { COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
|
+
import { DesignerButtonControl } from '../Button';
|
|
89
|
+
import TextOcrButtonProperty from './property';
|
|
90
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
91
|
+
var TextOcrButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
92
|
+
"use strict";
|
|
93
|
+
_inherits(TextOcrButtonControl, DesignerButtonControl);
|
|
94
|
+
function TextOcrButtonControl(props) {
|
|
95
|
+
_class_call_check(this, TextOcrButtonControl);
|
|
96
|
+
var _this;
|
|
97
|
+
_this = _call_super(this, TextOcrButtonControl, [
|
|
98
|
+
props
|
|
99
|
+
]), _define_property(_this, "props", void 0);
|
|
100
|
+
_this.props = new TextOcrButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
101
|
+
return _this;
|
|
102
|
+
}
|
|
103
|
+
_create_class(TextOcrButtonControl, null, [
|
|
104
|
+
{
|
|
105
|
+
key: "controlName",
|
|
106
|
+
get: function get() {
|
|
107
|
+
return getLocaleText('CMD.textOcrButton', null, '文字识别');
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
key: "controlIcon",
|
|
112
|
+
get: function get() {
|
|
113
|
+
return 'iconwenzishibie';
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
key: "controlType",
|
|
118
|
+
get: function get() {
|
|
119
|
+
return 'text-ocr-button';
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
]);
|
|
123
|
+
return TextOcrButtonControl;
|
|
124
|
+
}(DesignerButtonControl);
|
|
125
|
+
_define_property(TextOcrButtonControl, "controlEventKeys", [
|
|
126
|
+
'on_click',
|
|
127
|
+
'on_click_finish'
|
|
128
|
+
]);
|
|
129
|
+
_define_property(TextOcrButtonControl, "setting", [
|
|
130
|
+
{
|
|
131
|
+
key: 'caption',
|
|
132
|
+
showItems: [
|
|
133
|
+
COMMON_SETTING_TYPE.CAPTION,
|
|
134
|
+
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
135
|
+
],
|
|
136
|
+
visible: true
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
key: 'label-position',
|
|
140
|
+
visible: true
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
key: 'text-ocr',
|
|
144
|
+
visible: true
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
key: 'button-content',
|
|
148
|
+
visible: true
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
key: 'button-type',
|
|
152
|
+
visible: true
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
key: 'button-color-type',
|
|
156
|
+
visible: true
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
key: 'default-state',
|
|
160
|
+
visible: true
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
key: 'common-setting',
|
|
164
|
+
visible: true,
|
|
165
|
+
showItems: [
|
|
166
|
+
COMMON_SETTING_TYPE.IS_HIDE,
|
|
167
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
key: 'super-setting',
|
|
172
|
+
visible: true
|
|
173
|
+
}
|
|
174
|
+
]);
|
|
175
|
+
export default TextOcrButtonControl;
|
|
176
|
+
export { TextOcrButtonControl as DesignerTextOcrButtonControl };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import Designer from './designer';
|
|
2
|
+
import Runtime from './runtime';
|
|
3
|
+
import Property from './property';
|
|
4
|
+
export default {
|
|
5
|
+
Designer: Designer,
|
|
6
|
+
Runtime: Runtime,
|
|
7
|
+
Property: Property
|
|
8
|
+
};
|
|
9
|
+
export * from './designer';
|
|
10
|
+
export * from './runtime';
|
|
11
|
+
export * from './property';
|
|
@@ -0,0 +1,161 @@
|
|
|
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
|
+
}
|
|
5
|
+
return self;
|
|
6
|
+
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
11
|
+
function _class_call_check(instance, Constructor) {
|
|
12
|
+
if (!(instance instanceof Constructor)) {
|
|
13
|
+
throw new TypeError("Cannot call a class as a function");
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function _define_property(obj, key, value) {
|
|
17
|
+
if (key in obj) {
|
|
18
|
+
Object.defineProperty(obj, key, {
|
|
19
|
+
value: value,
|
|
20
|
+
enumerable: true,
|
|
21
|
+
configurable: true,
|
|
22
|
+
writable: true
|
|
23
|
+
});
|
|
24
|
+
} else {
|
|
25
|
+
obj[key] = value;
|
|
26
|
+
}
|
|
27
|
+
return obj;
|
|
28
|
+
}
|
|
29
|
+
function _get_prototype_of(o) {
|
|
30
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
31
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
32
|
+
};
|
|
33
|
+
return _get_prototype_of(o);
|
|
34
|
+
}
|
|
35
|
+
function _inherits(subClass, superClass) {
|
|
36
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
37
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
38
|
+
}
|
|
39
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
40
|
+
constructor: {
|
|
41
|
+
value: subClass,
|
|
42
|
+
writable: true,
|
|
43
|
+
configurable: true
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
|
+
}
|
|
48
|
+
function _possible_constructor_return(self, call) {
|
|
49
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
50
|
+
return call;
|
|
51
|
+
}
|
|
52
|
+
return _assert_this_initialized(self);
|
|
53
|
+
}
|
|
54
|
+
function _set_prototype_of(o, p) {
|
|
55
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
56
|
+
o.__proto__ = p;
|
|
57
|
+
return o;
|
|
58
|
+
};
|
|
59
|
+
return _set_prototype_of(o, p);
|
|
60
|
+
}
|
|
61
|
+
function _type_of(obj) {
|
|
62
|
+
"@swc/helpers - typeof";
|
|
63
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
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
|
+
import { ButtonProperty } from '../Button';
|
|
74
|
+
import TextOcrButtonControl from './designer';
|
|
75
|
+
import { PropertyRules, MultistageFillingItem } from '@byteluck-fe/model-driven-core';
|
|
76
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
77
|
+
var TextOcrButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
78
|
+
"use strict";
|
|
79
|
+
_inherits(TextOcrButtonPropertyRules, PropertyRules);
|
|
80
|
+
function TextOcrButtonPropertyRules(props) {
|
|
81
|
+
_class_call_check(this, TextOcrButtonPropertyRules);
|
|
82
|
+
var _this;
|
|
83
|
+
_this = _call_super(this, TextOcrButtonPropertyRules, [
|
|
84
|
+
props
|
|
85
|
+
]), _define_property(_this, "caption", {
|
|
86
|
+
type: 'string',
|
|
87
|
+
required: true,
|
|
88
|
+
message: getLocaleText('CMD.pleaseEnterCaption', null, '请输入标题')
|
|
89
|
+
}), _define_property(_this, "isHideCaption", {
|
|
90
|
+
type: 'boolean'
|
|
91
|
+
}), _define_property(_this, "labelPosition", {
|
|
92
|
+
type: 'enum',
|
|
93
|
+
enum: [
|
|
94
|
+
'top',
|
|
95
|
+
'left'
|
|
96
|
+
]
|
|
97
|
+
}), _define_property(_this, "ocrType", {
|
|
98
|
+
type: 'string',
|
|
99
|
+
required: true,
|
|
100
|
+
message: getLocaleText('CMD.pleaseSelectOcrType', null, '请选择识别类型')
|
|
101
|
+
}), _define_property(_this, "fillList", {
|
|
102
|
+
type: 'array',
|
|
103
|
+
validator: function validator(rule, value, callback) {
|
|
104
|
+
var isEveryEmpty = value.every(function(item) {
|
|
105
|
+
return !item.controlId;
|
|
106
|
+
});
|
|
107
|
+
if (isEveryEmpty) {
|
|
108
|
+
callback(getLocaleText('CMD.pleaseSelectAtLeastOneFieldToFillIn', null, '请至少选择一个字段进行填充'));
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
callback();
|
|
112
|
+
}
|
|
113
|
+
}), _define_property(_this, "captionTip", {
|
|
114
|
+
type: 'string',
|
|
115
|
+
required: false,
|
|
116
|
+
message: getLocaleText('CMD.pleaseEnterCaptionTip', null, '请输入气泡提示语')
|
|
117
|
+
});
|
|
118
|
+
if (props.isShowCaptionTip) {
|
|
119
|
+
_this.captionTip.required = true;
|
|
120
|
+
}
|
|
121
|
+
return _this;
|
|
122
|
+
}
|
|
123
|
+
return TextOcrButtonPropertyRules;
|
|
124
|
+
}(PropertyRules);
|
|
125
|
+
var TextOcrButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
126
|
+
"use strict";
|
|
127
|
+
_inherits(TextOcrButtonProperty, ButtonProperty);
|
|
128
|
+
function TextOcrButtonProperty(props) {
|
|
129
|
+
_class_call_check(this, TextOcrButtonProperty);
|
|
130
|
+
var _this;
|
|
131
|
+
var _props_fillList;
|
|
132
|
+
_this = _call_super(this, TextOcrButtonProperty, [
|
|
133
|
+
props
|
|
134
|
+
]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "captionTip", void 0), _define_property(_this, "labelPosition", void 0), _define_property(_this, "ocrType", void 0), _define_property(_this, "fillList", void 0);
|
|
135
|
+
var _props_caption;
|
|
136
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TextOcrButtonControl.controlName;
|
|
137
|
+
var _props_isHideCaption;
|
|
138
|
+
_this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
|
|
139
|
+
var _props_isShowCaptionTip;
|
|
140
|
+
_this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
|
|
141
|
+
var _props_captionTip;
|
|
142
|
+
_this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
|
|
143
|
+
var _props_labelPosition;
|
|
144
|
+
_this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
|
|
145
|
+
var _props_content;
|
|
146
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : TextOcrButtonControl.controlName;
|
|
147
|
+
var _props_icon;
|
|
148
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : TextOcrButtonControl.controlIcon;
|
|
149
|
+
var _props_ocrType;
|
|
150
|
+
_this.ocrType = (_props_ocrType = props === null || props === void 0 ? void 0 : props.ocrType) !== null && _props_ocrType !== void 0 ? _props_ocrType : '';
|
|
151
|
+
var _props_fillList_map;
|
|
152
|
+
_this.fillList = (_props_fillList_map = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
|
|
153
|
+
return new MultistageFillingItem(item);
|
|
154
|
+
})) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
|
|
155
|
+
return _this;
|
|
156
|
+
}
|
|
157
|
+
return TextOcrButtonProperty;
|
|
158
|
+
}(ButtonProperty);
|
|
159
|
+
_define_property(TextOcrButtonProperty, "Rules", TextOcrButtonPropertyRules);
|
|
160
|
+
export default TextOcrButtonProperty;
|
|
161
|
+
export { TextOcrButtonProperty, TextOcrButtonPropertyRules };
|
|
@@ -0,0 +1,112 @@
|
|
|
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
|
+
}
|
|
5
|
+
return self;
|
|
6
|
+
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
11
|
+
function _class_call_check(instance, Constructor) {
|
|
12
|
+
if (!(instance instanceof Constructor)) {
|
|
13
|
+
throw new TypeError("Cannot call a class as a function");
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function _defineProperties(target, props) {
|
|
17
|
+
for(var i = 0; i < props.length; i++){
|
|
18
|
+
var descriptor = props[i];
|
|
19
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
20
|
+
descriptor.configurable = true;
|
|
21
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
22
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
26
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
27
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
|
+
return Constructor;
|
|
29
|
+
}
|
|
30
|
+
function _define_property(obj, key, value) {
|
|
31
|
+
if (key in obj) {
|
|
32
|
+
Object.defineProperty(obj, key, {
|
|
33
|
+
value: value,
|
|
34
|
+
enumerable: true,
|
|
35
|
+
configurable: true,
|
|
36
|
+
writable: true
|
|
37
|
+
});
|
|
38
|
+
} else {
|
|
39
|
+
obj[key] = value;
|
|
40
|
+
}
|
|
41
|
+
return obj;
|
|
42
|
+
}
|
|
43
|
+
function _get_prototype_of(o) {
|
|
44
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
45
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
46
|
+
};
|
|
47
|
+
return _get_prototype_of(o);
|
|
48
|
+
}
|
|
49
|
+
function _inherits(subClass, superClass) {
|
|
50
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
51
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
52
|
+
}
|
|
53
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
54
|
+
constructor: {
|
|
55
|
+
value: subClass,
|
|
56
|
+
writable: true,
|
|
57
|
+
configurable: true
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
|
+
}
|
|
62
|
+
function _possible_constructor_return(self, call) {
|
|
63
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
64
|
+
return call;
|
|
65
|
+
}
|
|
66
|
+
return _assert_this_initialized(self);
|
|
67
|
+
}
|
|
68
|
+
function _set_prototype_of(o, p) {
|
|
69
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
70
|
+
o.__proto__ = p;
|
|
71
|
+
return o;
|
|
72
|
+
};
|
|
73
|
+
return _set_prototype_of(o, p);
|
|
74
|
+
}
|
|
75
|
+
function _type_of(obj) {
|
|
76
|
+
"@swc/helpers - typeof";
|
|
77
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
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
|
+
import TextOcrButtonProperty from './property';
|
|
88
|
+
import { RuntimeButtonControl } from '../Button';
|
|
89
|
+
var TextOcrButtonControl = /*#__PURE__*/ function(RuntimeButtonControl) {
|
|
90
|
+
"use strict";
|
|
91
|
+
_inherits(TextOcrButtonControl, RuntimeButtonControl);
|
|
92
|
+
function TextOcrButtonControl(props) {
|
|
93
|
+
_class_call_check(this, TextOcrButtonControl);
|
|
94
|
+
var _this;
|
|
95
|
+
_this = _call_super(this, TextOcrButtonControl, [
|
|
96
|
+
props
|
|
97
|
+
]), _define_property(_this, "props", void 0);
|
|
98
|
+
_this.props = new TextOcrButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
99
|
+
return _this;
|
|
100
|
+
}
|
|
101
|
+
_create_class(TextOcrButtonControl, null, [
|
|
102
|
+
{
|
|
103
|
+
key: "controlType",
|
|
104
|
+
get: function get() {
|
|
105
|
+
return 'text-ocr-button';
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
]);
|
|
109
|
+
return TextOcrButtonControl;
|
|
110
|
+
}(RuntimeButtonControl);
|
|
111
|
+
export default TextOcrButtonControl;
|
|
112
|
+
export { TextOcrButtonControl as RuntimeTextOcrButtonControl };
|
|
File without changes
|