@micromag/core 0.3.572 → 0.3.576
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/assets/css/vendor.css +1 -1
- package/es/components.js +89 -156
- package/es/hooks.js +13 -28
- package/es/index.js +8 -19
- package/es/utils.js +31 -78
- package/package.json +2 -2
package/es/components.js
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
2
|
+
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
+
import classNames from 'classnames';
|
|
2
4
|
import PropTypes$1 from 'prop-types';
|
|
3
5
|
import React, { useCallback, useState, useEffect, useRef, useMemo } from 'react';
|
|
6
|
+
import { Link as Link$1 } from 'wouter';
|
|
4
7
|
import { PropTypes } from '@micromag/core';
|
|
5
|
-
import { isMessage, getFieldFromPath, getComponentFromName, setFieldValue, validateFields, getDisplayName, pascalCase, convertStyleToString } from '@micromag/core/utils';
|
|
6
|
-
import { useFieldsManager, useFieldComponent, FieldContextProvider, withModals, useModals, withPanels, usePanels, ScreenSizeProvider, useScreenComponent, ScreenProvider, useScreenRenderContext, useScreenSize } from '@micromag/core/contexts';
|
|
7
|
-
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
8
|
-
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
9
|
-
import { useSpring } from '@react-spring/core';
|
|
10
|
-
import { config, animated } from '@react-spring/web';
|
|
11
|
-
import classNames from 'classnames';
|
|
12
|
-
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
13
|
-
import { Link as Link$2 } from 'wouter';
|
|
14
8
|
import { FormattedMessage, defineMessages, FormattedDate, FormattedTime } from 'react-intl';
|
|
9
|
+
import { isMessage, getFieldFromPath, getComponentFromName, setFieldValue, validateFields, getDisplayName, pascalCase, convertStyleToString } from '@micromag/core/utils';
|
|
15
10
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
16
11
|
import { faAngleLeft } from '@fortawesome/free-solid-svg-icons/faAngleLeft';
|
|
17
12
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
13
|
+
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
18
14
|
import { useForm, useDocumentEvent, useIntersectionObserver, useDimensionObserver } from '@micromag/core/hooks';
|
|
15
|
+
import { useFieldsManager, useFieldComponent, FieldContextProvider, withModals, useModals, withPanels, usePanels, ScreenSizeProvider, useScreenComponent, ScreenProvider, useScreenRenderContext, useScreenSize } from '@micromag/core/contexts';
|
|
16
|
+
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
19
17
|
import get from 'lodash/get';
|
|
20
18
|
import queryString from 'query-string';
|
|
21
19
|
import ReactDOM from 'react-dom';
|
|
@@ -42,6 +40,8 @@ import { faCheck } from '@fortawesome/free-solid-svg-icons/faCheck';
|
|
|
42
40
|
import { faTimes } from '@fortawesome/free-solid-svg-icons/faTimes';
|
|
43
41
|
import { faCircle } from '@fortawesome/free-solid-svg-icons/faCircle';
|
|
44
42
|
import { faPercent } from '@fortawesome/free-solid-svg-icons/faPercent';
|
|
43
|
+
import { useSpring } from '@react-spring/core';
|
|
44
|
+
import { config, animated } from '@react-spring/web';
|
|
45
45
|
|
|
46
46
|
/* eslint-disable react/jsx-props-no-spreading */
|
|
47
47
|
var propTypes$S = {
|
|
@@ -64,7 +64,6 @@ var Label = function Label(_ref) {
|
|
|
64
64
|
};
|
|
65
65
|
Label.propTypes = propTypes$S;
|
|
66
66
|
Label.defaultProps = defaultProps$S;
|
|
67
|
-
var Label$1 = Label;
|
|
68
67
|
|
|
69
68
|
var styles$x = {"container":"micromag-core-buttons-button-container","asLink":"micromag-core-buttons-button-asLink","withoutStyle":"micromag-core-buttons-button-withoutStyle","icon":"micromag-core-buttons-button-icon","label":"micromag-core-buttons-button-label","withIcon":"micromag-core-buttons-button-withIcon","right":"micromag-core-buttons-button-right","withAnimations":"micromag-core-buttons-button-withAnimations","icon-right":"micromag-core-buttons-button-icon-right","withIconColumns":"micromag-core-buttons-button-withIconColumns","linkDisabled":"micromag-core-buttons-button-linkDisabled"};
|
|
70
69
|
|
|
@@ -133,7 +132,7 @@ var defaultProps$R = {
|
|
|
133
132
|
onClick: null,
|
|
134
133
|
refButton: null
|
|
135
134
|
};
|
|
136
|
-
var Button$
|
|
135
|
+
var Button$1 = function Button(_ref) {
|
|
137
136
|
var _ref8;
|
|
138
137
|
var type = _ref.type,
|
|
139
138
|
theme = _ref.theme,
|
|
@@ -166,7 +165,7 @@ var Button$2 = function Button(_ref) {
|
|
|
166
165
|
refButton = _ref.refButton,
|
|
167
166
|
props = _objectWithoutProperties(_ref, _excluded$b);
|
|
168
167
|
var finalLabel = label || children;
|
|
169
|
-
var text = finalLabel !== null ? /*#__PURE__*/React.createElement(Label
|
|
168
|
+
var text = finalLabel !== null ? /*#__PURE__*/React.createElement(Label, null, finalLabel) : null;
|
|
170
169
|
var hasChildren = label !== null && children !== null;
|
|
171
170
|
var hasIcon = icon !== null;
|
|
172
171
|
var hasInlineIcon = hasIcon && (iconPosition === 'inline' || text === null);
|
|
@@ -197,7 +196,7 @@ var Button$2 = function Button(_ref) {
|
|
|
197
196
|
target: external ? target : null,
|
|
198
197
|
ref: refButton,
|
|
199
198
|
tabIndex: focusable ? '' : '-1'
|
|
200
|
-
}), content) : /*#__PURE__*/React.createElement(Link$
|
|
199
|
+
}), content) : /*#__PURE__*/React.createElement(Link$1, {
|
|
201
200
|
href: href,
|
|
202
201
|
className: linkClassNames,
|
|
203
202
|
onClick: onClick,
|
|
@@ -214,9 +213,8 @@ var Button$2 = function Button(_ref) {
|
|
|
214
213
|
tabIndex: focusable ? '0' : '-1'
|
|
215
214
|
}), content);
|
|
216
215
|
};
|
|
217
|
-
Button$
|
|
218
|
-
Button$
|
|
219
|
-
var Button$3 = Button$2;
|
|
216
|
+
Button$1.propTypes = propTypes$R;
|
|
217
|
+
Button$1.defaultProps = defaultProps$R;
|
|
220
218
|
|
|
221
219
|
var styles$w = {};
|
|
222
220
|
|
|
@@ -271,12 +269,11 @@ var Buttons = function Buttons(_ref) {
|
|
|
271
269
|
},
|
|
272
270
|
theme: buttonTheme || theme
|
|
273
271
|
};
|
|
274
|
-
return renderButton !== null ? renderButton(button, index, fixedProps) : /*#__PURE__*/React.createElement(Button$
|
|
272
|
+
return renderButton !== null ? renderButton(button, index, fixedProps) : /*#__PURE__*/React.createElement(Button$1, Object.assign({}, fixedProps, buttonProps));
|
|
275
273
|
}));
|
|
276
274
|
};
|
|
277
275
|
Buttons.propTypes = propTypes$Q;
|
|
278
276
|
Buttons.defaultProps = defaultProps$Q;
|
|
279
|
-
var Buttons$1 = Buttons;
|
|
280
277
|
|
|
281
278
|
var _excluded$9 = ["className"];
|
|
282
279
|
var propTypes$P = {
|
|
@@ -288,7 +285,7 @@ var defaultProps$P = {
|
|
|
288
285
|
var BackButton = function BackButton(_ref) {
|
|
289
286
|
var className = _ref.className,
|
|
290
287
|
props = _objectWithoutProperties(_ref, _excluded$9);
|
|
291
|
-
return /*#__PURE__*/React.createElement(Button$
|
|
288
|
+
return /*#__PURE__*/React.createElement(Button$1, Object.assign({
|
|
292
289
|
className: classNames(['px-2', _defineProperty({}, className, className)]),
|
|
293
290
|
size: "sm",
|
|
294
291
|
icon: /*#__PURE__*/React.createElement(FontAwesomeIcon, {
|
|
@@ -299,7 +296,6 @@ var BackButton = function BackButton(_ref) {
|
|
|
299
296
|
};
|
|
300
297
|
BackButton.propTypes = propTypes$P;
|
|
301
298
|
BackButton.defaultProps = defaultProps$P;
|
|
302
|
-
var BackButton$1 = BackButton;
|
|
303
299
|
|
|
304
300
|
var _excluded$8 = ["type"],
|
|
305
301
|
_excluded2 = ["component", "id", "settings"];
|
|
@@ -395,7 +391,6 @@ var FieldForm = function FieldForm(_ref) {
|
|
|
395
391
|
};
|
|
396
392
|
FieldForm.propTypes = propTypes$O;
|
|
397
393
|
FieldForm.defaultProps = defaultProps$O;
|
|
398
|
-
var FieldForm$1 = FieldForm;
|
|
399
394
|
|
|
400
395
|
var styles$v = {"actions":"micromag-core-forms-form-actions","left":"micromag-core-forms-form-left","right":"micromag-core-forms-form-right"};
|
|
401
396
|
|
|
@@ -574,14 +569,14 @@ var Form = function Form(_ref) {
|
|
|
574
569
|
onSubmit: onSubmit
|
|
575
570
|
}, !withoutBackButton && fields !== null && fields.length > 0 && fieldParams !== null ? /*#__PURE__*/React.createElement("div", {
|
|
576
571
|
className: "mb-2"
|
|
577
|
-
}, /*#__PURE__*/React.createElement(BackButton
|
|
572
|
+
}, /*#__PURE__*/React.createElement(BackButton, {
|
|
578
573
|
theme: "secondary",
|
|
579
574
|
outline: true,
|
|
580
575
|
onClick: closeFieldForm
|
|
581
576
|
})) : null, fields !== null && fields.length > 0 && fieldParams !== null ? /*#__PURE__*/React.createElement("div", {
|
|
582
577
|
className: classNames(['w-100', styles$v.panel]),
|
|
583
578
|
key: "field"
|
|
584
|
-
}, /*#__PURE__*/React.createElement(FieldForm
|
|
579
|
+
}, /*#__PURE__*/React.createElement(FieldForm, {
|
|
585
580
|
name: fieldName,
|
|
586
581
|
fields: fields,
|
|
587
582
|
value: value,
|
|
@@ -600,7 +595,7 @@ var Form = function Form(_ref) {
|
|
|
600
595
|
className: "text-danger my-1"
|
|
601
596
|
}, generalError) : null, children, !withoutActions && fieldParams === null ? /*#__PURE__*/React.createElement("div", {
|
|
602
597
|
className: classNames([styles$v.actions, _defineProperty(_defineProperty({}, styles$v[actionsAlign], actionsAlign), actionsClassName, actionsClassName !== null)])
|
|
603
|
-
}, onCancel !== null || onCancelHref !== null ? /*#__PURE__*/React.createElement(Button$
|
|
598
|
+
}, onCancel !== null || onCancelHref !== null ? /*#__PURE__*/React.createElement(Button$1, {
|
|
604
599
|
type: "button",
|
|
605
600
|
onClick: onCancel,
|
|
606
601
|
href: onCancelHref,
|
|
@@ -614,10 +609,10 @@ var Form = function Form(_ref) {
|
|
|
614
609
|
"type": 0,
|
|
615
610
|
"value": "Cancel"
|
|
616
611
|
}]
|
|
617
|
-
})) : null, buttons !== null ? /*#__PURE__*/React.createElement(Buttons
|
|
612
|
+
})) : null, buttons !== null ? /*#__PURE__*/React.createElement(Buttons, {
|
|
618
613
|
buttons: buttons,
|
|
619
614
|
className: styles$v.buttons
|
|
620
|
-
}) : /*#__PURE__*/React.createElement(Button$
|
|
615
|
+
}) : /*#__PURE__*/React.createElement(Button$1, {
|
|
621
616
|
type: "submit",
|
|
622
617
|
theme: submitButtonTheme || 'primary',
|
|
623
618
|
disabled: status === 'loading' || !canSave
|
|
@@ -633,7 +628,6 @@ var Form = function Form(_ref) {
|
|
|
633
628
|
};
|
|
634
629
|
Form.propTypes = propTypes$N;
|
|
635
630
|
Form.defaultProps = defaultProps$N;
|
|
636
|
-
var Form$1 = Form;
|
|
637
631
|
|
|
638
632
|
var styles$u = {"withoutStyle":"micromag-core-partials-link-withoutStyle"};
|
|
639
633
|
|
|
@@ -670,14 +664,13 @@ var Link = function Link(_ref) {
|
|
|
670
664
|
href: href,
|
|
671
665
|
target: target,
|
|
672
666
|
rel: rel
|
|
673
|
-
}, props), /*#__PURE__*/React.createElement(Label
|
|
667
|
+
}, props), /*#__PURE__*/React.createElement(Label, null, children)) : /*#__PURE__*/React.createElement(Link$1, Object.assign({
|
|
674
668
|
className: classNames([className, _defineProperty({}, styles$u.withoutStyle, withoutStyle)]),
|
|
675
669
|
href: href
|
|
676
|
-
}, props), /*#__PURE__*/React.createElement(Label
|
|
670
|
+
}, props), /*#__PURE__*/React.createElement(Label, null, children));
|
|
677
671
|
};
|
|
678
672
|
Link.propTypes = propTypes$M;
|
|
679
673
|
Link.defaultProps = defaultProps$M;
|
|
680
|
-
var Link$1 = Link;
|
|
681
674
|
|
|
682
675
|
var _excluded$6 = ["label", "className"];
|
|
683
676
|
var propTypes$L = {
|
|
@@ -765,21 +758,21 @@ var Card = function Card(_ref) {
|
|
|
765
758
|
_ref2$className = _ref2.className,
|
|
766
759
|
linkClassName = _ref2$className === void 0 ? null : _ref2$className,
|
|
767
760
|
linkProps = _objectWithoutProperties(_ref2, _excluded$6);
|
|
768
|
-
return /*#__PURE__*/React.createElement(Link
|
|
761
|
+
return /*#__PURE__*/React.createElement(Link, Object.assign({
|
|
769
762
|
key: "link-".concat(label, "-").concat(index),
|
|
770
763
|
className: classNames(['card-link', _defineProperty({}, linkClassName, linkClassName !== null)])
|
|
771
764
|
}, linkProps), label);
|
|
772
765
|
});
|
|
773
766
|
var bodyInner = title !== null || subtitle !== null || children !== null || links !== null && linksInSameBody ? /*#__PURE__*/React.createElement(React.Fragment, null, title !== null ? /*#__PURE__*/React.createElement("h5", {
|
|
774
767
|
className: classNames(['card-title', _defineProperty({}, titleClassName, titleClassName !== null)])
|
|
775
|
-
}, /*#__PURE__*/React.createElement(Label
|
|
768
|
+
}, /*#__PURE__*/React.createElement(Label, null, title)) : null, subtitle !== null ? /*#__PURE__*/React.createElement("h6", {
|
|
776
769
|
className: classNames(['card-subtitle', _defineProperty({}, subtitleClassName, subtitleClassName !== null)])
|
|
777
|
-
}, /*#__PURE__*/React.createElement(Label
|
|
770
|
+
}, /*#__PURE__*/React.createElement(Label, null, subtitle)) : null, children, links !== null && linksInSameBody ? /*#__PURE__*/React.createElement("div", {
|
|
778
771
|
className: "d-flex"
|
|
779
772
|
}, linksElements) : null) : null;
|
|
780
773
|
var cardInner = /*#__PURE__*/React.createElement(React.Fragment, null, header !== null ? /*#__PURE__*/React.createElement("div", {
|
|
781
774
|
className: classNames(['card-header', _defineProperty({}, headerClassName, headerClassName !== null)])
|
|
782
|
-
}, /*#__PURE__*/React.createElement(Label
|
|
775
|
+
}, /*#__PURE__*/React.createElement(Label, null, header)) : null, typeof image === 'string' ? /*#__PURE__*/React.createElement("img", {
|
|
783
776
|
src: image,
|
|
784
777
|
alt: imageAlt,
|
|
785
778
|
className: classNames(['card-img-top', _defineProperty({}, imageClassName, imageClassName !== null)])
|
|
@@ -801,12 +794,12 @@ var Card = function Card(_ref) {
|
|
|
801
794
|
type: "button",
|
|
802
795
|
className: classNames(['card-footer', _defineProperty({}, footerClassName, footerClassName !== null)]),
|
|
803
796
|
onClick: onClickFooter
|
|
804
|
-
}, /*#__PURE__*/React.createElement(Label
|
|
797
|
+
}, /*#__PURE__*/React.createElement(Label, null, footer)) : /*#__PURE__*/React.createElement("div", {
|
|
805
798
|
className: classNames(['card-footer', _defineProperty({}, footerClassName, footerClassName !== null)])
|
|
806
|
-
}, /*#__PURE__*/React.createElement(Label
|
|
799
|
+
}, /*#__PURE__*/React.createElement(Label, null, footer)) : null);
|
|
807
800
|
var cardClassName = classNames(['card', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "bg-".concat(theme), !imageOverlay && theme !== 'dark'), 'bg-dark', imageOverlay || theme === 'dark'), 'text-dark', theme === 'light'), 'text-light', imageOverlay || theme === 'dark' || theme === 'primary'), className, className !== null)]);
|
|
808
801
|
if (href !== null) {
|
|
809
|
-
return /*#__PURE__*/React.createElement(Link
|
|
802
|
+
return /*#__PURE__*/React.createElement(Link, {
|
|
810
803
|
href: href,
|
|
811
804
|
className: cardClassName
|
|
812
805
|
}, cardInner);
|
|
@@ -824,7 +817,6 @@ var Card = function Card(_ref) {
|
|
|
824
817
|
};
|
|
825
818
|
Card.propTypes = propTypes$L;
|
|
826
819
|
Card.defaultProps = defaultProps$L;
|
|
827
|
-
var Card$1 = Card;
|
|
828
820
|
|
|
829
821
|
var styles$t = {"container":"micromag-core-partials-spinner-container","path":"micromag-core-partials-spinner-path","animated":"micromag-core-partials-spinner-animated","rotate":"micromag-core-partials-spinner-rotate","dash":"micromag-core-partials-spinner-dash"};
|
|
830
822
|
|
|
@@ -863,7 +855,6 @@ var Spinner = function Spinner(_ref) {
|
|
|
863
855
|
};
|
|
864
856
|
Spinner.propTypes = propTypes$K;
|
|
865
857
|
Spinner.defaultProps = defaultProps$K;
|
|
866
|
-
var Spinner$1 = Spinner;
|
|
867
858
|
|
|
868
859
|
var styles$s = {};
|
|
869
860
|
|
|
@@ -886,13 +877,12 @@ var FormPanel = function FormPanel(_ref) {
|
|
|
886
877
|
children = _ref.children,
|
|
887
878
|
className = _ref.className,
|
|
888
879
|
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
889
|
-
return /*#__PURE__*/React.createElement(Card
|
|
880
|
+
return /*#__PURE__*/React.createElement(Card, Object.assign({
|
|
890
881
|
className: classNames([styles$s.container, _defineProperty({}, className, className !== null)])
|
|
891
|
-
}, props), description, loading ? /*#__PURE__*/React.createElement(Spinner
|
|
882
|
+
}, props), description, loading ? /*#__PURE__*/React.createElement(Spinner, null) : children);
|
|
892
883
|
};
|
|
893
884
|
FormPanel.propTypes = propTypes$J;
|
|
894
885
|
FormPanel.defaultProps = defaultProps$J;
|
|
895
|
-
var FormPanel$1 = FormPanel;
|
|
896
886
|
|
|
897
887
|
var propTypes$I = {
|
|
898
888
|
className: PropTypes$1.string,
|
|
@@ -921,7 +911,6 @@ var ArrowIcon = function ArrowIcon(_ref) {
|
|
|
921
911
|
};
|
|
922
912
|
ArrowIcon.propTypes = propTypes$I;
|
|
923
913
|
ArrowIcon.defaultProps = defaultProps$I;
|
|
924
|
-
var ArrowIcon$1 = ArrowIcon;
|
|
925
914
|
|
|
926
915
|
var propTypes$H = {
|
|
927
916
|
className: PropTypes$1.string,
|
|
@@ -955,7 +944,6 @@ var CloseIcon = function CloseIcon(_ref) {
|
|
|
955
944
|
};
|
|
956
945
|
CloseIcon.propTypes = propTypes$H;
|
|
957
946
|
CloseIcon.defaultProps = defaultProps$H;
|
|
958
|
-
var CloseIcon$1 = CloseIcon;
|
|
959
947
|
|
|
960
948
|
var propTypes$G = {
|
|
961
949
|
className: PropTypes$1.string,
|
|
@@ -982,7 +970,6 @@ var FullscreenIcon = function FullscreenIcon(_ref) {
|
|
|
982
970
|
};
|
|
983
971
|
FullscreenIcon.propTypes = propTypes$G;
|
|
984
972
|
FullscreenIcon.defaultProps = defaultProps$G;
|
|
985
|
-
var FullscreenIcon$1 = FullscreenIcon;
|
|
986
973
|
|
|
987
974
|
var propTypes$F = {
|
|
988
975
|
className: PropTypes$1.string,
|
|
@@ -1018,7 +1005,6 @@ var LinkIcon = function LinkIcon(_ref) {
|
|
|
1018
1005
|
};
|
|
1019
1006
|
LinkIcon.propTypes = propTypes$F;
|
|
1020
1007
|
LinkIcon.defaultProps = defaultProps$F;
|
|
1021
|
-
var LinkIcon$1 = LinkIcon;
|
|
1022
1008
|
|
|
1023
1009
|
var propTypes$E = {
|
|
1024
1010
|
className: PropTypes$1.string,
|
|
@@ -1051,7 +1037,6 @@ var MuteIcon = function MuteIcon(_ref) {
|
|
|
1051
1037
|
};
|
|
1052
1038
|
MuteIcon.propTypes = propTypes$E;
|
|
1053
1039
|
MuteIcon.defaultProps = defaultProps$E;
|
|
1054
|
-
var MuteIcon$1 = MuteIcon;
|
|
1055
1040
|
|
|
1056
1041
|
var propTypes$D = {
|
|
1057
1042
|
className: PropTypes$1.string,
|
|
@@ -1086,7 +1071,6 @@ var PauseIcon = function PauseIcon(_ref) {
|
|
|
1086
1071
|
};
|
|
1087
1072
|
PauseIcon.propTypes = propTypes$D;
|
|
1088
1073
|
PauseIcon.defaultProps = defaultProps$D;
|
|
1089
|
-
var PauseIcon$1 = PauseIcon;
|
|
1090
1074
|
|
|
1091
1075
|
var propTypes$C = {
|
|
1092
1076
|
className: PropTypes$1.string,
|
|
@@ -1114,7 +1098,6 @@ var PlayIcon = function PlayIcon(_ref) {
|
|
|
1114
1098
|
};
|
|
1115
1099
|
PlayIcon.propTypes = propTypes$C;
|
|
1116
1100
|
PlayIcon.defaultProps = defaultProps$C;
|
|
1117
|
-
var PlayIcon$1 = PlayIcon;
|
|
1118
1101
|
|
|
1119
1102
|
var propTypes$B = {
|
|
1120
1103
|
className: PropTypes$1.string,
|
|
@@ -1146,7 +1129,6 @@ var UnmuteIcon = function UnmuteIcon(_ref) {
|
|
|
1146
1129
|
};
|
|
1147
1130
|
UnmuteIcon.propTypes = propTypes$B;
|
|
1148
1131
|
UnmuteIcon.defaultProps = defaultProps$B;
|
|
1149
|
-
var UnmuteIcon$1 = UnmuteIcon;
|
|
1150
1132
|
|
|
1151
1133
|
var styles$r = {"container":"micromag-core-menus-breadcrumb-container","arrow":"micromag-core-menus-breadcrumb-arrow"};
|
|
1152
1134
|
|
|
@@ -1194,19 +1176,18 @@ var Breadcrumb = function Breadcrumb(_ref) {
|
|
|
1194
1176
|
active: active
|
|
1195
1177
|
}, styles$r.arrow, separator === 'arrow'), "text-".concat(theme), active && theme !== null)]),
|
|
1196
1178
|
key: "item-".concat(index)
|
|
1197
|
-
}, active ? /*#__PURE__*/React.createElement(Label
|
|
1179
|
+
}, active ? /*#__PURE__*/React.createElement(Label, null, label) : null, !active && url ? /*#__PURE__*/React.createElement(Link$1, {
|
|
1198
1180
|
href: url,
|
|
1199
1181
|
onClick: onClick,
|
|
1200
1182
|
className: classNames(['font-weight-bold', 'text-decoration-none', _defineProperty({}, "text-".concat(theme), theme !== null)])
|
|
1201
|
-
}, /*#__PURE__*/React.createElement(Label
|
|
1183
|
+
}, /*#__PURE__*/React.createElement(Label, null, label)) : null, !active && onClick ? /*#__PURE__*/React.createElement(Button$1, {
|
|
1202
1184
|
onClick: onClick,
|
|
1203
1185
|
className: classNames(['font-weight-bold', 'text-decoration-none', _defineProperty({}, "text-".concat(theme), theme !== null)])
|
|
1204
|
-
}, /*#__PURE__*/React.createElement(Label
|
|
1186
|
+
}, /*#__PURE__*/React.createElement(Label, null, label)) : null);
|
|
1205
1187
|
})));
|
|
1206
1188
|
};
|
|
1207
1189
|
Breadcrumb.propTypes = propTypes$A;
|
|
1208
1190
|
Breadcrumb.defaultProps = defaultProps$A;
|
|
1209
|
-
var Breadcrumb$1 = Breadcrumb;
|
|
1210
1191
|
|
|
1211
1192
|
var _excluded$4 = ["type", "className", "label", "children", "onClick", "active"];
|
|
1212
1193
|
var propTypes$z = {
|
|
@@ -1278,7 +1259,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
1278
1259
|
itemProps = _objectWithoutProperties(it, _excluded$4);
|
|
1279
1260
|
var ItemComponent = 'div';
|
|
1280
1261
|
if (type === 'link') {
|
|
1281
|
-
ItemComponent = Link
|
|
1262
|
+
ItemComponent = Link;
|
|
1282
1263
|
} else if (type === 'button') {
|
|
1283
1264
|
ItemComponent = 'button';
|
|
1284
1265
|
} else if (type === 'header') {
|
|
@@ -1304,12 +1285,11 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
1304
1285
|
active: active
|
|
1305
1286
|
}, itemClassName, itemClassName !== null), customClassName, customClassName !== null)]),
|
|
1306
1287
|
onClick: finalOnClickItem
|
|
1307
|
-
}, itemProps), label !== null ? /*#__PURE__*/React.createElement(Label
|
|
1288
|
+
}, itemProps), label !== null ? /*#__PURE__*/React.createElement(Label, null, label) : itemChildren)) : null;
|
|
1308
1289
|
}));
|
|
1309
1290
|
};
|
|
1310
1291
|
Dropdown.propTypes = propTypes$z;
|
|
1311
1292
|
Dropdown.defaultProps = defaultProps$z;
|
|
1312
|
-
var Dropdown$1 = Dropdown;
|
|
1313
1293
|
|
|
1314
1294
|
var _excluded$3 = ["id", "className", "linkClassName", "href", "label", "external", "items", "dropdown", "active", "onClick"];
|
|
1315
1295
|
var propTypes$y = {
|
|
@@ -1350,7 +1330,7 @@ var defaultProps$y = {
|
|
|
1350
1330
|
dropdownLinkClassName: null,
|
|
1351
1331
|
dropdownAlign: null
|
|
1352
1332
|
};
|
|
1353
|
-
var
|
|
1333
|
+
var _Menu = function Menu(_ref) {
|
|
1354
1334
|
var items = _ref.items,
|
|
1355
1335
|
tagName = _ref.tagName,
|
|
1356
1336
|
itemTagName = _ref.itemTagName,
|
|
@@ -1408,7 +1388,7 @@ var Menu = function Menu(_ref) {
|
|
|
1408
1388
|
setDropdownsVisible([].concat(_toConsumableArray(dropdownsVisible.slice(0, index)), [false], _toConsumableArray(dropdownsVisible.slice(index + 1))));
|
|
1409
1389
|
} : null;
|
|
1410
1390
|
var ItemComponent = itemTagName;
|
|
1411
|
-
return linkAsItem ? /*#__PURE__*/React.createElement(Link
|
|
1391
|
+
return linkAsItem ? /*#__PURE__*/React.createElement(Link, Object.assign({}, itemProps, {
|
|
1412
1392
|
key: "item-".concat(id || index),
|
|
1413
1393
|
onClick: onClickItem,
|
|
1414
1394
|
href: href,
|
|
@@ -1422,20 +1402,20 @@ var Menu = function Menu(_ref) {
|
|
|
1422
1402
|
dropdown: dropdown !== null,
|
|
1423
1403
|
active: active
|
|
1424
1404
|
}, itemClassName, itemClassName !== null), customClassName, customClassName !== null), hasSubMenuClassName, subItems !== null && hasSubMenuClassName !== null), hasDropdownClassName, subItems !== null && hasDropdownClassName !== null))
|
|
1425
|
-
}, href !== null ? /*#__PURE__*/React.createElement(Link
|
|
1405
|
+
}, href !== null ? /*#__PURE__*/React.createElement(Link, Object.assign({}, itemProps, {
|
|
1426
1406
|
onClick: onClickItem,
|
|
1427
1407
|
href: href,
|
|
1428
1408
|
external: external,
|
|
1429
1409
|
className: classNames(_defineProperty(_defineProperty(_defineProperty({}, linkClassName, linkClassName !== null), 'dropdown-toggle', dropdown !== null), customLinkClassName, customLinkClassName !== null))
|
|
1430
|
-
}), label) : null, href === null && onClickItem !== null ? /*#__PURE__*/React.createElement(Button$
|
|
1410
|
+
}), label) : null, href === null && onClickItem !== null ? /*#__PURE__*/React.createElement(Button$1, Object.assign({}, itemProps, {
|
|
1431
1411
|
onClick: onClickItem,
|
|
1432
1412
|
className: classNames(_defineProperty(_defineProperty(_defineProperty({}, linkClassName, linkClassName !== null), 'dropdown-toggle', dropdown !== null), customLinkClassName, customLinkClassName !== null))
|
|
1433
|
-
}), label) : null, subItems !== null ? /*#__PURE__*/React.createElement(
|
|
1413
|
+
}), label) : null, subItems !== null ? /*#__PURE__*/React.createElement(_Menu, {
|
|
1434
1414
|
items: subItems,
|
|
1435
1415
|
className: subMenuClassName,
|
|
1436
1416
|
itemClassName: classNames(_defineProperty(_defineProperty({}, subMenuItemClassName, subMenuItemClassName !== null), itemClassName, subMenuItemClassName === null && itemClassName !== null)),
|
|
1437
1417
|
linkClassName: classNames(_defineProperty(_defineProperty({}, subMenuLinkClassName, subMenuLinkClassName !== null), linkClassName, subMenuLinkClassName === null && linkClassName !== null))
|
|
1438
|
-
}) : null, dropdown !== null ? /*#__PURE__*/React.createElement(Dropdown
|
|
1418
|
+
}) : null, dropdown !== null ? /*#__PURE__*/React.createElement(Dropdown, {
|
|
1439
1419
|
items: dropdown,
|
|
1440
1420
|
visible: dropdownsVisible[index] || false,
|
|
1441
1421
|
className: dropdownClassName,
|
|
@@ -1447,9 +1427,8 @@ var Menu = function Menu(_ref) {
|
|
|
1447
1427
|
}) : null);
|
|
1448
1428
|
}));
|
|
1449
1429
|
};
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
var Menu$1 = Menu;
|
|
1430
|
+
_Menu.propTypes = propTypes$y;
|
|
1431
|
+
_Menu.defaultProps = defaultProps$y;
|
|
1453
1432
|
|
|
1454
1433
|
var styles$q = {"collapse":"micromag-core-menus-navbar-collapse"};
|
|
1455
1434
|
|
|
@@ -1513,7 +1492,7 @@ var Navbar = function Navbar(_ref) {
|
|
|
1513
1492
|
className: classNames(['container-fluid', {
|
|
1514
1493
|
'px-0': compact
|
|
1515
1494
|
}])
|
|
1516
|
-
}, brand !== null && brandLink !== null ? /*#__PURE__*/React.createElement(Link
|
|
1495
|
+
}, brand !== null && brandLink !== null ? /*#__PURE__*/React.createElement(Link, {
|
|
1517
1496
|
className: classNames(['navbar-brand', _defineProperty({
|
|
1518
1497
|
'py-0': compact
|
|
1519
1498
|
}, brandClassName, brandClassName !== null)]),
|
|
@@ -1526,7 +1505,7 @@ var Navbar = function Navbar(_ref) {
|
|
|
1526
1505
|
className: classNames(['navbar-breadcrumbs', _defineProperty({
|
|
1527
1506
|
'py-0': compact
|
|
1528
1507
|
}, breadCrumbsClassName, breadCrumbsClassName !== null)])
|
|
1529
|
-
}, breadcrumbs) : null, !withoutCollapse && !withoutCollapseToggle ? /*#__PURE__*/React.createElement(Button$
|
|
1508
|
+
}, breadcrumbs) : null, !withoutCollapse && !withoutCollapseToggle ? /*#__PURE__*/React.createElement(Button$1, {
|
|
1530
1509
|
className: "navbar-toggler",
|
|
1531
1510
|
onClick: onClickMenu,
|
|
1532
1511
|
withoutTheme: true,
|
|
@@ -1541,7 +1520,6 @@ var Navbar = function Navbar(_ref) {
|
|
|
1541
1520
|
};
|
|
1542
1521
|
Navbar.propTypes = propTypes$x;
|
|
1543
1522
|
Navbar.defaultProps = defaultProps$x;
|
|
1544
|
-
var Navbar$1 = Navbar;
|
|
1545
1523
|
|
|
1546
1524
|
var styles$p = {};
|
|
1547
1525
|
|
|
@@ -1644,7 +1622,7 @@ var PaginationMenu = function PaginationMenu(_ref) {
|
|
|
1644
1622
|
className: classNames(['page-item', _defineProperty({
|
|
1645
1623
|
disabled: page <= 1
|
|
1646
1624
|
}, itemClassName, itemClassName !== null)])
|
|
1647
|
-
}, page > 1 ? /*#__PURE__*/React.createElement(Link
|
|
1625
|
+
}, page > 1 ? /*#__PURE__*/React.createElement(Link, {
|
|
1648
1626
|
className: classNames(['page-link', _defineProperty({}, linkClassName, linkClassName !== null)]),
|
|
1649
1627
|
href: getUrl(page - 1),
|
|
1650
1628
|
onClick: onClickPage !== null ? function () {
|
|
@@ -1652,13 +1630,13 @@ var PaginationMenu = function PaginationMenu(_ref) {
|
|
|
1652
1630
|
} : null
|
|
1653
1631
|
}, messages.previous) : /*#__PURE__*/React.createElement("span", {
|
|
1654
1632
|
className: classNames(['page-link', _defineProperty({}, linkClassName, linkClassName !== null)])
|
|
1655
|
-
}, /*#__PURE__*/React.createElement(Label
|
|
1633
|
+
}, /*#__PURE__*/React.createElement(Label, null, messages.previous))) : null, pages.map(function (pageNumber) {
|
|
1656
1634
|
return /*#__PURE__*/React.createElement("li", {
|
|
1657
1635
|
key: "page-".concat(pageNumber),
|
|
1658
1636
|
className: classNames(['page-item', _defineProperty({
|
|
1659
1637
|
active: pageNumber === page
|
|
1660
1638
|
}, itemClassName, itemClassName !== null)])
|
|
1661
|
-
}, /*#__PURE__*/React.createElement(Link
|
|
1639
|
+
}, /*#__PURE__*/React.createElement(Link, {
|
|
1662
1640
|
className: classNames(['page-link', _defineProperty({}, linkClassName, linkClassName !== null)]),
|
|
1663
1641
|
href: getUrl(pageNumber),
|
|
1664
1642
|
onClick: onClickPage !== null ? function () {
|
|
@@ -1669,7 +1647,7 @@ var PaginationMenu = function PaginationMenu(_ref) {
|
|
|
1669
1647
|
className: classNames(['page-item', _defineProperty({
|
|
1670
1648
|
disabled: page >= total
|
|
1671
1649
|
}, itemClassName, itemClassName !== null)])
|
|
1672
|
-
}, page < total ? /*#__PURE__*/React.createElement(Link
|
|
1650
|
+
}, page < total ? /*#__PURE__*/React.createElement(Link, {
|
|
1673
1651
|
className: classNames(['page-link', _defineProperty({}, linkClassName, linkClassName !== null)]),
|
|
1674
1652
|
href: getUrl(page + 1),
|
|
1675
1653
|
onClick: onClickPage !== null ? function () {
|
|
@@ -1677,11 +1655,10 @@ var PaginationMenu = function PaginationMenu(_ref) {
|
|
|
1677
1655
|
} : null
|
|
1678
1656
|
}, messages.next) : /*#__PURE__*/React.createElement("span", {
|
|
1679
1657
|
className: classNames(['page-link', _defineProperty({}, linkClassName, linkClassName !== null)])
|
|
1680
|
-
}, /*#__PURE__*/React.createElement(Label
|
|
1658
|
+
}, /*#__PURE__*/React.createElement(Label, null, messages.next))) : null));
|
|
1681
1659
|
};
|
|
1682
1660
|
PaginationMenu.propTypes = propTypes$w;
|
|
1683
1661
|
PaginationMenu.defaultProps = defaultProps$w;
|
|
1684
|
-
var PaginationMenu$1 = PaginationMenu;
|
|
1685
1662
|
|
|
1686
1663
|
var styles$o = {"container":"micromag-core-menus-tabs-container"};
|
|
1687
1664
|
|
|
@@ -1713,7 +1690,7 @@ var TabsMenu = function TabsMenu(_ref) {
|
|
|
1713
1690
|
onClickItem = _ref.onClickItem;
|
|
1714
1691
|
return /*#__PURE__*/React.createElement("div", {
|
|
1715
1692
|
className: classNames([styles$o.container, _defineProperty({}, className, className)])
|
|
1716
|
-
}, /*#__PURE__*/React.createElement(Buttons
|
|
1693
|
+
}, /*#__PURE__*/React.createElement(Buttons, {
|
|
1717
1694
|
buttons: items,
|
|
1718
1695
|
size: size,
|
|
1719
1696
|
theme: theme,
|
|
@@ -1725,7 +1702,6 @@ var TabsMenu = function TabsMenu(_ref) {
|
|
|
1725
1702
|
};
|
|
1726
1703
|
TabsMenu.propTypes = propTypes$v;
|
|
1727
1704
|
TabsMenu.defaultProps = defaultProps$v;
|
|
1728
|
-
var TabsMenu$1 = TabsMenu;
|
|
1729
1705
|
|
|
1730
1706
|
var styles$n = {"container":"micromag-core-modals-container","modals":"micromag-core-modals-modals","hasModals":"micromag-core-modals-hasModals"};
|
|
1731
1707
|
|
|
@@ -1832,7 +1808,6 @@ var ModalPortal = function ModalPortal(_ref) {
|
|
|
1832
1808
|
};
|
|
1833
1809
|
ModalPortal.propTypes = propTypes$s;
|
|
1834
1810
|
ModalPortal.defaultProps = defaultProps$s;
|
|
1835
|
-
var Portal$1 = ModalPortal;
|
|
1836
1811
|
|
|
1837
1812
|
var styles$m = {"container":"micromag-core-modals-modal-container","center":"micromag-core-modals-modal-center","inner":"micromag-core-modals-modal-inner","top":"micromag-core-modals-modal-top"};
|
|
1838
1813
|
|
|
@@ -1861,7 +1836,7 @@ var Modal = function Modal(_ref) {
|
|
|
1861
1836
|
title: title
|
|
1862
1837
|
};
|
|
1863
1838
|
}, [title]);
|
|
1864
|
-
return /*#__PURE__*/React.createElement(
|
|
1839
|
+
return /*#__PURE__*/React.createElement(ModalPortal, {
|
|
1865
1840
|
id: finalId,
|
|
1866
1841
|
data: data
|
|
1867
1842
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -1872,7 +1847,6 @@ var Modal = function Modal(_ref) {
|
|
|
1872
1847
|
};
|
|
1873
1848
|
Modal.propTypes = propTypes$r;
|
|
1874
1849
|
Modal.defaultProps = defaultProps$r;
|
|
1875
|
-
var Modal$1 = Modal;
|
|
1876
1850
|
|
|
1877
1851
|
var styles$l = {"container":"micromag-core-modals-dialog-container"};
|
|
1878
1852
|
|
|
@@ -1917,7 +1891,7 @@ var ModalDialog = function ModalDialog(_ref) {
|
|
|
1917
1891
|
className: classNames(['modal-header', 'p-2', 'd-flex', 'justify-content-between', styles$l.header])
|
|
1918
1892
|
}, /*#__PURE__*/React.createElement("h5", {
|
|
1919
1893
|
className: "modal-title"
|
|
1920
|
-
}, /*#__PURE__*/React.createElement(Label
|
|
1894
|
+
}, /*#__PURE__*/React.createElement(Label, null, title)), /*#__PURE__*/React.createElement("button", {
|
|
1921
1895
|
type: "button",
|
|
1922
1896
|
className: "btn btn-close p-2",
|
|
1923
1897
|
"aria-label": "Close",
|
|
@@ -1926,14 +1900,13 @@ var ModalDialog = function ModalDialog(_ref) {
|
|
|
1926
1900
|
className: classNames(['modal-body', 'p-2', _defineProperty({}, bodyClassName, bodyClassName !== null)])
|
|
1927
1901
|
}, children), footer !== null || buttons !== null ? /*#__PURE__*/React.createElement("div", {
|
|
1928
1902
|
className: classNames(['modal-footer', 'p-2', styles$l.footer])
|
|
1929
|
-
}, footer, buttons !== null ? /*#__PURE__*/React.createElement(Buttons
|
|
1903
|
+
}, footer, buttons !== null ? /*#__PURE__*/React.createElement(Buttons, {
|
|
1930
1904
|
buttons: buttons,
|
|
1931
1905
|
className: styles$l.buttons
|
|
1932
1906
|
}) : null) : null));
|
|
1933
1907
|
};
|
|
1934
1908
|
ModalDialog.propTypes = propTypes$q;
|
|
1935
1909
|
ModalDialog.defaultProps = defaultProps$q;
|
|
1936
|
-
var ModalDialog$1 = ModalDialog;
|
|
1937
1910
|
|
|
1938
1911
|
var styles$k = {"container":"micromag-core-panels-container"};
|
|
1939
1912
|
|
|
@@ -2003,7 +1976,6 @@ var PanelPortal = function PanelPortal(_ref) {
|
|
|
2003
1976
|
};
|
|
2004
1977
|
PanelPortal.propTypes = propTypes$o;
|
|
2005
1978
|
PanelPortal.defaultProps = defaultProps$o;
|
|
2006
|
-
var Portal = PanelPortal;
|
|
2007
1979
|
|
|
2008
1980
|
var styles$j = {"container":"micromag-core-panels-panel-container"};
|
|
2009
1981
|
|
|
@@ -2030,7 +2002,7 @@ var Panel = function Panel(_ref) {
|
|
|
2030
2002
|
title: title
|
|
2031
2003
|
};
|
|
2032
2004
|
}, [title]);
|
|
2033
|
-
return /*#__PURE__*/React.createElement(
|
|
2005
|
+
return /*#__PURE__*/React.createElement(PanelPortal, {
|
|
2034
2006
|
id: finalId,
|
|
2035
2007
|
data: data
|
|
2036
2008
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -2039,7 +2011,6 @@ var Panel = function Panel(_ref) {
|
|
|
2039
2011
|
};
|
|
2040
2012
|
Panel.propTypes = propTypes$n;
|
|
2041
2013
|
Panel.defaultProps = defaultProps$n;
|
|
2042
|
-
var Panel$1 = Panel;
|
|
2043
2014
|
|
|
2044
2015
|
var styles$i = {"container":"micromag-core-partials-collapsable-panel-container","top":"micromag-core-partials-collapsable-panel-top","button":"micromag-core-partials-collapsable-panel-button","label":"micromag-core-partials-collapsable-panel-label","content":"micromag-core-partials-collapsable-panel-content","isOpened":"micromag-core-partials-collapsable-panel-isOpened"};
|
|
2045
2016
|
|
|
@@ -2080,7 +2051,7 @@ var CollapsablePanel = function CollapsablePanel(_ref) {
|
|
|
2080
2051
|
className: classNames([styles$i.container, _defineProperty(_defineProperty(_defineProperty({}, styles$i.isOpened, opened), openedClassName, opened && openedClassName !== null), className, className !== null)])
|
|
2081
2052
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2082
2053
|
className: classNames([styles$i.top, _defineProperty({}, topClassName, topClassName !== null)])
|
|
2083
|
-
}, /*#__PURE__*/React.createElement(Button$
|
|
2054
|
+
}, /*#__PURE__*/React.createElement(Button$1, {
|
|
2084
2055
|
withoutStyle: true,
|
|
2085
2056
|
className: classNames([styles$i.button, _defineProperty({}, buttonClassName, buttonClassName !== null)]),
|
|
2086
2057
|
icon: /*#__PURE__*/React.createElement(FontAwesomeIcon, {
|
|
@@ -2096,7 +2067,6 @@ var CollapsablePanel = function CollapsablePanel(_ref) {
|
|
|
2096
2067
|
};
|
|
2097
2068
|
CollapsablePanel.propTypes = propTypes$m;
|
|
2098
2069
|
CollapsablePanel.defaultProps = defaultProps$m;
|
|
2099
|
-
var CollapsablePanel$1 = CollapsablePanel;
|
|
2100
2070
|
|
|
2101
2071
|
var propTypes$l = {
|
|
2102
2072
|
stroke: PropTypes$1.string,
|
|
@@ -2149,7 +2119,6 @@ var Close = function Close(_ref) {
|
|
|
2149
2119
|
};
|
|
2150
2120
|
Close.propTypes = propTypes$l;
|
|
2151
2121
|
Close.defaultProps = defaultProps$l;
|
|
2152
|
-
var Close$1 = Close;
|
|
2153
2122
|
|
|
2154
2123
|
/* eslint-disable react/jsx-props-no-spreading */
|
|
2155
2124
|
var propTypes$k = {
|
|
@@ -2180,7 +2149,6 @@ var Date$1 = function Date(_ref) {
|
|
|
2180
2149
|
};
|
|
2181
2150
|
Date$1.propTypes = propTypes$k;
|
|
2182
2151
|
Date$1.defaultProps = defaultProps$k;
|
|
2183
|
-
var Date$2 = Date$1;
|
|
2184
2152
|
|
|
2185
2153
|
/* eslint-disable react/no-danger */
|
|
2186
2154
|
var propTypes$j = {
|
|
@@ -2259,7 +2227,6 @@ var Detector = function Detector(_ref) {
|
|
|
2259
2227
|
};
|
|
2260
2228
|
Detector.propTypes = propTypes$j;
|
|
2261
2229
|
Detector.defaultProps = defaultProps$j;
|
|
2262
|
-
var Detector$1 = Detector;
|
|
2263
2230
|
|
|
2264
2231
|
var styles$h = {"container":"micromag-core-partials-placeholder-block-container","outline":"micromag-core-partials-placeholder-block-outline","withInvertedColors":"micromag-core-partials-placeholder-block-withInvertedColors","box":"micromag-core-partials-placeholder-block-box"};
|
|
2265
2232
|
|
|
@@ -2347,7 +2314,6 @@ var ElementComponent = function ElementComponent(_ref) {
|
|
|
2347
2314
|
};
|
|
2348
2315
|
ElementComponent.propTypes = propTypes$h;
|
|
2349
2316
|
ElementComponent.defaultProps = defaultProps$h;
|
|
2350
|
-
var ElementComponent$1 = ElementComponent;
|
|
2351
2317
|
|
|
2352
2318
|
var styles$g = {"container":"micromag-core-partials-empty-container","middle":"micromag-core-partials-empty-middle","withoutBorder":"micromag-core-partials-empty-withoutBorder","invertColor":"micromag-core-partials-empty-invertColor"};
|
|
2353
2319
|
|
|
@@ -2372,11 +2338,10 @@ var Empty = function Empty(_ref) {
|
|
|
2372
2338
|
className: classNames([styles$g.container, _defineProperty(_defineProperty(_defineProperty({}, styles$g.withoutBorder, withoutBorder), styles$g.light, light), className, className)])
|
|
2373
2339
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2374
2340
|
className: styles$g.middle
|
|
2375
|
-
}, /*#__PURE__*/React.createElement(Label
|
|
2341
|
+
}, /*#__PURE__*/React.createElement(Label, null, children)));
|
|
2376
2342
|
};
|
|
2377
2343
|
Empty.propTypes = propTypes$g;
|
|
2378
2344
|
Empty.defaultProps = defaultProps$g;
|
|
2379
|
-
var Empty$1 = Empty;
|
|
2380
2345
|
|
|
2381
2346
|
var getUrlsFromMedia = function getUrlsFromMedia(media, formats) {
|
|
2382
2347
|
var _ref = media || {},
|
|
@@ -2459,7 +2424,6 @@ var FontFaces = function FontFaces(_ref4) {
|
|
|
2459
2424
|
};
|
|
2460
2425
|
FontFaces.propTypes = propTypes$f;
|
|
2461
2426
|
FontFaces.defaultProps = defaultProps$f;
|
|
2462
|
-
var FontFaces$1 = FontFaces;
|
|
2463
2427
|
|
|
2464
2428
|
var styles$f = {};
|
|
2465
2429
|
|
|
@@ -2506,11 +2470,10 @@ var Media = function Media(_ref) {
|
|
|
2506
2470
|
className: classNames(['card-body', styles$f.body, _defineProperty({}, bodyClassName, bodyClassName !== null)])
|
|
2507
2471
|
}, title !== null ? /*#__PURE__*/React.createElement("h5", {
|
|
2508
2472
|
className: classNames(['mt-0', 'text-truncate', styles$f.title, _defineProperty({}, titleClassName, titleClassName !== null)])
|
|
2509
|
-
}, /*#__PURE__*/React.createElement(Label
|
|
2473
|
+
}, /*#__PURE__*/React.createElement(Label, null, title)) : null, children) : null);
|
|
2510
2474
|
};
|
|
2511
2475
|
Media.propTypes = propTypes$e;
|
|
2512
2476
|
Media.defaultProps = defaultProps$e;
|
|
2513
|
-
var Media$1 = Media;
|
|
2514
2477
|
|
|
2515
2478
|
/**
|
|
2516
2479
|
* Core
|
|
@@ -3236,7 +3199,6 @@ var Meta = function Meta(_ref) {
|
|
|
3236
3199
|
};
|
|
3237
3200
|
Meta.propTypes = propTypes$d;
|
|
3238
3201
|
Meta.defaultProps = defaultProps$d;
|
|
3239
|
-
var Meta$1 = Meta;
|
|
3240
3202
|
|
|
3241
3203
|
var styles$e = {"container":"micromag-core-partials-slideshow-container","items":"micromag-core-partials-slideshow-items","item":"micromag-core-partials-slideshow-item","prev":"micromag-core-partials-slideshow-prev","current":"micromag-core-partials-slideshow-current","next":"micromag-core-partials-slideshow-next"};
|
|
3242
3204
|
|
|
@@ -3305,7 +3267,6 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
3305
3267
|
};
|
|
3306
3268
|
Slideshow.propTypes = propTypes$c;
|
|
3307
3269
|
Slideshow.defaultProps = defaultProps$c;
|
|
3308
|
-
var Slideshow$1 = Slideshow;
|
|
3309
3270
|
|
|
3310
3271
|
var styles$d = {"icon":"micromag-core-placeholders-icon"};
|
|
3311
3272
|
|
|
@@ -3323,7 +3284,6 @@ var AdFrame = function AdFrame(_ref) {
|
|
|
3323
3284
|
className: styles$d.icon
|
|
3324
3285
|
}));
|
|
3325
3286
|
};
|
|
3326
|
-
var AdFrame$1 = AdFrame;
|
|
3327
3287
|
|
|
3328
3288
|
/* eslint-disable react/prop-types */
|
|
3329
3289
|
var AdImage = function AdImage(_ref) {
|
|
@@ -3339,7 +3299,6 @@ var AdImage = function AdImage(_ref) {
|
|
|
3339
3299
|
className: styles$d.icon
|
|
3340
3300
|
}));
|
|
3341
3301
|
};
|
|
3342
|
-
var AdImage$1 = AdImage;
|
|
3343
3302
|
|
|
3344
3303
|
/* eslint-disable react/destructuring-assignment, react/prop-types */
|
|
3345
3304
|
var Audio = function Audio(_ref) {
|
|
@@ -3357,7 +3316,6 @@ var Audio = function Audio(_ref) {
|
|
|
3357
3316
|
className: styles$d.icon
|
|
3358
3317
|
}));
|
|
3359
3318
|
};
|
|
3360
|
-
var Audio$1 = Audio;
|
|
3361
3319
|
|
|
3362
3320
|
var styles$c = {"container":"micromag-core-partials-placeholder-text-container","withInvertedColors":"micromag-core-partials-placeholder-text-withInvertedColors","line":"micromag-core-partials-placeholder-text-line"};
|
|
3363
3321
|
|
|
@@ -3424,7 +3382,6 @@ var Button = function Button(_ref) {
|
|
|
3424
3382
|
height: "0.1em"
|
|
3425
3383
|
}));
|
|
3426
3384
|
};
|
|
3427
|
-
var Button$1 = Button;
|
|
3428
3385
|
|
|
3429
3386
|
var _excluded$2 = ["width", "height", "className"];
|
|
3430
3387
|
var Image = function Image(_ref) {
|
|
@@ -3441,7 +3398,6 @@ var Image = function Image(_ref) {
|
|
|
3441
3398
|
className: styles$d.icon
|
|
3442
3399
|
}));
|
|
3443
3400
|
};
|
|
3444
|
-
var Image$1 = Image;
|
|
3445
3401
|
|
|
3446
3402
|
/* eslint-disable react/jsx-props-no-spreading, react/destructuring-assignment, react/prop-types */
|
|
3447
3403
|
var Line = function Line(props) {
|
|
@@ -3451,7 +3407,6 @@ var Line = function Line(props) {
|
|
|
3451
3407
|
lines: 1
|
|
3452
3408
|
}));
|
|
3453
3409
|
};
|
|
3454
|
-
var Line$1 = Line;
|
|
3455
3410
|
|
|
3456
3411
|
var styles$b = {"container":"micromag-core-placeholders-map-container","icon":"micromag-core-placeholders-map-icon"};
|
|
3457
3412
|
|
|
@@ -3474,7 +3429,6 @@ var Map = function Map(props) {
|
|
|
3474
3429
|
className: styles$b.icon
|
|
3475
3430
|
}));
|
|
3476
3431
|
};
|
|
3477
|
-
var Map$1 = Map;
|
|
3478
3432
|
|
|
3479
3433
|
/* eslint-disable react/jsx-props-no-spreading, react/destructuring-assignment, react/prop-types */
|
|
3480
3434
|
var MapPath = function MapPath(props) {
|
|
@@ -3488,7 +3442,6 @@ var MapPath = function MapPath(props) {
|
|
|
3488
3442
|
className: styles$d.icon
|
|
3489
3443
|
}));
|
|
3490
3444
|
};
|
|
3491
|
-
var MapPath$1 = MapPath;
|
|
3492
3445
|
|
|
3493
3446
|
/* eslint-disable react/jsx-props-no-spreading, react/destructuring-assignment, react/prop-types */
|
|
3494
3447
|
var Quote = function Quote(props) {
|
|
@@ -3498,7 +3451,6 @@ var Quote = function Quote(props) {
|
|
|
3498
3451
|
lines: 6
|
|
3499
3452
|
}));
|
|
3500
3453
|
};
|
|
3501
|
-
var Quote$1 = Quote;
|
|
3502
3454
|
|
|
3503
3455
|
/* eslint-disable react/jsx-props-no-spreading, react/destructuring-assignment, react/prop-types */
|
|
3504
3456
|
var ShortText = function ShortText(props) {
|
|
@@ -3508,7 +3460,6 @@ var ShortText = function ShortText(props) {
|
|
|
3508
3460
|
lines: 2
|
|
3509
3461
|
}));
|
|
3510
3462
|
};
|
|
3511
|
-
var ShortText$1 = ShortText;
|
|
3512
3463
|
|
|
3513
3464
|
/* eslint-disable react/jsx-props-no-spreading, react/destructuring-assignment, react/prop-types */
|
|
3514
3465
|
var Subtitle = function Subtitle(props) {
|
|
@@ -3518,7 +3469,6 @@ var Subtitle = function Subtitle(props) {
|
|
|
3518
3469
|
lines: 1
|
|
3519
3470
|
}));
|
|
3520
3471
|
};
|
|
3521
|
-
var Subtitle$1 = Subtitle;
|
|
3522
3472
|
|
|
3523
3473
|
/* eslint-disable react/jsx-props-no-spreading, react/destructuring-assignment, react/prop-types */
|
|
3524
3474
|
var TextPlaceholder = function TextPlaceholder(props) {
|
|
@@ -3537,7 +3487,6 @@ var TextPlaceholder = function TextPlaceholder(props) {
|
|
|
3537
3487
|
className: classNames([className, styles$d.text])
|
|
3538
3488
|
}));
|
|
3539
3489
|
};
|
|
3540
|
-
var TextPlaceholder$1 = TextPlaceholder;
|
|
3541
3490
|
|
|
3542
3491
|
/* eslint-disable react/jsx-props-no-spreading, react/destructuring-assignment, react/prop-types */
|
|
3543
3492
|
var Timeline = function Timeline(props) {
|
|
@@ -3545,10 +3494,9 @@ var Timeline = function Timeline(props) {
|
|
|
3545
3494
|
className: classNames([props.className, styles$d.timeline])
|
|
3546
3495
|
}));
|
|
3547
3496
|
};
|
|
3548
|
-
var Timeline$1 = Timeline;
|
|
3549
3497
|
|
|
3550
3498
|
/* eslint-disable react/jsx-props-no-spreading, react/destructuring-assignment, react/prop-types */
|
|
3551
|
-
var Title$
|
|
3499
|
+
var Title$1 = function Title(props) {
|
|
3552
3500
|
var _props$height = props.height,
|
|
3553
3501
|
height = _props$height === void 0 ? 0.5 : _props$height,
|
|
3554
3502
|
_props$lines = props.lines,
|
|
@@ -3562,7 +3510,6 @@ var Title$2 = function Title(props) {
|
|
|
3562
3510
|
lineMargin: lineMargin
|
|
3563
3511
|
}));
|
|
3564
3512
|
};
|
|
3565
|
-
var Title$3 = Title$2;
|
|
3566
3513
|
|
|
3567
3514
|
/* eslint-disable react/prop-types */
|
|
3568
3515
|
var Video = function Video(_ref) {
|
|
@@ -3578,7 +3525,6 @@ var Video = function Video(_ref) {
|
|
|
3578
3525
|
className: styles$d.icon
|
|
3579
3526
|
}));
|
|
3580
3527
|
};
|
|
3581
|
-
var Video$1 = Video;
|
|
3582
3528
|
|
|
3583
3529
|
var styles$a = {"container":"micromag-core-placeholders-video-360-container","box":"micromag-core-placeholders-video-360-box","icon":"micromag-core-placeholders-video-360-icon","label":"micromag-core-placeholders-video-360-label"};
|
|
3584
3530
|
|
|
@@ -3598,7 +3544,6 @@ var Video360 = function Video360(_ref) {
|
|
|
3598
3544
|
className: styles$a.label
|
|
3599
3545
|
}, "360"));
|
|
3600
3546
|
};
|
|
3601
|
-
var Video360$1 = Video360;
|
|
3602
3547
|
|
|
3603
3548
|
/* eslint-disable react/prop-types */
|
|
3604
3549
|
var VideoLoop = function VideoLoop(_ref) {
|
|
@@ -3617,7 +3562,6 @@ var VideoLoop = function VideoLoop(_ref) {
|
|
|
3617
3562
|
className: styles$d.icon
|
|
3618
3563
|
}));
|
|
3619
3564
|
};
|
|
3620
|
-
var VideoLoop$1 = VideoLoop;
|
|
3621
3565
|
|
|
3622
3566
|
var styles$9 = {"container":"micromag-core-screens-screen-sizer-container","frame":"micromag-core-screens-screen-sizer-frame","screen":"micromag-core-screens-screen-sizer-screen"};
|
|
3623
3567
|
|
|
@@ -3730,7 +3674,6 @@ var ScreenSizer = function ScreenSizer(_ref) {
|
|
|
3730
3674
|
};
|
|
3731
3675
|
ScreenSizer.propTypes = propTypes$a;
|
|
3732
3676
|
ScreenSizer.defaultProps = defaultProps$a;
|
|
3733
|
-
var ScreenSizer$1 = ScreenSizer;
|
|
3734
3677
|
|
|
3735
3678
|
var styles$8 = {"container":"micromag-core-screens-screen-container"};
|
|
3736
3679
|
|
|
@@ -3829,7 +3772,7 @@ var ScreenPlaceholder = function ScreenPlaceholder(_ref) {
|
|
|
3829
3772
|
layout: layout,
|
|
3830
3773
|
className: classNames([styles$7.screen, _defineProperty({}, className, !withSize)])
|
|
3831
3774
|
}, props));
|
|
3832
|
-
return withSize ? /*#__PURE__*/React.createElement(ScreenSizer
|
|
3775
|
+
return withSize ? /*#__PURE__*/React.createElement(ScreenSizer, {
|
|
3833
3776
|
className: className,
|
|
3834
3777
|
screenWidth: screenWidth,
|
|
3835
3778
|
screenHeight: screenHeight
|
|
@@ -3883,7 +3826,7 @@ var ScreenPreview = function ScreenPreview(_ref) {
|
|
|
3883
3826
|
className: classNames([styles$6.screen, _defineProperty({}, className, !withSize)])
|
|
3884
3827
|
}, props));
|
|
3885
3828
|
var element = !hidden ? screenElement : /*#__PURE__*/React.createElement("div", null);
|
|
3886
|
-
var screenWithSize = withSize ? /*#__PURE__*/React.createElement(ScreenSizer
|
|
3829
|
+
var screenWithSize = withSize ? /*#__PURE__*/React.createElement(ScreenSizer, {
|
|
3887
3830
|
className: className,
|
|
3888
3831
|
screenWidth: screenWidth,
|
|
3889
3832
|
screenHeight: screenHeight,
|
|
@@ -3911,7 +3854,6 @@ var Conversation = function Conversation() {
|
|
|
3911
3854
|
className: styles$5.icon
|
|
3912
3855
|
}));
|
|
3913
3856
|
};
|
|
3914
|
-
var Conversation$1 = Conversation;
|
|
3915
3857
|
|
|
3916
3858
|
/* eslint-disable react/prop-types */
|
|
3917
3859
|
var InputText = function InputText(_ref) {
|
|
@@ -3927,11 +3869,10 @@ var InputText = function InputText(_ref) {
|
|
|
3927
3869
|
className: className
|
|
3928
3870
|
});
|
|
3929
3871
|
};
|
|
3930
|
-
var InputText$1 = InputText;
|
|
3931
3872
|
|
|
3932
3873
|
var styles$4 = {"container":"micromag-core-placeholders-quiz-answer-container","block":"micromag-core-placeholders-quiz-answer-block","answer":"micromag-core-placeholders-quiz-answer-answer","answerIcon":"micromag-core-placeholders-quiz-answer-answerIcon","good":"micromag-core-placeholders-quiz-answer-good"};
|
|
3933
3874
|
|
|
3934
|
-
var Answer$
|
|
3875
|
+
var Answer$1 = function Answer(_ref) {
|
|
3935
3876
|
var _ref$width = _ref.width,
|
|
3936
3877
|
width = _ref$width === void 0 ? '75%' : _ref$width,
|
|
3937
3878
|
_ref$height = _ref.height,
|
|
@@ -3956,7 +3897,6 @@ var Answer$2 = function Answer(_ref) {
|
|
|
3956
3897
|
height: "0.2em"
|
|
3957
3898
|
})));
|
|
3958
3899
|
};
|
|
3959
|
-
var Answer$3 = Answer$2;
|
|
3960
3900
|
|
|
3961
3901
|
var styles$3 = {"container":"micromag-core-placeholders-share-options-container","box":"micromag-core-placeholders-share-options-box","icon":"micromag-core-placeholders-share-options-icon","item":"micromag-core-placeholders-share-options-item","button":"micromag-core-placeholders-share-options-button"};
|
|
3962
3902
|
|
|
@@ -3983,7 +3923,6 @@ var Title = function Title(props) {
|
|
|
3983
3923
|
className: styles$3.icon
|
|
3984
3924
|
})));
|
|
3985
3925
|
};
|
|
3986
|
-
var Title$1 = Title;
|
|
3987
3926
|
|
|
3988
3927
|
var styles$2 = {"container":"micromag-core-placeholders-survey-answer-container","block":"micromag-core-placeholders-survey-answer-block","percent":"micromag-core-placeholders-survey-answer-percent","percentIcon":"micromag-core-placeholders-survey-answer-percentIcon"};
|
|
3989
3928
|
|
|
@@ -4010,32 +3949,31 @@ var Answer = function Answer(_ref) {
|
|
|
4010
3949
|
icon: faPercent
|
|
4011
3950
|
})));
|
|
4012
3951
|
};
|
|
4013
|
-
var Answer$1 = Answer;
|
|
4014
3952
|
|
|
4015
3953
|
var Placeholders = /*#__PURE__*/Object.freeze({
|
|
4016
3954
|
__proto__: null,
|
|
4017
|
-
AdFrame: AdFrame
|
|
4018
|
-
AdImage: AdImage
|
|
4019
|
-
Audio: Audio
|
|
4020
|
-
Button: Button
|
|
4021
|
-
Conversation: Conversation
|
|
4022
|
-
Image: Image
|
|
4023
|
-
InputText: InputText
|
|
4024
|
-
Line: Line
|
|
4025
|
-
Map: Map
|
|
4026
|
-
MapPath: MapPath
|
|
4027
|
-
QuizAnswer: Answer$
|
|
4028
|
-
Quote: Quote
|
|
4029
|
-
ShareOptions: Title
|
|
4030
|
-
ShortText: ShortText
|
|
4031
|
-
Subtitle: Subtitle
|
|
4032
|
-
SurveyAnswer: Answer
|
|
4033
|
-
Text: TextPlaceholder
|
|
4034
|
-
Timeline: Timeline
|
|
4035
|
-
Title: Title$
|
|
4036
|
-
Video: Video
|
|
4037
|
-
Video360: Video360
|
|
4038
|
-
VideoLoop: VideoLoop
|
|
3955
|
+
AdFrame: AdFrame,
|
|
3956
|
+
AdImage: AdImage,
|
|
3957
|
+
Audio: Audio,
|
|
3958
|
+
Button: Button,
|
|
3959
|
+
Conversation: Conversation,
|
|
3960
|
+
Image: Image,
|
|
3961
|
+
InputText: InputText,
|
|
3962
|
+
Line: Line,
|
|
3963
|
+
Map: Map,
|
|
3964
|
+
MapPath: MapPath,
|
|
3965
|
+
QuizAnswer: Answer$1,
|
|
3966
|
+
Quote: Quote,
|
|
3967
|
+
ShareOptions: Title,
|
|
3968
|
+
ShortText: ShortText,
|
|
3969
|
+
Subtitle: Subtitle,
|
|
3970
|
+
SurveyAnswer: Answer,
|
|
3971
|
+
Text: TextPlaceholder,
|
|
3972
|
+
Timeline: Timeline,
|
|
3973
|
+
Title: Title$1,
|
|
3974
|
+
Video: Video,
|
|
3975
|
+
Video360: Video360,
|
|
3976
|
+
VideoLoop: VideoLoop
|
|
4039
3977
|
});
|
|
4040
3978
|
|
|
4041
3979
|
/* eslint-disable react/jsx-props-no-spreading */
|
|
@@ -4078,7 +4016,7 @@ var ScreenElement = function ScreenElement(_ref) {
|
|
|
4078
4016
|
return PlaceholderComponent !== null ? /*#__PURE__*/React.createElement(PlaceholderComponent, placeholderProps) : placeholder;
|
|
4079
4017
|
}
|
|
4080
4018
|
if (isEdit && isEmpty) {
|
|
4081
|
-
return empty !== null ? empty : /*#__PURE__*/React.createElement(Empty
|
|
4019
|
+
return empty !== null ? empty : /*#__PURE__*/React.createElement(Empty, {
|
|
4082
4020
|
className: emptyClassName
|
|
4083
4021
|
}, emptyLabel);
|
|
4084
4022
|
}
|
|
@@ -4089,7 +4027,6 @@ var ScreenElement = function ScreenElement(_ref) {
|
|
|
4089
4027
|
};
|
|
4090
4028
|
ScreenElement.propTypes = propTypes$6;
|
|
4091
4029
|
ScreenElement.defaultProps = defaultProps$6;
|
|
4092
|
-
var ScreenElement$1 = ScreenElement;
|
|
4093
4030
|
|
|
4094
4031
|
var styles$1 = {"container":"micromag-core-screens-container","screen":"micromag-core-screens-screen","visible":"micromag-core-screens-visible"};
|
|
4095
4032
|
|
|
@@ -4119,7 +4056,6 @@ var Screens = function Screens(_ref) {
|
|
|
4119
4056
|
};
|
|
4120
4057
|
Screens.propTypes = propTypes$5;
|
|
4121
4058
|
Screens.defaultProps = defaultProps$5;
|
|
4122
|
-
var Screens$1 = Screens;
|
|
4123
4059
|
|
|
4124
4060
|
var styles = {"container":"micromag-core-transitions-transition-container","fullscreen":"micromag-core-transitions-transition-fullscreen"};
|
|
4125
4061
|
|
|
@@ -4392,7 +4328,6 @@ var TransitionsStagger = function TransitionsStagger(_ref) {
|
|
|
4392
4328
|
};
|
|
4393
4329
|
TransitionsStagger.propTypes = propTypes$2;
|
|
4394
4330
|
TransitionsStagger.defaultProps = defaultProps$2;
|
|
4395
|
-
var TransitionsStagger$1 = TransitionsStagger;
|
|
4396
4331
|
|
|
4397
4332
|
var propTypes$1 = {
|
|
4398
4333
|
selector: PropTypes$1.string,
|
|
@@ -4416,7 +4351,6 @@ var HighlightStyle = function HighlightStyle(_ref) {
|
|
|
4416
4351
|
};
|
|
4417
4352
|
HighlightStyle.propTypes = propTypes$1;
|
|
4418
4353
|
HighlightStyle.defaultProps = defaultProps$1;
|
|
4419
|
-
var HighlightStyle$1 = HighlightStyle;
|
|
4420
4354
|
|
|
4421
4355
|
var propTypes = {
|
|
4422
4356
|
selector: PropTypes$1.string,
|
|
@@ -4440,6 +4374,5 @@ var LinkStyle = function LinkStyle(_ref) {
|
|
|
4440
4374
|
};
|
|
4441
4375
|
LinkStyle.propTypes = propTypes;
|
|
4442
4376
|
LinkStyle.defaultProps = defaultProps;
|
|
4443
|
-
var LinkStyle$1 = LinkStyle;
|
|
4444
4377
|
|
|
4445
|
-
export { ArrowIcon
|
|
4378
|
+
export { ArrowIcon, BackButton, Breadcrumb, Button$1 as Button, Buttons, Card, Close, CloseIcon, CollapsablePanel, Date$1 as Date, Detector, Dropdown as DropdownMenu, ElementComponent as Element, Empty, FieldForm, FontFaces, Form, FormPanel, FullscreenIcon, HighlightStyle, Label, Link, LinkIcon, LinkStyle, Media, _Menu as Menu, Meta, Modal, ModalDialog, ModalPortal, Modals, MuteIcon, Navbar, PaginationMenu as Pagination, Panel, PanelPortal, Panels, PauseIcon, AdFrame as PlaceholderAdFrame, AdImage as PlaceholderAdImage, Audio as PlaceholderAudio, Button as PlaceholderButton, Image as PlaceholderImage, Line as PlaceholderLine, Map as PlaceholderMap, MapPath as PlaceholderMapPath, Quote as PlaceholderQuote, ShortText as PlaceholderShortText, Subtitle as PlaceholderSubtitle, TextPlaceholder as PlaceholderText, Timeline as PlaceholderTimeline, Title$1 as PlaceholderTitle, Video as PlaceholderVideo, Video360 as PlaceholderVideo360, VideoLoop as PlaceholderVideoLoop, PlayIcon, Screen$1 as Screen, ScreenElement, Placeholder as ScreenPlaceholder, Preview as ScreenPreview, ScreenSizer, Screens, Slideshow, Spinner, TabsMenu as Tabs, Transitions, TransitionsStagger, UnmuteIcon };
|