@zohodesk/library-platform 1.2.2-exp.6 → 1.2.3

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.
Files changed (102) hide show
  1. package/es/.DS_Store +0 -0
  2. package/es/cc/date/Properties.js +0 -15
  3. package/es/cc/fields/field/Properties.js +1 -8
  4. package/es/cc/form/Properties.js +0 -8
  5. package/es/cc/label/Properties.js +5 -12
  6. package/es/cc/multi-select/Properties.js +1 -8
  7. package/es/cc/section/Properties.js +1 -8
  8. package/es/cc/select/Properties.js +1 -8
  9. package/es/cc/textarea/Properties.js +0 -15
  10. package/es/cc/textbox/Properties.js +1 -8
  11. package/es/index.js +6 -4
  12. package/es/library/dot/components/action-status/frameworks/ui/css/ActionStatus.module.css +3 -3
  13. package/es/library/dot/components/form/adapters/presenter/TransformState.js +1 -3
  14. package/es/library/dot/components/form/frameworks/ui/FormView.js +3 -6
  15. package/es/library/dot/components/form/frameworks/ui/css/Form.module.css +13 -13
  16. package/es/library/dot/components/form/frameworks/ui/sub-components/Footer.js +7 -16
  17. package/es/library/dot/components/form/frameworks/ui/sub-components/Header.js +7 -16
  18. package/es/library/dot/components/form/frameworks/ui/sub-components/Sections.js +2 -4
  19. package/es/library/dot/components/form-fields/checkbox/frameworks/ui/CheckboxView.js +3 -6
  20. package/es/library/dot/components/form-fields/currency/frameworks/ui/CurrencyView.js +3 -6
  21. package/es/library/dot/components/form-fields/date/frameworks/ui/DateView.js +3 -6
  22. package/es/library/dot/components/form-fields/datetime/frameworks/ui/DateTimeView.js +3 -6
  23. package/es/library/dot/components/form-fields/decimal/frameworks/ui/DecimalView.js +3 -6
  24. package/es/library/dot/components/form-fields/email/frameworks/ui/EmailView.js +3 -6
  25. package/es/library/dot/components/form-fields/field/FieldItem.js +2 -4
  26. package/es/library/dot/components/form-fields/field/css/FieldItem.module.css +2 -2
  27. package/es/library/dot/components/form-fields/lookup/frameworks/ui/LookupView.js +3 -6
  28. package/es/library/dot/components/form-fields/multi-select/frameworks/ui/MultiSelectView.js +4 -7
  29. package/es/library/dot/components/form-fields/number/frameworks/ui/NumberView.js +3 -6
  30. package/es/library/dot/components/form-fields/percentage/frameworks/ui/PercentageView.js +4 -7
  31. package/es/library/dot/components/form-fields/phone/frameworks/ui/PhoneView.js +3 -6
  32. package/es/library/dot/components/form-fields/pick-list/frameworks/ui/PickListView.js +4 -7
  33. package/es/library/dot/components/form-fields/textarea/frameworks/ui/TextAreaView.js +3 -6
  34. package/es/library/dot/components/form-fields/textbox/frameworks/ui/TextBoxView.js +3 -6
  35. package/es/library/dot/components/form-fields/url/frameworks/ui/UrlView.js +3 -6
  36. package/es/library/dot/components/section/frameworks/ui/RenderField.js +1 -3
  37. package/es/library/dot/components/section/frameworks/ui/SectionView.js +6 -11
  38. package/es/library/dot/components/section/frameworks/ui/css/Section.module.css +3 -3
  39. package/es/library/dot/components/table-list/frameworks/ui/TableListView.js +4 -8
  40. package/es/library/dot/components/table-list/frameworks/ui/css/TableList.module.css +25 -25
  41. package/es/library/dot/components/table-list/frameworks/ui/sub-components/Header.js +4 -6
  42. package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/HeaderData.js +6 -11
  43. package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/MassAction.js +5 -11
  44. package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/Row.js +4 -8
  45. package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/RowActions.js +5 -12
  46. package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/RowData.js +4 -12
  47. package/es/library/dot/legacy-to-new-arch/breadcrumb/frameworks/ui/css/Breadcrumb.module.css +4 -4
  48. package/es/library/dot/legacy-to-new-arch/date/frameworks/ui/DateView.js +4 -10
  49. package/es/library/dot/legacy-to-new-arch/date/frameworks/ui/css/DateView.module.css +1 -1
  50. package/es/library/dot/legacy-to-new-arch/highlighted-value/frameworks/ui/css/HighlightedValue.module.css +1 -1
  51. package/es/library/dot/legacy-to-new-arch/label/frameworks/ui/LabelView.js +5 -11
  52. package/es/library/dot/legacy-to-new-arch/label/frameworks/ui/css/Label.module.css +4 -4
  53. package/es/library/dot/legacy-to-new-arch/multi-select/frameworks/ui/MultiSelectView.js +8 -21
  54. package/es/library/dot/legacy-to-new-arch/multi-select/frameworks/ui/css/MultiSelectView.module.css +7 -7
  55. package/es/library/dot/legacy-to-new-arch/radio-dropdown/frameworks/ui/css/RadioDropdown.module.css +4 -4
  56. package/es/library/dot/legacy-to-new-arch/select/frameworks/ui/SelectView.js +8 -18
  57. package/es/library/dot/legacy-to-new-arch/select/frameworks/ui/css/Select.module.css +2 -2
  58. package/es/library/dot/legacy-to-new-arch/table-column-chooser/frameworks/ui/css/TableColumnChooserView.module.css +1 -1
  59. package/es/library/dot/legacy-to-new-arch/table-field-components/radio-dropdown-field/frameworks/ui/css/RadioDropdownField.module.css +1 -1
  60. package/es/library/dot/legacy-to-new-arch/text-area/frameworks/ui/TextAreaView.js +4 -10
  61. package/es/library/dot/legacy-to-new-arch/text-area/frameworks/ui/css/TextAreaView.module.css +3 -3
  62. package/es/library/dot/legacy-to-new-arch/textbox/frameworks/ui/TextBoxView.js +5 -11
  63. package/es/platform/.DS_Store +0 -0
  64. package/es/platform/client-actions/cc/action-event-mediator/Properties.js +43 -0
  65. package/es/platform/client-actions/components/action-event-mediator/frameworks/ui/ClientActionsAdapter.js +2 -1
  66. package/es/platform/client-actions/components/client-actions-renderer/frameworks/ui/client-actions-renderer/ClientActionsRenderer.module.css +6 -6
  67. package/es/platform/client-actions/components/interfaces/ActionViewModel.js +0 -7
  68. package/es/platform/client-actions/components/row-actions-renderer/domain/entities/interfaces/IState.js +1 -0
  69. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/AdaptiveRowActions/AdaptiveRowActionsRenderer.js +12 -0
  70. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/AdaptiveRowActions/AdaptiveRowActionsRendererView.js +42 -0
  71. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/MoreActions/MoreActionsRenderer.js +10 -0
  72. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/MoreActions/MoreActionsRendererView.js +79 -0
  73. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActions/RowActionsRenderer.js +12 -0
  74. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActions/RowActionsRenderer.module.css +23 -0
  75. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActions/RowActionsRendererView.js +37 -0
  76. package/es/platform/client-scripts/cc/zclient-scripts-execution/clientScriptsSchema.js +1 -4
  77. package/es/platform/components/form-connected/frameworks/FormConnectedView.js +0 -2
  78. package/es/platform/components/smart-action-band/adapters/presenters/ActionBandTranslator.js +10 -7
  79. package/es/platform/components/smart-action-band/frameworks/SmartActionBandView.js +5 -17
  80. package/es/platform/zform/adapters/presenter/FormTranslator.js +12 -8
  81. package/es/platform/zform/adapters/presenter/translators/SectionTranslator.js +14 -10
  82. package/es/platform/zform/adapters/presenter/translators/fields/BooleanFieldTranslator.js +2 -4
  83. package/es/platform/zform/adapters/presenter/translators/fields/CurrencyFieldTranslator.js +1 -2
  84. package/es/platform/zform/adapters/presenter/translators/fields/DateFieldTranslator.js +2 -4
  85. package/es/platform/zform/adapters/presenter/translators/fields/DateTimeFieldTranslator.js +2 -4
  86. package/es/platform/zform/adapters/presenter/translators/fields/DecimalFieldTranslator.js +2 -4
  87. package/es/platform/zform/adapters/presenter/translators/fields/EmailFieldTranslator.js +2 -4
  88. package/es/platform/zform/adapters/presenter/translators/fields/LookUpFieldTranslator.js +2 -4
  89. package/es/platform/zform/adapters/presenter/translators/fields/MultiselectFieldTranslator.js +8 -13
  90. package/es/platform/zform/adapters/presenter/translators/fields/NumberFieldTranslator.js +2 -4
  91. package/es/platform/zform/adapters/presenter/translators/fields/PercentageFieldTranslator.js +2 -4
  92. package/es/platform/zform/adapters/presenter/translators/fields/PhoneFieldTranslator.js +2 -4
  93. package/es/platform/zform/adapters/presenter/translators/fields/PicklistFieldTranslator.js +12 -15
  94. package/es/platform/zform/adapters/presenter/translators/fields/TextAreaFieldTranslator.js +2 -4
  95. package/es/platform/zform/adapters/presenter/translators/fields/TextFieldTranslator.js +2 -4
  96. package/es/platform/zform/adapters/presenter/translators/fields/URLFieldTranslator.js +2 -4
  97. package/es/platform/zlist/adapters/presenters/SelectionTranslator.js +4 -2
  98. package/es/platform/zlist/adapters/presenters/TableTranslator.js +1 -6
  99. package/es/platform/zlist/adapters/presenters/translators/ColumnTranslator.js +1 -7
  100. package/es/platform/zlist/adapters/presenters/translators/Header.js +6 -7
  101. package/es/platform/zlist/adapters/presenters/translators/Row.js +5 -6
  102. package/package.json +1 -1
