@cntrl-site/components 1.0.107-alpha.5 → 1.0.107
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/{Burger-EMSn7TPB.mjs → Burger-BkVgNMGU.mjs} +464 -436
- package/dist/Burger-C3yVbQcq.js +669 -0
- package/dist/{ClickGallerie-41L7IKhN.js → ClickGallerie-CYQMgrIr.js} +1 -1
- package/dist/{ClickGallerie-CBquEuXQ.mjs → ClickGallerie-o2U6oyOF.mjs} +1 -1
- package/dist/Components/Burger/Burger.d.ts +3 -0
- package/dist/Components/Burger/BurgerComponent.d.ts +32 -0
- package/dist/Components/Hive/Hive.d.ts +16 -0
- package/dist/Components/Hive/HiveComponent.d.ts +3 -1
- package/dist/Components/utils/LinkWrapper.d.ts +0 -1
- package/dist/{ControlSlider-D91b53un.js → ControlSlider-Kkec-i14.js} +1 -1
- package/dist/{ControlSlider-mp-LvrTR.mjs → ControlSlider-LcZmviGX.mjs} +1 -1
- package/dist/{FAQ-8goVE-aB.js → FAQ-BxhMo7T8.js} +1 -1
- package/dist/{FAQ-KL9X1-xe.mjs → FAQ-CdwSft5p.mjs} +1 -1
- package/dist/{Grid-Dec4bMvK.js → Grid-CFHTP3mb.js} +1 -1
- package/dist/{Grid-wxlTwFLb.mjs → Grid-e-gLfsji.mjs} +1 -1
- package/dist/Hive-CzabuuCc.js +328 -0
- package/dist/Hive-DyxYd5eg.mjs +1504 -0
- package/dist/{ImageRevealSlider-Bv092gwv.js → ImageRevealSlider-BuukTGAK.js} +1 -1
- package/dist/{ImageRevealSlider-K_nNoquq.mjs → ImageRevealSlider-Df9sygk9.mjs} +1 -1
- package/dist/{Lightbox-Cyvva2uu.mjs → Lightbox-C_fXsfdz.mjs} +1 -1
- package/dist/{Lightbox-C2r7Wt_8.js → Lightbox-DaunVrkp.js} +1 -1
- package/dist/LinkWrapper-Ca84iPtg.js +1 -0
- package/dist/LinkWrapper-DZs9hlOn.mjs +13 -0
- package/dist/{Marquee-DGbeihUh.mjs → Marquee-DByooiWP.mjs} +1 -1
- package/dist/{Marquee-BacOdRJ9.js → Marquee-DfIP-tIN.js} +1 -1
- package/dist/{MarqueeText-DTlCevPX.mjs → MarqueeText-D6FNCe6P.mjs} +1 -1
- package/dist/{MarqueeText-BuEx2FCt.js → MarqueeText-DsUiV6Zv.js} +1 -1
- package/dist/{ArchivePopupComponent-BrP7Aary.mjs → PretextComponent-BiS9XbZr.mjs} +614 -913
- package/dist/PretextComponent-DWOy-dqD.js +1 -0
- package/dist/{RichTextRenderer-DizfCZEz.mjs → RichTextRenderer-BptwNpbJ.mjs} +1 -1
- package/dist/{RichTextRenderer-CUEc4FaL.js → RichTextRenderer-K90Dd7pt.js} +1 -1
- package/dist/{Slider20-DS-FTzQC.mjs → Slider20-CCzixTiN.mjs} +1 -1
- package/dist/{Slider20-BdeHmG8C.js → Slider20-fMVeRfgx.js} +1 -1
- package/dist/{TestimonialGrid-BOqSqVin.mjs → TestimonialGrid-CbsVxSn9.mjs} +1 -1
- package/dist/{TestimonialGrid-B0JHzqhv.js → TestimonialGrid-CiCagfBU.js} +1 -1
- package/dist/{TestimonialSingle-7-PMnQ7u.mjs → TestimonialSingle-BVm3Amrl.mjs} +1 -1
- package/dist/{TestimonialSingle-Bx_V-cYE.js → TestimonialSingle-BWXynGjv.js} +1 -1
- package/dist/components-CJlisugq.js +1 -0
- package/dist/{components-ChAw6dC4.mjs → components-ljYgHKal.mjs} +14 -15
- package/dist/elements.js +1 -1
- package/dist/elements.mjs +18 -19
- package/dist/elements.node.js +1 -1
- package/dist/elements.node.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +2 -2
- package/dist/sources.js +149 -1183
- package/dist/sources.mjs +172 -1207
- package/dist/types/Component.d.ts +5 -0
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +1 -1
- package/package.json +1 -1
- package/dist/ArchivePopup-BLfx56G_.js +0 -203
- package/dist/ArchivePopup-DYYtVluM.mjs +0 -794
- package/dist/ArchivePopupComponent-CJsr5Jx9.js +0 -1
- package/dist/Burger-C6jI6C1c.js +0 -661
- package/dist/Components/ArchivePopup/ArchivePopup.d.ts +0 -162
- package/dist/Components/ArchivePopup/ArchivePopupComponent.d.ts +0 -307
- package/dist/Hive-BsmFHk2i.mjs +0 -1458
- package/dist/Hive-D1j6wZpV.js +0 -321
- package/dist/LinkWrapper-CFEH047t.mjs +0 -14
- package/dist/LinkWrapper-CzFwFtgU.js +0 -1
- package/dist/components-DYLz2yIK.js +0 -1
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { CommonComponentProps } from '../props';
|
|
2
|
-
import { ContentLink } from '../utils/index';
|
|
3
|
-
import { TextStyles } from '../utils/textStylesToCss';
|
|
4
|
-
type ArchivePopupMedia = {
|
|
5
|
-
assetId: string;
|
|
6
|
-
name?: string;
|
|
7
|
-
type?: 'image' | 'video';
|
|
8
|
-
objectFit?: 'cover' | 'contain';
|
|
9
|
-
};
|
|
10
|
-
/** Columns count the group column too; a single column is that column alone, each row showing its own text. */
|
|
11
|
-
export declare const ARCHIVE_POPUP_MIN_COLUMNS = 1;
|
|
12
|
-
/** A new popup shows the group and its title. */
|
|
13
|
-
export declare const ARCHIVE_POPUP_DEFAULT_COLUMNS = 2;
|
|
14
|
-
export declare const ARCHIVE_POPUP_MAX_COLUMNS = 5;
|
|
15
|
-
/** The fields of the columns after the title, in order; `columns` decides how many of them a row shows. */
|
|
16
|
-
export declare const ARCHIVE_POPUP_EXTRA_TITLE_KEYS: readonly ["title2", "title3", "title4"];
|
|
17
|
-
/** Every column but the last has a width of its own, like Programme's; the last takes what is left of the row. */
|
|
18
|
-
export declare const ARCHIVE_POPUP_COLUMN_WIDTH_KEYS: readonly ["column1Width", "column2Width", "column3Width", "column4Width"];
|
|
19
|
-
type ArchivePopupColumnWidthKey = typeof ARCHIVE_POPUP_COLUMN_WIDTH_KEYS[number];
|
|
20
|
-
/**
|
|
21
|
-
* Where B's panel sits on the screen, as `left`/`top` of the screen and of the panel alike, so 0% is flush with
|
|
22
|
-
* one edge and 100% with the other. Named like Mercury's title position; center comes first because the editor
|
|
23
|
-
* puts the first value into a popup saved before there was a position, and those were centred.
|
|
24
|
-
*/
|
|
25
|
-
declare const PANEL_POSITION_OFFSETS: {
|
|
26
|
-
readonly center: {
|
|
27
|
-
readonly x: "50%";
|
|
28
|
-
readonly y: "50%";
|
|
29
|
-
};
|
|
30
|
-
readonly 'left-top': {
|
|
31
|
-
readonly x: "0%";
|
|
32
|
-
readonly y: "0%";
|
|
33
|
-
};
|
|
34
|
-
readonly 'top-center': {
|
|
35
|
-
readonly x: "50%";
|
|
36
|
-
readonly y: "0%";
|
|
37
|
-
};
|
|
38
|
-
readonly 'top-right': {
|
|
39
|
-
readonly x: "100%";
|
|
40
|
-
readonly y: "0%";
|
|
41
|
-
};
|
|
42
|
-
readonly 'left-center': {
|
|
43
|
-
readonly x: "0%";
|
|
44
|
-
readonly y: "50%";
|
|
45
|
-
};
|
|
46
|
-
readonly 'right-center': {
|
|
47
|
-
readonly x: "100%";
|
|
48
|
-
readonly y: "50%";
|
|
49
|
-
};
|
|
50
|
-
readonly 'left-bottom': {
|
|
51
|
-
readonly x: "0%";
|
|
52
|
-
readonly y: "100%";
|
|
53
|
-
};
|
|
54
|
-
readonly 'bottom-center': {
|
|
55
|
-
readonly x: "50%";
|
|
56
|
-
readonly y: "100%";
|
|
57
|
-
};
|
|
58
|
-
readonly 'right-bottom': {
|
|
59
|
-
readonly x: "100%";
|
|
60
|
-
readonly y: "100%";
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
export type ArchivePopupPanelPosition = keyof typeof PANEL_POSITION_OFFSETS;
|
|
64
|
-
export declare const ARCHIVE_POPUP_PANEL_POSITIONS: ArchivePopupPanelPosition[];
|
|
65
|
-
/** Each column of a row has a text style of its own, the group column's being `column1`. */
|
|
66
|
-
export declare const ARCHIVE_POPUP_COLUMN_STYLE_PREFIXES: readonly ["column1", "column2", "column3", "column4", "column5"];
|
|
67
|
-
type ArchivePopupColumnStylePrefix = typeof ARCHIVE_POPUP_COLUMN_STYLE_PREFIXES[number];
|
|
68
|
-
type ArchivePopupTitle = string | any[];
|
|
69
|
-
export type ArchivePopupContentItem = {
|
|
70
|
-
group?: string;
|
|
71
|
-
/** Plain text, so the entry's `link` is the only link a row has. */
|
|
72
|
-
title?: ArchivePopupTitle;
|
|
73
|
-
title2?: ArchivePopupTitle;
|
|
74
|
-
title3?: ArchivePopupTitle;
|
|
75
|
-
title4?: ArchivePopupTitle;
|
|
76
|
-
image?: ArchivePopupMedia | ArchivePopupMedia[];
|
|
77
|
-
/** The whole row links here. */
|
|
78
|
-
link?: ContentLink;
|
|
79
|
-
};
|
|
80
|
-
type FontSettings = {
|
|
81
|
-
fontWeight: number;
|
|
82
|
-
fontStyle: string;
|
|
83
|
-
};
|
|
84
|
-
type Padding = {
|
|
85
|
-
top: number;
|
|
86
|
-
right: number;
|
|
87
|
-
bottom: number;
|
|
88
|
-
left: number;
|
|
89
|
-
};
|
|
90
|
-
/** A text style as settings hold it, each field under the name of what it styles, e.g. `triggerFontSize`. */
|
|
91
|
-
type TextStyleFields = {
|
|
92
|
-
FontFamily?: string;
|
|
93
|
-
FontSettings?: FontSettings;
|
|
94
|
-
FontSize?: number;
|
|
95
|
-
LineHeight?: number;
|
|
96
|
-
LetterSpacing?: number;
|
|
97
|
-
WordSpacing?: number;
|
|
98
|
-
TextAlign?: TextStyles['textAlign'];
|
|
99
|
-
TextAppearance?: TextStyles['textAppearance'];
|
|
100
|
-
};
|
|
101
|
-
type PrefixedTextStyle<Prefix extends string> = {
|
|
102
|
-
[Key in keyof TextStyleFields as `${Prefix}${Key}`]?: TextStyleFields[Key];
|
|
103
|
-
};
|
|
104
|
-
type ArchivePopupSettings = PrefixedTextStyle<'trigger'> & PrefixedTextStyle<ArchivePopupColumnStylePrefix> & PrefixedTextStyle<'list'> & {
|
|
105
|
-
/** `a` is always open, in place on the page; `b` opens from a label. */
|
|
106
|
-
type?: 'a' | 'b';
|
|
107
|
-
triggerLabel?: string;
|
|
108
|
-
closeLabel?: string;
|
|
109
|
-
/** Every column of a row, the group column included. */
|
|
110
|
-
columns?: number;
|
|
111
|
-
columnGap?: number;
|
|
112
|
-
column1Width?: number;
|
|
113
|
-
column2Width?: number;
|
|
114
|
-
column3Width?: number;
|
|
115
|
-
column4Width?: number;
|
|
116
|
-
/** How long each of a hovered row's images shows before the next, in ms. */
|
|
117
|
-
hoverInterval?: number;
|
|
118
|
-
/** B only: A's panel stays where it is placed on the page. */
|
|
119
|
-
panelPosition?: string;
|
|
120
|
-
panelWidth?: number;
|
|
121
|
-
panelPadding?: Padding;
|
|
122
|
-
panelRadius?: number;
|
|
123
|
-
groupGap?: number;
|
|
124
|
-
triggerColor?: string;
|
|
125
|
-
triggerHoverColor?: string;
|
|
126
|
-
closeColor?: string;
|
|
127
|
-
closeHoverColor?: string;
|
|
128
|
-
panelColor?: string;
|
|
129
|
-
textColor?: string;
|
|
130
|
-
textHoverColor?: string;
|
|
131
|
-
overlayColor?: string;
|
|
132
|
-
};
|
|
133
|
-
type ArchivePopupProps = {
|
|
134
|
-
settings: ArchivePopupSettings;
|
|
135
|
-
content?: ArchivePopupContentItem[];
|
|
136
|
-
isEditor?: boolean;
|
|
137
|
-
isEditMode?: boolean;
|
|
138
|
-
isPreviewMode?: boolean;
|
|
139
|
-
activeEvent?: string;
|
|
140
|
-
portalId?: string;
|
|
141
|
-
} & CommonComponentProps;
|
|
142
|
-
export type ArchivePopupRow = {
|
|
143
|
-
item: ArchivePopupContentItem;
|
|
144
|
-
index: number;
|
|
145
|
-
};
|
|
146
|
-
export type ArchivePopupGroup = {
|
|
147
|
-
label: string;
|
|
148
|
-
rows: ArchivePopupRow[];
|
|
149
|
-
};
|
|
150
|
-
type ColumnLayoutSettings = Pick<ArchivePopupSettings, 'columns' | 'columnGap' | 'panelWidth' | 'panelPadding'> & Partial<Record<ArchivePopupColumnWidthKey, number>>;
|
|
151
|
-
export declare function getArchivePopupEqualColumnWidths(settings: ColumnLayoutSettings): Partial<Record<ArchivePopupColumnWidthKey, number>>;
|
|
152
|
-
/**
|
|
153
|
-
* Every column's width, the last taking what the others leave. A column with no width of its own gets an equal share,
|
|
154
|
-
* and widths that no longer fit, after the panel narrows or a column is added, shrink together until they do.
|
|
155
|
-
*/
|
|
156
|
-
export declare function resolveArchivePopupColumnWidths(settings: ColumnLayoutSettings): number[];
|
|
157
|
-
/** Like Programme, a new column count starts the columns over at equal widths. */
|
|
158
|
-
export declare function applyArchivePopupColumnCountChange(nextSettings: Record<string, any>, prevSettings: Record<string, any>): Record<string, any>;
|
|
159
|
-
export declare function groupArchiveRows(items: ArchivePopupContentItem[]): ArchivePopupGroup[];
|
|
160
|
-
export declare function getArchivePopupRowMedia(item: ArchivePopupContentItem | undefined): ArchivePopupMedia[];
|
|
161
|
-
export declare function ArchivePopup({ settings, content, isEditor, isEditMode, isPreviewMode, activeEvent, portalId, currentState, unavailableStates, }: ArchivePopupProps): import("react/jsx-runtime").JSX.Element;
|
|
162
|
-
export {};
|
|
@@ -1,307 +0,0 @@
|
|
|
1
|
-
import { LayoutTab, SchemaDisplayRule, SchemaProperty } from '../../types/SchemaV1';
|
|
2
|
-
import { applyArchivePopupColumnCountChange, ArchivePopup } from './ArchivePopup';
|
|
3
|
-
export declare const ArchivePopupComponent: {
|
|
4
|
-
element: typeof ArchivePopup;
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
category: string;
|
|
8
|
-
normalizeLayoutSettingsUpdate: typeof applyArchivePopupColumnCountChange;
|
|
9
|
-
preview: {
|
|
10
|
-
type: "image";
|
|
11
|
-
url: string;
|
|
12
|
-
};
|
|
13
|
-
version: number;
|
|
14
|
-
schema: {
|
|
15
|
-
type: "object";
|
|
16
|
-
version: 1;
|
|
17
|
-
content: {
|
|
18
|
-
type: "array";
|
|
19
|
-
settings: {
|
|
20
|
-
addItemWithoutImage: true;
|
|
21
|
-
allowsVideo: true;
|
|
22
|
-
};
|
|
23
|
-
display: {
|
|
24
|
-
type: string;
|
|
25
|
-
rules: SchemaDisplayRule[];
|
|
26
|
-
};
|
|
27
|
-
items: {
|
|
28
|
-
type: "object";
|
|
29
|
-
properties: {
|
|
30
|
-
link: {
|
|
31
|
-
type: "object";
|
|
32
|
-
label: string;
|
|
33
|
-
contentKey: "link";
|
|
34
|
-
display: {
|
|
35
|
-
type: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
image: {
|
|
39
|
-
type: "object";
|
|
40
|
-
label: string;
|
|
41
|
-
display: {
|
|
42
|
-
type: string;
|
|
43
|
-
};
|
|
44
|
-
properties: {
|
|
45
|
-
assetId: {
|
|
46
|
-
type: "string";
|
|
47
|
-
};
|
|
48
|
-
name: {
|
|
49
|
-
type: "string";
|
|
50
|
-
};
|
|
51
|
-
type: {
|
|
52
|
-
type: "string";
|
|
53
|
-
enum: string[];
|
|
54
|
-
};
|
|
55
|
-
objectFit: {
|
|
56
|
-
type: "string";
|
|
57
|
-
enum: string[];
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
group: {
|
|
62
|
-
type: "string";
|
|
63
|
-
label: string;
|
|
64
|
-
placeholder: string;
|
|
65
|
-
display: {
|
|
66
|
-
type: string;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
title: {
|
|
70
|
-
type: "string";
|
|
71
|
-
label: string;
|
|
72
|
-
placeholder: string;
|
|
73
|
-
display: {
|
|
74
|
-
type: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
default: {
|
|
80
|
-
group: string;
|
|
81
|
-
title: string;
|
|
82
|
-
link: {
|
|
83
|
-
type: "url";
|
|
84
|
-
value: string;
|
|
85
|
-
target: "self";
|
|
86
|
-
};
|
|
87
|
-
image: {
|
|
88
|
-
assetId: string;
|
|
89
|
-
name: string;
|
|
90
|
-
objectFit: "cover";
|
|
91
|
-
}[];
|
|
92
|
-
}[];
|
|
93
|
-
};
|
|
94
|
-
settings: {
|
|
95
|
-
sizing: string;
|
|
96
|
-
properties: {
|
|
97
|
-
hoverInterval: {
|
|
98
|
-
type: "number";
|
|
99
|
-
scope: "common";
|
|
100
|
-
title: string;
|
|
101
|
-
display: {
|
|
102
|
-
type: string;
|
|
103
|
-
};
|
|
104
|
-
min: number;
|
|
105
|
-
step: number;
|
|
106
|
-
max: number;
|
|
107
|
-
};
|
|
108
|
-
panelPosition: {
|
|
109
|
-
type: "string";
|
|
110
|
-
scope: "layout";
|
|
111
|
-
title: string;
|
|
112
|
-
display: {
|
|
113
|
-
type: string;
|
|
114
|
-
enum: ("center" | "top-center" | "top-right" | "bottom-center" | "left-top" | "left-center" | "right-center" | "left-bottom" | "right-bottom")[];
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
panelWidth: SchemaProperty;
|
|
118
|
-
panelPadding: {
|
|
119
|
-
type: "object";
|
|
120
|
-
scope: "layout";
|
|
121
|
-
title: string;
|
|
122
|
-
display: {
|
|
123
|
-
type: string;
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
panelRadius: SchemaProperty;
|
|
127
|
-
groupGap: SchemaProperty;
|
|
128
|
-
triggerColor: SchemaProperty;
|
|
129
|
-
triggerHoverColor: SchemaProperty;
|
|
130
|
-
closeColor: SchemaProperty;
|
|
131
|
-
closeHoverColor: SchemaProperty;
|
|
132
|
-
textColor: SchemaProperty;
|
|
133
|
-
textHoverColor: SchemaProperty;
|
|
134
|
-
panelColor: SchemaProperty;
|
|
135
|
-
overlayColor: SchemaProperty;
|
|
136
|
-
type: {
|
|
137
|
-
type: "string";
|
|
138
|
-
scope: "layout";
|
|
139
|
-
title: string;
|
|
140
|
-
display: {
|
|
141
|
-
type: string;
|
|
142
|
-
};
|
|
143
|
-
enum: string[];
|
|
144
|
-
};
|
|
145
|
-
triggerLabel: {
|
|
146
|
-
type: "string";
|
|
147
|
-
scope: "common";
|
|
148
|
-
title: string;
|
|
149
|
-
display: {
|
|
150
|
-
type: string;
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
closeLabel: {
|
|
154
|
-
type: "string";
|
|
155
|
-
scope: "common";
|
|
156
|
-
title: string;
|
|
157
|
-
display: {
|
|
158
|
-
type: string;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
columns: {
|
|
162
|
-
type: "number";
|
|
163
|
-
scope: "layout";
|
|
164
|
-
title: string;
|
|
165
|
-
display: {
|
|
166
|
-
type: string;
|
|
167
|
-
};
|
|
168
|
-
min: number;
|
|
169
|
-
max: number;
|
|
170
|
-
};
|
|
171
|
-
columnGap: SchemaProperty;
|
|
172
|
-
};
|
|
173
|
-
defaults: {
|
|
174
|
-
triggerLabel: string;
|
|
175
|
-
closeLabel: string;
|
|
176
|
-
hoverInterval: number;
|
|
177
|
-
triggerColor: string;
|
|
178
|
-
triggerHoverColor: string;
|
|
179
|
-
closeColor: string;
|
|
180
|
-
closeHoverColor: string;
|
|
181
|
-
panelColor: string;
|
|
182
|
-
textColor: string;
|
|
183
|
-
textHoverColor: string;
|
|
184
|
-
overlayColor: string;
|
|
185
|
-
triggerFontFamily: string;
|
|
186
|
-
triggerFontSettings: {
|
|
187
|
-
fontWeight: number;
|
|
188
|
-
fontStyle: string;
|
|
189
|
-
};
|
|
190
|
-
triggerLetterSpacing: number;
|
|
191
|
-
triggerWordSpacing: number;
|
|
192
|
-
triggerTextAppearance: {
|
|
193
|
-
textTransform: string;
|
|
194
|
-
textDecoration: string;
|
|
195
|
-
fontVariant: string;
|
|
196
|
-
};
|
|
197
|
-
};
|
|
198
|
-
layoutDefaults: {
|
|
199
|
-
m: {
|
|
200
|
-
type: string;
|
|
201
|
-
panelPosition: string;
|
|
202
|
-
columns: number;
|
|
203
|
-
columnGap: number;
|
|
204
|
-
panelWidth: number;
|
|
205
|
-
panelPadding: {
|
|
206
|
-
top: number;
|
|
207
|
-
right: number;
|
|
208
|
-
bottom: number;
|
|
209
|
-
left: number;
|
|
210
|
-
};
|
|
211
|
-
panelRadius: number;
|
|
212
|
-
groupGap: number;
|
|
213
|
-
triggerFontSize: number;
|
|
214
|
-
triggerLineHeight: number;
|
|
215
|
-
} & Partial<Record<"column1Width" | "column2Width" | "column3Width" | "column4Width", number>>;
|
|
216
|
-
t: {
|
|
217
|
-
type: string;
|
|
218
|
-
panelPosition: string;
|
|
219
|
-
columns: number;
|
|
220
|
-
columnGap: number;
|
|
221
|
-
panelWidth: number;
|
|
222
|
-
panelPadding: {
|
|
223
|
-
top: number;
|
|
224
|
-
right: number;
|
|
225
|
-
bottom: number;
|
|
226
|
-
left: number;
|
|
227
|
-
};
|
|
228
|
-
panelRadius: number;
|
|
229
|
-
groupGap: number;
|
|
230
|
-
triggerFontSize: number;
|
|
231
|
-
triggerLineHeight: number;
|
|
232
|
-
} & Partial<Record<"column1Width" | "column2Width" | "column3Width" | "column4Width", number>>;
|
|
233
|
-
d: {
|
|
234
|
-
type: string;
|
|
235
|
-
panelPosition: string;
|
|
236
|
-
columns: number;
|
|
237
|
-
columnGap: number;
|
|
238
|
-
panelWidth: number;
|
|
239
|
-
panelPadding: {
|
|
240
|
-
top: number;
|
|
241
|
-
right: number;
|
|
242
|
-
bottom: number;
|
|
243
|
-
left: number;
|
|
244
|
-
};
|
|
245
|
-
panelRadius: number;
|
|
246
|
-
groupGap: number;
|
|
247
|
-
triggerFontSize: number;
|
|
248
|
-
triggerLineHeight: number;
|
|
249
|
-
} & Partial<Record<"column1Width" | "column2Width" | "column3Width" | "column4Width", number>>;
|
|
250
|
-
};
|
|
251
|
-
displayRules: (SchemaDisplayRule | {
|
|
252
|
-
if: {
|
|
253
|
-
name: string;
|
|
254
|
-
value: string;
|
|
255
|
-
};
|
|
256
|
-
then: {
|
|
257
|
-
name: string;
|
|
258
|
-
value: boolean;
|
|
259
|
-
};
|
|
260
|
-
})[];
|
|
261
|
-
};
|
|
262
|
-
panels: ({
|
|
263
|
-
id: string;
|
|
264
|
-
icon: string;
|
|
265
|
-
title: string;
|
|
266
|
-
tooltip: string;
|
|
267
|
-
layout: (string | {
|
|
268
|
-
type: "row";
|
|
269
|
-
title: string;
|
|
270
|
-
items: string[];
|
|
271
|
-
})[];
|
|
272
|
-
} | {
|
|
273
|
-
id: string;
|
|
274
|
-
icon: string;
|
|
275
|
-
title: string;
|
|
276
|
-
tooltip: string;
|
|
277
|
-
layout: (string | LayoutTab)[];
|
|
278
|
-
})[];
|
|
279
|
-
paletteBookmark: {
|
|
280
|
-
items: ("textColor" | "textHoverColor" | "overlayColor" | "triggerColor" | "triggerHoverColor" | "closeColor" | "closeHoverColor" | "panelColor")[];
|
|
281
|
-
panelIds: string[];
|
|
282
|
-
stateItems: {
|
|
283
|
-
default: string[];
|
|
284
|
-
hover: string[];
|
|
285
|
-
open: string[];
|
|
286
|
-
};
|
|
287
|
-
};
|
|
288
|
-
states: string[];
|
|
289
|
-
statePanels: string[];
|
|
290
|
-
};
|
|
291
|
-
assetsPaths: {
|
|
292
|
-
content: {
|
|
293
|
-
path: string;
|
|
294
|
-
placeholderEnabled: boolean;
|
|
295
|
-
}[];
|
|
296
|
-
parameters: never[];
|
|
297
|
-
};
|
|
298
|
-
fontSettingsPaths: {
|
|
299
|
-
content: never[];
|
|
300
|
-
parameters: {
|
|
301
|
-
path: string;
|
|
302
|
-
}[];
|
|
303
|
-
};
|
|
304
|
-
fontRelations: {
|
|
305
|
-
[k: string]: string;
|
|
306
|
-
};
|
|
307
|
-
};
|