@zohodesk/library-platform 1.0.1 → 1.0.2-exp.4
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 +2 -2
- package/es/bc/index.js +2 -0
- package/es/bc/list-selection/Properties.js +21 -12
- package/es/bc/sort-by/Properties.js +20 -15
- package/es/bc/sort-by/index.js +2 -0
- package/es/bc/table-column-resizer/Properties.js +1 -1
- package/es/bc/{zdata-broker → zdata-source}/Actions.js +6 -6
- package/es/bc/{zdata-broker → zdata-source}/Constants.js +6 -5
- package/es/bc/zdata-source/EventHandlers.js +2 -0
- package/es/bc/zdata-source/Symbols.js +5 -0
- package/es/bc/zfield/ActionHandlers.js +1 -1
- package/es/bc/zhttp/Properties.js +11 -1
- package/es/bc/zhttp/index.js +2 -0
- package/es/bc/zlist/EventHandlers.js +1 -1
- package/es/bc/zlist/Properties.js +26 -30
- package/es/bc/zrecord/Constants.js +3 -1
- package/es/cc/action-icon/Model.js +6 -2
- package/es/cc/action-icon/Properties.js +49 -0
- package/es/cc/action-location/Properties.js +39 -3
- package/es/cc/component/properties/PropertiesConverter.js +23 -0
- package/es/cc/empty-state/index.js +1 -0
- package/es/cc/fields/field/Properties.js +9 -1
- package/es/cc/fields/field/Types.js +16 -16
- package/es/cc/fields/multi-select/Properties.js +1 -1
- package/es/cc/fields/pick-list/Properties.js +1 -1
- package/es/cc/index.js +1 -0
- package/es/cc/table-connected/Constants.js +4 -0
- package/es/cc/table-connected/Properties.js +18 -57
- package/es/cc/table-list/Properties.js +110 -325
- package/es/cc/table-list/data-types/Header.js +14 -7
- package/es/cc/table-list/data-types/RowCursor.js +8 -0
- package/es/cc/table-list/model/RowModel.js +2 -4
- package/es/cc/table-list/row/Properties.js +15 -10
- package/es/desk-frameworks/table-connected/frameworks/ListSdkFactory.js +88 -1
- package/es/desk-frameworks/table-connected/frameworks/TableConnectedFactory.js +23 -6
- package/es/desk-frameworks/table-connected/frameworks/TableConnectedView.js +17 -13
- package/es/index.js +1 -2
- package/es/library/behaviours/list-selection/adapters/gateways/Repository.js +1 -1
- package/es/library/behaviours/list-selection/adapters/gateways/Service.js +5 -5
- package/es/library/behaviours/list-selection/{entities → domain/entities}/ListItemSelection.js +29 -9
- package/es/library/behaviours/sort-by/adapters/gateway/Repository.js +1 -1
- package/es/library/behaviours/sort-by/adapters/gateway/Service.js +1 -1
- package/es/library/behaviours/sort-by/{entities → domain/entities}/SortBy.js +1 -1
- package/es/library/behaviours/sort-by/frameworks/ui/SortByBehaviourFactory.js +2 -2
- package/es/library/behaviours/text-to-field-click/adapters/gateway/Repository.js +1 -1
- package/es/library/behaviours/text-to-field-click/{entities → domain/entities}/FieldEventConverter.js +1 -1
- package/es/library/behaviours/text-to-field-click/frameworks/ui/EventHandlersFactory.js +1 -1
- package/es/library/custom-component/adapters/gateways/event-manager/EventManager.js +1 -1
- package/es/library/custom-component/adapters/gateways/service/Service.js +6 -6
- package/es/library/custom-component/{usecases → applications}/entities-factory/BehavioursFactory.js +1 -1
- package/es/library/custom-component/{usecases → applications}/entities-factory/ComponentFactory.js +3 -3
- package/es/library/custom-component/{usecases → applications}/entities-factory/EventHandlersFactory.js +1 -1
- package/es/library/custom-component/{usecases → applications}/entities-factory/PropertiesFactory.js +9 -3
- package/es/library/custom-component/{usecases/interactors → applications/usecases}/UnmountUseCase.js +1 -1
- package/es/library/custom-component/{entities → domain/entities}/Component.js +40 -7
- package/es/library/custom-component/{entities → domain/entities}/DefaultAppendToActionPayload.js +2 -2
- package/es/library/custom-component/{entities → domain/entities}/Properties.js +4 -5
- package/es/library/custom-component/frameworks/ui/__testcases__/CreateCustomComponent.spec.js +106 -0
- package/es/library/dot/components/action-location/frameworks/ui/ActionComponentMapping.js +7 -0
- package/es/library/dot/components/action-location/frameworks/ui/ActionLocationView.js +8 -29
- package/es/library/dot/components/actions-renderer/frameworks/ui/ActionsRenderer.js +9 -0
- package/es/library/dot/components/actions-renderer/frameworks/ui/ActionsRendererView.js +37 -0
- package/es/library/dot/components/table-list/frameworks/ui/TableListView.js +16 -6
- package/es/library/dot/components/table-list/frameworks/ui/css/TableList.module.css +10 -0
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/Header.js +8 -6
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/Rows.js +12 -14
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/ActionColumn.js +3 -2
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/HeaderData.js +22 -9
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/Headers.js +0 -4
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/SelectAll.js +4 -4
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/Columns.js +2 -6
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/Row.js +24 -14
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/RowActions.js +10 -4
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/RowData.js +18 -7
- package/es/library/dot/legacy-to-new-arch/action-icon/frameworks/ui/ActionIcon.js +27 -0
- package/es/library/dot/legacy-to-new-arch/action-icon/frameworks/ui/ActionIconView.js +110 -0
- package/es/library/dot/legacy-to-new-arch/action-icon/frameworks/ui/css/ActionIcon.module.css +3 -0
- package/es/library/dot/legacy-to-new-arch/index.js +1 -1
- package/es/library/dot/legacy-to-new-arch/table-field-components/lookup-field/frameworks/ui/LookupFieldView.js +7 -6
- package/es/platform/client-actions/Readme.md +31 -0
- package/es/platform/client-actions/bc/zclient-actions/Constants.js +11 -0
- package/es/platform/client-actions/bc/zclient-actions/EventHandlers.js +1 -0
- package/es/platform/client-actions/behaviour/zclient-actions/Readme.md +31 -0
- package/es/platform/client-actions/behaviour/zclient-actions/adapters/controllers/ClientActionBehaviourExecutorController.js +27 -0
- package/es/platform/client-actions/behaviour/zclient-actions/adapters/controllers/FailureController.js +28 -0
- package/es/platform/client-actions/behaviour/zclient-actions/adapters/controllers/FetchStateStopController.js +21 -0
- package/es/platform/client-actions/behaviour/zclient-actions/adapters/controllers/MountController.js +25 -0
- package/es/platform/client-actions/behaviour/zclient-actions/adapters/controllers/NoContentController.js +23 -0
- package/es/platform/client-actions/behaviour/zclient-actions/adapters/controllers/SetClientActionsController.js +24 -0
- package/es/platform/client-actions/behaviour/zclient-actions/adapters/controllers/SuccessController.js +28 -0
- package/es/platform/client-actions/behaviour/zclient-actions/adapters/gateways/Repository.js +28 -0
- package/es/platform/client-actions/behaviour/zclient-actions/adapters/gateways/Service.js +35 -0
- package/es/platform/client-actions/behaviour/zclient-actions/adapters/presenters/Presenter.js +24 -0
- package/es/platform/client-actions/behaviour/zclient-actions/applications/entities-factory/ClientActionFactory.js +12 -0
- package/es/platform/client-actions/behaviour/zclient-actions/applications/entities-factory/ClientActionManagerFactory.js +10 -0
- package/es/platform/client-actions/behaviour/zclient-actions/applications/usecases/ExecuteActionBehaviourUseCase.js +33 -0
- package/es/platform/client-actions/behaviour/zclient-actions/applications/usecases/FailureUseCase.js +22 -0
- package/es/platform/client-actions/behaviour/zclient-actions/applications/usecases/FetchStateStopUseCase.js +25 -0
- package/es/platform/client-actions/behaviour/zclient-actions/applications/usecases/InitializeUseCase.js +17 -0
- package/es/platform/client-actions/behaviour/zclient-actions/applications/usecases/NoContentUseCase.js +27 -0
- package/es/platform/client-actions/behaviour/zclient-actions/applications/usecases/SetClientActionsUseCase.js +21 -0
- package/es/platform/client-actions/behaviour/zclient-actions/applications/usecases/SuccessUseCase.js +22 -0
- package/es/platform/client-actions/behaviour/zclient-actions/domain/entities/ClientAction.js +65 -0
- package/es/platform/client-actions/behaviour/zclient-actions/domain/entities/ClientActionManager.js +141 -0
- package/es/platform/client-actions/behaviour/zclient-actions/domain/entities/ClientActions.js +50 -0
- package/es/platform/client-actions/behaviour/zclient-actions/domain/entities/EventMapping.js +36 -0
- package/es/platform/client-actions/behaviour/zclient-actions/domain/entities/EventMappings.js +15 -0
- package/es/platform/client-actions/behaviour/zclient-actions/domain/entities/GetClientActionsStrategy.js +44 -0
- package/es/platform/client-actions/behaviour/zclient-actions/domain/entities/UIComponentMapping.js +41 -0
- package/es/platform/client-actions/behaviour/zclient-actions/domain/entities/interfaces/IUIComponentMapping.js +0 -0
- package/es/platform/client-actions/behaviour/zclient-actions/frameworks/ActionsHandlersFactory.js +47 -0
- package/es/platform/client-actions/behaviour/zclient-actions/frameworks/ClientActionsBehaviourFactory.js +12 -0
- package/es/platform/client-actions/cc/action-event-mediator/Properties.js +34 -0
- package/es/platform/client-actions/cc/dynamic-action-component/Properties.js +51 -0
- package/es/platform/client-actions/components/action-event-mediator/adapters/controllers/MountController.js +18 -0
- package/es/platform/client-actions/components/action-event-mediator/adapters/controllers/PropertiesChangeController.js +26 -0
- package/es/platform/client-actions/components/action-event-mediator/adapters/controllers/UnmountController.js +18 -0
- package/es/platform/client-actions/components/action-event-mediator/adapters/gateway/Repository.js +36 -0
- package/es/platform/client-actions/components/action-event-mediator/adapters/presenters/Presenter.js +22 -0
- package/es/platform/client-actions/components/action-event-mediator/applications/interfaces/gateways/IRepository.js +0 -0
- package/es/platform/client-actions/components/action-event-mediator/applications/interfaces/output/IPresenter.js +0 -0
- package/es/platform/client-actions/components/action-event-mediator/applications/usecases/AbstractUseCase.js +15 -0
- package/es/platform/client-actions/components/action-event-mediator/applications/usecases/DestroyUseCase.js +13 -0
- package/es/platform/client-actions/components/action-event-mediator/applications/usecases/InitializeUseCase.js +13 -0
- package/es/platform/client-actions/components/action-event-mediator/applications/usecases/PropertiesChangeUseCase.js +17 -0
- package/es/platform/client-actions/components/action-event-mediator/domain/entities/ActionEventMediatorEntity.js +108 -0
- package/es/platform/client-actions/components/action-event-mediator/frameworks/ui/ActionEventMediator.js +13 -0
- package/es/platform/client-actions/components/action-event-mediator/frameworks/ui/ActionEventMediatorView.js +19 -0
- package/es/platform/client-actions/components/action-event-mediator/frameworks/ui/EventHandlersFactory.js +30 -0
- package/es/platform/client-actions/components/dynamic-component/frameworks/ui/DynamicActionComponent.js +9 -0
- package/es/platform/client-actions/components/dynamic-component/frameworks/ui/DynamicActionComponentView.js +34 -0
- package/es/platform/client-actions/components/interfaces/ActionViewModel.js +7 -0
- package/es/platform/client-actions/components/interfaces/EventMappingViewModel.js +0 -0
- package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActionsRenderer.js +12 -0
- package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActionsRenderer.module.css +17 -0
- package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActionsRendererView.js +30 -0
- package/es/platform/client-actions/template-resolver/index.js +44 -0
- package/es/platform/client-actions/translators/client-actions-translator/index.js +29 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/EvalEmptyString.js +4 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/EvalEndsWith.js +4 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/EvalEquals.js +4 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/EvalGreaterThan.js +4 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/EvalGreaterThanOrEquals.js +4 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/EvalIn.js +4 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/EvalIsEmpty.js +4 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/EvalIsNotEmpty.js +4 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/EvalLessThan.js +4 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/EvalLessThanOrEquals.js +4 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/EvalLike.js +4 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/EvalNotEquals.js +4 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/EvalNotLike.js +4 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/EvalStartsWith.js +4 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/GetResolvedContextFieldValue.js +8 -0
- package/es/platform/client-actions/translators/condition-resolver/field-evaluators/index.js +58 -0
- package/es/platform/client-actions/translators/condition-resolver/index.js +33 -0
- package/es/platform/client-actions/translators/condition-resolver/pattern-evaluator/PatternValidator.js +86 -0
- package/es/platform/client-actions/translators/condition-resolver/pattern-evaluator/index.js +96 -0
- package/es/platform/client-actions/translators/context-resolver/index.js +54 -0
- package/es/platform/{data-broker → data-source}/http-template/deleteRecord.js +1 -1
- package/es/platform/{data-broker → data-source}/http-template/deleteRecords.js +1 -1
- package/es/platform/{data-broker → data-source}/http-template/getAvailableFields.js +5 -5
- package/es/platform/data-source/http-template/getClientActions.js +23 -0
- package/es/platform/{data-broker → data-source}/http-template/getRecords.js +1 -1
- package/es/platform/{data-broker → data-source}/http-template/getSelectedFields.js +5 -5
- package/es/platform/{data-broker → data-source}/http-template/updateRecord.js +1 -1
- package/es/platform/{data-broker → data-source}/index.js +5 -5
- package/es/platform/{data-broker → data-source}/utils/transformer/CreateCf.js +1 -1
- package/es/platform/zdata-source/adapters/controllers/AbstractController.js +8 -0
- package/es/platform/{zdata-broker/adapters/controllers/ActionExecutorController.js → zdata-source/adapters/controllers/DataSourceExecutorController.js} +1 -1
- package/es/platform/{zdata-broker → zdata-source}/adapters/gateways/Repository.js +5 -5
- package/es/platform/{zdata-broker → zdata-source}/adapters/gateways/Service.js +5 -5
- package/es/platform/{zdata-broker → zdata-source}/adapters/gateways/TemplateHelpers.js +21 -0
- package/es/platform/{zdata-broker → zdata-source}/adapters/presenters/Presenter.js +4 -4
- package/es/platform/{zdata-broker/usecases → zdata-source/applications}/entities-factory/APITemplatesFactory.js +2 -2
- package/es/platform/{zdata-broker/usecases/entities-factory/DataBrokerFactory.js → zdata-source/applications/entities-factory/DataSourceFactory.js} +3 -4
- package/es/platform/zdata-source/applications/interfaces/gateways/IService.js +0 -0
- package/es/platform/zdata-source/applications/interfaces/gateways/ITemplateHelpers.js +1 -0
- package/es/platform/{zdata-broker/usecases/interactors → zdata-source/applications/usecases}/ExecuteActionUseCase.js +3 -3
- package/es/platform/{zdata-broker/usecases/interactors → zdata-source/applications/usecases}/FailureUseCase.js +3 -3
- package/es/platform/{zdata-broker/usecases/interactors → zdata-source/applications/usecases}/NoContentUseCase.js +3 -3
- package/es/platform/{zdata-broker/usecases/interactors → zdata-source/applications/usecases}/SuccessUseCase.js +4 -4
- package/es/platform/{zdata-broker/entities/DataBroker.js → zdata-source/domain/entities/DataSource.js} +13 -13
- package/es/platform/zdata-source/domain/entities/interfaces/IDataSource.js +0 -0
- package/es/platform/zdata-source/domain/entities/interfaces/MetaData.js +1 -0
- package/es/platform/{zdata-broker → zdata-source}/frameworks/DataBrokerBehaviourFactory.js +2 -2
- package/es/platform/{zdata-broker → zdata-source}/frameworks/EventHandlersFactory.js +7 -12
- package/es/platform/zfield/adapters/gateways/Repository.js +1 -1
- package/es/platform/zfield/adapters/gateways/Service.js +6 -6
- package/es/platform/zfield/{usecases → applications}/entities-factory/FieldsManagerBuilder.js +1 -1
- package/es/platform/zfield/applications/interfaces/input/FetchInputModel.js +2 -0
- package/es/platform/zfield/{usecases/interactors → applications/usecases}/ExecuteActionUseCase.js +1 -1
- package/es/platform/zfield/{usecases/interactors → applications/usecases}/InitializeUseCase.js +2 -2
- package/es/platform/zfield/{usecases/interactors → applications/usecases}/RefetchUseCase.js +1 -1
- package/es/platform/zfield/{entities → domain/entities}/fields-manager/AvailableFieldsManager.js +2 -2
- package/es/platform/zfield/{entities → domain/entities}/fields-manager/FieldsManager.js +6 -6
- package/es/platform/zfield/{entities → domain/entities}/fields-manager/SelectedFieldsManager.js +2 -2
- package/es/platform/zfield/domain/entities/interfaces/FieldModel.js +1 -0
- package/es/platform/zfield/domain/entities/interfaces/IField.js +1 -0
- package/es/platform/zfield/domain/entities/interfaces/IFieldManger.js +1 -0
- package/es/platform/zfield/{entities → domain/entities}/interfaces/MetaData.js +1 -1
- package/es/platform/zfield/frameworks/ActionHandlerFactory.js +4 -4
- package/es/platform/zhttp/applications/interfaces/InputDependencies.js +1 -0
- package/es/platform/zhttp/applications/interfaces/UseCase.js +1 -0
- package/es/platform/zhttp/applications/interfaces/gateway/IFetchGateWay.js +1 -0
- package/es/platform/zhttp/applications/interfaces/input/FetchInputModel.js +1 -0
- package/es/platform/zhttp/frameworks/ActionsHandlerFactory.js +1 -1
- package/es/platform/zhttp/frameworks/ZHttpBehaviourFactory.js +2 -1
- package/es/platform/zlist/adapters/controllers/DeleteSuccessController.js +25 -0
- package/es/platform/zlist/adapters/controllers/UpdateSuccessController.js +25 -0
- package/es/platform/zlist/adapters/gateways/Repository.js +10 -9
- package/es/platform/zlist/adapters/gateways/Service.js +18 -10
- package/es/platform/zlist/adapters/presenters/TableTranslator.js +54 -12
- package/es/platform/zlist/adapters/presenters/translators/ColumnAlignmentTranslator.js +11 -0
- package/es/platform/zlist/adapters/presenters/translators/ColumnSizeTranslator.js +23 -0
- package/es/platform/zlist/adapters/presenters/translators/ColumnTranslator.js +16 -8
- package/es/platform/zlist/adapters/presenters/translators/Header.js +10 -4
- package/es/platform/zlist/adapters/presenters/translators/HeadersTranslator.js +4 -2
- package/es/platform/zlist/adapters/presenters/translators/Row.js +13 -5
- package/es/platform/zlist/adapters/presenters/translators/RowActionTranslator.js +20 -13
- package/es/platform/zlist/adapters/presenters/translators/RowsTranslator.js +9 -5
- package/es/platform/zlist/adapters/presenters/translators/actions/ActionsTranslator.js +89 -0
- package/es/platform/zlist/adapters/presenters/translators/interfaces/Context.js +1 -0
- package/es/platform/zlist/adapters/presenters/translators/interfaces/FieldComponentMapping.js +1 -0
- package/es/platform/zlist/applications/entities-factory/ListFactory.js +16 -0
- package/es/platform/zlist/applications/interfaces/State.js +1 -0
- package/es/platform/zlist/applications/interfaces/UseCaseDependencies.js +1 -0
- package/es/platform/zlist/applications/interfaces/gateways/IRepository.js +1 -0
- package/es/platform/zlist/applications/interfaces/gateways/IService.js +1 -0
- package/es/platform/zlist/applications/interfaces/gateways/ISortBy.js +1 -0
- package/es/platform/zlist/applications/interfaces/gateways/ITransformState.js +0 -0
- package/es/platform/zlist/applications/interfaces/input/DeleteMultipleRecordUseCaseInput.js +1 -0
- package/es/platform/zlist/applications/interfaces/input/DeleteSingleRecordUseCaseInput.js +1 -0
- package/es/platform/zlist/applications/interfaces/input/FetchMoreInput.js +1 -0
- package/es/platform/zlist/applications/interfaces/input/FieldChangeUseCaseInput.js +1 -0
- package/es/platform/zlist/applications/interfaces/input/InitializeInput.js +1 -0
- package/es/platform/zlist/applications/interfaces/input/PropertiesChangeUseCaseInput.js +1 -0
- package/es/platform/zlist/applications/interfaces/input/RecordExecuteFailedUseCaseInput.js +1 -0
- package/es/platform/zlist/applications/interfaces/input/RecordExecuteSucceededUseCaseInput.js +1 -0
- package/es/platform/zlist/applications/interfaces/input/RecordUpdateUseCaseInput.js +1 -0
- package/es/platform/zlist/applications/interfaces/input/SortingInputModel.js +1 -0
- package/es/platform/zlist/applications/usecases/DeleteSuccessUseCase.js +19 -0
- package/es/platform/zlist/applications/usecases/UpdateSuccessUseCase.js +19 -0
- package/es/platform/zlist/{entities → domain/entities}/List.js +61 -30
- package/es/platform/zlist/domain/entities/interfaces/ActionModel.js +1 -0
- package/es/platform/zlist/domain/entities/interfaces/ApiPropsModel.js +1 -0
- package/es/platform/zlist/domain/entities/interfaces/IList.js +1 -0
- package/es/platform/zlist/domain/entities/interfaces/Properties.js +1 -0
- package/es/platform/zlist/domain/entities/interfaces/RecordExecuteAfterMetaData.js +1 -0
- package/es/platform/zlist/frameworks/EventHandlersFactory.js +17 -23
- package/es/platform/zrecord/adapters/gateways/Repository.js +1 -1
- package/es/platform/zrecord/adapters/gateways/Service.js +13 -13
- package/es/platform/zrecord/{usecases → applications}/entities-factory/RecordFactory.js +1 -1
- package/es/platform/zrecord/{usecases → applications}/entities-factory/RecordsManagerFactory.js +2 -2
- package/es/platform/zrecord/applications/interfaces/InputDependencies.js +1 -0
- package/es/platform/zrecord/applications/interfaces/gateways/IRepository.js +1 -0
- package/es/platform/zrecord/applications/interfaces/gateways/IService.js +0 -0
- package/es/platform/zrecord/applications/interfaces/gateways/State.js +1 -0
- package/es/platform/zrecord/applications/interfaces/input/AppendRecordsInputModel.js +1 -0
- package/es/platform/zrecord/applications/interfaces/input/DeleteMultipleRecordInputModel.js +1 -0
- package/es/platform/zrecord/applications/interfaces/input/ExecuteActionInputModel.js +1 -0
- package/es/platform/zrecord/applications/interfaces/input/FailureInputModel.js +1 -0
- package/es/platform/zrecord/applications/interfaces/input/FetchMoreInputModel.js +1 -0
- package/es/platform/zrecord/applications/interfaces/input/FetchStateStopInputModel.js +1 -0
- package/es/platform/zrecord/applications/interfaces/input/FieldChangeUseCaseInput.js +1 -0
- package/es/platform/zrecord/applications/interfaces/input/InitializeInputModel.js +1 -0
- package/es/platform/zrecord/applications/interfaces/input/NoContentInputModel.js +1 -0
- package/es/platform/zrecord/applications/interfaces/input/RecordUpdateLocalUseCaseInputModel.js +1 -0
- package/es/platform/zrecord/applications/interfaces/input/RefetchInputModel.js +1 -0
- package/es/platform/zrecord/applications/interfaces/input/SetRecordsInputModel.js +1 -0
- package/es/platform/zrecord/applications/interfaces/input/SuccessInputModel.js +1 -0
- package/es/platform/zrecord/applications/interfaces/output/IPresenter.js +1 -0
- package/es/platform/zrecord/applications/usecases/AbstractUseCase.js +17 -0
- package/es/platform/zrecord/{usecases/interactors → applications/usecases}/ExecuteActionUseCase.js +1 -1
- package/es/platform/zrecord/{usecases/interactors → applications/usecases}/FetchMoreUseCase.js +1 -1
- package/es/platform/zrecord/{usecases/interactors → applications/usecases}/InitializeUseCase.js +2 -2
- package/es/platform/zrecord/{usecases/interactors → applications/usecases}/RefetchUseCase.js +1 -1
- package/es/platform/zrecord/{entities → domain/entities}/DeleteMultipleRecordStrategy.js +1 -1
- package/es/platform/zrecord/{entities → domain/entities}/DeleteRecordStrategy.js +1 -1
- package/es/platform/zrecord/{entities → domain/entities}/GetRecordsStrategy.js +1 -1
- package/es/platform/zrecord/{entities → domain/entities}/RecordsManager.js +11 -11
- package/es/platform/zrecord/{entities → domain/entities}/UpdateRecordStrategy.js +1 -1
- package/es/platform/zrecord/domain/entities/interfaces/BehaviourState.js +1 -0
- package/es/platform/zrecord/domain/entities/interfaces/EventModel.js +1 -0
- package/es/platform/zrecord/domain/entities/interfaces/ICustomFieldValues.js +1 -0
- package/es/platform/zrecord/domain/entities/interfaces/IRecord.js +0 -0
- package/es/platform/zrecord/domain/entities/interfaces/IRecordExecuteStrategy.js +0 -0
- package/es/platform/zrecord/domain/entities/interfaces/IRecordName.js +1 -0
- package/es/platform/zrecord/domain/entities/interfaces/IRecords.js +0 -0
- package/es/platform/zrecord/domain/entities/interfaces/IRecordsManager.js +0 -0
- package/es/platform/zrecord/domain/entities/interfaces/RecordModel.js +1 -0
- package/es/platform/zrecord/domain/entities/interfaces/RecordsModel.js +1 -0
- package/es/platform/zrecord/domain/entities/interfaces/StrategyMeta.js +1 -0
- package/package.json +31 -23
- package/es/bc/zdata-broker/EventHandlers.js +0 -2
- package/es/bc/zdata-broker/Symbols.js +0 -5
- package/es/cc/table-list/behaviour-properties/ResizerConfig.js +0 -18
- package/es/cc/table-list/behaviour-properties/SelectionConfig.js +0 -17
- package/es/cc/table-list/behaviour-properties/SortByConfig.js +0 -14
- package/es/cc/table-list/behaviour-properties/index.js +0 -3
- package/es/library/custom-component/entities/__tests__/Action.spec.js +0 -19
- package/es/library/custom-component/entities/__tests__/ActionHandlers.spec.js +0 -15
- package/es/library/custom-component/entities/__tests__/Behaviour.spec.js +0 -52
- package/es/library/custom-component/entities/__tests__/Component.spec.js +0 -109
- package/es/library/dot/legacy-to-new-arch/action-icon/ActionIcon.js +0 -11
- package/es/library/dot/legacy-to-new-arch/action-icon/ActionIconView.js +0 -30
- package/es/platform/data-broker/http-template/getUIActions.js +0 -22
- package/es/platform/zdata-broker/entities/interfaces/MetaData.js +0 -1
- package/es/platform/zdata-broker/usecases/interfaces/gateways/ITemplateHelpers.js +0 -1
- package/es/platform/zfield/usecases/interfaces/gateways/ITemplateHelpers.js +0 -1
- package/es/platform/zfield/usecases/interfaces/input/FetchInputModel.js +0 -2
- package/es/platform/zlist/usecases/entities-factory/ListFactory.js +0 -15
- /package/es/bc/{zdata-broker → zdata-source}/Properties.js +0 -0
- /package/es/{library/behaviours/list-selection/entities/interfaces/IListItemSelection.js → cc/action-location/Action.js} +0 -0
- /package/es/{library/behaviours/list-selection/entities/interfaces/ListSelectionModel.js → cc/action-location/ActionLocation.js} +0 -0
- /package/es/{library/behaviours/list-selection/usecases/interfaces/UseCase.js → cc/table-list/data-types/RowAction.js} +0 -0
- /package/es/{library/behaviours/list-selection/usecases/interfaces/UseCaseDependencies.js → cc/table-list/data-types/RowActionsConfig.js} +0 -0
- /package/es/library/{custom-component/usecases → behaviours/list-selection/applications}/interfaces/UseCase.js +0 -0
- /package/es/library/behaviours/{sort-by/usecases → list-selection/applications}/interfaces/UseCaseDependencies.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/gateways/IRepository.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/gateways/IService.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/input/AllSelectionInputModel.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/input/DestructInputModel.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/input/InitializeInputModel.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/input/RangeSelectionInputModel.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/input/SelectionInputModel.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/output/BehaviourStateModel.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/output/IPresenter.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases/interactors → applications/usecases}/AbstractUseCase.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases/interactors → applications/usecases}/AllItemSelection.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases/interactors → applications/usecases}/Destruct.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases/interactors → applications/usecases}/Initialize.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases/interactors → applications/usecases}/ItemsSelection.js +0 -0
- /package/es/library/behaviours/list-selection/{usecases/interactors → applications/usecases}/RangeSelection.js +0 -0
- /package/es/library/behaviours/{sort-by/entities/interfaces/ISortBy.js → list-selection/domain/entities/interfaces/IListItemSelection.js} +0 -0
- /package/es/library/behaviours/{sort-by/usecases/interfaces/gateways/IRepository.js → list-selection/domain/entities/interfaces/ListSelectionModel.js} +0 -0
- /package/es/library/behaviours/{text-to-field-click/usecases → sort-by/applications}/interfaces/UseCaseDependencies.js +0 -0
- /package/es/library/behaviours/{text-to-field-click/usecases → sort-by/applications}/interfaces/gateways/IRepository.js +0 -0
- /package/es/library/behaviours/sort-by/{usecases → applications}/interfaces/gateways/IService.js +0 -0
- /package/es/library/behaviours/sort-by/{usecases → applications}/interfaces/input/SortByInputModel.js +0 -0
- /package/es/library/behaviours/sort-by/{usecases → applications}/interfaces/output/IPresenter.js +0 -0
- /package/es/library/behaviours/sort-by/{usecases → applications}/interfaces/output/SortByOutputModel.js +0 -0
- /package/es/library/behaviours/sort-by/{usecases/interactors → applications/usecases}/AbstractUseCase.js +0 -0
- /package/es/library/behaviours/sort-by/{usecases/interactors → applications/usecases}/SortBy.js +0 -0
- /package/es/{platform/zlist/usecases/interfaces/gateways → library/behaviours/sort-by/domain/entities/interfaces}/ISortBy.js +0 -0
- /package/es/{platform/zlist/usecases → library/behaviours/text-to-field-click/applications}/interfaces/UseCaseDependencies.js +0 -0
- /package/es/library/{custom-component/usecases → behaviours/text-to-field-click/applications}/interfaces/gateways/IRepository.js +0 -0
- /package/es/library/behaviours/text-to-field-click/{usecases → applications}/interfaces/input/ClickUseCaseInputModel.js +0 -0
- /package/es/library/behaviours/text-to-field-click/{usecases/interactors → applications/usecases}/AbstractUseCase.js +0 -0
- /package/es/library/behaviours/text-to-field-click/{usecases/interactors → applications/usecases}/ClickUseCase.js +0 -0
- /package/es/library/behaviours/text-to-field-click/{entities → domain/entities}/interfaces/IFieldEventConverter.js +0 -0
- /package/es/library/custom-component/{usecases → applications}/interfaces/InputDependencies.js +0 -0
- /package/es/library/custom-component/{usecases → applications}/interfaces/OutputDependencies.js +0 -0
- /package/es/{platform/zhttp/usecases → library/custom-component/applications}/interfaces/UseCase.js +0 -0
- /package/es/library/custom-component/{usecases → applications}/interfaces/gateways/IEventManager.js +0 -0
- /package/es/library/custom-component/{usecases → applications}/interfaces/gateways/IJSONValidator.js +0 -0
- /package/es/{platform/zdata-broker/usecases → library/custom-component/applications}/interfaces/gateways/IRepository.js +0 -0
- /package/es/library/custom-component/{usecases → applications}/interfaces/gateways/IService.js +0 -0
- /package/es/library/custom-component/{usecases → applications}/interfaces/input/DispatchInputModel.js +0 -0
- /package/es/library/custom-component/{usecases → applications}/interfaces/input/InitailizeInputModel.js +0 -0
- /package/es/library/custom-component/{usecases → applications}/interfaces/input/UpdatePropertiesInputModel.js +0 -0
- /package/es/library/custom-component/{usecases → applications}/interfaces/input/UpdateStateInputModel.js +0 -0
- /package/es/library/custom-component/{usecases → applications}/interfaces/output/OutputBoundary.js +0 -0
- /package/es/library/custom-component/{usecases/interactors → applications/usecases}/AbstractUseCase.js +0 -0
- /package/es/library/custom-component/{usecases/interactors → applications/usecases}/DispatchUseCase.js +0 -0
- /package/es/library/custom-component/{usecases/interactors → applications/usecases}/InitializeUseCase.js +0 -0
- /package/es/library/custom-component/{usecases/interactors → applications/usecases}/MountUseCase.js +0 -0
- /package/es/library/custom-component/{usecases/interactors → applications/usecases}/UpdatePropertyUseCase.js +0 -0
- /package/es/library/custom-component/{usecases/interactors → applications/usecases}/UpdateStateUseCase.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/Behaviour.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/EventHandler.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/EventHandlers.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/Events.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/LifeCycleAction.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/Payload.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/Property.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/Schema.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/State.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/Style.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/IBehaviour.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/IComponent.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/IEvent.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/IEventHandler.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/IEventHandlerHelpers.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/IEventHandlers.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/IEventWrapper.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/ILifeCycleAction.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/IPayload.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/IProperties.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/IProperty.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/ISchema.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/IState.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/IStyle.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/IUpdateHelper.js +0 -0
- /package/es/library/custom-component/{entities → domain/entities}/interfaces/IValidator.js +0 -0
- /package/es/platform/{zdata-broker → client-actions/behaviour/zclient-actions}/adapters/controllers/AbstractController.js +0 -0
- /package/es/platform/{data-broker/dbc/index.js → client-actions/behaviour/zclient-actions/applications/interfaces/ClientActionModel.js} +0 -0
- /package/es/platform/{zdata-broker/entities/interfaces/APIDetailsModel.js → client-actions/behaviour/zclient-actions/applications/interfaces/ComponentPropertiesModel.js} +0 -0
- /package/es/platform/{zdata-broker/entities/interfaces/APITemplateModel.js → client-actions/behaviour/zclient-actions/applications/interfaces/ConditionFieldModel.js} +0 -0
- /package/es/platform/{zdata-broker/entities/interfaces/APITemplatesModel.js → client-actions/behaviour/zclient-actions/applications/interfaces/ConditionModel.js} +0 -0
- /package/es/platform/{zdata-broker/entities/interfaces/BehaviourState.js → client-actions/behaviour/zclient-actions/applications/interfaces/EventMappingModel.js} +0 -0
- /package/es/platform/{zdata-broker/entities/interfaces/EventModel.js → client-actions/behaviour/zclient-actions/applications/interfaces/IError.js} +0 -0
- /package/es/platform/{zdata-broker/usecases → client-actions/behaviour/zclient-actions/applications}/interfaces/InputDependencies.js +0 -0
- /package/es/platform/{zdata-broker/entities/interfaces/IAPITemplate.js → client-actions/behaviour/zclient-actions/applications/interfaces/PayloadValueMappingModel.js} +0 -0
- /package/es/platform/{zdata-broker/entities/interfaces/IAPITemplates.js → client-actions/behaviour/zclient-actions/applications/interfaces/PropsMeta.js} +0 -0
- /package/es/platform/{zrecord/entities → client-actions/behaviour/zclient-actions/applications}/interfaces/StrategyMeta.js +0 -0
- /package/es/platform/{zdata-broker/entities/interfaces/ITemplateHelpers.js → client-actions/behaviour/zclient-actions/applications/interfaces/UIComponentMappingModel.js} +0 -0
- /package/es/platform/{zdata-broker/usecases/interfaces/gateways/State.js → client-actions/behaviour/zclient-actions/applications/interfaces/UserDetailsModel.js} +0 -0
- /package/es/platform/{zfield/usecases → client-actions/behaviour/zclient-actions/applications}/interfaces/gateways/IRepository.js +0 -0
- /package/es/platform/{zdata-broker/usecases → client-actions/behaviour/zclient-actions/applications}/interfaces/gateways/IService.js +0 -0
- /package/es/platform/{zlist/usecases/interfaces → client-actions/behaviour/zclient-actions/applications/interfaces/gateways}/State.js +0 -0
- /package/es/platform/{zdata-broker/usecases/interfaces/input/ExecuteActionInputModel.js → client-actions/behaviour/zclient-actions/applications/interfaces/input/ExecuteActionBehaviourInputModel.js} +0 -0
- /package/es/platform/{zdata-broker/usecases → client-actions/behaviour/zclient-actions/applications}/interfaces/input/FailureInputModel.js +0 -0
- /package/es/platform/{zrecord/usecases → client-actions/behaviour/zclient-actions/applications}/interfaces/input/FetchStateStopInputModel.js +0 -0
- /package/es/platform/{zrecord/usecases → client-actions/behaviour/zclient-actions/applications}/interfaces/input/InitializeInputModel.js +0 -0
- /package/es/platform/{zdata-broker/usecases → client-actions/behaviour/zclient-actions/applications}/interfaces/input/NoContentInputModel.js +0 -0
- /package/es/platform/{zdata-broker/usecases/interfaces/input/RegisterInputModel.js → client-actions/behaviour/zclient-actions/applications/interfaces/input/SetClientActionsInputModel.js} +0 -0
- /package/es/platform/{zdata-broker/usecases → client-actions/behaviour/zclient-actions/applications}/interfaces/input/SuccessInputModel.js +0 -0
- /package/es/platform/{zdata-broker/usecases → client-actions/behaviour/zclient-actions/applications}/interfaces/output/IPresenter.js +0 -0
- /package/es/platform/{zdata-broker/usecases/interactors → client-actions/behaviour/zclient-actions/applications/usecases}/AbstractUseCase.js +0 -0
- /package/es/platform/{zfield → client-actions/behaviour/zclient-actions/domain}/entities/interfaces/BehaviourState.js +0 -0
- /package/es/platform/{zfield/entities/interfaces/ActionModel.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/ClientActionModel.js} +0 -0
- /package/es/platform/{zfield/entities/interfaces/FieldModel.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/ClientActionsModel.js} +0 -0
- /package/es/platform/{zfield/entities/interfaces/IField.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/ComponentPropertiesModel.js} +0 -0
- /package/es/platform/{zfield/entities/interfaces/IFieldManger.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/ConditionFieldModel.js} +0 -0
- /package/es/platform/{zfield/usecases/interfaces/UsecaseDependencies.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/ConditionModel.js} +0 -0
- /package/es/platform/{zfield/usecases/interfaces/gateways/IRestApi.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/EventMappingModel.js} +0 -0
- /package/es/platform/{zrecord → client-actions/behaviour/zclient-actions/domain}/entities/interfaces/EventModel.js +0 -0
- /package/es/platform/{zfield/usecases/interfaces/gateways/IService.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/IAction.js} +0 -0
- /package/es/platform/{zdata-broker/entities/interfaces/IDataBroker.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/IClientAction.js} +0 -0
- /package/es/platform/{zlist/usecases/interfaces/gateways/ITransformState.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/IClientActionExecuteStrategy.js} +0 -0
- /package/es/platform/{zrecord/entities/interfaces/IRecord.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/IClientActionManager.js} +0 -0
- /package/es/platform/{zrecord/entities/interfaces/IRecordExecuteStrategy.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/IClientActions.js} +0 -0
- /package/es/platform/{zfield/usecases/interfaces/input/ExecuteActionInputModel.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/IError.js} +0 -0
- /package/es/platform/{zfield/usecases/interfaces/input/InitialInputModel.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/IEvent.js} +0 -0
- /package/es/platform/{zrecord/entities/interfaces/IRecords.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/IEventMapping.js} +0 -0
- /package/es/platform/{zrecord/entities/interfaces/IRecordsManager.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/IEventMappings.js} +0 -0
- /package/es/platform/{zrecord/usecases/interfaces/gateways/IService.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/IPayload.js} +0 -0
- /package/es/platform/{zfield/usecases/interfaces/input/InputModel.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/PayloadValueMappingModel.js} +0 -0
- /package/es/platform/{zfield/usecases/interfaces/input/RefetchInputModel.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/PropsMeta.js} +0 -0
- /package/es/platform/{zrecord/usecases/interfaces/gateways → client-actions/behaviour/zclient-actions/domain/entities/interfaces}/State.js +0 -0
- /package/es/platform/{zfield/usecases/interfaces/input/SetValueInputModel.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/StrategyMeta.js} +0 -0
- /package/es/platform/{zfield/usecases/interfaces/output/IPresenter.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/SubMeta.js} +0 -0
- /package/es/platform/{zhttp/usecases/interfaces/InputDependencies.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/UIComponentMappingModel.js} +0 -0
- /package/es/platform/{zhttp/usecases/interfaces/gateway/IFetchGateWay.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/UserDetailsModel.js} +0 -0
- /package/es/platform/{zhttp/usecases/interfaces/input/FetchInputModel.js → client-actions/components/action-event-mediator/applications/interfaces/UseCaseDependencies.js} +0 -0
- /package/es/platform/{zlist/adapters/presenters/translators/interfaces/FieldUiMapping.js → client-actions/components/action-event-mediator/applications/interfaces/input/PropertiesChangeUseCaseInputModel.js} +0 -0
- /package/es/platform/{zlist/adapters/presenters/translators/interfaces/PageContext.js → client-actions/components/action-event-mediator/domain/entities/interfaces/IActionLocation.js} +0 -0
- /package/es/platform/{zlist/entities/interfaces/ActionModel.js → client-actions/components/action-event-mediator/domain/entities/interfaces/IState.js} +0 -0
- /package/es/platform/{zlist/entities/interfaces/ApiPropsModel.js → client-actions/components/dynamic-component/domain/entities/interfaces/IState.js} +0 -0
- /package/es/platform/{zlist/entities/interfaces/IList.js → client-actions/components/row-actions-renderer/domain/entities/interfaces/IState.js} +0 -0
- /package/es/platform/{zlist/entities/interfaces/Properties.js → client-actions/template-resolver/interfaces/ITemplate.js} +0 -0
- /package/es/platform/{zlist/entities/interfaces/RecordExecuteAfterMetaData.js → client-actions/translators/interfaces/IContext.js} +0 -0
- /package/es/platform/{zlist/usecases/interfaces/gateways/IRepository.js → client-actions/translators/interfaces/IState.js} +0 -0
- /package/es/platform/{zlist/usecases/interfaces/gateways/IService.js → data-source/dbc/index.js} +0 -0
- /package/es/platform/{data-broker → data-source}/utils/transformer/Transformer.js +0 -0
- /package/es/platform/{zdata-broker → zdata-source}/adapters/controllers/FailureController.js +0 -0
- /package/es/platform/{zdata-broker → zdata-source}/adapters/controllers/NoContentController.js +0 -0
- /package/es/platform/{zdata-broker → zdata-source}/adapters/controllers/RegisterController.js +0 -0
- /package/es/platform/{zdata-broker → zdata-source}/adapters/controllers/SuccessController.js +0 -0
- /package/es/platform/{zrecord/usecases → zdata-source/applications}/interfaces/InputDependencies.js +0 -0
- /package/es/platform/{zrecord/usecases → zdata-source/applications}/interfaces/gateways/IRepository.js +0 -0
- /package/es/platform/{zlist/usecases/interfaces/input/DeleteMultipleRecordUseCaseInput.js → zdata-source/applications/interfaces/gateways/State.js} +0 -0
- /package/es/platform/{zrecord/usecases → zdata-source/applications}/interfaces/input/ExecuteActionInputModel.js +0 -0
- /package/es/platform/{zrecord/usecases → zdata-source/applications}/interfaces/input/FailureInputModel.js +0 -0
- /package/es/platform/{zrecord/usecases → zdata-source/applications}/interfaces/input/NoContentInputModel.js +0 -0
- /package/es/platform/{zlist/usecases/interfaces/input/DeleteSingleRecordUseCaseInput.js → zdata-source/applications/interfaces/input/RegisterInputModel.js} +0 -0
- /package/es/platform/{zrecord/usecases → zdata-source/applications}/interfaces/input/SuccessInputModel.js +0 -0
- /package/es/platform/{zrecord/usecases → zdata-source/applications}/interfaces/output/IPresenter.js +0 -0
- /package/es/platform/{zrecord/usecases/interactors → zdata-source/applications/usecases}/AbstractUseCase.js +0 -0
- /package/es/platform/{zdata-broker/usecases/interactors → zdata-source/applications/usecases}/RegisterUseCase.js +0 -0
- /package/es/platform/{zdata-broker → zdata-source/domain}/entities/APITemplate.js +0 -0
- /package/es/platform/{zdata-broker → zdata-source/domain}/entities/APITemplates.js +0 -0
- /package/es/platform/{zlist/usecases/interfaces/input/FetchMoreInput.js → zdata-source/domain/entities/interfaces/APIDetailsModel.js} +0 -0
- /package/es/platform/{zlist/usecases/interfaces/input/FieldChangeUseCaseInput.js → zdata-source/domain/entities/interfaces/APITemplateModel.js} +0 -0
- /package/es/platform/{zlist/usecases/interfaces/input/InitializeInput.js → zdata-source/domain/entities/interfaces/APITemplatesModel.js} +0 -0
- /package/es/platform/{zdata-broker → zdata-source/domain}/entities/interfaces/ApiEnum.js +0 -0
- /package/es/platform/{zrecord → zdata-source/domain}/entities/interfaces/BehaviourState.js +0 -0
- /package/es/platform/{zlist/usecases/interfaces/input/PropertiesChangeUseCaseInput.js → zdata-source/domain/entities/interfaces/EventModel.js} +0 -0
- /package/es/platform/{zlist/usecases/interfaces/input/RecordExecuteFailedUseCaseInput.js → zdata-source/domain/entities/interfaces/IAPITemplate.js} +0 -0
- /package/es/platform/{zlist/usecases/interfaces/input/RecordExecuteSucceededUseCaseInput.js → zdata-source/domain/entities/interfaces/IAPITemplates.js} +0 -0
- /package/es/platform/{zlist/usecases/interfaces/input/RecordUpdateUseCaseInput.js → zdata-source/domain/entities/interfaces/ITemplateHelpers.js} +0 -0
- /package/es/platform/zfield/{usecases → applications}/entities-factory/FieldBuilder.js +0 -0
- /package/es/platform/zfield/{usecases → applications}/entities-factory/FieldFactory.js +0 -0
- /package/es/platform/{zlist/usecases/interfaces/input/SortingInputModel.js → zfield/applications/interfaces/UsecaseDependencies.js} +0 -0
- /package/es/platform/{zrecord/entities/interfaces/ICustomFieldValues.js → zfield/applications/interfaces/gateways/IRepository.js} +0 -0
- /package/es/platform/{zrecord/entities/interfaces/IRecordName.js → zfield/applications/interfaces/gateways/IRestApi.js} +0 -0
- /package/es/platform/{zrecord/entities/interfaces/RecordModel.js → zfield/applications/interfaces/gateways/IService.js} +0 -0
- /package/es/platform/{zrecord/entities/interfaces/RecordsModel.js → zfield/applications/interfaces/input/ExecuteActionInputModel.js} +0 -0
- /package/es/platform/{zrecord/usecases/interfaces/input/AppendRecordsInputModel.js → zfield/applications/interfaces/input/InitialInputModel.js} +0 -0
- /package/es/platform/{zrecord/usecases/interfaces/input/DeleteMultipleRecordInputModel.js → zfield/applications/interfaces/input/InputModel.js} +0 -0
- /package/es/platform/{zrecord/usecases → zfield/applications}/interfaces/input/RefetchInputModel.js +0 -0
- /package/es/platform/{zrecord/usecases/interfaces/input/FetchMoreInputModel.js → zfield/applications/interfaces/input/SetValueInputModel.js} +0 -0
- /package/es/platform/{zrecord/usecases/interfaces/input/FieldChangeUseCaseInput.js → zfield/applications/interfaces/output/IPresenter.js} +0 -0
- /package/es/platform/zfield/{usecases/interactors → applications/usecases}/AbstractUseCase.js +0 -0
- /package/es/platform/zfield/{usecases/interactors → applications/usecases}/FetchFailureUseCase.js +0 -0
- /package/es/platform/zfield/{usecases/interactors → applications/usecases}/FetchNoContentUseCase.js +0 -0
- /package/es/platform/zfield/{usecases/interactors → applications/usecases}/FetchSuccessUseCase.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/BooleanField.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/CurrencyField.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/DateField.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/DateTimeField.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/EmailField.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/Field.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/LookupField.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/MultiLineField.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/MultiSelectField.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/PercentageField.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/PhoneField.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/PickListField.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/SingleLineField.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/URLField.js +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/index.js +0 -0
- /package/es/platform/{zrecord/usecases/interfaces/input/RecordUpdateLocalUseCaseInputModel.js → zfield/domain/entities/interfaces/ActionModel.js} +0 -0
- /package/es/platform/{zrecord/usecases/interfaces/input/SetRecordsInputModel.js → zfield/domain/entities/interfaces/BehaviourState.js} +0 -0
- /package/es/platform/zfield/{entities → domain/entities}/interfaces/FieldApiName.js +0 -0
- /package/es/platform/zhttp/{usecases/interactors → applications/usecases}/AbstractUseCase.js +0 -0
- /package/es/platform/zhttp/{usecases/interactors → applications/usecases}/FetchUseCase.js +0 -0
- /package/es/platform/zlist/{usecases/interactors → applications/usecases}/AbstractUseCase.js +0 -0
- /package/es/platform/zlist/{usecases/interactors → applications/usecases}/DeleteMultipleRecordUseCase.js +0 -0
- /package/es/platform/zlist/{usecases/interactors → applications/usecases}/DeleteSingleRecordUseCase.js +0 -0
- /package/es/platform/zlist/{usecases/interactors → applications/usecases}/FetchMoreUseCase.js +0 -0
- /package/es/platform/zlist/{usecases/interactors → applications/usecases}/FieldChangeUseCase.js +0 -0
- /package/es/platform/zlist/{usecases/interactors → applications/usecases}/InitializeUseCase.js +0 -0
- /package/es/platform/zlist/{usecases/interactors → applications/usecases}/PropertiesChangeUseCase.js +0 -0
- /package/es/platform/zlist/{usecases/interactors → applications/usecases}/RecordExecuteFailedUseCase.js +0 -0
- /package/es/platform/zlist/{usecases/interactors → applications/usecases}/RecordExecuteSucceededUseCase.js +0 -0
- /package/es/platform/zlist/{usecases/interactors → applications/usecases}/RecordUpdateUseCase.js +0 -0
- /package/es/platform/zlist/{usecases/interactors → applications/usecases}/SortUseCase.js +0 -0
- /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/AppendRecordsUseCase.js +0 -0
- /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/DeleteMultipleRecordUseCase.js +0 -0
- /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/FailureUseCase.js +0 -0
- /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/FetchStateStopUseCase.js +0 -0
- /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/FieldChangeUseCase.js +0 -0
- /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/NoContentUseCase.js +0 -0
- /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/RecordUpdateLocalUseCase.js +0 -0
- /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/SetRecordsUseCase.js +0 -0
- /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/SuccessUseCase.js +0 -0
- /package/es/platform/zrecord/{entities → domain/entities}/CustomFieldValues.js +0 -0
- /package/es/platform/zrecord/{entities → domain/entities}/Record.js +0 -0
- /package/es/platform/zrecord/{entities → domain/entities}/Records.js +0 -0
- /package/es/platform/zrecord/{entities → domain/entities}/interfaces/ApiEnum.js +0 -0
|
@@ -1,9 +1,25 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Alignment, SortedBy, Width } from "./data-types/Header";
|
|
2
|
+
import RowCursor from "./data-types/RowCursor";
|
|
2
3
|
import ResizerConfigSchema from "../../bc/table-column-resizer/Properties";
|
|
3
|
-
import
|
|
4
|
+
import { actionsSchema } from "../../platform/client-actions/cc/action-event-mediator/Properties";
|
|
5
|
+
import PropertiesConverter from "../component/properties/PropertiesConverter";
|
|
6
|
+
import BooleanProperties from "../fields/boolean/Properties";
|
|
7
|
+
import CurrencyProperties from "../fields/currency/Properties";
|
|
8
|
+
import DateProperties from "../fields/date/Properties";
|
|
9
|
+
import DatetimeProperties from "../fields/datetime/Properties";
|
|
10
|
+
import DecimalProperties from "../fields/decimal/Properties";
|
|
11
|
+
import EmailProperties from "../fields/email/Properties";
|
|
12
|
+
import LookupProperties from "../fields/lookup/Properties";
|
|
13
|
+
import MultiSelectProperties from "../fields/multi-select/Properties";
|
|
14
|
+
import NumberProperties from "../fields/number/Properties";
|
|
15
|
+
import PercentProperties from "../fields/percent/Properties";
|
|
16
|
+
import PhoneProperties from "../fields/phone/Properties";
|
|
17
|
+
import PickListProperties from "../fields/pick-list/Properties";
|
|
18
|
+
import TextProperties from "../fields/text/Properties";
|
|
19
|
+
import UrlProperties from "../fields/url/Properties";
|
|
4
20
|
const TableListProperties = {
|
|
5
21
|
isLoading: {
|
|
6
|
-
required:
|
|
22
|
+
required: false,
|
|
7
23
|
typeMetadata: {
|
|
8
24
|
schema: {
|
|
9
25
|
type: 'boolean'
|
|
@@ -20,12 +36,24 @@ const TableListProperties = {
|
|
|
20
36
|
},
|
|
21
37
|
defaultValue: ''
|
|
22
38
|
},
|
|
23
|
-
|
|
39
|
+
rowActionsConfig: {
|
|
24
40
|
required: false,
|
|
25
|
-
defaultValue:
|
|
41
|
+
defaultValue: {
|
|
42
|
+
hasActions: false,
|
|
43
|
+
columnWidth: Width.XSmall
|
|
44
|
+
},
|
|
26
45
|
typeMetadata: {
|
|
27
46
|
schema: {
|
|
28
|
-
type: '
|
|
47
|
+
type: 'object',
|
|
48
|
+
properties: {
|
|
49
|
+
hasActions: {
|
|
50
|
+
type: 'boolean'
|
|
51
|
+
},
|
|
52
|
+
columnWidth: {
|
|
53
|
+
type: 'number',
|
|
54
|
+
enum: Object.values(Width)
|
|
55
|
+
}
|
|
56
|
+
}
|
|
29
57
|
}
|
|
30
58
|
}
|
|
31
59
|
},
|
|
@@ -38,30 +66,30 @@ const TableListProperties = {
|
|
|
38
66
|
}
|
|
39
67
|
}
|
|
40
68
|
},
|
|
41
|
-
|
|
69
|
+
rowCursor: {
|
|
42
70
|
required: false,
|
|
43
|
-
defaultValue:
|
|
44
|
-
isEnabled: false,
|
|
45
|
-
minWidth: 120,
|
|
46
|
-
maxWidth: 1000
|
|
47
|
-
},
|
|
71
|
+
defaultValue: 'pointer',
|
|
48
72
|
typeMetadata: {
|
|
49
|
-
schema:
|
|
73
|
+
schema: {
|
|
74
|
+
type: 'string',
|
|
75
|
+
enum: Object.values(RowCursor)
|
|
76
|
+
}
|
|
50
77
|
}
|
|
51
78
|
},
|
|
52
|
-
|
|
79
|
+
resizerConfig: {
|
|
53
80
|
required: false,
|
|
54
81
|
defaultValue: {
|
|
55
82
|
isEnabled: false,
|
|
56
|
-
|
|
57
|
-
|
|
83
|
+
minWidth: 100,
|
|
84
|
+
maxWidth: 1000
|
|
58
85
|
},
|
|
59
86
|
typeMetadata: {
|
|
60
|
-
schema:
|
|
87
|
+
schema: ResizerConfigSchema
|
|
61
88
|
}
|
|
62
89
|
},
|
|
63
90
|
data: {
|
|
64
|
-
|
|
91
|
+
name: 'data',
|
|
92
|
+
required: false,
|
|
65
93
|
defaultValue: {
|
|
66
94
|
headers: [],
|
|
67
95
|
rows: []
|
|
@@ -70,350 +98,107 @@ const TableListProperties = {
|
|
|
70
98
|
schema: {
|
|
71
99
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
72
100
|
definitions: {
|
|
73
|
-
Schema: {
|
|
74
|
-
type: 'object',
|
|
75
|
-
properties: {
|
|
76
|
-
type: {}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
PayloadProperties: {
|
|
80
|
-
type: 'object',
|
|
81
|
-
properties: {
|
|
82
|
-
name: {
|
|
83
|
-
type: 'string'
|
|
84
|
-
},
|
|
85
|
-
label: {
|
|
86
|
-
type: 'string'
|
|
87
|
-
},
|
|
88
|
-
typeMetadata: {
|
|
89
|
-
type: 'object',
|
|
90
|
-
properties: {
|
|
91
|
-
schema: {
|
|
92
|
-
$ref: '#/definitions/Schema'
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
required: ['name', 'typeMetadata']
|
|
98
|
-
},
|
|
99
|
-
Payload: {
|
|
100
|
-
type: 'object',
|
|
101
|
-
additionalProperties: {
|
|
102
|
-
$ref: '#/definitions/PayloadProperties'
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
DeclarativeAction: {
|
|
106
|
-
type: 'object',
|
|
107
|
-
properties: {
|
|
108
|
-
name: {
|
|
109
|
-
type: 'string'
|
|
110
|
-
},
|
|
111
|
-
label: {
|
|
112
|
-
type: 'string'
|
|
113
|
-
},
|
|
114
|
-
buttonType: {
|
|
115
|
-
defaultValue: 'primary',
|
|
116
|
-
type: 'string',
|
|
117
|
-
enum: ['primary', 'danger']
|
|
118
|
-
},
|
|
119
|
-
icon: {
|
|
120
|
-
type: 'string'
|
|
121
|
-
},
|
|
122
|
-
actionName: {
|
|
123
|
-
type: 'string'
|
|
124
|
-
},
|
|
125
|
-
actionPayload: {
|
|
126
|
-
$ref: '#/definitions/Payload'
|
|
127
|
-
},
|
|
128
|
-
metaData: {},
|
|
129
|
-
description: {
|
|
130
|
-
type: 'string'
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
required: ['name', 'label', 'buttonType', 'icon']
|
|
134
|
-
},
|
|
135
101
|
HeaderMeta: {
|
|
136
102
|
type: 'object',
|
|
137
103
|
properties: {
|
|
138
104
|
id: {
|
|
139
105
|
type: 'string'
|
|
140
106
|
},
|
|
141
|
-
|
|
107
|
+
name: {
|
|
142
108
|
type: 'string'
|
|
143
109
|
},
|
|
144
|
-
sortable: {
|
|
145
|
-
defaultValue: false,
|
|
146
|
-
type: 'boolean'
|
|
147
|
-
},
|
|
148
|
-
size: {
|
|
149
|
-
defaultValue: 'medium',
|
|
150
|
-
type: 'string',
|
|
151
|
-
enum: ['xsmall', 'small', 'medium', 'large', 'xlarge']
|
|
152
|
-
},
|
|
153
|
-
alignment: {
|
|
154
|
-
defaultValue: 'left',
|
|
155
|
-
type: 'string',
|
|
156
|
-
enum: ['left', 'center', 'right']
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
required: ['id', 'text', 'sortable', 'size', 'alignment']
|
|
160
|
-
},
|
|
161
|
-
Text: {
|
|
162
|
-
type: 'object',
|
|
163
|
-
properties: {
|
|
164
|
-
type: {
|
|
165
|
-
type: 'string',
|
|
166
|
-
const: 'Text'
|
|
167
|
-
},
|
|
168
110
|
text: {
|
|
169
111
|
type: 'string'
|
|
170
112
|
},
|
|
171
|
-
|
|
172
|
-
type: '
|
|
173
|
-
enum:
|
|
113
|
+
width: {
|
|
114
|
+
type: 'number',
|
|
115
|
+
enum: Object.values(Width)
|
|
174
116
|
},
|
|
175
|
-
|
|
176
|
-
type: 'string'
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
required: ['type', 'text']
|
|
180
|
-
},
|
|
181
|
-
Link: {
|
|
182
|
-
type: 'object',
|
|
183
|
-
properties: {
|
|
184
|
-
type: {
|
|
185
|
-
type: 'string',
|
|
186
|
-
const: 'Link'
|
|
187
|
-
},
|
|
188
|
-
href: {
|
|
189
|
-
type: 'string'
|
|
190
|
-
},
|
|
191
|
-
opensNewTab: {
|
|
192
|
-
type: 'boolean',
|
|
193
|
-
defaultValue: false
|
|
194
|
-
},
|
|
195
|
-
label: {
|
|
196
|
-
type: 'string'
|
|
197
|
-
},
|
|
198
|
-
variant: {
|
|
199
|
-
type: 'string',
|
|
200
|
-
enum: ['primary', 'secondary']
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
required: ['type', 'href', 'variant', 'opensNewTab', 'label']
|
|
204
|
-
},
|
|
205
|
-
CheckBox: {
|
|
206
|
-
type: 'object',
|
|
207
|
-
properties: {
|
|
208
|
-
type: {
|
|
209
|
-
type: 'string',
|
|
210
|
-
const: 'CheckBox'
|
|
211
|
-
},
|
|
212
|
-
checked: {
|
|
213
|
-
defaultValue: false,
|
|
214
|
-
type: 'boolean'
|
|
215
|
-
},
|
|
216
|
-
disabled: {
|
|
217
|
-
defaultValue: false,
|
|
218
|
-
type: 'boolean'
|
|
219
|
-
},
|
|
220
|
-
readonly: {
|
|
221
|
-
defaultValue: false,
|
|
222
|
-
type: 'boolean'
|
|
223
|
-
},
|
|
224
|
-
label: {
|
|
225
|
-
type: 'string'
|
|
226
|
-
},
|
|
227
|
-
tooltip: {
|
|
228
|
-
type: 'string'
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
required: ['type', 'checked', 'label']
|
|
232
|
-
},
|
|
233
|
-
Switch: {
|
|
234
|
-
type: 'object',
|
|
235
|
-
properties: {
|
|
236
|
-
type: {
|
|
237
|
-
type: 'string',
|
|
238
|
-
const: 'Switch'
|
|
239
|
-
},
|
|
240
|
-
checked: {
|
|
241
|
-
defaultValue: false,
|
|
242
|
-
type: 'boolean'
|
|
243
|
-
},
|
|
244
|
-
size: {
|
|
117
|
+
alignment: {
|
|
245
118
|
type: 'string',
|
|
246
|
-
enum:
|
|
119
|
+
enum: Object.values(Alignment)
|
|
247
120
|
},
|
|
248
|
-
|
|
249
|
-
defaultValue: false,
|
|
121
|
+
sortable: {
|
|
250
122
|
type: 'boolean'
|
|
251
123
|
},
|
|
252
|
-
|
|
253
|
-
type: 'string'
|
|
254
|
-
}
|
|
255
|
-
},
|
|
256
|
-
required: ['type', 'checked', 'size']
|
|
257
|
-
},
|
|
258
|
-
Email: {
|
|
259
|
-
type: 'object',
|
|
260
|
-
properties: {
|
|
261
|
-
type: {
|
|
262
|
-
type: 'string',
|
|
263
|
-
const: 'Email'
|
|
264
|
-
},
|
|
265
|
-
email: {
|
|
266
|
-
type: 'string'
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
required: ['type', 'email']
|
|
270
|
-
},
|
|
271
|
-
Avatar: {
|
|
272
|
-
type: 'object',
|
|
273
|
-
properties: {
|
|
274
|
-
type: {
|
|
275
|
-
type: 'string',
|
|
276
|
-
const: 'Avatar'
|
|
277
|
-
},
|
|
278
|
-
imageSrc: {
|
|
279
|
-
type: 'string'
|
|
280
|
-
},
|
|
281
|
-
name: {
|
|
282
|
-
type: 'string'
|
|
283
|
-
},
|
|
284
|
-
label: {
|
|
285
|
-
type: 'string'
|
|
286
|
-
},
|
|
287
|
-
size: {
|
|
124
|
+
sortOrder: {
|
|
288
125
|
type: 'string',
|
|
289
|
-
enum:
|
|
126
|
+
enum: Object.values(SortedBy)
|
|
290
127
|
},
|
|
291
|
-
|
|
128
|
+
sortTooltip: {
|
|
292
129
|
type: 'string'
|
|
293
130
|
}
|
|
294
131
|
},
|
|
295
|
-
required: ['
|
|
132
|
+
required: ['id', 'name', 'text']
|
|
296
133
|
},
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
type:
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
defaultValue: 'grey',
|
|
309
|
-
type: 'string',
|
|
310
|
-
enum: ['grey', 'red', 'orange', 'green', 'blue']
|
|
134
|
+
Column: {
|
|
135
|
+
anyOf: [PropertiesConverter.toJsonSchema(BooleanProperties), PropertiesConverter.toJsonSchema(CurrencyProperties), PropertiesConverter.toJsonSchema(DateProperties), PropertiesConverter.toJsonSchema(DatetimeProperties), PropertiesConverter.toJsonSchema(DecimalProperties), PropertiesConverter.toJsonSchema(EmailProperties), PropertiesConverter.toJsonSchema(LookupProperties), PropertiesConverter.toJsonSchema(MultiSelectProperties), PropertiesConverter.toJsonSchema(NumberProperties), PropertiesConverter.toJsonSchema(PercentProperties), PropertiesConverter.toJsonSchema(PhoneProperties), PropertiesConverter.toJsonSchema(PickListProperties), PropertiesConverter.toJsonSchema(TextProperties), PropertiesConverter.toJsonSchema(UrlProperties), // Below field is for the empty cell
|
|
136
|
+
{
|
|
137
|
+
type: 'object',
|
|
138
|
+
properties: {
|
|
139
|
+
type: {
|
|
140
|
+
type: 'string'
|
|
141
|
+
},
|
|
142
|
+
value: {
|
|
143
|
+
type: 'string'
|
|
144
|
+
}
|
|
311
145
|
},
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
required: ['type', 'text', 'color']
|
|
146
|
+
required: ['type', 'value']
|
|
147
|
+
}]
|
|
317
148
|
},
|
|
318
|
-
|
|
319
|
-
|
|
149
|
+
ActionLocation: {
|
|
150
|
+
renderComponentType: 'object',
|
|
320
151
|
properties: {
|
|
321
152
|
type: {
|
|
322
|
-
type: 'string',
|
|
323
|
-
const: 'Tags'
|
|
324
|
-
},
|
|
325
|
-
title: {
|
|
326
153
|
type: 'string'
|
|
327
154
|
},
|
|
328
|
-
|
|
329
|
-
type: 'array'
|
|
330
|
-
}
|
|
155
|
+
actions: actionsSchema
|
|
331
156
|
},
|
|
332
|
-
required: ['
|
|
333
|
-
},
|
|
334
|
-
Cell: {
|
|
335
|
-
anyOf: [{
|
|
336
|
-
$ref: '#/definitions/Text'
|
|
337
|
-
}, {
|
|
338
|
-
$ref: '#/definitions/Link'
|
|
339
|
-
}, {
|
|
340
|
-
$ref: '#/definitions/CheckBox'
|
|
341
|
-
}, {
|
|
342
|
-
$ref: '#/definitions/Switch'
|
|
343
|
-
}, {
|
|
344
|
-
$ref: '#/definitions/Email'
|
|
345
|
-
}, {
|
|
346
|
-
$ref: '#/definitions/Avatar'
|
|
347
|
-
}, {
|
|
348
|
-
$ref: '#/definitions/Tags'
|
|
349
|
-
}, {
|
|
350
|
-
$ref: '#/definitions/HighlightedValue'
|
|
351
|
-
}]
|
|
157
|
+
required: ['actions']
|
|
352
158
|
}
|
|
353
159
|
},
|
|
354
160
|
type: 'object',
|
|
355
161
|
properties: {
|
|
356
|
-
|
|
357
|
-
type: '
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
162
|
+
headers: {
|
|
163
|
+
type: 'array',
|
|
164
|
+
minIems: 0,
|
|
165
|
+
items: {
|
|
166
|
+
$ref: '#/definitions/HeaderMeta'
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
rows: {
|
|
170
|
+
type: 'array',
|
|
171
|
+
minIems: 0,
|
|
172
|
+
items: {
|
|
173
|
+
type: 'object',
|
|
174
|
+
properties: {
|
|
175
|
+
id: {
|
|
176
|
+
type: 'string'
|
|
177
|
+
},
|
|
178
|
+
columns: {
|
|
179
|
+
type: 'array',
|
|
180
|
+
items: {
|
|
181
|
+
$ref: '#/definitions/Column'
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
rowActionLocation: {
|
|
185
|
+
$ref: '#/definitions/ActionLocation'
|
|
186
|
+
},
|
|
187
|
+
isSelectable: {
|
|
188
|
+
type: 'boolean'
|
|
189
|
+
},
|
|
190
|
+
isSelected: {
|
|
191
|
+
type: 'boolean'
|
|
192
|
+
},
|
|
193
|
+
selectionTooltip: {
|
|
194
|
+
type: 'string'
|
|
363
195
|
}
|
|
364
196
|
},
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
items: {
|
|
368
|
-
type: 'object',
|
|
369
|
-
properties: {
|
|
370
|
-
id: {
|
|
371
|
-
type: 'string'
|
|
372
|
-
},
|
|
373
|
-
columns: {
|
|
374
|
-
type: 'array',
|
|
375
|
-
items: {
|
|
376
|
-
$ref: '#/definitions/Cell'
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
rowActions: {
|
|
380
|
-
defaultValue: [],
|
|
381
|
-
type: 'array',
|
|
382
|
-
items: {
|
|
383
|
-
$ref: '#/definitions/DeclarativeAction'
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
clickAction: {
|
|
387
|
-
$ref: '#/definitions/DeclarativeAction'
|
|
388
|
-
}
|
|
389
|
-
},
|
|
390
|
-
required: ['id', 'columns', 'rowActions', 'clickAction']
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
required: ['headers', 'rows']
|
|
197
|
+
required: ['id', 'columns']
|
|
198
|
+
}
|
|
395
199
|
}
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
},
|
|
400
|
-
sortBy: {
|
|
401
|
-
required: false,
|
|
402
|
-
defaultValue: {
|
|
403
|
-
id: '',
|
|
404
|
-
type: 'none'
|
|
405
|
-
},
|
|
406
|
-
typeMetadata: {
|
|
407
|
-
schema: {
|
|
408
|
-
id: {
|
|
409
|
-
required: true,
|
|
410
|
-
type: 'string'
|
|
411
200
|
},
|
|
412
|
-
|
|
413
|
-
type: 'string',
|
|
414
|
-
enum: Object.values(SortOrder),
|
|
415
|
-
defaultValue: 'none'
|
|
416
|
-
}
|
|
201
|
+
required: ['headers', 'rows']
|
|
417
202
|
}
|
|
418
203
|
}
|
|
419
204
|
}
|
|
@@ -4,17 +4,24 @@ export let SortedBy = /*#__PURE__*/function (SortedBy) {
|
|
|
4
4
|
SortedBy["Descending"] = "descending";
|
|
5
5
|
return SortedBy;
|
|
6
6
|
}({});
|
|
7
|
-
export let
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
export let Width = /*#__PURE__*/function (Width) {
|
|
8
|
+
Width[Width["XSmall"] = 120] = "XSmall";
|
|
9
|
+
Width[Width["Small"] = 160] = "Small";
|
|
10
|
+
Width[Width["Medium"] = 200] = "Medium";
|
|
11
|
+
Width[Width["Large"] = 240] = "Large";
|
|
12
|
+
Width[Width["XLarge"] = 280] = "XLarge";
|
|
13
|
+
Width[Width["XXLarge"] = 320] = "XXLarge";
|
|
14
|
+
return Width;
|
|
14
15
|
}({});
|
|
15
16
|
export let Alignment = /*#__PURE__*/function (Alignment) {
|
|
16
17
|
Alignment["Left"] = "left";
|
|
17
18
|
Alignment["Center"] = "center";
|
|
18
19
|
Alignment["Right"] = "right";
|
|
19
20
|
return Alignment;
|
|
21
|
+
}({});
|
|
22
|
+
export let AlignmentOfFlex = /*#__PURE__*/function (AlignmentOfFlex) {
|
|
23
|
+
AlignmentOfFlex["left"] = "start";
|
|
24
|
+
AlignmentOfFlex["center"] = "center";
|
|
25
|
+
AlignmentOfFlex["right"] = "end";
|
|
26
|
+
return AlignmentOfFlex;
|
|
20
27
|
}({});
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Width } from "../data-types/Header";
|
|
2
|
+
import RowCursor from "../data-types/RowCursor";
|
|
1
3
|
const TableRowProperties = {
|
|
2
4
|
isSelectionEnabled: {
|
|
3
5
|
required: false,
|
|
@@ -44,7 +46,8 @@ const TableRowProperties = {
|
|
|
44
46
|
}
|
|
45
47
|
},
|
|
46
48
|
columns: {
|
|
47
|
-
required:
|
|
49
|
+
required: false,
|
|
50
|
+
defaultValue: [],
|
|
48
51
|
typeMetadata: {
|
|
49
52
|
schema: {
|
|
50
53
|
type: 'array' // TODO: Add Field Properties
|
|
@@ -52,21 +55,22 @@ const TableRowProperties = {
|
|
|
52
55
|
}
|
|
53
56
|
}
|
|
54
57
|
},
|
|
55
|
-
|
|
58
|
+
cursor: {
|
|
56
59
|
required: false,
|
|
57
|
-
defaultValue:
|
|
60
|
+
defaultValue: 'pointer',
|
|
58
61
|
typeMetadata: {
|
|
59
62
|
schema: {
|
|
60
|
-
type: '
|
|
63
|
+
type: 'string',
|
|
64
|
+
enum: Object.values(RowCursor)
|
|
61
65
|
}
|
|
62
66
|
}
|
|
63
67
|
},
|
|
64
|
-
|
|
68
|
+
rowActionLocation: {
|
|
65
69
|
required: false,
|
|
66
|
-
defaultValue:
|
|
70
|
+
defaultValue: {},
|
|
67
71
|
typeMetadata: {
|
|
68
72
|
schema: {
|
|
69
|
-
type: '
|
|
73
|
+
type: 'object'
|
|
70
74
|
}
|
|
71
75
|
}
|
|
72
76
|
},
|
|
@@ -79,12 +83,13 @@ const TableRowProperties = {
|
|
|
79
83
|
}
|
|
80
84
|
}
|
|
81
85
|
},
|
|
82
|
-
|
|
86
|
+
rowActionsColumnWidth: {
|
|
83
87
|
required: false,
|
|
84
|
-
defaultValue:
|
|
88
|
+
defaultValue: Width.XSmall,
|
|
85
89
|
typeMetadata: {
|
|
86
90
|
schema: {
|
|
87
|
-
type: '
|
|
91
|
+
type: 'number',
|
|
92
|
+
enum: Object.values(Width)
|
|
88
93
|
}
|
|
89
94
|
}
|
|
90
95
|
},
|