@@ -21,8 +21,7 @@ function EmailView(_ref, ref) {
21
21
  uiConfig,
22
22
  labelActions,
23
23
  actions,
24
- clientScripts,
25
- context
24
+ clientScripts
26
25
  } = state.properties;
27
26
  const {
28
27
  size,
@@ -37,8 +36,7 @@ function EmailView(_ref, ref) {
37
36
  errorMessage: errorMessage,
38
37
  testId: "smart_form_field_email",
39
38
  size: size,
40
- breakRow: breakRow,
41
- context: context
39
+ breakRow: breakRow
42
40
  }, /*#__PURE__*/React.createElement("div", {
43
41
  className: style.field
44
42
  }, /*#__PURE__*/React.createElement(TextBox, {
@@ -50,8 +48,7 @@ function EmailView(_ref, ref) {
50
48
  readonly: readonly,
51
49
  required: required,
52
50
  actions: actions,
53
- clientScripts: clientScripts,
54
- context: context
51
+ clientScripts: clientScripts
55
52
  })));
56
53
  }
57
54
 
@@ -13,8 +13,7 @@ const FieldItem = /*#__PURE__*/forwardRef((props, ref) => {
13
13
  breakRow,
14
14
  errorMessage,
15
15
  testId,
16
- children,
17
- context
16
+ children
18
17
  } = props;
19
18
  const isLargeSize = size === 'large';
20
19
  return /*#__PURE__*/React.createElement("div", {
@@ -25,8 +24,7 @@ const FieldItem = /*#__PURE__*/forwardRef((props, ref) => {
25
24
  for: id,
26
25
  label: label,
27
26
  actions: labelActions,
28
- isMandatory: required,
29
- context: context
27
+ isMandatory: required
30
28
  }), !isLargeSize && breakRow ? /*#__PURE__*/React.createElement("div", {
31
29
  className: style.breakRow
32
30
  }, children) : children, errorMessage ? /*#__PURE__*/React.createElement(ErrorMessage, {
@@ -1,7 +1,7 @@
1
1
  .fieldItem {
2
2
  position: relative;
3
- min-width: 0;
4
- min-height: 0
3
+ min-width: 0 ;
4
+ min-height: 0
5
5
  }
6
6
 
7
7
  .largeSize {
@@ -20,8 +20,7 @@ function TextBoxView(_ref, ref) {
20
20
  uiConfig,
21
21
  labelActions,
22
22
  actions,
23
- clientScripts,
24
- context
23
+ clientScripts
25
24
  } = state.properties;
26
25
  const {
27
26
  size,
@@ -36,8 +35,7 @@ function TextBoxView(_ref, ref) {
36
35
  errorMessage: errorMessage,
37
36
  testId: 'smart_form_field_lookup',
38
37
  size: size,
39
- breakRow: breakRow,
40
- context: context
38
+ breakRow: breakRow
41
39
  }, /*#__PURE__*/React.createElement("div", {
42
40
  className: style.field
43
41
  }, /*#__PURE__*/React.createElement(TextBox, {
@@ -48,8 +46,7 @@ function TextBoxView(_ref, ref) {
48
46
  disabled: disabled,
49
47
  readonly: readonly,
50
48
  actions: actions,
51
- clientScripts: clientScripts,
52
- context: context
49
+ clientScripts: clientScripts
53
50
  })));
54
51
  }
55
52
 
@@ -26,8 +26,7 @@ function MultiSelectView(_ref, ref) {
26
26
  labelActions,
27
27
  actions,
28
28
  uiConfig,
29
- clientScripts,
30
- context
29
+ clientScripts
31
30
  } = state.properties;
32
31
  const {
33
32
  size,
@@ -40,10 +39,9 @@ function MultiSelectView(_ref, ref) {
40
39
  labelActions: labelActions,
41
40
  required: required,
42
41
  errorMessage: errorMessage,
43
- testId: 'smart_form_field_multiselect',
42
+ testId: "smart_form_field_multiselect",
44
43
  size: size,
45
- breakRow: breakRow,
46
- context: context
44
+ breakRow: breakRow
47
45
  }, /*#__PURE__*/React.createElement(FieldController, {
48
46
  $ui_className: style.multiSelectField,
49
47
  $event_onFocus: () => dispatch({
@@ -60,8 +58,7 @@ function MultiSelectView(_ref, ref) {
60
58
  disabled: disabled,
61
59
  readonly: readonly,
62
60
  actions: actions,
63
- clientScripts: clientScripts,
64
- context: context
61
+ clientScripts: clientScripts
65
62
  })));
66
63
  }
67
64
 
@@ -21,8 +21,7 @@ function NumberView(_ref, ref) {
21
21
  uiConfig,
22
22
  labelActions,
23
23
  actions,
24
- clientScripts,
25
- context
24
+ clientScripts
26
25
  } = state.properties;
27
26
  const {
28
27
  size,
@@ -37,8 +36,7 @@ function NumberView(_ref, ref) {
37
36
  errorMessage: errorMessage,
38
37
  testId: "smart_form_field_number",
39
38
  size: size,
40
- breakRow: breakRow,
41
- context: context
39
+ breakRow: breakRow
42
40
  }, /*#__PURE__*/React.createElement("div", {
43
41
  className: style.field
44
42
  }, /*#__PURE__*/React.createElement(TextBox, {
@@ -50,8 +48,7 @@ function NumberView(_ref, ref) {
50
48
  readonly: readonly,
51
49
  required: required,
52
50
  actions: actions,
53
- clientScripts: clientScripts,
54
- context: context
51
+ clientScripts: clientScripts
55
52
  })));
56
53
  }
57
54
 
@@ -20,8 +20,7 @@ function PercentageView(_ref, ref) {
20
20
  uiConfig,
21
21
  labelActions,
22
22
  actions,
23
- clientScripts,
24
- context
23
+ clientScripts
25
24
  } = state.properties;
26
25
  const {
27
26
  size,
@@ -34,10 +33,9 @@ function PercentageView(_ref, ref) {
34
33
  labelActions: labelActions,
35
34
  required: required,
36
35
  errorMessage: errorMessage,
37
- testId: 'smart_form_field_percentage',
36
+ testId: "smart_form_field_percentage",
38
37
  size: size,
39
- breakRow: breakRow,
40
- context: context
38
+ breakRow: breakRow
41
39
  }, /*#__PURE__*/React.createElement("div", {
42
40
  className: style.field
43
41
  }, /*#__PURE__*/React.createElement(TextBox, {
@@ -48,8 +46,7 @@ function PercentageView(_ref, ref) {
48
46
  readonly: readonly,
49
47
  required: required,
50
48
  actions: actions,
51
- clientScripts: clientScripts,
52
- context: context
49
+ clientScripts: clientScripts
53
50
  })));
54
51
  }
55
52
 
@@ -21,8 +21,7 @@ function PhoneView(_ref, ref) {
21
21
  uiConfig,
22
22
  labelActions,
23
23
  actions,
24
- clientScripts,
25
- context
24
+ clientScripts
26
25
  } = state.properties;
27
26
  const {
28
27
  size,
@@ -37,8 +36,7 @@ function PhoneView(_ref, ref) {
37
36
  errorMessage: errorMessage,
38
37
  testId: "smart_form_field_phone",
39
38
  size: size,
40
- breakRow: breakRow,
41
- context: context
39
+ breakRow: breakRow
42
40
  }, /*#__PURE__*/React.createElement("div", {
43
41
  className: style.field
44
42
  }, /*#__PURE__*/React.createElement(TextBox, {
@@ -50,8 +48,7 @@ function PhoneView(_ref, ref) {
50
48
  readonly: readonly,
51
49
  required: required,
52
50
  actions: actions,
53
- clientScripts: clientScripts,
54
- context: context
51
+ clientScripts: clientScripts
55
52
  })));
56
53
  }
57
54
 
@@ -26,8 +26,7 @@ function PickListView(_ref, ref) {
26
26
  labelActions,
27
27
  actions,
28
28
  uiConfig,
29
- clientScripts,
30
- context
29
+ clientScripts
31
30
  } = state.properties;
32
31
  const {
33
32
  size,
@@ -40,10 +39,9 @@ function PickListView(_ref, ref) {
40
39
  labelActions: labelActions,
41
40
  required: required,
42
41
  errorMessage: errorMessage,
43
- testId: 'smart_form_field_picklist',
42
+ testId: "smart_form_field_picklist",
44
43
  size: size,
45
- breakRow: breakRow,
46
- context: context
44
+ breakRow: breakRow
47
45
  }, /*#__PURE__*/React.createElement(FieldController, {
48
46
  $ui_className: style.field,
49
47
  $event_onFocus: () => dispatch({
@@ -60,8 +58,7 @@ function PickListView(_ref, ref) {
60
58
  disabled: disabled,
61
59
  readonly: readonly,
62
60
  actions: actions,
63
- clientScripts: clientScripts,
64
- context: context
61
+ clientScripts: clientScripts
65
62
  })));
66
63
  }
67
64
 
@@ -21,8 +21,7 @@ function TextAreaView(_ref, ref) {
21
21
  labelActions,
22
22
  actions,
23
23
  clientScripts,
24
- maxLength,
25
- context
24
+ maxLength
26
25
  } = state.properties;
27
26
  const {
28
27
  size,
@@ -37,8 +36,7 @@ function TextAreaView(_ref, ref) {
37
36
  errorMessage: errorMessage,
38
37
  testId: "smart_form_field_textarea",
39
38
  size: size,
40
- breakRow: breakRow,
41
- context: context
39
+ breakRow: breakRow
42
40
  }, /*#__PURE__*/React.createElement("div", {
43
41
  className: style.field
44
42
  }, /*#__PURE__*/React.createElement(TextArea, {
@@ -50,8 +48,7 @@ function TextAreaView(_ref, ref) {
50
48
  readonly: readonly,
51
49
  actions: actions,
52
50
  clientScripts: clientScripts,
53
- maxLength: maxLength,
54
- context: context
51
+ maxLength: maxLength
55
52
  })));
56
53
  }
57
54
 
@@ -21,8 +21,7 @@ function TextBoxView(_ref, ref) {
21
21
  uiConfig,
22
22
  labelActions,
23
23
  actions,
24
- clientScripts,
25
- context
24
+ clientScripts
26
25
  } = state.properties;
27
26
  const {
28
27
  size,
@@ -37,8 +36,7 @@ function TextBoxView(_ref, ref) {
37
36
  errorMessage: errorMessage,
38
37
  testId: "smart_form_field_textbox",
39
38
  size: size,
40
- breakRow: breakRow,
41
- context: context
39
+ breakRow: breakRow
42
40
  }, /*#__PURE__*/React.createElement("div", {
43
41
  className: style.field
44
42
  }, /*#__PURE__*/React.createElement(TextBox, {
@@ -50,8 +48,7 @@ function TextBoxView(_ref, ref) {
50
48
  disabled: disabled,
51
49
  readonly: readonly,
52
50
  actions: actions,
53
- clientScripts: clientScripts,
54
- context: context
51
+ clientScripts: clientScripts
55
52
  })));
56
53
  }
57
54
 
@@ -21,8 +21,7 @@ function UrlView(_ref, ref) {
21
21
  required,
22
22
  labelActions,
23
23
  actions,
24
- clientScripts,
25
- context
24
+ clientScripts
26
25
  } = state.properties;
27
26
  const {
28
27
  size,
@@ -37,8 +36,7 @@ function UrlView(_ref, ref) {
37
36
  size: size,
38
37
  breakRow: breakRow,
39
38
  errorMessage: errorMessage,
40
- testId: "smart_form_field_url",
41
- context: context
39
+ testId: "smart_form_field_url"
42
40
  }, /*#__PURE__*/React.createElement("div", {
43
41
  className: style.field
44
42
  }, /*#__PURE__*/React.createElement(TextBox, {
@@ -50,8 +48,7 @@ function UrlView(_ref, ref) {
50
48
  readonly: readonly,
51
49
  required: required,
52
50
  actions: actions,
53
- clientScripts: clientScripts,
54
- context: context
51
+ clientScripts: clientScripts
55
52
  })));
56
53
  }
57
54
 
@@ -5,7 +5,6 @@ import ComponentRegistry from "../../../../../custom-component/frameworks/ui/Com
5
5
  export function renderField(field, key, clientScripts) {
6
6
  const {
7
7
  type,
8
- context,
9
8
  ...properties
10
9
  } = field;
11
10
  const Component = ComponentRegistry.get(type);
@@ -18,7 +17,6 @@ export function renderField(field, key, clientScripts) {
18
17
  return /*#__PURE__*/React.createElement(Component, _extends({
19
18
  key: key
20
19
  }, properties, {
21
- clientScripts: clientScripts,
22
- context: context
20
+ clientScripts: clientScripts
23
21
  }));
24
22
  }
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
+ import RowActionsRenderer from "../../../../../../platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActions/RowActionsRenderer";
2
3
  import VelocityAnimationGroup from '@zohodesk/components/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
3
4
  import Flex from '@zohodesk/layout/es/Flex/Flex';
4
5
  import Section from '@zohodesk-private/desk-components/es/setup/SetupFormBox/SetupFormBox';
5
6
  import FieldsLayout from '@zohodesk-private/desk-components/es/form/FieldsLayout/FieldsLayout';
6
7
  import { renderField } from "./RenderField";
7
- import { ActionViewGap, Layout } from "../../../../../../platform/client-actions/components/interfaces/ActionViewModel"; // @ts-ignore
8
+ import { ActionViewGap } from "../../../../../../platform/client-actions/components/interfaces/ActionViewModel"; // @ts-ignore
8
9
 
9
10
  import style from "./css/Section.module.css";
10
- import ClientActionsRenderer from "../../../../../../platform/client-actions/components/client-actions-renderer/frameworks/ui/client-actions-renderer/ClientActionsRenderer";
11
11
 
12
12
  function SectionView(_ref, ref) {
13
13
  let {
@@ -21,8 +21,7 @@ function SectionView(_ref, ref) {
21
21
  fields,
22
22
  titleActions,
23
23
  headerActions,
24
- clientScripts,
25
- context
24
+ clientScripts
26
25
  } = state.properties;
27
26
 
28
27
  const renderActions = actions => {
@@ -31,14 +30,10 @@ function SectionView(_ref, ref) {
31
30
  $ui_displayMode: "flex",
32
31
  $ui_alignItems: "center",
33
32
  $ui_className: style.actionContainer
34
- }, /*#__PURE__*/React.createElement(ClientActionsRenderer, {
33
+ }, /*#__PURE__*/React.createElement(RowActionsRenderer, {
35
34
  actions: actions,
36
- clientScripts: clientScripts,
37
- context: context,
38
- viewMeta: {
39
- layout: Layout.HORIZONTAL,
40
- gap: ActionViewGap.LARGE
41
- }
35
+ gap: ActionViewGap.LARGE,
36
+ clientScripts: clientScripts
42
37
  }));
43
38
  };
44
39
 
@@ -1,11 +1,11 @@
1
1
  .fieldsContainer {
2
- padding-top: 1px
2
+ padding-top: var(--zd_size1)
3
3
  }
4
4
 
5
5
  [dir=ltr] .actionContainer {
6
- margin-left: 8px;
6
+ margin-left: var(--zd_size8) ;
7
7
  }
8
8
 
9
9
  [dir=rtl] .actionContainer {
10
- margin-right: 8px;
10
+ margin-right: var(--zd_size8) ;
11
11
  }
@@ -44,8 +44,7 @@ function TableListView(_ref2, _ref) {
44
44
  const {
45
45
  headers,
46
46
  rows,
47
- clientScripts,
48
- massActionsContext
47
+ clientScripts
49
48
  } = data;
50
49
  const {
51
50
  hasActions: hasRowActions,
@@ -101,8 +100,7 @@ function TableListView(_ref2, _ref) {
101
100
  hasRowActions,
102
101
  rowActionsColumnWidth,
103
102
  dispatch,
104
- clientScripts,
105
- massActionsContext
103
+ clientScripts
106
104
  }), renderBody({
107
105
  TableRef,
108
106
  dispatch,
@@ -151,8 +149,7 @@ function renderHeader(_ref3) {
151
149
  hasRowActions,
152
150
  rowActionsColumnWidth,
153
151
  dispatch,
154
- clientScripts,
155
- massActionsContext
152
+ clientScripts
156
153
  } = _ref3;
157
154
  return /*#__PURE__*/React.createElement(Header, {
158
155
  isReorderEnabled: isReorderEnabled,
@@ -169,8 +166,7 @@ function renderHeader(_ref3) {
169
166
  headers: headers,
170
167
  isMultiline: isMultiline,
171
168
  dispatch: dispatch,
172
- clientScripts: clientScripts,
173
- massActionsContext: massActionsContext
169
+ clientScripts: clientScripts
174
170
  });
175
171
  }
176
172
 
@@ -137,39 +137,39 @@
137
137
  }
138
138
 
139
139
  .paginationSpace {
140
- padding-bottom: 70px;
140
+ padding-bottom: var(--zd_size70) ;
141
141
  }
142
142
 
143
143
  .loader {
144
- padding: 20px 0
144
+ padding: var(--zd_size20) 0
145
145
  }
146
146
 
147
147
  .wrapper {
148
- height: 100%;
149
- width: 100%;
148
+ height: 100% ;
149
+ width: 100% ;
150
150
  z-index: 1;
151
151
  position: relative;
152
152
  }
153
153
 
154
154
  .hiddenDummyRow {
155
- height: 40px;
156
- width: 0;
155
+ height: var(--zd_size40) ;
156
+ width: 0 ;
157
157
  position: absolute;
158
158
  z-index: -100;
159
- top: 0;
159
+ top: 0 ;
160
160
  pointer-events: none;
161
161
  }
162
162
 
163
163
  [dir=ltr] .hiddenDummyRow {
164
- left: 0;
164
+ left: 0 ;
165
165
  }
166
166
 
167
167
  [dir=rtl] .hiddenDummyRow {
168
- right: 0;
168
+ right: 0 ;
169
169
  }
170
170
 
171
171
  .resizerSpace {
172
- width: calc(var(--local_table_resizer_extra_space, 0) * 1px);
172
+ width: calc(var(--local_table_resizer_extra_space, 0) * var(--zd_size1));
173
173
  flex-shrink: 0
174
174
  }
175
175
 
@@ -178,32 +178,32 @@
178
178
  }
179
179
 
180
180
  [dir=ltr] .contentWrapper {
181
- left: 0;
181
+ left: 0 ;
182
182
  }
183
183
 
184
184
  [dir=rtl] .contentWrapper {
185
- right: 0;
185
+ right: 0 ;
186
186
  }
187
187
 
188
188
  .initialLoading {
189
- height: calc(100% - 100px)
189
+ height: calc(100% - (var(--zd_size100)))
190
190
  }
191
191
 
192
192
  .emptyContent {
193
- padding: 160px 0 60px
193
+ padding: var(--zd_size160) 0 var(--zd_size60)
194
194
  }
195
195
 
196
196
  .errorContent {
197
- padding: 60px 0
197
+ padding: var(--zd_size60) 0
198
198
  }
199
199
 
200
200
  .headerWithActions,
201
201
  .fieldWithActions {
202
- gap: 6px
202
+ gap: var(--zd_size6)
203
203
  }
204
204
 
205
205
  .actions {
206
- gap: 8px
206
+ gap: var(--zd_size8)
207
207
  }
208
208
 
209
209
  .rowCursor_default {
@@ -248,7 +248,7 @@
248
248
  }
249
249
 
250
250
  .dragHandleContainer {
251
- height: 100%;
251
+ height: 100% ;
252
252
  opacity: 0;
253
253
  visibility: hidden;
254
254
  }
@@ -272,8 +272,8 @@
272
272
  }
273
273
 
274
274
  .rowDropIndicator {
275
- width: 100%;
276
- height: 2px;
275
+ width: 100% ;
276
+ height: var(--zd_size2) ;
277
277
  /* css:theme-validation:ignore */
278
278
  position: absolute;
279
279
  z-index: 2;
@@ -281,11 +281,11 @@
281
281
  }
282
282
 
283
283
  .dropIndicatorTop {
284
- top: 0;
284
+ top: 0 ;
285
285
  }
286
286
 
287
287
  .dropIndicatorBottom {
288
- bottom: -3px;
288
+ bottom: calc( var(--zd_size3) * -1 ) ;
289
289
  }
290
290
 
291
291
  .row {
@@ -341,13 +341,13 @@
341
341
 
342
342
  .pagination {
343
343
  composes: posab from '~@zohodesk/components/lib/common/common.module.css';
344
- bottom: 20px;
344
+ bottom: var(--zd_size20) ;
345
345
  }
346
346
 
347
347
  [dir=ltr] .pagination {
348
- right: 30px;
348
+ right: var(--zd_size30) ;
349
349
  }
350
350
 
351
351
  [dir=rtl] .pagination {
352
- left: 30px;
352
+ left: var(--zd_size30) ;
353
353
  }
@@ -26,8 +26,7 @@ function Header(_ref) {
26
26
  headers,
27
27
  isMultiline,
28
28
  dispatch,
29
- clientScripts,
30
- massActionsContext
29
+ clientScripts
31
30
  } = _ref;
32
31
 
33
32
  if (headers.length <= 0) {
@@ -49,16 +48,15 @@ function Header(_ref) {
49
48
  }
50
49
  }, /*#__PURE__*/React.createElement(TableHeaderRow, {
51
50
  $flag_autoHeight: isMultiline
52
- }, renderReOrderColumn(isReorderEnabled), rendermassAction(isSelectionEnabled, isMultiline, actions, clientScripts, massActionsContext), renderHeaders(headers, isMultiline, currentlyResizingColumn, isResizerEnabled, isFlexibleColumns, dispatch, clientScripts), renderActionColumn(hasRowActions, rowActionsColumnWidth), renderResizerExtraSpace(isCurrentlyResizing, resizerExtraWidth)));
51
+ }, renderReOrderColumn(isReorderEnabled), rendermassAction(isSelectionEnabled, isMultiline, actions, clientScripts), renderHeaders(headers, isMultiline, currentlyResizingColumn, isResizerEnabled, isFlexibleColumns, dispatch, clientScripts), renderActionColumn(hasRowActions, rowActionsColumnWidth), renderResizerExtraSpace(isCurrentlyResizing, resizerExtraWidth)));
53
52
  }
54
53
 
55
- function rendermassAction(isSelectionEnabled, isMultiline, actions, clientScripts, massActionsContext) {
54
+ function rendermassAction(isSelectionEnabled, isMultiline, actions, clientScripts) {
56
55
  return /*#__PURE__*/React.createElement(MassAction, {
57
56
  isSelectionEnabled: isSelectionEnabled,
58
57
  isMultiline: isMultiline,
59
58
  actions: actions,
60
- clientScripts: clientScripts,
61
- context: massActionsContext
59
+ clientScripts: clientScripts
62
60
  });
63
61
  }
64
62
 
@@ -2,11 +2,11 @@ import React from 'react';
2
2
  import TableHead from '@zohodesk-private/desk-components/es/table/TableHead/TableHead';
3
3
  import TableHeading from '@zohodesk-private/desk-components/es/table/TableHeading/TableHeading';
4
4
  import { AlignmentOfFlex } from "../../../../../../../../cc/table-list/data-types/Header";
5
- import { ActionViewGap, Layout } from "../../../../../../../../platform/client-actions/components/interfaces/ActionViewModel";
5
+ import { ActionViewGap } from "../../../../../../../../platform/client-actions/components/interfaces/ActionViewModel";
6
6
  import ColumnResizer from "./ColumnResizer"; // @ts-ignore
7
7
 
8
8
  import style from "./../../css/TableList.module.css";
9
- import ClientActionsRenderer from "../../../../../../../../platform/client-actions/components/client-actions-renderer/frameworks/ui/client-actions-renderer/ClientActionsRenderer";
9
+ import RowActionsRenderer from "../../../../../../../../platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActions/RowActionsRenderer";
10
10
 
11
11
  function HeaderData(_ref) {
12
12
  let {
@@ -26,8 +26,7 @@ function HeaderData(_ref) {
26
26
  sortable,
27
27
  width,
28
28
  alignment,
29
- actions,
30
- context
29
+ actions
31
30
  } = header;
32
31
  const hasActions = Boolean(actions?.length);
33
32
  return (
@@ -51,14 +50,10 @@ function HeaderData(_ref) {
51
50
  }, /*#__PURE__*/React.createElement(TableHeading, {
52
51
  $i18n_text: text,
53
52
  $flag_wrapText: isMultiline
54
- }), hasActions ? /*#__PURE__*/React.createElement(ClientActionsRenderer, {
53
+ }), hasActions ? /*#__PURE__*/React.createElement(RowActionsRenderer, {
55
54
  actions: actions,
56
- clientScripts: clientScripts,
57
- context: context,
58
- viewMeta: {
59
- layout: Layout.HORIZONTAL,
60
- gap: ActionViewGap.SMALL
61
- }
55
+ gap: ActionViewGap.SMALL,
56
+ clientScripts: clientScripts
62
57
  }) : null, /*#__PURE__*/React.createElement(ColumnResizer, {
63
58
  isResizerEnabled: isResizerEnabled,
64
59
  isResizing: isResizing,