@zohodesk/library-platform 1.1.10-exp.2 → 1.1.10-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/es/cc/fields/lookup/Properties.js +2 -1
- package/es/library/dot/components/form/frameworks/ui/css/Form.module.css +13 -13
- package/es/library/dot/components/form-fields/field/css/FieldItem.module.css +2 -2
- package/es/library/dot/components/section/frameworks/ui/css/Section.module.css +1 -1
- package/es/library/dot/components/table-list/frameworks/ui/css/TableList.module.css +15 -15
- 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/css/DateView.module.css +1 -1
- 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/multi-select/frameworks/ui/css/MultiSelectView.module.css +9 -9
- package/es/library/dot/legacy-to-new-arch/text-area/frameworks/ui/css/TextAreaView.module.css +9 -9
- package/es/platform/app-context-behaviour/frameworks/AppContextBehaviourFactory.js +2 -2
- package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActions/RowActionsRenderer.module.css +5 -5
- package/package.json +3 -2
|
@@ -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,17 +3,17 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.field {
|
|
6
|
-
margin-top:
|
|
6
|
+
margin-top: var(--zd_size5) ;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.multiSelectField {
|
|
10
|
-
margin-top:
|
|
10
|
+
margin-top: var(--zd_size2)
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.checkboxField {
|
|
14
14
|
composes: dInflex alignFstart from '~@zohodesk/components/es/common/common.module.css';
|
|
15
|
-
max-width: 100
|
|
16
|
-
gap:
|
|
15
|
+
max-width: 100% ;
|
|
16
|
+
gap: var(--zd_size8)
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.cursor_pointer {
|
|
@@ -27,36 +27,36 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
[dir=ltr] .footer {
|
|
30
|
-
padding-right:
|
|
30
|
+
padding-right: var(--zd_size32)
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
[dir=rtl] .footer {
|
|
34
|
-
padding-left:
|
|
34
|
+
padding-left: var(--zd_size32)
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/* Sections layout */
|
|
38
38
|
|
|
39
39
|
.sectionsWrapper {
|
|
40
|
-
padding-bottom:
|
|
40
|
+
padding-bottom: var(--zd_size8)
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.sectionsLayout, .sectionsTwoLayout {
|
|
44
|
-
margin: 0 auto
|
|
44
|
+
margin: 0 auto
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.sectionsLayout {
|
|
48
|
-
max-width: var(--local-form-layout-max-width,
|
|
48
|
+
max-width: var(--local-form-layout-max-width, var(--zd_size1080))
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.sectionsTwoLayout {
|
|
52
|
-
column-gap:
|
|
53
|
-
max-width: var(--local-form-layout-max-width,
|
|
52
|
+
column-gap: var(--zd_size8) ;
|
|
53
|
+
max-width: var(--local-form-layout-max-width, var(--zd_size1210))
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.rightPanel {
|
|
57
57
|
height: var(--local-form-right-panel-height, 100%);
|
|
58
58
|
position: -webkit-sticky;
|
|
59
59
|
position: sticky;
|
|
60
|
-
top: 0;
|
|
61
|
-
padding:
|
|
60
|
+
top: 0 ;
|
|
61
|
+
padding: var(--zd_size8) 0
|
|
62
62
|
}
|
|
@@ -137,18 +137,18 @@
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.loader {
|
|
140
|
-
padding:
|
|
140
|
+
padding: var(--zd_size40) 0
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.wrapper {
|
|
144
|
-
height: 100
|
|
145
|
-
width: 100
|
|
144
|
+
height: 100% ;
|
|
145
|
+
width: 100% ;
|
|
146
146
|
z-index: 1;
|
|
147
147
|
position: relative
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.resizerSpace {
|
|
151
|
-
width: calc(var(--local_table_resizer_extra_space, 0) *
|
|
151
|
+
width: calc(var(--local_table_resizer_extra_space, 0) * var(--zd_size1));
|
|
152
152
|
flex-shrink: 0
|
|
153
153
|
}
|
|
154
154
|
|
|
@@ -157,32 +157,32 @@
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
[dir=ltr] .contentWrapper {
|
|
160
|
-
left: 0;
|
|
160
|
+
left: 0 ;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
[dir=rtl] .contentWrapper {
|
|
164
|
-
right: 0;
|
|
164
|
+
right: 0 ;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
.initialLoading {
|
|
168
|
-
height: calc(100% -
|
|
168
|
+
height: calc(100% - (var(--zd_size100)))
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
.emptyContent {
|
|
172
|
-
padding:
|
|
172
|
+
padding: var(--zd_size160) 0 var(--zd_size60)
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
.errorContent {
|
|
176
|
-
padding:
|
|
176
|
+
padding: var(--zd_size60) 0
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
.headerWithActions,
|
|
180
180
|
.fieldWithActions {
|
|
181
|
-
gap:
|
|
181
|
+
gap: var(--zd_size6)
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
.actions {
|
|
185
|
-
gap:
|
|
185
|
+
gap: var(--zd_size8)
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
.rowCursor_default {
|
|
@@ -250,8 +250,8 @@
|
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
.rowDropIndicator {
|
|
253
|
-
width: 100
|
|
254
|
-
height:
|
|
253
|
+
width: 100% ;
|
|
254
|
+
height: var(--zd_size2) ;
|
|
255
255
|
/* css:theme-validation:ignore */
|
|
256
256
|
position: absolute;
|
|
257
257
|
z-index: 2;
|
|
@@ -259,11 +259,11 @@
|
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
.dropIndicatorTop {
|
|
262
|
-
top: 0;
|
|
262
|
+
top: 0 ;
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
.dropIndicatorBottom {
|
|
266
|
-
bottom: -
|
|
266
|
+
bottom: calc( var(--zd_size3) * -1 ) ;
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
.row {
|
package/es/library/dot/legacy-to-new-arch/breadcrumb/frameworks/ui/css/Breadcrumb.module.css
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
.wrapper, .itemContainer {
|
|
2
|
-
max-width: 100%
|
|
2
|
+
max-width: 100%
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.itemContainer {
|
|
6
|
-
column-gap:
|
|
6
|
+
column-gap: var(--zd_size4) ;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.separator {
|
|
10
10
|
--separator_fontSize: 14px;
|
|
11
|
-
margin: 0
|
|
11
|
+
margin: 0 var(--zd_size10) ;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.buttonStyle {
|
|
15
15
|
--button_font_size: 14px;
|
|
16
16
|
--button_padding: 0px;
|
|
17
17
|
--button_letter_spacing: 0px;
|
|
18
|
-
max-width: 100
|
|
18
|
+
max-width: 100% ;
|
|
19
19
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.label {
|
|
2
2
|
--label_cursor: inherit
|
|
3
3
|
}[dir=ltr] .label {
|
|
4
|
-
padding-right:
|
|
4
|
+
padding-right: var(--zd_size6)
|
|
5
5
|
}[dir=rtl] .label {
|
|
6
|
-
padding-left:
|
|
6
|
+
padding-left: var(--zd_size6)
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.mandatory::after {
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
[dir=ltr] .mandatory::after {
|
|
14
|
-
padding-left:
|
|
14
|
+
padding-left: var(--zd_size2)
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
[dir=rtl] .mandatory::after {
|
|
18
|
-
padding-right:
|
|
18
|
+
padding-right: var(--zd_size2)
|
|
19
19
|
}
|
package/es/library/dot/legacy-to-new-arch/multi-select/frameworks/ui/css/MultiSelectView.module.css
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
.actionContainer {
|
|
2
|
-
margin-top:
|
|
2
|
+
margin-top: var(--zd_size4) ;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.custmInputWrapper {
|
|
6
6
|
position: absolute;
|
|
7
|
-
top: 0;
|
|
8
|
-
width: 100
|
|
7
|
+
top: 0 ;
|
|
8
|
+
width: 100% ;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
[dir=ltr] .custmInputWrapper {
|
|
12
|
-
left: 0;
|
|
12
|
+
left: 0 ;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[dir=rtl] .custmInputWrapper {
|
|
16
|
-
right: 0;
|
|
16
|
+
right: 0 ;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.clearIconContainer {
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[dir=ltr] .paddingRight64 {
|
|
24
|
-
padding-right:
|
|
24
|
+
padding-right: var(--zd_size64) ;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[dir=rtl] .paddingRight64 {
|
|
28
|
-
padding-left:
|
|
28
|
+
padding-left: var(--zd_size64) ;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[dir=ltr] .paddingRight96 {
|
|
32
|
-
padding-right:
|
|
32
|
+
padding-right: var(--zd_size96) ;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
[dir=rtl] .paddingRight96 {
|
|
36
|
-
padding-left:
|
|
36
|
+
padding-left: var(--zd_size96) ;
|
|
37
37
|
}
|
package/es/library/dot/legacy-to-new-arch/text-area/frameworks/ui/css/TextAreaView.module.css
CHANGED
|
@@ -4,37 +4,37 @@
|
|
|
4
4
|
|
|
5
5
|
.rightPlaceholder {
|
|
6
6
|
position: absolute;
|
|
7
|
-
bottom:
|
|
7
|
+
bottom: var(--zd_size4) ;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
[dir=ltr] .rightPlaceholder {
|
|
11
|
-
right:
|
|
11
|
+
right: var(--zd_size12) ;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
[dir=rtl] .rightPlaceholder {
|
|
15
|
-
left:
|
|
15
|
+
left: var(--zd_size12) ;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
[dir=ltr] .paddingRight32 {
|
|
19
|
-
padding-right:
|
|
19
|
+
padding-right: var(--zd_size32) ;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
[dir=rtl] .paddingRight32 {
|
|
23
|
-
padding-left:
|
|
23
|
+
padding-left: var(--zd_size32) ;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
[dir=ltr] .paddingRight64 {
|
|
27
|
-
padding-right:
|
|
27
|
+
padding-right: var(--zd_size64) ;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
[dir=rtl] .paddingRight64 {
|
|
31
|
-
padding-left:
|
|
31
|
+
padding-left: var(--zd_size64) ;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
[dir=ltr] .paddingRight96 {
|
|
35
|
-
padding-right:
|
|
35
|
+
padding-right: var(--zd_size96) ;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
[dir=rtl] .paddingRight96 {
|
|
39
|
-
padding-left:
|
|
39
|
+
padding-left: var(--zd_size96) ;
|
|
40
40
|
}
|
|
@@ -14,8 +14,8 @@ class AppContextBehaviourFactory {
|
|
|
14
14
|
} = _ref;
|
|
15
15
|
const appResource = platformSDK[ResourceNamesEnum.APP];
|
|
16
16
|
return {
|
|
17
|
-
headers: appResource.getApiHeader(),
|
|
18
|
-
context: { ...appResource.getContext(),
|
|
17
|
+
headers: appResource && appResource.getApiHeader(),
|
|
18
|
+
context: { ...(appResource && appResource.getContext()),
|
|
19
19
|
...context
|
|
20
20
|
}
|
|
21
21
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
.wrapper {
|
|
2
|
-
max-width: 100%
|
|
2
|
+
max-width: 100%
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.gap_small {
|
|
6
|
-
gap:
|
|
6
|
+
gap: var(--zd_size4)
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.gap_xmedium {
|
|
10
|
-
gap:
|
|
10
|
+
gap: var(--zd_size6)
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.gap_medium {
|
|
14
|
-
gap:
|
|
14
|
+
gap: var(--zd_size8)
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.gap_large {
|
|
18
|
-
gap:
|
|
18
|
+
gap: var(--zd_size10)
|
|
19
19
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/library-platform",
|
|
3
|
-
"version": "1.1.10-exp.
|
|
3
|
+
"version": "1.1.10-exp.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "es/index.js",
|
|
6
6
|
"files": [
|
|
@@ -93,8 +93,9 @@
|
|
|
93
93
|
"react-sortable-hoc": "1.11.0"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
+
"@zoho/securityJS": "npm:@zoho/SecurityJS@^7.2.4",
|
|
96
97
|
"ajv": "6.12.6",
|
|
97
98
|
"jsep": "0.3.5",
|
|
98
99
|
"object-path-immutable": "4.1.2"
|
|
99
100
|
}
|
|
100
|
-
}
|
|
101
|
+
}
|