@wix/editor-react-components 1.2620.0 → 1.2622.0
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/site/components/AccordionComponent/component.js +1 -1
- package/dist/site/components/AccordionComponent/manifest.js +1 -1
- package/dist/site/components/AudioPlayer/component.js +1 -1
- package/dist/site/components/AudioPlayer/manifest.js +1 -1
- package/dist/site/components/BoxContainer/component.js +1 -1
- package/dist/site/components/BoxContainer/manifest.js +1 -1
- package/dist/site/components/Breadcrumbs/component.js +2 -2
- package/dist/site/components/Breadcrumbs/manifest.js +1 -1
- package/dist/site/components/Checkbox/component.js +2 -2
- package/dist/site/components/Checkbox/manifest.js +1 -1
- package/dist/site/components/CheckboxGroup/component.js +2 -2
- package/dist/site/components/CheckboxGroup/manifest.js +1 -1
- package/dist/site/components/CollapsibleText/component.js +1 -1
- package/dist/site/components/CollapsibleText/manifest.js +1 -1
- package/dist/site/components/DatePicker/component.js +1 -1
- package/dist/site/components/DatePicker/manifest.js +1 -1
- package/dist/site/components/Dropdown/component.js +2 -2
- package/dist/site/components/Dropdown/manifest.js +1 -1
- package/dist/site/components/HTMLComponent/component.js +1 -1
- package/dist/site/components/HipaaIcon/component.js +1 -1
- package/dist/site/components/HipaaIcon/manifest.js +1 -1
- package/dist/site/components/LinkBar/component.js +1 -1
- package/dist/site/components/LinkBar/manifest.js +1 -1
- package/dist/site/components/Logo/component.js +1 -1
- package/dist/site/components/Logo/manifest.js +1 -1
- package/dist/site/components/Logo/sdk.js +1 -1
- package/dist/site/components/Lottie/component.js +1 -1
- package/dist/site/components/Lottie/manifest.js +1 -1
- package/dist/site/components/MarkdownBlock/MarkdownBlock.d.ts +4 -0
- package/dist/site/components/MarkdownBlock/component.d.ts +2 -0
- package/dist/site/components/MarkdownBlock/component.js +12486 -0
- package/dist/site/components/MarkdownBlock/constants.d.ts +33 -0
- package/dist/site/components/MarkdownBlock/css.css +347 -0
- package/dist/site/components/MarkdownBlock/index.d.ts +2 -0
- package/dist/site/components/MarkdownBlock/index.js +6 -0
- package/dist/site/components/MarkdownBlock/manifest.d.ts +5 -0
- package/dist/site/components/MarkdownBlock/manifest.js +105 -0
- package/dist/site/components/MarkdownBlock/markdownComponents.d.ts +2 -0
- package/dist/site/components/MarkdownBlock/types.d.ts +9 -0
- package/dist/site/components/Menu/component.js +1 -1
- package/dist/site/components/RadioButtons/component.js +1 -1
- package/dist/site/components/Repeater/component.js +1 -3
- package/dist/site/components/Repeater/constants.d.ts +1 -0
- package/dist/site/components/Repeater/css.css +4 -3
- package/dist/site/components/Repeater/manifest.js +15 -0
- package/dist/site/components/Repeater/panels/format/translations/consts.d.ts +1 -0
- package/dist/site/components/ShareButtons/component.js +1 -1
- package/dist/site/components/TextBox/component.js +1 -1
- package/dist/site/components/chunks/constants28.js +62 -78
- package/dist/site/components/chunks/constants29.js +85 -15
- package/dist/site/components/chunks/constants30.js +11 -42
- package/dist/site/components/chunks/constants31.js +44 -23
- package/dist/site/components/chunks/constants32.js +28 -10
- package/dist/site/components/chunks/constants33.js +10 -206
- package/dist/site/components/chunks/constants34.js +182 -153
- package/dist/site/components/chunks/constants35.js +162 -49
- package/dist/site/components/chunks/constants36.js +51 -102
- package/dist/site/components/chunks/constants37.js +69 -39
- package/dist/site/components/chunks/constants38.js +72 -69
- package/dist/site/components/chunks/constants39.js +73 -77
- package/dist/site/components/chunks/constants40.js +75 -56
- package/dist/site/components/chunks/constants41.js +72 -0
- package/dist/site/components/chunks/index11.js +233 -31185
- package/dist/site/components/chunks/index12.js +31191 -3
- package/dist/site/components/chunks/index13.js +5 -0
- package/dist/site/components/chunks/index4.js +18 -255
- package/dist/site/components/extensions.js +49 -47
- package/package.json +4 -3
|
@@ -1,93 +1,77 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const CONTENT_MAX_LENGTH = 1e5;
|
|
2
|
+
const manifestClasses = {
|
|
3
|
+
root: "markdown-block"
|
|
4
4
|
};
|
|
5
|
-
const
|
|
5
|
+
const defaultValues = {
|
|
6
|
+
theme: "light",
|
|
7
|
+
content: `# Markdown Block
|
|
8
|
+
|
|
9
|
+
Write **Markdown** and it renders as styled HTML. Supports _emphasis_, [links](https://www.wix.com), \`inline code\` and everything else in CommonMark plus GitHub Flavored Markdown.
|
|
10
|
+
|
|
11
|
+
## Lists
|
|
12
|
+
|
|
13
|
+
- Bullet lists with **bold** and _italic_ text
|
|
14
|
+
- Nested content and long lines wrap cleanly
|
|
15
|
+
- Task lists, tables and strikethrough come from GFM
|
|
16
|
+
|
|
17
|
+
1. Ordered items work too
|
|
18
|
+
2. Numbering is handled for you
|
|
19
|
+
|
|
20
|
+
## Quotes and code
|
|
21
|
+
|
|
22
|
+
> A blockquote for pull quotes, callouts, and citations.
|
|
23
|
+
|
|
24
|
+
\`\`\`js
|
|
25
|
+
const greet = (name) => \`Hello, \${name}!\`;
|
|
26
|
+
console.log(greet('Markdown'));
|
|
27
|
+
\`\`\`
|
|
28
|
+
|
|
29
|
+
## Tables
|
|
30
|
+
|
|
31
|
+
| Feature | Supported |
|
|
32
|
+
| --- | --- |
|
|
33
|
+
| Headings | Yes |
|
|
34
|
+
| Tables | Yes |
|
|
35
|
+
| Task lists | Yes |
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
### Smaller heading
|
|
40
|
+
|
|
41
|
+
Everything above is styled by the selected theme. Switch themes to restyle the whole block.
|
|
42
|
+
`
|
|
43
|
+
};
|
|
44
|
+
const TRANSLATIONS_NAMESPACE = "ariaLabels";
|
|
6
45
|
const TranslationKeys = {
|
|
7
|
-
|
|
8
|
-
pauseButton: "lottie_aria_label_pause"
|
|
46
|
+
scrollerAriaLabel: "markdownBlock_aria_label_content"
|
|
9
47
|
};
|
|
10
48
|
const DefaultTranslations = {
|
|
11
|
-
|
|
12
|
-
pauseButton: "Pause animation"
|
|
49
|
+
scrollerAriaLabel: "Markdown content"
|
|
13
50
|
};
|
|
14
51
|
const DisplayNames = {
|
|
15
52
|
root: {
|
|
16
|
-
elementDisplayName: "
|
|
53
|
+
elementDisplayName: "Markdown Block",
|
|
17
54
|
data: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
55
|
+
content: "Content",
|
|
56
|
+
theme: {
|
|
57
|
+
displayName: "Theme",
|
|
58
|
+
options: {
|
|
59
|
+
light: "Light",
|
|
60
|
+
dark: "Dark",
|
|
61
|
+
sepia: "Sepia",
|
|
62
|
+
prism: "Prism",
|
|
63
|
+
brand: "Site brand"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
23
66
|
}
|
|
24
|
-
},
|
|
25
|
-
playButton: {
|
|
26
|
-
elementDisplayName: "Play button"
|
|
27
67
|
}
|
|
28
68
|
};
|
|
29
|
-
const rootDataDefaults = {
|
|
30
|
-
loop: true,
|
|
31
|
-
speed: 1,
|
|
32
|
-
showButtonOnHover: "always",
|
|
33
|
-
allowClickToStop: true
|
|
34
|
-
};
|
|
35
|
-
const showButtonOnHoverDefaults = {
|
|
36
|
-
always: {
|
|
37
|
-
value: "always",
|
|
38
|
-
displayName: "Always"
|
|
39
|
-
},
|
|
40
|
-
onHover: {
|
|
41
|
-
value: "onHover",
|
|
42
|
-
displayName: "On hover"
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
const testIds = {
|
|
46
|
-
animationClickWrapper: "lottie-animation-click-wrapper"
|
|
47
|
-
};
|
|
48
|
-
const borderDefaultValue = "0px none rgba(0, 0, 0, 1)";
|
|
49
|
-
const playButtonDefaults = {
|
|
50
|
-
insetInlineEnd: "5px",
|
|
51
|
-
insetBlockEnd: "5px"
|
|
52
|
-
};
|
|
53
|
-
const initialSize = {
|
|
54
|
-
width: 280,
|
|
55
|
-
height: 280
|
|
56
|
-
};
|
|
57
|
-
const speedConstraints = {
|
|
58
|
-
min: "0.5",
|
|
59
|
-
max: "5.0",
|
|
60
|
-
multiplier: "0.5"
|
|
61
|
-
};
|
|
62
|
-
const playIconSvg = {
|
|
63
|
-
uri: "",
|
|
64
|
-
viewBox: "0 0 24 24",
|
|
65
|
-
contentBox: "0 0 24 24",
|
|
66
|
-
colors: {},
|
|
67
|
-
contentType: "shape",
|
|
68
|
-
svgContent: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 4.00142V19.0034C7 19.7884 7.864 20.2674 8.53 19.8514L20.537 12.3504C21.164 11.9584 21.164 11.0464 20.537 10.6544L8.53 3.15342C7.864 2.73742 7 3.21642 7 4.00142Z"/></svg>'
|
|
69
|
-
};
|
|
70
|
-
const pauseIconSvg = {
|
|
71
|
-
uri: "",
|
|
72
|
-
viewBox: "0 0 24 24",
|
|
73
|
-
contentBox: "0 0 24 24",
|
|
74
|
-
colors: {},
|
|
75
|
-
contentType: "shape",
|
|
76
|
-
svgContent: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><rect x="5" y="3" width="5" height="17" rx="1"/><rect x="14" y="3" width="5" height="17" rx="1"/></svg>'
|
|
77
|
-
};
|
|
78
69
|
export {
|
|
79
|
-
|
|
70
|
+
CONTENT_MAX_LENGTH as C,
|
|
80
71
|
DefaultTranslations as D,
|
|
81
72
|
TranslationKeys as T,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
DisplayNames as e,
|
|
87
|
-
borderDefaultValue as f,
|
|
88
|
-
initialSize as i,
|
|
89
|
-
pauseIconSvg as p,
|
|
90
|
-
rootDataDefaults as r,
|
|
91
|
-
semanticSelectors as s,
|
|
92
|
-
testIds as t
|
|
73
|
+
TRANSLATIONS_NAMESPACE as a,
|
|
74
|
+
DisplayNames as b,
|
|
75
|
+
defaultValues as d,
|
|
76
|
+
manifestClasses as m
|
|
93
77
|
};
|
|
@@ -1,23 +1,93 @@
|
|
|
1
|
+
const semanticSelectors = {
|
|
2
|
+
root: "lottie",
|
|
3
|
+
playButton: "playButton"
|
|
4
|
+
};
|
|
5
|
+
const ARIA_LABEL_NAMESPACE = "lottie";
|
|
6
|
+
const TranslationKeys = {
|
|
7
|
+
playButton: "lottie_aria_label_play",
|
|
8
|
+
pauseButton: "lottie_aria_label_pause"
|
|
9
|
+
};
|
|
10
|
+
const DefaultTranslations = {
|
|
11
|
+
playButton: "Play animation",
|
|
12
|
+
pauseButton: "Pause animation"
|
|
13
|
+
};
|
|
1
14
|
const DisplayNames = {
|
|
2
15
|
root: {
|
|
3
|
-
elementDisplayName: "
|
|
4
|
-
actions: {
|
|
5
|
-
settings: "Settings"
|
|
6
|
-
},
|
|
7
|
-
customActions: {
|
|
8
|
-
customizeLogo: "Customize Logo"
|
|
9
|
-
},
|
|
16
|
+
elementDisplayName: "Lottie",
|
|
10
17
|
data: {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
18
|
+
animationUrl: "Animation URL",
|
|
19
|
+
loop: "Plays in a loop",
|
|
20
|
+
speed: "Speed",
|
|
21
|
+
showButtonOnHover: "Show play/pause button",
|
|
22
|
+
allowClickToStop: "Click to stop animation"
|
|
14
23
|
}
|
|
24
|
+
},
|
|
25
|
+
playButton: {
|
|
26
|
+
elementDisplayName: "Play button"
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
const rootDataDefaults = {
|
|
30
|
+
loop: true,
|
|
31
|
+
speed: 1,
|
|
32
|
+
showButtonOnHover: "always",
|
|
33
|
+
allowClickToStop: true
|
|
34
|
+
};
|
|
35
|
+
const showButtonOnHoverDefaults = {
|
|
36
|
+
always: {
|
|
37
|
+
value: "always",
|
|
38
|
+
displayName: "Always"
|
|
39
|
+
},
|
|
40
|
+
onHover: {
|
|
41
|
+
value: "onHover",
|
|
42
|
+
displayName: "On hover"
|
|
15
43
|
}
|
|
16
44
|
};
|
|
17
|
-
const
|
|
18
|
-
|
|
45
|
+
const testIds = {
|
|
46
|
+
animationClickWrapper: "lottie-animation-click-wrapper"
|
|
47
|
+
};
|
|
48
|
+
const borderDefaultValue = "0px none rgba(0, 0, 0, 1)";
|
|
49
|
+
const playButtonDefaults = {
|
|
50
|
+
insetInlineEnd: "5px",
|
|
51
|
+
insetBlockEnd: "5px"
|
|
52
|
+
};
|
|
53
|
+
const initialSize = {
|
|
54
|
+
width: 280,
|
|
55
|
+
height: 280
|
|
56
|
+
};
|
|
57
|
+
const speedConstraints = {
|
|
58
|
+
min: "0.5",
|
|
59
|
+
max: "5.0",
|
|
60
|
+
multiplier: "0.5"
|
|
61
|
+
};
|
|
62
|
+
const playIconSvg = {
|
|
63
|
+
uri: "",
|
|
64
|
+
viewBox: "0 0 24 24",
|
|
65
|
+
contentBox: "0 0 24 24",
|
|
66
|
+
colors: {},
|
|
67
|
+
contentType: "shape",
|
|
68
|
+
svgContent: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 4.00142V19.0034C7 19.7884 7.864 20.2674 8.53 19.8514L20.537 12.3504C21.164 11.9584 21.164 11.0464 20.537 10.6544L8.53 3.15342C7.864 2.73742 7 3.21642 7 4.00142Z"/></svg>'
|
|
69
|
+
};
|
|
70
|
+
const pauseIconSvg = {
|
|
71
|
+
uri: "",
|
|
72
|
+
viewBox: "0 0 24 24",
|
|
73
|
+
contentBox: "0 0 24 24",
|
|
74
|
+
colors: {},
|
|
75
|
+
contentType: "shape",
|
|
76
|
+
svgContent: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><rect x="5" y="3" width="5" height="17" rx="1"/><rect x="14" y="3" width="5" height="17" rx="1"/></svg>'
|
|
77
|
+
};
|
|
19
78
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
79
|
+
ARIA_LABEL_NAMESPACE as A,
|
|
80
|
+
DefaultTranslations as D,
|
|
81
|
+
TranslationKeys as T,
|
|
82
|
+
playIconSvg as a,
|
|
83
|
+
showButtonOnHoverDefaults as b,
|
|
84
|
+
speedConstraints as c,
|
|
85
|
+
playButtonDefaults as d,
|
|
86
|
+
DisplayNames as e,
|
|
87
|
+
borderDefaultValue as f,
|
|
88
|
+
initialSize as i,
|
|
89
|
+
pauseIconSvg as p,
|
|
90
|
+
rootDataDefaults as r,
|
|
91
|
+
semanticSelectors as s,
|
|
92
|
+
testIds as t
|
|
23
93
|
};
|
|
@@ -1,54 +1,23 @@
|
|
|
1
|
-
const presets = {
|
|
2
|
-
horizontal: "horizontal",
|
|
3
|
-
vertical: "vertical"
|
|
4
|
-
};
|
|
5
1
|
const DisplayNames = {
|
|
6
2
|
root: {
|
|
7
|
-
elementDisplayName: "
|
|
8
|
-
presets: {
|
|
9
|
-
horizontal: "Horizontal",
|
|
10
|
-
vertical: "Vertical"
|
|
11
|
-
},
|
|
12
|
-
cssCustomProperties: {
|
|
13
|
-
"item-size": "Size",
|
|
14
|
-
"row-gap": "Vertical space between icons",
|
|
15
|
-
"column-gap": "Horizontal space between icons",
|
|
16
|
-
"justify-content": "Alignment"
|
|
17
|
-
},
|
|
18
|
-
data: {
|
|
19
|
-
items: "Social",
|
|
20
|
-
icon: "Icon",
|
|
21
|
-
link: "Links to"
|
|
22
|
-
},
|
|
3
|
+
elementDisplayName: "Logo",
|
|
23
4
|
actions: {
|
|
24
|
-
|
|
5
|
+
settings: "Settings"
|
|
25
6
|
},
|
|
26
7
|
customActions: {
|
|
27
|
-
|
|
8
|
+
customizeLogo: "Customize Logo"
|
|
28
9
|
},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
displayName: "
|
|
32
|
-
},
|
|
33
|
-
iconsGroup: {
|
|
34
|
-
displayName: "Icons"
|
|
10
|
+
data: {
|
|
11
|
+
image: {
|
|
12
|
+
displayName: "Logo Image"
|
|
35
13
|
}
|
|
36
14
|
}
|
|
37
15
|
}
|
|
38
16
|
};
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
hover: { displayName: "Hover", className: "link-bar--hover" }
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
const ARIA_LABEL_NAMESPACE = "ariaLabels";
|
|
45
|
-
const ARIA_LABEL_KEY = "LinkBar_AriaLabel_SocialBarContainer";
|
|
46
|
-
const ARIA_LABEL_DEFAULT = "Social Bar";
|
|
17
|
+
const defaultLogoUrl = "https://static.parastorage.com/services/santa-resources/dist/editor/addPanelData/sections/logo/logoDefault.v2.png";
|
|
18
|
+
const DEFAULT_LOGO_SIZE = 80;
|
|
47
19
|
export {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
ARIA_LABEL_DEFAULT as b,
|
|
52
|
-
DisplayNames as c,
|
|
53
|
-
presets as p
|
|
20
|
+
DEFAULT_LOGO_SIZE as D,
|
|
21
|
+
DisplayNames as a,
|
|
22
|
+
defaultLogoUrl as d
|
|
54
23
|
};
|
|
@@ -1,33 +1,54 @@
|
|
|
1
|
-
const
|
|
1
|
+
const presets = {
|
|
2
|
+
horizontal: "horizontal",
|
|
3
|
+
vertical: "vertical"
|
|
4
|
+
};
|
|
2
5
|
const DisplayNames = {
|
|
3
6
|
root: {
|
|
4
|
-
elementDisplayName: "
|
|
7
|
+
elementDisplayName: "Social Bar",
|
|
8
|
+
presets: {
|
|
9
|
+
horizontal: "Horizontal",
|
|
10
|
+
vertical: "Vertical"
|
|
11
|
+
},
|
|
12
|
+
cssCustomProperties: {
|
|
13
|
+
"item-size": "Size",
|
|
14
|
+
"row-gap": "Vertical space between icons",
|
|
15
|
+
"column-gap": "Horizontal space between icons",
|
|
16
|
+
"justify-content": "Alignment"
|
|
17
|
+
},
|
|
18
|
+
data: {
|
|
19
|
+
items: "Social",
|
|
20
|
+
icon: "Icon",
|
|
21
|
+
link: "Links to"
|
|
22
|
+
},
|
|
23
|
+
actions: {
|
|
24
|
+
manageItems: "Manage Social Bar"
|
|
25
|
+
},
|
|
5
26
|
customActions: {
|
|
6
|
-
|
|
27
|
+
orientation: "Change Orientation"
|
|
7
28
|
},
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
29
|
+
displayGroups: {
|
|
30
|
+
gapGroup: {
|
|
31
|
+
displayName: "Space between icons"
|
|
32
|
+
},
|
|
33
|
+
iconsGroup: {
|
|
34
|
+
displayName: "Icons"
|
|
35
|
+
}
|
|
11
36
|
}
|
|
12
37
|
}
|
|
13
38
|
};
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
activateHeading: "hipaaIcon_activate_heading",
|
|
19
|
-
activateDescription: "hipaaIcon_activate_description"
|
|
20
|
-
};
|
|
21
|
-
const DefaultTranslations = {
|
|
22
|
-
ariaLabelCompliant: "HIPAA Compliant",
|
|
23
|
-
ariaLabelActivate: "HIPAA Certification",
|
|
24
|
-
activateHeading: "Activate HIPAA",
|
|
25
|
-
activateDescription: "Go to Manage > Purchase & Activate HIPAA Compliance"
|
|
39
|
+
const DesignStates = {
|
|
40
|
+
root: {
|
|
41
|
+
hover: { displayName: "Hover", className: "link-bar--hover" }
|
|
42
|
+
}
|
|
26
43
|
};
|
|
44
|
+
const ARIA_LABEL_NAMESPACE = "ariaLabels";
|
|
45
|
+
const ARIA_LABEL_KEY = "LinkBar_AriaLabel_SocialBarContainer";
|
|
46
|
+
const ARIA_LABEL_DEFAULT = "Social Bar";
|
|
27
47
|
export {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
DisplayNames as
|
|
48
|
+
ARIA_LABEL_NAMESPACE as A,
|
|
49
|
+
DesignStates as D,
|
|
50
|
+
ARIA_LABEL_KEY as a,
|
|
51
|
+
ARIA_LABEL_DEFAULT as b,
|
|
52
|
+
DisplayNames as c,
|
|
53
|
+
presets as p
|
|
33
54
|
};
|
|
@@ -1,15 +1,33 @@
|
|
|
1
|
-
const
|
|
1
|
+
const HIPAA_SETTINGS_PANEL_ID = "e4a7c1d3-8f2b-4e6a-9d5c-3b1f7a2e8c4d";
|
|
2
2
|
const DisplayNames = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
root: {
|
|
4
|
+
elementDisplayName: "HIPAA Certification",
|
|
5
|
+
customActions: {
|
|
6
|
+
hipaaSettings: "HIPAA Settings"
|
|
7
|
+
},
|
|
8
|
+
cssProperties: {
|
|
9
|
+
color: "Icon Color",
|
|
10
|
+
backgroundColor: "Background Color"
|
|
11
|
+
}
|
|
10
12
|
}
|
|
11
13
|
};
|
|
14
|
+
const TRANSLATIONS_NAMESPACE = "ariaLabels";
|
|
15
|
+
const TranslationKeys = {
|
|
16
|
+
ariaLabelCompliant: "hipaaIcon_aria_label_compliant",
|
|
17
|
+
ariaLabelActivate: "hipaaIcon_aria_label_activate",
|
|
18
|
+
activateHeading: "hipaaIcon_activate_heading",
|
|
19
|
+
activateDescription: "hipaaIcon_activate_description"
|
|
20
|
+
};
|
|
21
|
+
const DefaultTranslations = {
|
|
22
|
+
ariaLabelCompliant: "HIPAA Compliant",
|
|
23
|
+
ariaLabelActivate: "HIPAA Certification",
|
|
24
|
+
activateHeading: "Activate HIPAA",
|
|
25
|
+
activateDescription: "Go to Manage > Purchase & Activate HIPAA Compliance"
|
|
26
|
+
};
|
|
12
27
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
28
|
+
DefaultTranslations as D,
|
|
29
|
+
HIPAA_SETTINGS_PANEL_ID as H,
|
|
30
|
+
TranslationKeys as T,
|
|
31
|
+
TRANSLATIONS_NAMESPACE as a,
|
|
32
|
+
DisplayNames as b
|
|
15
33
|
};
|
|
@@ -1,211 +1,15 @@
|
|
|
1
|
-
const
|
|
2
|
-
root: {
|
|
3
|
-
hover: { displayName: "Hover", className: "dropdown--hover" },
|
|
4
|
-
disabled: { displayName: "Disabled", className: "dropdown--disabled" }
|
|
5
|
-
},
|
|
6
|
-
input: {
|
|
7
|
-
hover: { displayName: "Hover", className: "dropdown__input--hover" },
|
|
8
|
-
focus: { displayName: "Focus", className: "dropdown__input--focus" },
|
|
9
|
-
disabled: {
|
|
10
|
-
displayName: "Disabled",
|
|
11
|
-
className: "dropdown__input--disabled"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
trigger: {
|
|
15
|
-
hover: { displayName: "Hover", className: "dropdown__trigger--hover" },
|
|
16
|
-
selected: {
|
|
17
|
-
displayName: "Selected",
|
|
18
|
-
className: "dropdown__trigger--selected"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
clearButton: {
|
|
22
|
-
hover: { displayName: "Hover", className: "dropdown__clear--hover" },
|
|
23
|
-
selected: {
|
|
24
|
-
displayName: "Selected",
|
|
25
|
-
className: "dropdown__clear--selected"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
option: {
|
|
29
|
-
hover: { displayName: "Hover", className: "dropdown__option--hover" },
|
|
30
|
-
selected: {
|
|
31
|
-
displayName: "Selected",
|
|
32
|
-
className: "dropdown__option--selected"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
chip: {
|
|
36
|
-
hover: { displayName: "Hover", className: "dropdown__chip--hover" },
|
|
37
|
-
selected: {
|
|
38
|
-
displayName: "Selected",
|
|
39
|
-
className: "dropdown__chip--selected"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
const FunctionalStateKeys = {
|
|
44
|
-
previewList: "previewList",
|
|
45
|
-
previewChips: "previewChips"
|
|
46
|
-
};
|
|
1
|
+
const ARIA_LABEL_NAMESPACE = "ariaLabels";
|
|
47
2
|
const DisplayNames = {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
values: "Selected values",
|
|
56
|
-
defaultValue: "Default value",
|
|
57
|
-
defaultValues: "Default values",
|
|
58
|
-
inputValue: "Search query",
|
|
59
|
-
open: "Open",
|
|
60
|
-
isDisabled: "Disabled",
|
|
61
|
-
placeholder: "Placeholder",
|
|
62
|
-
searchable: "Allow search",
|
|
63
|
-
multiple: "Allow multiple selection",
|
|
64
|
-
clearable: "Show clear button",
|
|
65
|
-
autoHighlight: "Highlight first match",
|
|
66
|
-
openOnInputClick: "Open list on click",
|
|
67
|
-
inline: "Show options inline",
|
|
68
|
-
grid: "Show options in a grid",
|
|
69
|
-
columns: "Columns",
|
|
70
|
-
limit: "Max visible options",
|
|
71
|
-
label: "Label",
|
|
72
|
-
required: "Required",
|
|
73
|
-
readOnly: "Read only",
|
|
74
|
-
description: "Helper text",
|
|
75
|
-
triggerMode: {
|
|
76
|
-
displayName: "Apply filter",
|
|
77
|
-
options: {
|
|
78
|
-
onSelection: "On selection",
|
|
79
|
-
onApply: "On button click"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
applyButtonLabel: "Apply button text"
|
|
83
|
-
},
|
|
84
|
-
cssCustomProperties: {
|
|
85
|
-
width: "Width",
|
|
86
|
-
maxWidth: "Max width",
|
|
87
|
-
backgroundColor: "Background",
|
|
88
|
-
borderColor: "Border color",
|
|
89
|
-
borderWidth: "Border width",
|
|
90
|
-
paddingTop: "Padding top",
|
|
91
|
-
paddingBottom: "Padding bottom",
|
|
92
|
-
paddingInlineStart: "Padding start",
|
|
93
|
-
paddingInlineEnd: "Padding end",
|
|
94
|
-
gap: "Spacing",
|
|
95
|
-
boxShadow: "Shadow",
|
|
96
|
-
textAlign: "Value alignment",
|
|
97
|
-
font: "Value font",
|
|
98
|
-
textColor: "Value color",
|
|
99
|
-
labelFont: "Label font",
|
|
100
|
-
labelColor: "Label color",
|
|
101
|
-
helperFont: "Helper text font",
|
|
102
|
-
helperColor: "Helper text color",
|
|
103
|
-
optionTextColor: "Option text color",
|
|
104
|
-
optionHoverBackgroundColor: "Option hover background",
|
|
105
|
-
placeholderColor: "Placeholder color",
|
|
106
|
-
chipBackgroundColor: "Chip background",
|
|
107
|
-
chipTextColor: "Chip text color"
|
|
108
|
-
},
|
|
109
|
-
elements: {
|
|
110
|
-
label: "Label",
|
|
111
|
-
input: "Input",
|
|
112
|
-
trigger: "Button",
|
|
113
|
-
clearButton: "Clear button",
|
|
114
|
-
list: "List",
|
|
115
|
-
option: "Option",
|
|
116
|
-
chip: "Chip"
|
|
117
|
-
},
|
|
118
|
-
displayGroups: {
|
|
119
|
-
optionsGroup: "Manage options",
|
|
120
|
-
sizeGroup: "Size",
|
|
121
|
-
backgroundGroup: "Background",
|
|
122
|
-
cornersGroup: "Corner radius",
|
|
123
|
-
paddingGroup: "Padding"
|
|
124
|
-
}
|
|
3
|
+
data: {
|
|
4
|
+
onClick: "On Click",
|
|
5
|
+
onDblClick: "On Double Click",
|
|
6
|
+
onMouseIn: "On Mouse In",
|
|
7
|
+
onMouseOut: "On Mouse Out",
|
|
8
|
+
onFocus: "On Focus",
|
|
9
|
+
onBlur: "On Blur"
|
|
125
10
|
}
|
|
126
11
|
};
|
|
127
|
-
const defaultValues = {
|
|
128
|
-
placeholder: "Select a value",
|
|
129
|
-
inputValue: "",
|
|
130
|
-
open: false,
|
|
131
|
-
isDisabled: false,
|
|
132
|
-
searchable: false,
|
|
133
|
-
multiple: false,
|
|
134
|
-
clearable: false,
|
|
135
|
-
autoHighlight: false,
|
|
136
|
-
openOnInputClick: true,
|
|
137
|
-
inline: false,
|
|
138
|
-
grid: false,
|
|
139
|
-
columns: 2,
|
|
140
|
-
limit: -1,
|
|
141
|
-
label: "",
|
|
142
|
-
required: false,
|
|
143
|
-
readOnly: false,
|
|
144
|
-
name: "",
|
|
145
|
-
description: "",
|
|
146
|
-
triggerMode: "onSelection",
|
|
147
|
-
applyButtonLabel: "Apply",
|
|
148
|
-
noResultsText: "No results"
|
|
149
|
-
};
|
|
150
|
-
var TriggerModeValues = /* @__PURE__ */ ((TriggerModeValues2) => {
|
|
151
|
-
TriggerModeValues2["OnSelection"] = "onSelection";
|
|
152
|
-
TriggerModeValues2["OnApply"] = "onApply";
|
|
153
|
-
return TriggerModeValues2;
|
|
154
|
-
})(TriggerModeValues || {});
|
|
155
|
-
const ALL_VALUE = "";
|
|
156
|
-
const TestIds = {
|
|
157
|
-
root: "dropdown-root",
|
|
158
|
-
label: "dropdown-label",
|
|
159
|
-
requiredIndicator: "dropdown-required-indicator",
|
|
160
|
-
trigger: "dropdown-trigger",
|
|
161
|
-
listbox: "dropdown-listbox",
|
|
162
|
-
clear: "dropdown-clear",
|
|
163
|
-
applyButton: "dropdown-apply-button",
|
|
164
|
-
description: "dropdown-description",
|
|
165
|
-
errorMessage: "dropdown-error-message"
|
|
166
|
-
};
|
|
167
|
-
const selectors = {
|
|
168
|
-
root: "dropdown",
|
|
169
|
-
label: "dropdown-label",
|
|
170
|
-
input: "dropdown-input",
|
|
171
|
-
trigger: "dropdown-trigger",
|
|
172
|
-
clear: "dropdown-clear",
|
|
173
|
-
list: "dropdown-list",
|
|
174
|
-
option: "dropdown-option",
|
|
175
|
-
chip: "dropdown-chip"
|
|
176
|
-
};
|
|
177
|
-
const semanticClassNames = {
|
|
178
|
-
root: "dropdown",
|
|
179
|
-
label: "dropdown__label",
|
|
180
|
-
requiredIndicator: "dropdown__required-indicator",
|
|
181
|
-
input: "dropdown__input",
|
|
182
|
-
trigger: "dropdown__trigger",
|
|
183
|
-
clear: "dropdown__clear",
|
|
184
|
-
listbox: "dropdown__listbox",
|
|
185
|
-
option: "dropdown__option",
|
|
186
|
-
chips: "dropdown__chips",
|
|
187
|
-
chip: "dropdown__chip",
|
|
188
|
-
applyButton: "dropdown__apply-button",
|
|
189
|
-
errorMessage: "dropdown__error-message"
|
|
190
|
-
};
|
|
191
|
-
const ARIA_LABEL_NAMESPACE = "ariaLabels";
|
|
192
|
-
const AriaLabels = {
|
|
193
|
-
root: { key: "Dropdown_AriaLabel", default: "Dropdown" },
|
|
194
|
-
clear: { key: "Dropdown_AriaLabel_Clear", default: "Clear" },
|
|
195
|
-
removeItem: { key: "Dropdown_AriaLabel_RemoveItem", default: "Remove" }
|
|
196
|
-
};
|
|
197
|
-
const VALUE_MISSING_MESSAGE = "Please select an option.";
|
|
198
12
|
export {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
FunctionalStateKeys as F,
|
|
202
|
-
TestIds as T,
|
|
203
|
-
VALUE_MISSING_MESSAGE as V,
|
|
204
|
-
semanticClassNames as a,
|
|
205
|
-
TriggerModeValues as b,
|
|
206
|
-
ARIA_LABEL_NAMESPACE as c,
|
|
207
|
-
defaultValues as d,
|
|
208
|
-
AriaLabels as e,
|
|
209
|
-
DisplayNames as f,
|
|
210
|
-
selectors as s
|
|
13
|
+
ARIA_LABEL_NAMESPACE as A,
|
|
14
|
+
DisplayNames as D
|
|
211
15
|
};
|