@sc-360-v2/storefront-cms-library 0.5.64 → 0.5.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/allocationDetails.scss +34 -53
- package/dist/builder.js +1 -1
- package/dist/cart-summary.scss +12 -0
- package/dist/category-groups-product-options.scss +36 -24
- package/dist/countdown.scss +47 -4
- package/dist/filters.scss +345 -84
- package/dist/icons-builder.js +1 -1
- package/dist/icons-website.js +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/login.scss +6 -2
- package/dist/map.scss +25 -0
- package/dist/product-actions.scss +2872 -2585
- package/dist/product-highlights.scss +48 -50
- package/dist/product-image-allocation.scss +35 -59
- package/dist/product-options.scss +120 -24
- package/dist/quotes.scss +84 -3
- package/dist/search-results-heading.scss +4 -10
- package/dist/table.scss +141 -39
- package/dist/types/builder/tools/element-edit/cartSummary.d.ts +11 -20
- package/dist/types/builder/tools/element-edit/countdown.d.ts +8 -2
- package/dist/types/builder/tools/element-edit/filters.d.ts +3 -0
- package/dist/types/builder/tools/element-edit/productActions.d.ts +3 -0
- package/dist/types/builder/tools/element-edit/quotes.d.ts +50 -0
- package/dist/types/builder/tools/element-edit/searchResultsHeading.d.ts +33 -59
- package/dist/types/builder/tools/element-edit/table.d.ts +14 -0
- package/dist/uploadMedia.js +1 -1
- package/package.json +1 -1
package/dist/table.scss
CHANGED
|
@@ -26,9 +26,10 @@
|
|
|
26
26
|
& > .wrapper {
|
|
27
27
|
width: 100%;
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
// No `.pagination:hover` fill rule: hovering anywhere on the strip used to
|
|
30
|
+
// recolour the whole thing from the hover background key. The row's colour comes
|
|
31
|
+
// from Default Page Style now, and Hover State colours the page chip under the
|
|
32
|
+
// pointer rather than the entire bar.
|
|
32
33
|
|
|
33
34
|
.pagination .active:hover {
|
|
34
35
|
cursor: pointer;
|
|
@@ -46,9 +47,24 @@
|
|
|
46
47
|
--_sf-hr-lh: var(--_ctm-dn-pn-hr-se-le-ht, var(--_tst-dn-pn-hr-se-le-ht));
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
|
-
|
|
50
|
+
// Table Widget > Box Shadow, as an opt-in on the attribute rather than through the
|
|
51
|
+
// inherited `--_show-shadow` sentinel it used to use.
|
|
52
|
+
//
|
|
53
|
+
// `--_show-shadow` is a custom property, so it INHERITS. 69 element stylesheets
|
|
54
|
+
// set it to `none` on themselves when their own shadow is off, and any one of them
|
|
55
|
+
// wrapping a Table passed that `none` straight down — `var(--_show-shadow, …)`
|
|
56
|
+
// then resolved to `none` and never reached its fallback, so the Table's own Box
|
|
57
|
+
// Shadow did nothing. Keying off the element's own attribute cannot be inherited
|
|
58
|
+
// into. This is the same shape the Load More button in this file already uses.
|
|
59
|
+
&[data-widget-shadow="true"] {
|
|
50
60
|
.table__wrapper {
|
|
51
|
-
|
|
61
|
+
box-shadow: var(
|
|
62
|
+
--_ctm-mob-dn-te-wt-sw-ae,
|
|
63
|
+
var(--_ctm-tab-dn-te-wt-sw-ae, var(--_ctm-dn-te-wt-sw-ae))
|
|
64
|
+
)
|
|
65
|
+
var(--_ctm-mob-dn-te-wt-sw-br, var(--_ctm-tab-dn-te-wt-sw-br, var(--_ctm-dn-te-wt-sw-br)))
|
|
66
|
+
var(--_ctm-mob-dn-te-wt-sw-sd, var(--_ctm-tab-dn-te-wt-sw-sd, var(--_ctm-dn-te-wt-sw-sd)))
|
|
67
|
+
var(--_ctm-mob-dn-te-wt-sw-cr, var(--_ctm-tab-dn-te-wt-sw-cr, var(--_ctm-dn-te-wt-sw-cr)));
|
|
52
68
|
}
|
|
53
69
|
}
|
|
54
70
|
&[data-widget-border="true"] {
|
|
@@ -241,13 +257,8 @@
|
|
|
241
257
|
var(--_ctm-tab-dn-te-wt-br-rs, var(--_ctm-dn-te-wt-br-rs, var(--_tst-dn-te-wt-br-rs)))
|
|
242
258
|
);
|
|
243
259
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
var(--_ctm-mob-dn-te-wt-sw-ae, var(--_ctm-tab-dn-te-wt-sw-ae, var(--_ctm-dn-te-wt-sw-ae)))
|
|
247
|
-
var(--_ctm-mob-dn-te-wt-sw-br, var(--_ctm-tab-dn-te-wt-sw-br, var(--_ctm-dn-te-wt-sw-br)))
|
|
248
|
-
var(--_ctm-mob-dn-te-wt-sw-sd, var(--_ctm-tab-dn-te-wt-sw-sd, var(--_ctm-dn-te-wt-sw-sd)))
|
|
249
|
-
var(--_ctm-mob-dn-te-wt-sw-cr, var(--_ctm-tab-dn-te-wt-sw-cr, var(--_ctm-dn-te-wt-sw-cr)))
|
|
250
|
-
);
|
|
260
|
+
// Off by default; the `[data-widget-shadow="true"]` rule above turns it on.
|
|
261
|
+
box-shadow: none;
|
|
251
262
|
|
|
252
263
|
width: 100%;
|
|
253
264
|
|
|
@@ -375,11 +386,26 @@
|
|
|
375
386
|
}
|
|
376
387
|
tbody {
|
|
377
388
|
.tbody__row__divider {
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
389
|
+
// Table Rows carries Default / Hover states now. The default state falls
|
|
390
|
+
// back to the old flat `te-rw-bd-cr`, which is what tables saved before
|
|
391
|
+
// the split still paint from.
|
|
392
|
+
background-color: prepareMediaVariable(
|
|
393
|
+
--_ctm-dn-te-rw-dt-se-bd-cr,
|
|
394
|
+
prepareMediaVariable(--_ctm-dn-te-rw-bd-cr)
|
|
381
395
|
);
|
|
382
396
|
|
|
397
|
+
// Hover falls back to the default state, so a row with no hover colour
|
|
398
|
+
// set simply keeps its own.
|
|
399
|
+
&:hover {
|
|
400
|
+
background-color: prepareMediaVariable(
|
|
401
|
+
--_ctm-dn-te-rw-hr-se-bd-cr,
|
|
402
|
+
prepareMediaVariable(
|
|
403
|
+
--_ctm-dn-te-rw-dt-se-bd-cr,
|
|
404
|
+
prepareMediaVariable(--_ctm-dn-te-rw-bd-cr)
|
|
405
|
+
)
|
|
406
|
+
);
|
|
407
|
+
}
|
|
408
|
+
|
|
383
409
|
height: var(--_ctm-mob-lt-rw-ht, var(--_ctm-tab-lt-rw-ht, var(--_ctm-lt-rw-ht)));
|
|
384
410
|
|
|
385
411
|
.td__col__divider {
|
|
@@ -484,33 +510,112 @@
|
|
|
484
510
|
align-items: var(--_align-center);
|
|
485
511
|
justify-content: var(--_ctm-mob-lt-pn-at, var(--_ctm-tab-lt-pn-at, var(--_ctm-lt-pn-at)));
|
|
486
512
|
margin-top: 10px;
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
)
|
|
493
|
-
);
|
|
513
|
+
// Default Page Style > Background Color fills the whole pagination row.
|
|
514
|
+
// Note this is the PAGE key, not the arrows' `pn-dt-se-bd-cr` — the bar used
|
|
515
|
+
// to read that one, which is why colouring the arrows flooded the strip.
|
|
516
|
+
background-color: prepareMediaVariable(--_ctm-dn-pn-dt-se-pe-bd-cr, transparent);
|
|
517
|
+
gap: 12px;
|
|
494
518
|
&.pagination__center {
|
|
495
519
|
justify-content: var(justify-center);
|
|
496
520
|
}
|
|
497
521
|
|
|
522
|
+
// Pagination arrows, styled the way the Gallery Slider and Allocation Details
|
|
523
|
+
// elements style theirs: a plain 10px-padded button sized by Arrow Size, whose
|
|
524
|
+
// only fill is the chosen Background Color mixed down to 10% (20% on hover),
|
|
525
|
+
// with Background Shape deciding the corner.
|
|
498
526
|
button {
|
|
527
|
+
padding: 10px;
|
|
528
|
+
border: none;
|
|
529
|
+
border-radius: 50%;
|
|
530
|
+
display: flex;
|
|
531
|
+
align-items: center;
|
|
532
|
+
justify-content: center;
|
|
533
|
+
cursor: pointer;
|
|
534
|
+
outline: none;
|
|
535
|
+
width: prepareMediaVariable(--_ctm-dn-pn-dt-se-aw-se, 20px);
|
|
536
|
+
height: prepareMediaVariable(--_ctm-dn-pn-dt-se-aw-se, 20px);
|
|
537
|
+
|
|
538
|
+
@include BgColorLighter(var(--_ctm-dn-pn-dt-se-bd-cr), 10%);
|
|
539
|
+
// Hover. Pagination offers a Default state only, so there are no hover-state
|
|
540
|
+
// variables to read — the button simply lifts its own fill, which is what it
|
|
541
|
+
// did before the state existed.
|
|
542
|
+
&:not(:disabled):hover {
|
|
543
|
+
@include BgColorLighter(var(--_ctm-dn-pn-dt-se-bd-cr), 20%);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
// Background Shape. Keyed off the button, which is where the renderer
|
|
547
|
+
// publishes the attribute alongside the copy on the container.
|
|
548
|
+
&[data-background-shape="None"] {
|
|
549
|
+
border-radius: 0;
|
|
550
|
+
}
|
|
551
|
+
&[data-background-shape="Round"] {
|
|
552
|
+
border-radius: 50%;
|
|
553
|
+
}
|
|
554
|
+
&[data-background-shape="Square"] {
|
|
555
|
+
border-radius: 4px;
|
|
556
|
+
}
|
|
557
|
+
|
|
499
558
|
svg {
|
|
500
|
-
width:
|
|
501
|
-
height:
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
559
|
+
width: calc(#{prepareMediaVariable(--_ctm-dn-pn-dt-se-aw-se, 20px)} * 0.5);
|
|
560
|
+
height: calc(#{prepareMediaVariable(--_ctm-dn-pn-dt-se-aw-se, 20px)} * 0.5);
|
|
561
|
+
|
|
562
|
+
// Arrow Color. A library glyph paints with `stroke` on its paths while an
|
|
563
|
+
// uploaded one may use `fill`, or set either on the root.
|
|
564
|
+
&[stroke]:not([stroke="none"]),
|
|
565
|
+
[stroke]:not([stroke="none"]) {
|
|
566
|
+
stroke: prepareMediaVariable(--_ctm-dn-pn-dt-se-aw-cr, var(--_gray-500));
|
|
567
|
+
}
|
|
568
|
+
&[fill]:not([fill="none"]),
|
|
569
|
+
[fill]:not([fill="none"]) {
|
|
570
|
+
fill: prepareMediaVariable(--_ctm-dn-pn-dt-se-aw-cr, var(--_gray-500));
|
|
507
571
|
}
|
|
508
572
|
}
|
|
509
573
|
}
|
|
510
|
-
span
|
|
574
|
+
// The page chip. `> span` deliberately, not a bare `span`: the page markup is
|
|
575
|
+
// an outer span wrapping an inner one that holds the number, so a descendant
|
|
576
|
+
// selector matched BOTH — the inner span picked up the padding and the fill
|
|
577
|
+
// and painted a tight box around the digits instead of the chip being filled.
|
|
578
|
+
& > span {
|
|
511
579
|
float: left;
|
|
512
580
|
padding: var(--_pd-8) var(--_pd-16);
|
|
513
581
|
text-decoration: none;
|
|
582
|
+
|
|
583
|
+
// inline-flex so the fill covers the whole padded chip, and so the number
|
|
584
|
+
// sits centred in it once Background Shape rounds the corners.
|
|
585
|
+
display: inline-flex;
|
|
586
|
+
align-items: center;
|
|
587
|
+
justify-content: center;
|
|
588
|
+
box-sizing: border-box;
|
|
589
|
+
|
|
590
|
+
// No fill of its own: Default Page Style > Background Color paints the whole
|
|
591
|
+
// row (see `.pagination` above), so repeating it here would draw a second,
|
|
592
|
+
// tighter block of the same colour on top of it. The chip contributes its
|
|
593
|
+
// Shape, and takes the Hover state's colour while pointed at.
|
|
594
|
+
background-color: transparent;
|
|
595
|
+
&[data-page-shape="rectangle"] {
|
|
596
|
+
border-radius: 0;
|
|
597
|
+
}
|
|
598
|
+
&[data-page-shape="rounded"] {
|
|
599
|
+
border-radius: 4px;
|
|
600
|
+
}
|
|
601
|
+
&[data-page-shape="circle"] {
|
|
602
|
+
border-radius: 50%;
|
|
603
|
+
// A circle needs equal sides, so the chip is at least as wide as it is
|
|
604
|
+
// tall however few digits the number has.
|
|
605
|
+
aspect-ratio: 1;
|
|
606
|
+
padding: var(--_pd-8);
|
|
607
|
+
}
|
|
608
|
+
// No hover fill: Pagination offers a Default state only, so there is no
|
|
609
|
+
// hover-state colour to read. The chip's shape and the row's fill are the
|
|
610
|
+
// whole of Default Page Style.
|
|
611
|
+
|
|
612
|
+
// The inner span is the number itself — it carries the typography, never the
|
|
613
|
+
// chip's box, so it must not repeat the fill or the padding.
|
|
614
|
+
& > span {
|
|
615
|
+
float: none;
|
|
616
|
+
padding: 0;
|
|
617
|
+
background-color: transparent;
|
|
618
|
+
}
|
|
514
619
|
span {
|
|
515
620
|
// color: var(--_sf-hr-fc, var(--_ctm-dn-pn-bn-cr, var(--_tst-dn-pn-bn-cr)));
|
|
516
621
|
// font-size: var(--_sf-hr-fs, var(--_ctm-dn-pn-ft-se, var(--_tst-dn-pn-ft-se)));
|
|
@@ -632,16 +737,13 @@
|
|
|
632
737
|
);
|
|
633
738
|
}
|
|
634
739
|
}
|
|
740
|
+
// Arrow Color / Arrow Size for anything drawn as text in this button; the SVG
|
|
741
|
+
// itself is sized and coloured by the `button svg` rules above. These read the
|
|
742
|
+
// shared arrow keys now, not the `iconSize` / `iconColor` the section carried
|
|
743
|
+
// before it moved to the Slider Arrows shape.
|
|
635
744
|
.pagination__arrows {
|
|
636
|
-
color:
|
|
637
|
-
|
|
638
|
-
var(--_ctm-mob-dn-pn-in-c1, var(--_ctm-tab-dn-pn-in-c1, var(--_ctm-dn-pn-in-c1)))
|
|
639
|
-
);
|
|
640
|
-
|
|
641
|
-
font-size: var(
|
|
642
|
-
--_sf-hr-fs,
|
|
643
|
-
var(--_ctm-mob-dn-pn-in-se, var(--_ctm-tab-dn-pn-in-se, var(--_ctm-dn-pn-in-se)))
|
|
644
|
-
);
|
|
745
|
+
color: prepareMediaVariable(--_ctm-dn-pn-dt-se-aw-cr);
|
|
746
|
+
font-size: prepareMediaVariable(--_ctm-dn-pn-dt-se-aw-se);
|
|
645
747
|
}
|
|
646
748
|
}
|
|
647
749
|
|
|
@@ -232,12 +232,22 @@ export declare const getDefaultData: () => {
|
|
|
232
232
|
property: string;
|
|
233
233
|
propertyType: CMSElementEditTypes;
|
|
234
234
|
};
|
|
235
|
+
dividerStyle: {
|
|
236
|
+
value: string;
|
|
237
|
+
property: string;
|
|
238
|
+
propertyType: CMSElementEditTypes;
|
|
239
|
+
};
|
|
240
|
+
dividerThickness: {
|
|
241
|
+
value: number;
|
|
242
|
+
property: string;
|
|
243
|
+
propertyType: CMSElementEditTypes;
|
|
244
|
+
unit: number;
|
|
245
|
+
};
|
|
235
246
|
};
|
|
236
247
|
design: {
|
|
237
248
|
selectorKey: SelectorKeysEnum;
|
|
238
249
|
accordionArrowsItem: {
|
|
239
250
|
selectorKey: SelectorKeysEnum;
|
|
240
|
-
showIcon: CMSIBCommonInterface | undefined;
|
|
241
251
|
iconColor: CMSIBCommonInterface;
|
|
242
252
|
strokeWidth: import("../../interfaces/global").CMSIBSizeInterface;
|
|
243
253
|
iconSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
@@ -254,7 +264,6 @@ export declare const getDefaultData: () => {
|
|
|
254
264
|
isReadOnly?: boolean | undefined;
|
|
255
265
|
parentRef?: string | undefined;
|
|
256
266
|
};
|
|
257
|
-
showIconDesc: CMSIBCommonInterface | undefined;
|
|
258
267
|
iconColorDesc: CMSIBCommonInterface;
|
|
259
268
|
strokeWidthDesc: {
|
|
260
269
|
property: string;
|
|
@@ -325,24 +334,6 @@ export declare const getDefaultData: () => {
|
|
|
325
334
|
property: string;
|
|
326
335
|
propertyType: CMSElementEditTypes;
|
|
327
336
|
};
|
|
328
|
-
textTransform: {
|
|
329
|
-
value: string;
|
|
330
|
-
property: string;
|
|
331
|
-
propertyType: CMSElementEditTypes;
|
|
332
|
-
};
|
|
333
|
-
theme: CMSIBCommonInterface;
|
|
334
|
-
font: CMSIBCommonInterface;
|
|
335
|
-
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
336
|
-
textColor: CMSIBCommonInterface;
|
|
337
|
-
bold: CMSIBCommonInterface;
|
|
338
|
-
italic: CMSIBCommonInterface;
|
|
339
|
-
linethrough: CMSIBCommonInterface;
|
|
340
|
-
underline: CMSIBCommonInterface;
|
|
341
|
-
textAlign: CMSIBCommonInterface;
|
|
342
|
-
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
343
|
-
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
344
|
-
textOverflow: any;
|
|
345
|
-
numberOfDisplayedLines: any;
|
|
346
337
|
borderColor: CMSIBCommonInterface;
|
|
347
338
|
borderStyle: CMSIBCommonInterface;
|
|
348
339
|
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CMSElementEditTypes } from "../../enums";
|
|
1
|
+
import { CMSCSSUnitTypesEnums, CMSElementEditTypes } from "../../enums";
|
|
2
2
|
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
3
3
|
import { CMSElementEditPopupInterface } from "./common";
|
|
4
4
|
export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
|
|
@@ -153,7 +153,7 @@ export declare const getDefaultData: () => {
|
|
|
153
153
|
dividerWeight: {
|
|
154
154
|
value: string;
|
|
155
155
|
property: string;
|
|
156
|
-
unit:
|
|
156
|
+
unit: CMSCSSUnitTypesEnums;
|
|
157
157
|
propertyType: CMSElementEditTypes;
|
|
158
158
|
};
|
|
159
159
|
dividerColor: {
|
|
@@ -402,6 +402,12 @@ export declare const getDefaultData: () => {
|
|
|
402
402
|
};
|
|
403
403
|
countdownWidgetTextContainerLayout: {
|
|
404
404
|
selectorKey: SelectorKeysEnum;
|
|
405
|
+
textContainerWidth: {
|
|
406
|
+
value: string;
|
|
407
|
+
property: string;
|
|
408
|
+
unit: CMSCSSUnitTypesEnums;
|
|
409
|
+
propertyType: CMSElementEditTypes;
|
|
410
|
+
};
|
|
405
411
|
textVerticalPadding: {
|
|
406
412
|
value: string;
|
|
407
413
|
property: string;
|
|
@@ -28,6 +28,7 @@ interface selfLayoutInterface {
|
|
|
28
28
|
showMoreItems: CMSIBCommonInterface;
|
|
29
29
|
verticalSpacingBetweenItems: CMSIBCommonInterface;
|
|
30
30
|
showOptionsFilter: CMSIBCommonInterface;
|
|
31
|
+
selectedItemsView: CMSIBCommonInterface;
|
|
31
32
|
}
|
|
32
33
|
interface selfDesignInterface {
|
|
33
34
|
selectorKey: string;
|
|
@@ -93,6 +94,8 @@ export declare enum SelectorKeysEnum {
|
|
|
93
94
|
CHIP_BUTTON_HOVER_STATE = "selectedItemHoverState",
|
|
94
95
|
OPTION_STYLE = "optionStyle",
|
|
95
96
|
SEARCH_BAR = "searchBar",
|
|
97
|
+
SEARCH_BAR_DEFAULT_STATE = "searchBarDefaultState",
|
|
98
|
+
SEARCH_BAR_FOCUS_STATE = "searchBarFocusState",
|
|
96
99
|
MORE_BUTTON = "moreButton",
|
|
97
100
|
MORE_BUTTON_DEFAULT_STATE = "moreButtonDefaultState",
|
|
98
101
|
MORE_BUTTON_HOVER_STATE = "moreButtonHoverState",
|
|
@@ -16,6 +16,7 @@ export interface ButtonLayoutInterface {
|
|
|
16
16
|
showCompareListAs: CMSIBCommonInterface;
|
|
17
17
|
addToQuote: CMSIBCommonInterface;
|
|
18
18
|
addToOrderTemplate: CMSIBCommonInterface;
|
|
19
|
+
viewDetails: CMSIBCommonInterface;
|
|
19
20
|
notifyMe: CMSIBCommonInterface;
|
|
20
21
|
download: CMSIBCommonInterface;
|
|
21
22
|
displayStyle: CMSIBCommonInterface;
|
|
@@ -41,6 +42,7 @@ export interface selfDesignInterface {
|
|
|
41
42
|
compare: any;
|
|
42
43
|
addToQuote: any;
|
|
43
44
|
addToOrderTemplate: any;
|
|
45
|
+
viewDetails: any;
|
|
44
46
|
notifyMe: any;
|
|
45
47
|
download: any;
|
|
46
48
|
hoverState: any;
|
|
@@ -59,6 +61,7 @@ export declare enum ButtonSelectorKeysEnum {
|
|
|
59
61
|
COMPARE = "compare",
|
|
60
62
|
ADD_TO_QUOTE = "addToQuote",
|
|
61
63
|
ADD_TO_ORDER_TEMPLATE = "addToOrderTemplate",
|
|
64
|
+
VIEW_DETAILS = "viewDetails",
|
|
62
65
|
NOTIFY_ME = "notifyMe",
|
|
63
66
|
DOWNLOAD = "download",
|
|
64
67
|
MORE = "more",
|
|
@@ -33,6 +33,49 @@ interface selfDesignInterface {
|
|
|
33
33
|
quoteStatus: {
|
|
34
34
|
selectorKey: string;
|
|
35
35
|
};
|
|
36
|
+
iconActions: {
|
|
37
|
+
selectorKey: string;
|
|
38
|
+
viewIcon: {
|
|
39
|
+
selectorKey: string;
|
|
40
|
+
showIcon: CMSIBCommonInterface;
|
|
41
|
+
iconSize: CMSIBCommonInterface;
|
|
42
|
+
iconColor: CMSIBCommonInterface;
|
|
43
|
+
strokeWidth: CMSIBCommonInterface;
|
|
44
|
+
icon: CMSIBCommonInterface;
|
|
45
|
+
};
|
|
46
|
+
printIcon: {
|
|
47
|
+
selectorKey: string;
|
|
48
|
+
showIcon: CMSIBCommonInterface;
|
|
49
|
+
iconSize: CMSIBCommonInterface;
|
|
50
|
+
iconColor: CMSIBCommonInterface;
|
|
51
|
+
strokeWidth: CMSIBCommonInterface;
|
|
52
|
+
icon: CMSIBCommonInterface;
|
|
53
|
+
};
|
|
54
|
+
downloadIcon: {
|
|
55
|
+
selectorKey: string;
|
|
56
|
+
showIcon: CMSIBCommonInterface;
|
|
57
|
+
iconSize: CMSIBCommonInterface;
|
|
58
|
+
iconColor: CMSIBCommonInterface;
|
|
59
|
+
strokeWidth: CMSIBCommonInterface;
|
|
60
|
+
icon: CMSIBCommonInterface;
|
|
61
|
+
};
|
|
62
|
+
cancelIcon: {
|
|
63
|
+
selectorKey: string;
|
|
64
|
+
showIcon: CMSIBCommonInterface;
|
|
65
|
+
iconSize: CMSIBCommonInterface;
|
|
66
|
+
iconColor: CMSIBCommonInterface;
|
|
67
|
+
strokeWidth: CMSIBCommonInterface;
|
|
68
|
+
icon: CMSIBCommonInterface;
|
|
69
|
+
};
|
|
70
|
+
sendMessageIcon: {
|
|
71
|
+
selectorKey: string;
|
|
72
|
+
showIcon: CMSIBCommonInterface;
|
|
73
|
+
iconSize: CMSIBCommonInterface;
|
|
74
|
+
iconColor: CMSIBCommonInterface;
|
|
75
|
+
strokeWidth: CMSIBCommonInterface;
|
|
76
|
+
icon: CMSIBCommonInterface;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
36
79
|
paginationArrows: {
|
|
37
80
|
selectorKey: string;
|
|
38
81
|
arrowIconStyle: CMSIBCommonInterface;
|
|
@@ -41,6 +84,7 @@ interface selfDesignInterface {
|
|
|
41
84
|
backgroundShape: CMSIBCommonInterface;
|
|
42
85
|
arrowSize: CMSIBCommonInterface;
|
|
43
86
|
arrowColor: CMSIBCommonInterface;
|
|
87
|
+
backgroundColor: CMSIBCommonInterface;
|
|
44
88
|
};
|
|
45
89
|
}
|
|
46
90
|
export declare enum SelectorKeysEnum {
|
|
@@ -52,6 +96,12 @@ export declare enum SelectorKeysEnum {
|
|
|
52
96
|
QUOTE_ID = "quoteId",
|
|
53
97
|
RAISED_ON = "raisedOn",
|
|
54
98
|
QUOTE_STATUS = "quoteStatus",
|
|
99
|
+
ICON_ACTIONS = "iconActions",
|
|
100
|
+
VIEW_ICON = "viewIcon",
|
|
101
|
+
PRINT_ICON = "printIcon",
|
|
102
|
+
DOWNLOAD_ICON = "downloadIcon",
|
|
103
|
+
CANCEL_ICON = "cancelIcon",
|
|
104
|
+
SEND_MESSAGE_ICON = "sendMessageIcon",
|
|
55
105
|
PAGINATION_ARROWS = "pagination-arrows"
|
|
56
106
|
}
|
|
57
107
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
@@ -8,67 +8,41 @@ interface selfLayoutInterface {
|
|
|
8
8
|
showSearchKeyword: CMSIBCommonInterface;
|
|
9
9
|
showNoOfResults: CMSIBCommonInterface;
|
|
10
10
|
}
|
|
11
|
+
interface textDesignInterface {
|
|
12
|
+
selectorKey: string;
|
|
13
|
+
backgroundColor: CMSIBCommonInterface;
|
|
14
|
+
borderColor: CMSIBCommonInterface;
|
|
15
|
+
borderStyle: CMSIBCommonInterface;
|
|
16
|
+
borderPerSlide: CMSIBCommonInterface;
|
|
17
|
+
showBorder: CMSIBCommonInterface;
|
|
18
|
+
showShadow: CMSIBCommonInterface;
|
|
19
|
+
shadowColor: CMSIBCommonInterface;
|
|
20
|
+
blur: CMSIBCommonInterface;
|
|
21
|
+
spread: CMSIBCommonInterface;
|
|
22
|
+
angle: CMSIBCommonInterface;
|
|
23
|
+
borderRadius: CMSIBCommonInterface;
|
|
24
|
+
theme: CMSIBCommonInterface;
|
|
25
|
+
font: CMSIBCommonInterface;
|
|
26
|
+
fontSize: CMSIBCommonInterface;
|
|
27
|
+
textColor: CMSIBCommonInterface;
|
|
28
|
+
bold: CMSIBCommonInterface;
|
|
29
|
+
italic: CMSIBCommonInterface;
|
|
30
|
+
linethrough: CMSIBCommonInterface;
|
|
31
|
+
underline: CMSIBCommonInterface;
|
|
32
|
+
textAlign: CMSIBCommonInterface;
|
|
33
|
+
characterSpacing: CMSIBCommonInterface;
|
|
34
|
+
lineHeight: CMSIBCommonInterface;
|
|
35
|
+
textTransform: CMSIBCommonInterface;
|
|
36
|
+
wordWrap: CMSIBCommonInterface;
|
|
37
|
+
wordBreak: CMSIBCommonInterface;
|
|
38
|
+
textOverflow?: any;
|
|
39
|
+
numberOfDisplayedLines?: any;
|
|
40
|
+
}
|
|
11
41
|
export interface selfDesignInterface {
|
|
12
42
|
selectorKey: string;
|
|
13
|
-
searchResultsNumber:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
borderColor?: CMSIBCommonInterface;
|
|
17
|
-
borderStyle?: CMSIBCommonInterface;
|
|
18
|
-
borderPerSlide?: CMSIBCommonInterface;
|
|
19
|
-
showBorder?: CMSIBCommonInterface;
|
|
20
|
-
showShadow?: CMSIBCommonInterface;
|
|
21
|
-
shadowColor?: CMSIBCommonInterface;
|
|
22
|
-
blur?: CMSIBCommonInterface;
|
|
23
|
-
spread?: CMSIBCommonInterface;
|
|
24
|
-
angle?: CMSIBCommonInterface;
|
|
25
|
-
borderRadius?: CMSIBCommonInterface;
|
|
26
|
-
theme: CMSIBCommonInterface;
|
|
27
|
-
font: CMSIBCommonInterface;
|
|
28
|
-
fontSize: CMSIBCommonInterface;
|
|
29
|
-
textColor: CMSIBCommonInterface;
|
|
30
|
-
bold: CMSIBCommonInterface;
|
|
31
|
-
italic: CMSIBCommonInterface;
|
|
32
|
-
linethrough: CMSIBCommonInterface;
|
|
33
|
-
underline: CMSIBCommonInterface;
|
|
34
|
-
textAlign: CMSIBCommonInterface;
|
|
35
|
-
characterSpacing: CMSIBCommonInterface;
|
|
36
|
-
lineHeight: CMSIBCommonInterface;
|
|
37
|
-
textOverflow?: any;
|
|
38
|
-
numberOfDisplayedLines?: any;
|
|
39
|
-
};
|
|
40
|
-
searchKeyword: {
|
|
41
|
-
selectorKey: string;
|
|
42
|
-
theme: CMSIBCommonInterface;
|
|
43
|
-
font: CMSIBCommonInterface;
|
|
44
|
-
fontSize: CMSIBCommonInterface;
|
|
45
|
-
textColor: CMSIBCommonInterface;
|
|
46
|
-
bold: CMSIBCommonInterface;
|
|
47
|
-
italic: CMSIBCommonInterface;
|
|
48
|
-
linethrough: CMSIBCommonInterface;
|
|
49
|
-
underline: CMSIBCommonInterface;
|
|
50
|
-
textAlign: CMSIBCommonInterface;
|
|
51
|
-
characterSpacing: CMSIBCommonInterface;
|
|
52
|
-
lineHeight: CMSIBCommonInterface;
|
|
53
|
-
textOverflow?: any;
|
|
54
|
-
numberOfDisplayedLines?: any;
|
|
55
|
-
};
|
|
56
|
-
otherText: {
|
|
57
|
-
selectorKey: string;
|
|
58
|
-
theme: CMSIBCommonInterface;
|
|
59
|
-
font: CMSIBCommonInterface;
|
|
60
|
-
fontSize: CMSIBCommonInterface;
|
|
61
|
-
textColor: CMSIBCommonInterface;
|
|
62
|
-
bold: CMSIBCommonInterface;
|
|
63
|
-
italic: CMSIBCommonInterface;
|
|
64
|
-
linethrough: CMSIBCommonInterface;
|
|
65
|
-
underline: CMSIBCommonInterface;
|
|
66
|
-
textAlign: CMSIBCommonInterface;
|
|
67
|
-
characterSpacing: CMSIBCommonInterface;
|
|
68
|
-
lineHeight: CMSIBCommonInterface;
|
|
69
|
-
textOverflow?: any;
|
|
70
|
-
numberOfDisplayedLines?: any;
|
|
71
|
-
};
|
|
43
|
+
searchResultsNumber: textDesignInterface;
|
|
44
|
+
searchKeyword: textDesignInterface;
|
|
45
|
+
otherText: textDesignInterface;
|
|
72
46
|
}
|
|
73
47
|
export declare enum searchResultsHeadingSelectorKeysEnum {
|
|
74
48
|
LAYOUT = "layout",
|
|
@@ -78,6 +78,14 @@ export interface TableControlInterface {
|
|
|
78
78
|
tableRow?: {
|
|
79
79
|
selectorKey?: string;
|
|
80
80
|
backgroundColor?: CMSIBCommonInterface;
|
|
81
|
+
defaultState?: {
|
|
82
|
+
selectorKey?: string;
|
|
83
|
+
backgroundColor?: CMSIBCommonInterface;
|
|
84
|
+
};
|
|
85
|
+
hoverState?: {
|
|
86
|
+
selectorKey?: string;
|
|
87
|
+
backgroundColor?: CMSIBCommonInterface;
|
|
88
|
+
};
|
|
81
89
|
};
|
|
82
90
|
rowText?: {
|
|
83
91
|
selectorKey?: string;
|
|
@@ -140,6 +148,12 @@ export interface TableControlInterface {
|
|
|
140
148
|
hoverState?: {
|
|
141
149
|
selectorKey: string;
|
|
142
150
|
theme: CMSIBCommonInterface;
|
|
151
|
+
previousIcon?: CMSIBCommonInterface;
|
|
152
|
+
nextIcon?: CMSIBCommonInterface;
|
|
153
|
+
iconSize?: CMSIBCommonInterface;
|
|
154
|
+
iconColor?: CMSIBCommonInterface;
|
|
155
|
+
strokeWidth?: CMSIBCommonInterface;
|
|
156
|
+
[key: string]: any;
|
|
143
157
|
backgroundShape?: CMSIBCommonInterface;
|
|
144
158
|
backgroundColor?: CMSIBCommonInterface;
|
|
145
159
|
font?: CMSIBCommonInterface;
|