@zohodesk/library-platform 1.1.10-temp-1 → 1.1.11
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/es/bc/clip-wrap/ActionHandlers.js +1 -0
- package/es/bc/clip-wrap/ClipWrapEnum.js +7 -0
- package/es/bc/clip-wrap/Constants.js +2 -0
- package/es/bc/clip-wrap/Properties.js +24 -0
- package/es/bc/clip-wrap/index.js +2 -0
- package/es/bc/column-chooser/Properties.js +12 -0
- package/es/bc/zlist/Constants.js +2 -1
- package/es/bc/zrecord/Constants.js +4 -0
- package/es/cc/checkbox/Properties.js +8 -0
- package/es/cc/date/Properties.js +1 -1
- package/es/cc/email/Properties.js +18 -0
- package/es/cc/fields/boolean/Model.js +6 -2
- package/es/cc/fields/coloured-multi-select/Model.js +6 -2
- package/es/cc/fields/coloured-pick-list/Model.js +6 -2
- package/es/cc/fields/currency/Model.js +6 -2
- package/es/cc/fields/date/Model.js +6 -2
- package/es/cc/fields/datetime/Model.js +6 -2
- package/es/cc/fields/decimal/Model.js +6 -2
- package/es/cc/fields/email/Model.js +6 -2
- package/es/cc/fields/field/Properties.js +27 -0
- package/es/cc/fields/formula/Model.js +6 -2
- package/es/cc/fields/lookup/Model.js +6 -2
- package/es/cc/fields/lookup/Properties.js +2 -1
- package/es/cc/fields/multi-line/Model.js +6 -2
- package/es/cc/fields/multi-select/Model.js +6 -2
- package/es/cc/fields/multi-select/Properties.js +6 -0
- package/es/cc/fields/name/Model.js +6 -2
- package/es/cc/fields/name/Properties.js +3 -0
- package/es/cc/fields/number/Model.js +6 -2
- package/es/cc/fields/percent/Model.js +6 -2
- package/es/cc/fields/phone/Model.js +6 -2
- package/es/cc/fields/pick-list/Model.js +6 -2
- package/es/cc/fields/pick-list/Properties.js +6 -0
- package/es/cc/fields/text/Model.js +6 -2
- package/es/cc/fields/url/Model.js +6 -2
- package/es/cc/label/Properties.js +8 -0
- package/es/cc/link/Properties.js +18 -0
- package/es/cc/multi-select/Properties.js +8 -0
- package/es/cc/section/Properties.js +32 -0
- package/es/cc/select/Properties.js +8 -0
- package/es/cc/table-column-chooser/Properties.js +21 -0
- package/es/cc/table-column-filter/Model.js +0 -4
- package/es/cc/table-column-filter/Properties.js +0 -18
- package/es/cc/table-connected/Properties.js +38 -0
- package/es/cc/table-connected/SdkContract.js +18 -0
- package/es/cc/table-connected/constants/ExternalConstants.js +4 -1
- package/es/cc/table-list/Constants.js +3 -0
- package/es/cc/table-list/Events.js +32 -0
- package/es/cc/table-list/Properties.js +21 -0
- package/es/cc/table-list/data-types/TextOverflowConfig.js +1 -0
- package/es/cc/table-list/row/Properties.js +9 -0
- package/es/cc/table-text-overflow/Constants.js +5 -0
- package/es/cc/table-text-overflow/Events.js +15 -0
- package/es/cc/table-text-overflow/Properties.js +23 -0
- package/es/cc/table-text-overflow/index.js +2 -0
- package/es/cc/tags/Properties.js +9 -0
- package/es/cc/text/Properties.js +9 -0
- package/es/cc/textbox/Properties.js +8 -0
- package/es/index.js +4 -2
- package/es/library/analytics/Analytics.js +1 -1
- package/es/library/behaviours/clip-wrap/adapters/controllers/AbstractController.js +9 -0
- package/es/library/behaviours/clip-wrap/adapters/controllers/ClipWrap.js +26 -0
- package/es/library/behaviours/clip-wrap/adapters/controllers/DestructController.js +18 -0
- package/es/library/behaviours/clip-wrap/adapters/controllers/InitializeController.js +18 -0
- package/es/library/behaviours/clip-wrap/adapters/gateway/Repository.js +30 -0
- package/es/library/behaviours/clip-wrap/adapters/gateway/Service.js +10 -0
- package/es/library/behaviours/clip-wrap/adapters/presenter/Presenter.js +16 -0
- package/es/library/behaviours/clip-wrap/applications/interfaces/UseCaseDependencies.js +1 -0
- package/es/library/behaviours/clip-wrap/applications/interfaces/gateways/IRepository.js +1 -0
- package/es/library/behaviours/clip-wrap/applications/interfaces/gateways/IService.js +1 -0
- package/es/library/behaviours/clip-wrap/applications/interfaces/input/ClipWrapInputModel.js +1 -0
- package/es/library/behaviours/clip-wrap/applications/interfaces/input/DestructInputModel.js +1 -0
- package/es/library/behaviours/clip-wrap/applications/interfaces/input/InitializeInputModel.js +1 -0
- package/es/library/behaviours/clip-wrap/applications/interfaces/output/ClipWrapOutputModel.js +1 -0
- package/es/library/behaviours/clip-wrap/applications/interfaces/output/IPresenter.js +1 -0
- package/es/library/behaviours/clip-wrap/applications/usecases/AbstractUseCase.js +17 -0
- package/es/library/behaviours/clip-wrap/applications/usecases/ClipWrap.js +25 -0
- package/es/library/behaviours/clip-wrap/applications/usecases/DestructUsecase.js +15 -0
- package/es/library/behaviours/clip-wrap/applications/usecases/InitializeUsecase.js +15 -0
- package/es/library/behaviours/clip-wrap/domain/entities/ClipWrap.js +22 -0
- package/es/library/behaviours/clip-wrap/domain/entities/interfaces/IClipWrap.js +1 -0
- package/es/library/behaviours/clip-wrap/frameworks/ui/ActionsHandlerFactory.js +28 -0
- package/es/library/behaviours/clip-wrap/frameworks/ui/ClipWrapBehaviourFactory.js +26 -0
- package/es/library/custom-component/adapters/gateways/event-manager/EventManager.js +23 -20
- package/es/library/custom-component/applications/usecases/UpdateStateUseCase.js +2 -4
- package/es/library/custom-component/domain/entities/ComponentProperties.js +0 -1
- package/es/library/custom-component/domain/entities/Logger.js +43 -37
- package/es/library/custom-component/frameworks/ui/ComponentRegistry.js +2 -2
- package/es/library/custom-component/frameworks/ui/CreateCustomComponent.js +1 -1
- package/es/library/dot/components/action-location/frameworks/ui/ActionComponentMapping.js +2 -0
- package/es/library/dot/components/form/frameworks/ui/DefaultComponentRegister.js +3 -3
- package/es/library/dot/components/form/frameworks/ui/FormView.js +2 -2
- package/es/library/dot/components/form/frameworks/ui/css/Form.module.css +13 -13
- package/es/library/dot/components/form/frameworks/ui/sub-components/MiddleSection.js +4 -2
- package/es/library/dot/components/form/frameworks/ui/sub-components/Sections.js +8 -2
- package/es/library/dot/components/form-fields/checkbox/frameworks/ui/CheckboxView.js +4 -2
- package/es/library/dot/components/form-fields/currency/frameworks/ui/CurrencyView.js +4 -2
- package/es/library/dot/components/form-fields/date/frameworks/ui/DateView.js +4 -2
- package/es/library/dot/components/form-fields/datetime/frameworks/ui/DateTimeView.js +4 -2
- package/es/library/dot/components/form-fields/decimal/frameworks/ui/DecimalView.js +4 -2
- package/es/library/dot/components/form-fields/email/frameworks/ui/EmailView.js +4 -2
- package/es/library/dot/components/form-fields/field/css/FieldItem.module.css +2 -2
- package/es/library/dot/components/form-fields/lookup/frameworks/ui/LookupView.js +4 -2
- package/es/library/dot/components/form-fields/multi-select/frameworks/ui/MultiSelectView.js +4 -2
- package/es/library/dot/components/form-fields/number/frameworks/ui/NumberView.js +4 -2
- package/es/library/dot/components/form-fields/percentage/frameworks/ui/PercentageView.js +4 -2
- package/es/library/dot/components/form-fields/phone/frameworks/ui/PhoneView.js +4 -2
- package/es/library/dot/components/form-fields/pick-list/frameworks/ui/PickListView.js +4 -2
- package/es/library/dot/components/form-fields/textarea/frameworks/ui/TextAreaView.js +4 -2
- package/es/library/dot/components/form-fields/textbox/frameworks/ui/TextBoxView.js +4 -2
- package/es/library/dot/components/form-fields/url/frameworks/ui/UrlView.js +4 -2
- package/es/library/dot/components/section/frameworks/ui/RenderField.js +5 -3
- package/es/library/dot/components/section/frameworks/ui/SectionView.js +26 -4
- package/es/library/dot/components/section/frameworks/ui/css/Section.module.css +9 -1
- package/es/library/dot/components/table-list/adapters/controllers/ClipWrapController.js +23 -0
- package/es/library/dot/components/table-list/adapters/controllers/ResolutionBasedCountController.js +24 -0
- package/es/library/dot/components/table-list/adapters/controllers/index.js +2 -1
- package/es/library/dot/components/table-list/frameworks/ui/EventHandlersFactory.js +2 -1
- package/es/library/dot/components/table-list/frameworks/ui/TableListView.js +13 -1
- package/es/library/dot/components/table-list/frameworks/ui/css/TableList.module.css +33 -15
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/Header.js +9 -3
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/Rows.js +4 -2
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/field/FieldComponent.js +1 -1
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/HeaderData.js +3 -1
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/Headers.js +2 -0
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/MassAction.js +7 -1
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/Row.js +21 -4
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/RowActions.js +3 -1
- package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/RowSelection.js +3 -0
- package/es/library/dot/legacy-to-new-arch/breadcrumb/frameworks/ui/css/Breadcrumb.module.css +4 -4
- package/es/library/dot/legacy-to-new-arch/date/frameworks/ui/DateView.js +10 -6
- package/es/library/dot/legacy-to-new-arch/date/frameworks/ui/css/DateView.module.css +1 -1
- package/es/library/dot/legacy-to-new-arch/email/frameworks/ui/EmailView.js +6 -2
- package/es/library/dot/legacy-to-new-arch/label/frameworks/ui/LabelView.js +4 -2
- package/es/library/dot/legacy-to-new-arch/label/frameworks/ui/css/Label.module.css +4 -4
- package/es/library/dot/legacy-to-new-arch/link/frameworks/ui/LinkView.js +5 -1
- package/es/library/dot/legacy-to-new-arch/multi-select/frameworks/ui/MultiSelectView.js +30 -6
- package/es/library/dot/legacy-to-new-arch/multi-select/frameworks/ui/css/MultiSelectView.module.css +14 -22
- package/es/library/dot/legacy-to-new-arch/select/frameworks/ui/SelectView.js +31 -6
- package/es/library/dot/legacy-to-new-arch/select/frameworks/ui/css/Select.module.css +5 -0
- package/es/library/dot/legacy-to-new-arch/table-column-chooser/frameworks/ui/TableColumnChooserView.js +73 -4
- package/es/library/dot/legacy-to-new-arch/table-column-chooser/frameworks/ui/css/TableColumnChooserView.module.css +7 -2
- package/es/library/dot/legacy-to-new-arch/table-column-filter/frameworks/ui/TableColumnFilterView.js +3 -5
- package/es/library/dot/legacy-to-new-arch/table-field-components/coloured-multiselect-field/frameworks/ui/ColouredMultiSelectFieldView.js +4 -2
- package/es/library/dot/legacy-to-new-arch/table-field-components/currency-field/frameworks/ui/CurrencyFieldView.js +7 -2
- package/es/library/dot/legacy-to-new-arch/table-field-components/date-field/frameworks/ui/DateFieldView.js +7 -2
- package/es/library/dot/legacy-to-new-arch/table-field-components/datetime-field/frameworks/ui/DateTimeFieldView.js +7 -2
- package/es/library/dot/legacy-to-new-arch/table-field-components/decimal-field/frameworks/ui/DecimalFieldView.js +7 -2
- package/es/library/dot/legacy-to-new-arch/table-field-components/email-field/frameworks/ui/EmailFieldView.js +6 -2
- package/es/library/dot/legacy-to-new-arch/table-field-components/lookup-field/frameworks/ui/LookupFieldView.js +9 -2
- package/es/library/dot/legacy-to-new-arch/table-field-components/multiselect-field/frameworks/ui/MultiSelectFieldView.js +4 -2
- package/es/library/dot/legacy-to-new-arch/table-field-components/number-field/frameworks/ui/NumberFieldView.js +7 -2
- package/es/library/dot/legacy-to-new-arch/table-field-components/percentage-field/frameworks/ui/PercentageFieldView.js +7 -2
- package/es/library/dot/legacy-to-new-arch/table-field-components/phone-field/frameworks/ui/PhoneFieldView.js +6 -2
- package/es/library/dot/legacy-to-new-arch/table-field-components/picklist-field/frameworks/ui/PickListFieldView.js +7 -2
- package/es/library/dot/legacy-to-new-arch/table-field-components/primary-field/frameworks/ui/PrimaryFieldView.js +25 -13
- package/es/library/dot/legacy-to-new-arch/table-field-components/singleline-field/frameworks/ui/SingleLineFieldView.js +6 -2
- package/es/library/dot/legacy-to-new-arch/table-field-components/url-field/frameworks/ui/UrlFieldView.js +6 -2
- package/es/library/dot/legacy-to-new-arch/tags/frameworks/ui/TagsView.js +4 -2
- package/es/library/dot/legacy-to-new-arch/text/frameworks/ui/TextView.js +4 -3
- package/es/library/dot/legacy-to-new-arch/text-area/frameworks/ui/TextAreaView.js +6 -2
- package/es/library/dot/legacy-to-new-arch/text-area/frameworks/ui/css/TextAreaView.module.css +3 -27
- package/es/library/dot/legacy-to-new-arch/textbox/frameworks/ui/TextBoxView.js +6 -2
- package/es/platform/app-context-behaviour/frameworks/AppContextBehaviourFactory.js +2 -2
- package/es/platform/client-actions/behaviour/zclient-actions/domain/entities/interfaces/ClientActionReordererFunction.js +0 -0
- package/es/platform/client-actions/components/action-event-mediator/frameworks/ui/ClientActionReordererRegistry.js +40 -0
- package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActions/RowActionsRenderer.module.css +5 -5
- package/es/platform/client-actions/translators/client-actions-translator/index.js +27 -1
- package/es/platform/components/table-connected/adapters/controllers/ResolutionBasedLimitController.js +21 -0
- package/es/platform/components/table-connected/adapters/resources/ErrorPrinter.js +14 -11
- package/es/platform/components/table-connected/adapters/resources/SmartTableResource.js +32 -0
- package/es/platform/components/table-connected/frameworks/EventHandlersFactory.js +66 -4
- package/es/platform/components/table-connected/frameworks/ListSdkFactory.js +6 -2
- package/es/platform/components/table-connected/frameworks/TableConnectedFactory.js +3 -2
- package/es/platform/components/table-connected/frameworks/TableConnectedView.js +2 -0
- package/es/platform/data-source/http-template/markAsRead.js +27 -0
- package/es/platform/data-source/http-template/markAsUnRead.js +27 -0
- package/es/platform/data-source/index.js +4 -0
- package/es/platform/data-source/utils/validation-rules/TransFormValidationRules.js +0 -1
- package/es/platform/sdk/domain/entities/ResourceManager.js +3 -3
- package/es/platform/zform/adapters/presenter/FormTranslator.js +18 -3
- package/es/platform/zform/adapters/presenter/translators/SectionTranslator.js +34 -8
- package/es/platform/zform/adapters/presenter/translators/fields/MultiselectFieldTranslator.js +18 -1
- package/es/platform/zform/adapters/presenter/translators/fields/PicklistFieldTranslator.js +18 -1
- package/es/platform/zform/adapters/presenter/translators/interfaces/ClientActions.js +1 -0
- package/es/platform/zform/domain/ZForm.js +2 -6
- package/es/platform/zform/frameworks/validation-rules/Validator.js +1 -1
- package/es/platform/zlist/adapters/controllers/ResolutionBasedLimitController.js +26 -0
- package/es/platform/zlist/adapters/gateways/Repository.js +3 -2
- package/es/platform/zlist/adapters/gateways/Service.js +2 -0
- package/es/platform/zlist/adapters/presenters/SelectionTranslator.js +19 -8
- package/es/platform/zlist/adapters/presenters/TableTranslator.js +19 -5
- package/es/platform/zlist/adapters/presenters/translators/ColumnTranslator.js +24 -14
- package/es/platform/zlist/adapters/presenters/translators/Row.js +4 -2
- package/es/platform/zlist/adapters/presenters/translators/RowsTranslator.js +6 -2
- package/es/platform/zlist/adapters/presenters/translators/fields/BooleanFieldTranslator.js +6 -2
- package/es/platform/zlist/adapters/presenters/translators/fields/CurrencyFieldTranslator.js +6 -2
- package/es/platform/zlist/adapters/presenters/translators/fields/DateFieldTranslator.js +6 -2
- package/es/platform/zlist/adapters/presenters/translators/fields/DateTimeFieldTranslator.js +6 -2
- package/es/platform/zlist/adapters/presenters/translators/fields/DecimalFieldTranslator.js +6 -2
- package/es/platform/zlist/adapters/presenters/translators/fields/EmailFieldTranslator.js +6 -2
- package/es/platform/zlist/adapters/presenters/translators/fields/FormulaFieldTranslator.js +6 -2
- package/es/platform/zlist/adapters/presenters/translators/fields/LookUpFieldTranslator.js +6 -2
- package/es/platform/zlist/adapters/presenters/translators/fields/MultiLineFieldTranslator.js +7 -3
- package/es/platform/zlist/adapters/presenters/translators/fields/MultiSelectFieldTranslator.js +11 -5
- package/es/platform/zlist/adapters/presenters/translators/fields/NameFieldTranslator.js +8 -2
- package/es/platform/zlist/adapters/presenters/translators/fields/NumberFieldTranslator.js +6 -2
- package/es/platform/zlist/adapters/presenters/translators/fields/PercentageFieldTranslator.js +6 -2
- package/es/platform/zlist/adapters/presenters/translators/fields/PhoneFieldTranslator.js +6 -2
- package/es/platform/zlist/adapters/presenters/translators/fields/PickListFieldTranslator.js +11 -5
- package/es/platform/zlist/adapters/presenters/translators/fields/SingleLineFieldTranslator.js +6 -2
- package/es/platform/zlist/adapters/presenters/translators/fields/URLFieldTranslator.js +6 -2
- package/es/platform/zlist/adapters/presenters/utils/DefaultClientActions.js +74 -2
- package/es/platform/zlist/applications/interfaces/input/ResolutionBasedLimitInput.js +1 -0
- package/es/platform/zlist/applications/usecases/ResolutionBasedLimitUseCase.js +20 -0
- package/es/platform/zlist/domain/entities/List.js +5 -0
- package/es/platform/zlist/frameworks/EventHandlersFactory.js +3 -1
- package/es/platform/zrecord/adapters/controllers/MarkAsReadController.js +28 -0
- package/es/platform/zrecord/adapters/controllers/MarkAsUnReadController.js +28 -0
- package/es/platform/zrecord/adapters/gateways/Service.js +4 -0
- package/es/platform/zrecord/applications/interfaces/input/MarkAsReadInputModel.js +1 -0
- package/es/platform/zrecord/applications/interfaces/input/MarkAsUnReadInputModel.js +1 -0
- package/es/platform/zrecord/applications/usecases/MarkAsReadUseCase.js +32 -0
- package/es/platform/zrecord/applications/usecases/MarkAsUnReadUseCase.js +32 -0
- package/es/platform/zrecord/domain/entities/Record.js +6 -0
- package/es/platform/zrecord/domain/entities/Records.js +12 -0
- package/es/platform/zrecord/domain/entities/RecordsManager.js +8 -0
- package/es/platform/zrecord/frameworks/ActionsHandlersFactory.js +7 -1
- package/package.json +9 -10
- package/es/cc/fields/name/Constants.js +0 -5
- package/es/cc/table-primary-field/Constants.js +0 -5
- package/es/cc/table-primary-field/Events.js +0 -4
- package/es/cc/table-primary-field/Properties.js +0 -29
- package/es/library/custom-component/frameworks/ui/CustomComponentFactory.js +0 -56
- package/es/library/dot/components/table-list/.DS_Store +0 -0
- package/es/library/dot/legacy-to-new-arch/table-column-chooser/frameworks/ui/TableColumnChooserView.module.css +0 -3
- package/es/library/dot/legacy-to-new-arch/table-field-components/primary-field/frameworks/ui/EventHandlersFactory.js +0 -28
- package/es/platform/client-actions/cc/dynamic-action-component/Properties.js +0 -51
- package/es/platform/client-actions/components/dynamic-component/frameworks/ui/DynamicActionComponent.js +0 -9
- package/es/platform/client-actions/components/dynamic-component/frameworks/ui/DynamicActionComponentView.js +0 -38
- package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActionsRenderer.js +0 -12
- package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActionsRenderer.module.css +0 -19
- package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActionsRendererView.js +0 -33
- package/es/platform/data-source/http-template/fetchDependencyMappings.js +0 -18
- package/es/platform/data-source/http-template/fetchLayoutRules.js +0 -29
- package/es/platform/data-source/http-template/fetchMyForm.js +0 -19
- package/es/platform/data-source/http-template/fetchMyFormLayout.js +0 -43
- package/es/platform/data-source/http-template/fetchValidationRules.js +0 -30
- package/es/platform/zlist/adapters/presenters/translators/ColumnAlignmentTranslator.js +0 -11
- /package/es/{platform/client-actions/components/dynamic-component/domain/entities/interfaces/IState.js → bc/clip-wrap/types/ClipWrapBehaviourState.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { TEXT_OVERFLOW_BEHAVIOUR_UPDATE_REQUESTED } from "./Constants";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import ClipWrap from "./ClipWrapEnum";
|
|
2
|
+
export default {
|
|
3
|
+
textOverflowConfig: {
|
|
4
|
+
defaultValue: {
|
|
5
|
+
isEnabled: false,
|
|
6
|
+
mode: 'clip'
|
|
7
|
+
},
|
|
8
|
+
required: false,
|
|
9
|
+
typeMetadata: {
|
|
10
|
+
schema: {
|
|
11
|
+
type: 'object',
|
|
12
|
+
properties: {
|
|
13
|
+
isEnabled: {
|
|
14
|
+
type: 'boolean'
|
|
15
|
+
},
|
|
16
|
+
mode: {
|
|
17
|
+
type: 'string',
|
|
18
|
+
enum: Object.values(ClipWrap)
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
};
|
package/es/bc/zlist/Constants.js
CHANGED
|
@@ -16,4 +16,5 @@ export const ZLIST_INITIAL_RECORDS_FETCH_FAILED = 'ZLIST#INITIAL_RECORDS_FETCH_F
|
|
|
16
16
|
export const ZLIST_INITIAL_CLIENT_ACTIONS_FETCH_FAILED = 'ZLIST#INITIAL_CLIENT_ACTIONS_FETCH_FAILED';
|
|
17
17
|
export const ZLIST_FETCH_MORE_RECORDS_FAILED = 'ZLIST#FETCH_MORE_RECORDS_FAILED';
|
|
18
18
|
export const ZLIST_RECORD_REORDER_SUCCEEDED = 'ZLIST#RECORD_REORDER_SUCCEEDED';
|
|
19
|
-
export const CLIENT_ACTION_TABLE_LIST_COMPONENT_NAME = 'TableList';
|
|
19
|
+
export const CLIENT_ACTION_TABLE_LIST_COMPONENT_NAME = 'TableList';
|
|
20
|
+
export const ZLIST_INITIALIZE = 'ZLIST#INITIALIZE';
|
|
@@ -14,9 +14,13 @@ export const APPEND_RECORDS = 'RECORD#APPEND_RECORDS';
|
|
|
14
14
|
export const SET_RECORDS = 'RECORD#SET_RECORDS';
|
|
15
15
|
export const SET_RECORDS_SUCCESS = 'RECORD#SET_RECORDS_SUCCESS';
|
|
16
16
|
export const CREATE_RECORD = 'RECORD#CREATE_RECORD';
|
|
17
|
+
export const RECORD_MARK_AS_READ = 'RECORD#MARK_AS_READ';
|
|
18
|
+
export const RECORD_MARK_AS_UNREAD = 'RECORD#MARK_AS_UNREAD';
|
|
17
19
|
export class RecordApiActionName {
|
|
18
20
|
static GET_RECORDS = 'getRecords';
|
|
19
21
|
static MOVE_TO_TRASH = 'moveToTrash';
|
|
22
|
+
static MARK_AS_READ = 'markAsRead';
|
|
23
|
+
static MARK_AS_UNREAD = 'markAsUnRead';
|
|
20
24
|
static DELETE_RECORDS = 'deleteRecords';
|
|
21
25
|
static DELETE_RECORD = 'deleteRecord';
|
|
22
26
|
static UPDATE_RECORD = 'updateRecord';
|
package/es/cc/date/Properties.js
CHANGED
|
@@ -6,5 +6,23 @@ export default {
|
|
|
6
6
|
type: "string"
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
+
},
|
|
10
|
+
isDotted: {
|
|
11
|
+
required: false,
|
|
12
|
+
defaultValue: true,
|
|
13
|
+
typeMetadata: {
|
|
14
|
+
schema: {
|
|
15
|
+
type: "boolean"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
weight: {
|
|
20
|
+
required: false,
|
|
21
|
+
typeMetadata: {
|
|
22
|
+
schema: {
|
|
23
|
+
type: "string",
|
|
24
|
+
enum: ["light", "regular", "semibold", "bold"]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
9
27
|
}
|
|
10
28
|
};
|
|
@@ -3,12 +3,16 @@ export default function BooleanFieldModel(_ref) {
|
|
|
3
3
|
name,
|
|
4
4
|
value,
|
|
5
5
|
uiType,
|
|
6
|
-
appendToActionPayload
|
|
6
|
+
appendToActionPayload,
|
|
7
|
+
textOverflowMode,
|
|
8
|
+
isRead
|
|
7
9
|
} = _ref;
|
|
8
10
|
return {
|
|
9
11
|
name,
|
|
10
12
|
appendToActionPayload,
|
|
11
13
|
type: uiType,
|
|
12
|
-
|
|
14
|
+
isRead,
|
|
15
|
+
value,
|
|
16
|
+
textOverflowMode
|
|
13
17
|
};
|
|
14
18
|
}
|
|
@@ -4,14 +4,18 @@ function ColouredMultiListFieldModel(_ref) {
|
|
|
4
4
|
value,
|
|
5
5
|
appendToActionPayload,
|
|
6
6
|
options,
|
|
7
|
-
uiType
|
|
7
|
+
uiType,
|
|
8
|
+
textOverflowMode,
|
|
9
|
+
isRead
|
|
8
10
|
} = _ref;
|
|
9
11
|
return {
|
|
10
12
|
name,
|
|
11
13
|
appendToActionPayload,
|
|
12
14
|
type: uiType,
|
|
13
15
|
options,
|
|
14
|
-
|
|
16
|
+
isRead,
|
|
17
|
+
value,
|
|
18
|
+
textOverflowMode
|
|
15
19
|
};
|
|
16
20
|
}
|
|
17
21
|
|
|
@@ -4,13 +4,17 @@ export default function ColouredPickListFieldModel(_ref) {
|
|
|
4
4
|
value,
|
|
5
5
|
options,
|
|
6
6
|
uiType,
|
|
7
|
-
appendToActionPayload
|
|
7
|
+
appendToActionPayload,
|
|
8
|
+
textOverflowMode,
|
|
9
|
+
isRead
|
|
8
10
|
} = _ref;
|
|
9
11
|
return {
|
|
10
12
|
name,
|
|
11
13
|
appendToActionPayload,
|
|
12
14
|
type: uiType,
|
|
13
15
|
options,
|
|
14
|
-
|
|
16
|
+
isRead,
|
|
17
|
+
value,
|
|
18
|
+
textOverflowMode
|
|
15
19
|
};
|
|
16
20
|
}
|
|
@@ -5,7 +5,9 @@ export default function CurrencyFieldModel(_ref) {
|
|
|
5
5
|
currencySymbol,
|
|
6
6
|
value,
|
|
7
7
|
uiType,
|
|
8
|
-
appendToActionPayload
|
|
8
|
+
appendToActionPayload,
|
|
9
|
+
textOverflowMode,
|
|
10
|
+
isRead
|
|
9
11
|
} = _ref;
|
|
10
12
|
return {
|
|
11
13
|
name,
|
|
@@ -13,6 +15,8 @@ export default function CurrencyFieldModel(_ref) {
|
|
|
13
15
|
currencySymbol,
|
|
14
16
|
appendToActionPayload,
|
|
15
17
|
type: uiType,
|
|
16
|
-
|
|
18
|
+
isRead,
|
|
19
|
+
value,
|
|
20
|
+
textOverflowMode
|
|
17
21
|
};
|
|
18
22
|
}
|
|
@@ -3,12 +3,16 @@ export default function DateFieldModel(_ref) {
|
|
|
3
3
|
name,
|
|
4
4
|
value,
|
|
5
5
|
uiType,
|
|
6
|
-
appendToActionPayload
|
|
6
|
+
appendToActionPayload,
|
|
7
|
+
textOverflowMode,
|
|
8
|
+
isRead
|
|
7
9
|
} = _ref;
|
|
8
10
|
return {
|
|
9
11
|
name,
|
|
10
12
|
appendToActionPayload,
|
|
11
13
|
type: uiType,
|
|
12
|
-
|
|
14
|
+
isRead,
|
|
15
|
+
value,
|
|
16
|
+
textOverflowMode
|
|
13
17
|
};
|
|
14
18
|
}
|
|
@@ -3,12 +3,16 @@ export default function DateTimeFieldModel(_ref) {
|
|
|
3
3
|
name,
|
|
4
4
|
value,
|
|
5
5
|
uiType,
|
|
6
|
-
appendToActionPayload
|
|
6
|
+
appendToActionPayload,
|
|
7
|
+
textOverflowMode,
|
|
8
|
+
isRead
|
|
7
9
|
} = _ref;
|
|
8
10
|
return {
|
|
9
11
|
name,
|
|
10
12
|
type: uiType,
|
|
11
13
|
appendToActionPayload,
|
|
12
|
-
|
|
14
|
+
isRead,
|
|
15
|
+
value,
|
|
16
|
+
textOverflowMode
|
|
13
17
|
};
|
|
14
18
|
}
|
|
@@ -3,12 +3,16 @@ export default function DecimalFieldModel(_ref) {
|
|
|
3
3
|
name,
|
|
4
4
|
value,
|
|
5
5
|
uiType,
|
|
6
|
-
appendToActionPayload
|
|
6
|
+
appendToActionPayload,
|
|
7
|
+
textOverflowMode,
|
|
8
|
+
isRead
|
|
7
9
|
} = _ref;
|
|
8
10
|
return {
|
|
9
11
|
name,
|
|
10
12
|
appendToActionPayload,
|
|
11
13
|
type: uiType,
|
|
12
|
-
|
|
14
|
+
isRead,
|
|
15
|
+
value,
|
|
16
|
+
textOverflowMode
|
|
13
17
|
};
|
|
14
18
|
}
|
|
@@ -3,12 +3,16 @@ export default function EmailFieldModel(_ref) {
|
|
|
3
3
|
name,
|
|
4
4
|
value,
|
|
5
5
|
uiType,
|
|
6
|
-
appendToActionPayload
|
|
6
|
+
appendToActionPayload,
|
|
7
|
+
textOverflowMode,
|
|
8
|
+
isRead
|
|
7
9
|
} = _ref;
|
|
8
10
|
return {
|
|
9
11
|
name,
|
|
10
12
|
appendToActionPayload,
|
|
11
13
|
type: uiType,
|
|
12
|
-
|
|
14
|
+
isRead,
|
|
15
|
+
value,
|
|
16
|
+
textOverflowMode
|
|
13
17
|
};
|
|
14
18
|
}
|
|
@@ -164,6 +164,25 @@ export default {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
|
+
textOverflowMode: {
|
|
168
|
+
required: false,
|
|
169
|
+
defaultValue: 'clip',
|
|
170
|
+
typeMetadata: {
|
|
171
|
+
schema: {
|
|
172
|
+
type: 'string',
|
|
173
|
+
enum: ['clip', 'wrap']
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
isRead: {
|
|
178
|
+
required: false,
|
|
179
|
+
defaultValue: true,
|
|
180
|
+
typeMetadata: {
|
|
181
|
+
schema: {
|
|
182
|
+
type: 'boolean'
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
167
186
|
readonly: {
|
|
168
187
|
required: false,
|
|
169
188
|
defaultValue: false,
|
|
@@ -172,5 +191,13 @@ export default {
|
|
|
172
191
|
type: 'boolean'
|
|
173
192
|
}
|
|
174
193
|
}
|
|
194
|
+
},
|
|
195
|
+
clientScripts: {
|
|
196
|
+
required: false,
|
|
197
|
+
typeMetadata: {
|
|
198
|
+
schema: {
|
|
199
|
+
type: 'array'
|
|
200
|
+
}
|
|
201
|
+
}
|
|
175
202
|
}
|
|
176
203
|
};
|
|
@@ -5,7 +5,9 @@ export default function FormulaFieldModel(_ref) {
|
|
|
5
5
|
currencyLocale,
|
|
6
6
|
value,
|
|
7
7
|
uiType,
|
|
8
|
-
appendToActionPayload
|
|
8
|
+
appendToActionPayload,
|
|
9
|
+
textOverflowMode,
|
|
10
|
+
isRead
|
|
9
11
|
} = _ref;
|
|
10
12
|
return {
|
|
11
13
|
name,
|
|
@@ -14,6 +16,8 @@ export default function FormulaFieldModel(_ref) {
|
|
|
14
16
|
} : {}),
|
|
15
17
|
appendToActionPayload,
|
|
16
18
|
type: uiType,
|
|
17
|
-
|
|
19
|
+
isRead,
|
|
20
|
+
value,
|
|
21
|
+
textOverflowMode
|
|
18
22
|
};
|
|
19
23
|
}
|
|
@@ -3,12 +3,16 @@ export default function LookupFieldModel(_ref) {
|
|
|
3
3
|
name,
|
|
4
4
|
value,
|
|
5
5
|
appendToActionPayload,
|
|
6
|
-
uiType
|
|
6
|
+
uiType,
|
|
7
|
+
textOverflowMode,
|
|
8
|
+
isRead
|
|
7
9
|
} = _ref;
|
|
8
10
|
return {
|
|
9
11
|
name,
|
|
10
12
|
appendToActionPayload,
|
|
11
13
|
type: uiType,
|
|
12
|
-
|
|
14
|
+
isRead,
|
|
15
|
+
value,
|
|
16
|
+
textOverflowMode
|
|
13
17
|
};
|
|
14
18
|
}
|
|
@@ -32,7 +32,8 @@ export default { ...FieldProperties,
|
|
|
32
32
|
type: ['string', 'null']
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
|
-
required: ['id', 'name']
|
|
35
|
+
required: ['id', 'name'],
|
|
36
|
+
additionalProperties: true
|
|
36
37
|
}, {
|
|
37
38
|
// NOTE: string type is used in Form Lookup field translator
|
|
38
39
|
type: 'string' // Allowing string type for backward compatibility or alternative usage
|
|
@@ -3,12 +3,16 @@ export default function MultiLineFieldModel(_ref) {
|
|
|
3
3
|
name,
|
|
4
4
|
value,
|
|
5
5
|
appendToActionPayload,
|
|
6
|
-
uiType
|
|
6
|
+
uiType,
|
|
7
|
+
textOverflowMode,
|
|
8
|
+
isRead
|
|
7
9
|
} = _ref;
|
|
8
10
|
return {
|
|
9
11
|
name,
|
|
10
12
|
appendToActionPayload,
|
|
11
13
|
type: uiType,
|
|
12
|
-
|
|
14
|
+
isRead,
|
|
15
|
+
value,
|
|
16
|
+
textOverflowMode
|
|
13
17
|
};
|
|
14
18
|
}
|
|
@@ -4,14 +4,18 @@ function MultiListFieldModel(_ref) {
|
|
|
4
4
|
value,
|
|
5
5
|
appendToActionPayload,
|
|
6
6
|
options,
|
|
7
|
-
uiType
|
|
7
|
+
uiType,
|
|
8
|
+
textOverflowMode,
|
|
9
|
+
isRead
|
|
8
10
|
} = _ref;
|
|
9
11
|
return {
|
|
10
12
|
name,
|
|
11
13
|
appendToActionPayload,
|
|
12
14
|
type: uiType,
|
|
13
15
|
options,
|
|
14
|
-
|
|
16
|
+
isRead,
|
|
17
|
+
value,
|
|
18
|
+
textOverflowMode
|
|
15
19
|
};
|
|
16
20
|
}
|
|
17
21
|
|
|
@@ -3,12 +3,16 @@ export default function NameFieldModel(_ref) {
|
|
|
3
3
|
name,
|
|
4
4
|
value,
|
|
5
5
|
uiType,
|
|
6
|
-
appendToActionPayload
|
|
6
|
+
appendToActionPayload,
|
|
7
|
+
textOverflowMode,
|
|
8
|
+
isRead
|
|
7
9
|
} = _ref;
|
|
8
10
|
return {
|
|
9
11
|
name,
|
|
10
12
|
appendToActionPayload,
|
|
11
13
|
type: uiType,
|
|
12
|
-
|
|
14
|
+
isRead,
|
|
15
|
+
value,
|
|
16
|
+
textOverflowMode
|
|
13
17
|
};
|
|
14
18
|
}
|
|
@@ -3,12 +3,16 @@ export default function NumberFieldModel(_ref) {
|
|
|
3
3
|
name,
|
|
4
4
|
value,
|
|
5
5
|
uiType,
|
|
6
|
-
appendToActionPayload
|
|
6
|
+
appendToActionPayload,
|
|
7
|
+
textOverflowMode,
|
|
8
|
+
isRead
|
|
7
9
|
} = _ref;
|
|
8
10
|
return {
|
|
9
11
|
name,
|
|
10
12
|
appendToActionPayload,
|
|
11
13
|
type: uiType,
|
|
12
|
-
|
|
14
|
+
isRead,
|
|
15
|
+
value,
|
|
16
|
+
textOverflowMode
|
|
13
17
|
};
|
|
14
18
|
}
|
|
@@ -3,12 +3,16 @@ export default function PercentFieldModel(_ref) {
|
|
|
3
3
|
name,
|
|
4
4
|
value,
|
|
5
5
|
uiType,
|
|
6
|
-
appendToActionPayload
|
|
6
|
+
appendToActionPayload,
|
|
7
|
+
textOverflowMode,
|
|
8
|
+
isRead
|
|
7
9
|
} = _ref;
|
|
8
10
|
return {
|
|
9
11
|
name,
|
|
10
12
|
appendToActionPayload,
|
|
11
13
|
type: uiType,
|
|
12
|
-
|
|
14
|
+
isRead,
|
|
15
|
+
value,
|
|
16
|
+
textOverflowMode
|
|
13
17
|
};
|
|
14
18
|
}
|
|
@@ -3,12 +3,16 @@ export default function PhoneFieldModel(_ref) {
|
|
|
3
3
|
name,
|
|
4
4
|
value,
|
|
5
5
|
uiType,
|
|
6
|
-
appendToActionPayload
|
|
6
|
+
appendToActionPayload,
|
|
7
|
+
textOverflowMode,
|
|
8
|
+
isRead
|
|
7
9
|
} = _ref;
|
|
8
10
|
return {
|
|
9
11
|
name,
|
|
10
12
|
appendToActionPayload,
|
|
11
13
|
type: uiType,
|
|
12
|
-
|
|
14
|
+
isRead,
|
|
15
|
+
value,
|
|
16
|
+
textOverflowMode
|
|
13
17
|
};
|
|
14
18
|
}
|
|
@@ -4,13 +4,17 @@ export default function PickListFieldModel(_ref) {
|
|
|
4
4
|
value,
|
|
5
5
|
options,
|
|
6
6
|
uiType,
|
|
7
|
-
appendToActionPayload
|
|
7
|
+
appendToActionPayload,
|
|
8
|
+
textOverflowMode,
|
|
9
|
+
isRead
|
|
8
10
|
} = _ref;
|
|
9
11
|
return {
|
|
10
12
|
name,
|
|
11
13
|
appendToActionPayload,
|
|
12
14
|
type: uiType,
|
|
13
15
|
options,
|
|
14
|
-
|
|
16
|
+
isRead,
|
|
17
|
+
value,
|
|
18
|
+
textOverflowMode
|
|
15
19
|
};
|
|
16
20
|
}
|
|
@@ -3,12 +3,16 @@ export default function TextFieldModel(_ref) {
|
|
|
3
3
|
name,
|
|
4
4
|
value,
|
|
5
5
|
uiType,
|
|
6
|
-
appendToActionPayload
|
|
6
|
+
appendToActionPayload,
|
|
7
|
+
textOverflowMode,
|
|
8
|
+
isRead
|
|
7
9
|
} = _ref;
|
|
8
10
|
return {
|
|
9
11
|
name,
|
|
10
12
|
appendToActionPayload,
|
|
11
13
|
type: uiType,
|
|
12
|
-
|
|
14
|
+
isRead,
|
|
15
|
+
value,
|
|
16
|
+
textOverflowMode
|
|
13
17
|
};
|
|
14
18
|
}
|
|
@@ -3,12 +3,16 @@ export default function UrlFieldModel(_ref) {
|
|
|
3
3
|
name,
|
|
4
4
|
value,
|
|
5
5
|
uiType,
|
|
6
|
-
appendToActionPayload
|
|
6
|
+
appendToActionPayload,
|
|
7
|
+
textOverflowMode,
|
|
8
|
+
isRead
|
|
7
9
|
} = _ref;
|
|
8
10
|
return {
|
|
9
11
|
name,
|
|
10
12
|
appendToActionPayload,
|
|
11
13
|
type: uiType,
|
|
12
|
-
|
|
14
|
+
isRead,
|
|
15
|
+
value,
|
|
16
|
+
textOverflowMode
|
|
13
17
|
};
|
|
14
18
|
}
|
package/es/cc/link/Properties.js
CHANGED
|
@@ -17,6 +17,24 @@ export default {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
+
isDotted: {
|
|
21
|
+
required: false,
|
|
22
|
+
defaultValue: true,
|
|
23
|
+
typeMetadata: {
|
|
24
|
+
schema: {
|
|
25
|
+
type: "boolean"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
weight: {
|
|
30
|
+
required: false,
|
|
31
|
+
typeMetadata: {
|
|
32
|
+
schema: {
|
|
33
|
+
type: "string",
|
|
34
|
+
enum: ["light", "regular", "semibold", "bold"]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
20
38
|
href: {
|
|
21
39
|
required: true,
|
|
22
40
|
typeMetadata: {
|