@commercetools-frontend/application-components 24.7.2 → 24.8.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/commercetools-frontend-application-components.cjs.d.ts +2 -2
- package/dist/commercetools-frontend-application-components.cjs.dev.js +3 -510
- package/dist/commercetools-frontend-application-components.cjs.prod.js +3 -42
- package/dist/commercetools-frontend-application-components.esm.js +3 -509
- package/dist/{custom-views-selector-41cfb0a3.esm.js → custom-views-selector-44f42791.esm.js} +0 -10
- package/dist/{custom-views-selector-31b10462.cjs.dev.js → custom-views-selector-65f6adef.cjs.dev.js} +0 -11
- package/dist/{custom-views-selector-e4b5e5d4.cjs.prod.js → custom-views-selector-9c058929.cjs.prod.js} +0 -3
- package/dist/declarations/src/components/custom-views/custom-view-loader/index.d.ts +1 -1
- package/dist/declarations/src/components/custom-views/custom-views-selector/index.d.ts +1 -2
- package/dist/declarations/src/components/detail-pages/custom-form-detail-page/custom-form-detail-page.d.ts +30 -30
- package/dist/declarations/src/components/detail-pages/custom-form-detail-page/index.d.ts +1 -1
- package/dist/declarations/src/components/detail-pages/form-detail-page/form-detail-page.d.ts +4 -4
- package/dist/declarations/src/components/detail-pages/form-detail-page/index.d.ts +1 -1
- package/dist/declarations/src/components/detail-pages/info-detail-page/index.d.ts +1 -1
- package/dist/declarations/src/components/detail-pages/info-detail-page/info-detail-page.d.ts +4 -4
- package/dist/declarations/src/components/detail-pages/tabular-detail-page/index.d.ts +1 -1
- package/dist/declarations/src/components/detail-pages/tabular-detail-page/tabular-detail-page.d.ts +31 -31
- package/dist/declarations/src/components/dialogs/confirmation-dialog/index.d.ts +1 -1
- package/dist/declarations/src/components/dialogs/form-dialog/index.d.ts +1 -1
- package/dist/declarations/src/components/dialogs/info-dialog/index.d.ts +1 -1
- package/dist/declarations/src/components/drawer/drawer.d.ts +18 -18
- package/dist/declarations/src/components/drawer/index.d.ts +1 -1
- package/dist/declarations/src/components/main-pages/custom-form-main-page/custom-form-main-page.d.ts +33 -40
- package/dist/declarations/src/components/main-pages/custom-form-main-page/index.d.ts +1 -1
- package/dist/declarations/src/components/main-pages/form-main-page/form-main-page.d.ts +6 -13
- package/dist/declarations/src/components/main-pages/form-main-page/index.d.ts +1 -1
- package/dist/declarations/src/components/main-pages/info-main-page/index.d.ts +1 -1
- package/dist/declarations/src/components/main-pages/info-main-page/info-main-page.d.ts +4 -4
- package/dist/declarations/src/components/main-pages/tabular-main-page/index.d.ts +1 -1
- package/dist/declarations/src/components/main-pages/tabular-main-page/tabular-main-page.d.ts +32 -40
- package/dist/declarations/src/components/maintenance-page-layout/index.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/custom-form-modal-page/custom-form-modal-page.d.ts +26 -26
- package/dist/declarations/src/components/modal-pages/custom-form-modal-page/index.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/form-modal-page/index.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/info-modal-page/index.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/tabular-modal-page/index.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/tabular-modal-page/tabular-modal-page.d.ts +27 -27
- package/dist/declarations/src/components/modal-pages/utils/index.d.ts +1 -1
- package/dist/declarations/src/components/page-content-containers/page-content-full/index.d.ts +2 -2
- package/dist/declarations/src/components/page-content-containers/page-content-narrow/index.d.ts +2 -2
- package/dist/declarations/src/components/page-content-containers/page-content-wide/index.d.ts +2 -2
- package/dist/declarations/src/components/page-not-found/index.d.ts +1 -1
- package/dist/declarations/src/components/page-unauthorized/index.d.ts +1 -1
- package/dist/declarations/src/components/portals-container/index.d.ts +1 -1
- package/dist/declarations/src/components/public-page-layout/index.d.ts +2 -3
- package/dist/declarations/src/components/tab-header/index.d.ts +1 -1
- package/dist/declarations/src/hooks/use-modal-state/index.d.ts +1 -1
- package/dist/declarations/src/index.d.ts +35 -35
- package/dist/declarations/src/theming.d.ts +3 -1
- package/dist/{public-page-layout-60fba793.esm.js → public-page-layout-7d1cb99f.esm.js} +0 -14
- package/dist/{public-page-layout-3b294301.cjs.prod.js → public-page-layout-b182d2dd.cjs.prod.js} +0 -4
- package/dist/{public-page-layout-e2b1fd99.cjs.dev.js → public-page-layout-b92fb7e4.cjs.dev.js} +0 -15
- package/package.json +30 -30
- package/dist/commercetools-frontend-application-components.cjs.d.ts.map +0 -1
- package/dist/declarations/src/components/custom-views/custom-view-loader/messages.d.ts +0 -7
- package/dist/declarations/src/components/custom-views/custom-views-selector/custom-views-selector.d.ts +0 -3
- package/dist/declarations/src/components/custom-views/custom-views-selector/messages.d.ts +0 -7
- package/dist/declarations/src/components/custom-views/custom-views-selector/use-custom-views-connector.d.ts +0 -11
- package/dist/declarations/src/components/dialogs/internals/dialog-container.d.ts +0 -17
- package/dist/declarations/src/components/dialogs/internals/dialog-content.d.ts +0 -6
- package/dist/declarations/src/components/dialogs/internals/dialog-footer.d.ts +0 -30
- package/dist/declarations/src/components/dialogs/internals/dialog-header.d.ts +0 -15
- package/dist/declarations/src/components/dialogs/internals/dialog.styles.d.ts +0 -19
- package/dist/declarations/src/components/internals/default-form-buttons.d.ts +0 -36
- package/dist/declarations/src/components/internals/messages.d.ts +0 -11
- package/dist/declarations/src/components/internals/page-header-title.d.ts +0 -14
- package/dist/declarations/src/components/internals/page-header.d.ts +0 -19
- package/dist/declarations/src/components/internals/page-top-bar.d.ts +0 -19
- package/dist/declarations/src/components/internals/page.styles.d.ts +0 -13
- package/dist/declarations/src/components/internals/tabular-page.d.ts +0 -27
- package/dist/declarations/src/components/main-pages/internals/main-page.styles.d.ts +0 -13
- package/dist/declarations/src/components/modal-pages/internals/modal-page.d.ts +0 -39
- package/dist/declarations/src/components/modal-pages/internals/modal-page.styles.d.ts +0 -32
- package/dist/declarations/src/components/page-not-found/messages.d.ts +0 -11
- package/dist/declarations/src/components/page-unauthorized/messages.d.ts +0 -15
- package/dist/declarations/src/components/project-stamp/messages.d.ts +0 -19
- package/dist/declarations/src/components/public-page-layout/public-page-layout.d.ts +0 -26
- package/dist/declarations/src/components/public-page-layout/public-page-layout.styles.d.ts +0 -13
- package/dist/declarations/src/components/tab-header/tab.styles.d.ts +0 -2
- package/dist/declarations/src/hooks/use-custom-view-locator-selector/index.d.ts +0 -1
- package/dist/declarations/src/hooks/use-custom-view-locator-selector/use-custom-view-locator-selector.d.ts +0 -5
- package/dist/declarations/src/types/generated/settings.d.ts +0 -2116
- package/dist/declarations/src/utils/filter-data-attributes.d.ts +0 -1
|
@@ -8,7 +8,6 @@ import _Object$defineProperties from '@babel/runtime-corejs3/core-js-stable/obje
|
|
|
8
8
|
import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object/define-property';
|
|
9
9
|
import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
10
10
|
import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/esm/objectWithoutProperties';
|
|
11
|
-
import _pt from 'prop-types';
|
|
12
11
|
import { useIntl, defineMessages, FormattedMessage } from 'react-intl';
|
|
13
12
|
import { useLocation, matchPath, Link } from 'react-router-dom';
|
|
14
13
|
import Text from '@commercetools-uikit/text';
|
|
@@ -48,7 +47,7 @@ import useResizeObserver from '@react-hook/resize-observer';
|
|
|
48
47
|
import { useMutationObserver } from '@commercetools-uikit/hooks';
|
|
49
48
|
|
|
50
49
|
// NOTE: This string will be replaced on build time with the package version.
|
|
51
|
-
var version = "24.
|
|
50
|
+
var version = "24.8.0";
|
|
52
51
|
|
|
53
52
|
// We keep these tokens as they are related to page layout components which should have
|
|
54
53
|
// a slightly different layout (margins/paddings) when used within a Custom View panel.
|
|
@@ -134,15 +133,6 @@ const TabHeader = _ref2 => {
|
|
|
134
133
|
})
|
|
135
134
|
}));
|
|
136
135
|
};
|
|
137
|
-
TabHeader.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
138
|
-
to: _pt.oneOfType([_pt.string, _pt.any]).isRequired,
|
|
139
|
-
label: _pt.string,
|
|
140
|
-
intlMessage: _pt.oneOfType([_pt.any, _pt.shape({
|
|
141
|
-
values: _pt.objectOf(_pt.node)
|
|
142
|
-
})]),
|
|
143
|
-
isDisabled: _pt.bool,
|
|
144
|
-
exactPathMatch: _pt.bool
|
|
145
|
-
} : {};
|
|
146
136
|
TabHeader.displayName = 'TabHeader';
|
|
147
137
|
|
|
148
138
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$b() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
@@ -305,16 +295,6 @@ const DialogContainer = _ref3 => {
|
|
|
305
295
|
})
|
|
306
296
|
});
|
|
307
297
|
};
|
|
308
|
-
DialogContainer.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
309
|
-
isOpen: _pt.bool.isRequired,
|
|
310
|
-
onClose: _pt.func,
|
|
311
|
-
size: _pt.oneOf(['m', 'l', 7, 8, 9, 10, 11, 12, 13, 16, 'scale']),
|
|
312
|
-
zIndex: _pt.number,
|
|
313
|
-
title: _pt.node.isRequired,
|
|
314
|
-
'aria-label': _pt.string,
|
|
315
|
-
children: _pt.node.isRequired,
|
|
316
|
-
getParentSelector: _pt.any
|
|
317
|
-
} : {};
|
|
318
298
|
DialogContainer.displayName = 'DialogContainer';
|
|
319
299
|
|
|
320
300
|
// The overflow should be "auto", to make the container scrollable
|
|
@@ -331,9 +311,6 @@ const TextTitle = props => jsx(Text.Headline, {
|
|
|
331
311
|
truncate: true,
|
|
332
312
|
children: props.title
|
|
333
313
|
});
|
|
334
|
-
TextTitle.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
335
|
-
title: _pt.string.isRequired
|
|
336
|
-
} : {};
|
|
337
314
|
const HiddenEmptyDialogTitle$1 = () => jsx("div", {
|
|
338
315
|
"aria-hidden": true,
|
|
339
316
|
style: {
|
|
@@ -364,10 +341,6 @@ const DialogHeader = props => jsx("div", {
|
|
|
364
341
|
})]
|
|
365
342
|
})
|
|
366
343
|
});
|
|
367
|
-
DialogHeader.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
368
|
-
title: _pt.node.isRequired,
|
|
369
|
-
onClose: _pt.func
|
|
370
|
-
} : {};
|
|
371
344
|
DialogHeader.displayName = 'DialogHeader';
|
|
372
345
|
|
|
373
346
|
const InfoDialog = props => jsxs(DialogContainer, {
|
|
@@ -385,16 +358,6 @@ const InfoDialog = props => jsxs(DialogContainer, {
|
|
|
385
358
|
children: props.children
|
|
386
359
|
})]
|
|
387
360
|
});
|
|
388
|
-
InfoDialog.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
389
|
-
isOpen: _pt.bool.isRequired,
|
|
390
|
-
onClose: _pt.func,
|
|
391
|
-
size: _pt.oneOf(['m', 'l', 7, 8, 9, 10, 11, 12, 13, 16, 'scale']),
|
|
392
|
-
zIndex: _pt.number,
|
|
393
|
-
title: _pt.node.isRequired,
|
|
394
|
-
'aria-label': _pt.string,
|
|
395
|
-
children: _pt.node.isRequired,
|
|
396
|
-
getParentSelector: _pt.func
|
|
397
|
-
} : {};
|
|
398
361
|
InfoDialog.displayName = 'InfoDialog';
|
|
399
362
|
|
|
400
363
|
// Allow consumers who want to use a custom title to reuse the same title styles
|
|
@@ -443,26 +406,6 @@ const DialogFooter = _ref => {
|
|
|
443
406
|
})
|
|
444
407
|
});
|
|
445
408
|
};
|
|
446
|
-
DialogFooter.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
447
|
-
labelSecondary: _pt.oneOfType([_pt.string, _pt.shape({
|
|
448
|
-
id: _pt.string.isRequired,
|
|
449
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
450
|
-
defaultMessage: _pt.string
|
|
451
|
-
})]).isRequired,
|
|
452
|
-
labelPrimary: _pt.oneOfType([_pt.string, _pt.shape({
|
|
453
|
-
id: _pt.string.isRequired,
|
|
454
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
455
|
-
defaultMessage: _pt.string
|
|
456
|
-
})]).isRequired,
|
|
457
|
-
onCancel: _pt.func.isRequired,
|
|
458
|
-
onConfirm: _pt.func.isRequired,
|
|
459
|
-
isPrimaryButtonDisabled: _pt.bool,
|
|
460
|
-
dataAttributesPrimaryButton: _pt.objectOf(_pt.string),
|
|
461
|
-
dataAttributesSecondaryButton: _pt.objectOf(_pt.string),
|
|
462
|
-
iconLeftSecondaryButton: _pt.element,
|
|
463
|
-
iconLeftPrimaryButton: _pt.element,
|
|
464
|
-
footerContent: _pt.node
|
|
465
|
-
} : {};
|
|
466
409
|
DialogFooter.displayName = 'DialogFooter';
|
|
467
410
|
|
|
468
411
|
const _excluded$h = ["labelSecondary", "labelPrimary"];
|
|
@@ -496,31 +439,6 @@ const ConfirmationDialog = _ref => {
|
|
|
496
439
|
})]
|
|
497
440
|
});
|
|
498
441
|
};
|
|
499
|
-
ConfirmationDialog.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
500
|
-
isOpen: _pt.bool.isRequired,
|
|
501
|
-
onClose: _pt.func,
|
|
502
|
-
title: _pt.node.isRequired,
|
|
503
|
-
'aria-label': _pt.string,
|
|
504
|
-
size: _pt.oneOf(['m', 'l', 7, 8, 9, 10, 11, 12, 13, 16, 'scale']),
|
|
505
|
-
zIndex: _pt.number,
|
|
506
|
-
children: _pt.node.isRequired,
|
|
507
|
-
labelSecondary: _pt.oneOfType([_pt.string, _pt.shape({
|
|
508
|
-
id: _pt.string.isRequired,
|
|
509
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
510
|
-
defaultMessage: _pt.string
|
|
511
|
-
})]),
|
|
512
|
-
labelPrimary: _pt.oneOfType([_pt.string, _pt.shape({
|
|
513
|
-
id: _pt.string.isRequired,
|
|
514
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
515
|
-
defaultMessage: _pt.string
|
|
516
|
-
})]),
|
|
517
|
-
isPrimaryButtonDisabled: _pt.bool,
|
|
518
|
-
onCancel: _pt.func.isRequired,
|
|
519
|
-
onConfirm: _pt.func.isRequired,
|
|
520
|
-
dataAttributesSecondaryButton: _pt.objectOf(_pt.string),
|
|
521
|
-
dataAttributesPrimaryButton: _pt.objectOf(_pt.string),
|
|
522
|
-
getParentSelector: _pt.func
|
|
523
|
-
} : {};
|
|
524
442
|
ConfirmationDialog.displayName = 'ConfirmationDialog';
|
|
525
443
|
// This is a convenience proxy export to expose pre-defined Intl messages defined in the `@commercetools-frontend/i18n` package.
|
|
526
444
|
// The Intl messages can be used for button labels.
|
|
@@ -563,34 +481,6 @@ const FormDialog = _ref => {
|
|
|
563
481
|
})]
|
|
564
482
|
});
|
|
565
483
|
};
|
|
566
|
-
FormDialog.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
567
|
-
isOpen: _pt.bool.isRequired,
|
|
568
|
-
onClose: _pt.func,
|
|
569
|
-
title: _pt.node.isRequired,
|
|
570
|
-
'aria-label': _pt.string,
|
|
571
|
-
size: _pt.oneOf(['m', 'l', 7, 8, 9, 10, 11, 12, 13, 16, 'scale']),
|
|
572
|
-
zIndex: _pt.number,
|
|
573
|
-
children: _pt.node.isRequired,
|
|
574
|
-
labelSecondary: _pt.oneOfType([_pt.string, _pt.shape({
|
|
575
|
-
id: _pt.string.isRequired,
|
|
576
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
577
|
-
defaultMessage: _pt.string
|
|
578
|
-
})]),
|
|
579
|
-
labelPrimary: _pt.oneOfType([_pt.string, _pt.shape({
|
|
580
|
-
id: _pt.string.isRequired,
|
|
581
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
582
|
-
defaultMessage: _pt.string
|
|
583
|
-
})]),
|
|
584
|
-
isPrimaryButtonDisabled: _pt.bool,
|
|
585
|
-
onSecondaryButtonClick: _pt.func.isRequired,
|
|
586
|
-
onPrimaryButtonClick: _pt.func.isRequired,
|
|
587
|
-
dataAttributesSecondaryButton: _pt.objectOf(_pt.string),
|
|
588
|
-
dataAttributesPrimaryButton: _pt.objectOf(_pt.string),
|
|
589
|
-
getParentSelector: _pt.func,
|
|
590
|
-
iconLeftSecondaryButton: _pt.element,
|
|
591
|
-
iconLeftPrimaryButton: _pt.element,
|
|
592
|
-
footerContent: _pt.node
|
|
593
|
-
} : {};
|
|
594
484
|
FormDialog.displayName = 'FormDialog';
|
|
595
485
|
// This is a convenience proxy export to expose pre-defined Intl messages defined in the `@commercetools-frontend/i18n` package.
|
|
596
486
|
// The Intl messages can be used for button labels.
|
|
@@ -601,7 +491,7 @@ FormDialog.TextTitle = TextTitle;
|
|
|
601
491
|
|
|
602
492
|
const CustomViewSelector = /*#__PURE__*/lazy(() => {
|
|
603
493
|
if (typeof window !== 'undefined' && typeof window.app !== 'undefined') {
|
|
604
|
-
return import('./custom-views-selector-
|
|
494
|
+
return import('./custom-views-selector-44f42791.esm.js' /* webpackChunkName: "custom-views-selector" */);
|
|
605
495
|
}
|
|
606
496
|
return _Promise.resolve({
|
|
607
497
|
default: () => null
|
|
@@ -663,10 +553,6 @@ const Subtitle = _ref2 => {
|
|
|
663
553
|
})
|
|
664
554
|
});
|
|
665
555
|
};
|
|
666
|
-
Subtitle.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
667
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element]),
|
|
668
|
-
truncate: _pt.bool
|
|
669
|
-
} : {};
|
|
670
556
|
var _ref$5 = process.env.NODE_ENV === "production" ? {
|
|
671
557
|
name: "d3v9zr",
|
|
672
558
|
styles: "overflow:hidden"
|
|
@@ -693,12 +579,6 @@ const PageHeaderTitle = _ref3 => {
|
|
|
693
579
|
})]
|
|
694
580
|
});
|
|
695
581
|
};
|
|
696
|
-
PageHeaderTitle.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
697
|
-
title: _pt.string.isRequired,
|
|
698
|
-
titleSize: _pt.oneOf(['big', 'medium', 'small']),
|
|
699
|
-
truncate: _pt.bool,
|
|
700
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element])
|
|
701
|
-
} : {};
|
|
702
582
|
PageHeaderTitle.displayName = 'PageHeaderTitle';
|
|
703
583
|
|
|
704
584
|
const PageHeader = props => {
|
|
@@ -718,13 +598,6 @@ const PageHeader = props => {
|
|
|
718
598
|
})]
|
|
719
599
|
});
|
|
720
600
|
};
|
|
721
|
-
PageHeader.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
722
|
-
title: _pt.string.isRequired,
|
|
723
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element]),
|
|
724
|
-
customViewLocatorCode: _pt.string,
|
|
725
|
-
customTitleRow: _pt.node,
|
|
726
|
-
children: _pt.node
|
|
727
|
-
} : {};
|
|
728
601
|
PageHeader.displayName = 'PageHeader';
|
|
729
602
|
|
|
730
603
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$8() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
@@ -786,9 +659,6 @@ const LargeIconWrapper = props => jsx("span", {
|
|
|
786
659
|
// NOTE: the `MessageDescriptor` type is exposed by `react-intl`.
|
|
787
660
|
// However, we need to explicitly define this otherwise the prop-types babel plugin
|
|
788
661
|
// does not recognize the object shape.
|
|
789
|
-
LargeIconWrapper.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
790
|
-
children: _pt.element.isRequired
|
|
791
|
-
} : {};
|
|
792
662
|
var _ref$4 = process.env.NODE_ENV === "production" ? {
|
|
793
663
|
name: "uvw8rn",
|
|
794
664
|
styles: "display:flex;overflow:hidden;button:first-of-type svg{height:12px!important;width:12px!important;}"
|
|
@@ -838,17 +708,6 @@ const ModalPageTopBar = _ref3 => {
|
|
|
838
708
|
})]
|
|
839
709
|
});
|
|
840
710
|
};
|
|
841
|
-
ModalPageTopBar.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
842
|
-
color: _pt.oneOf(['surface', 'neutral']),
|
|
843
|
-
currentPathLabel: _pt.string,
|
|
844
|
-
previousPathLabel: _pt.oneOfType([_pt.string, _pt.shape({
|
|
845
|
-
id: _pt.string.isRequired,
|
|
846
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
847
|
-
defaultMessage: _pt.string
|
|
848
|
-
})]),
|
|
849
|
-
hidePathLabel: _pt.bool,
|
|
850
|
-
onClose: _pt.func.isRequired
|
|
851
|
-
} : {};
|
|
852
711
|
ModalPageTopBar.displayName = 'ModalPageTopBar';
|
|
853
712
|
|
|
854
713
|
const stylesBySize = {
|
|
@@ -1050,28 +909,6 @@ const ModalPage = _ref => {
|
|
|
1050
909
|
})
|
|
1051
910
|
});
|
|
1052
911
|
};
|
|
1053
|
-
ModalPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1054
|
-
level: _pt.number,
|
|
1055
|
-
title: _pt.string.isRequired,
|
|
1056
|
-
isOpen: _pt.bool.isRequired,
|
|
1057
|
-
onClose: _pt.func,
|
|
1058
|
-
children: _pt.node.isRequired,
|
|
1059
|
-
zIndex: _pt.number,
|
|
1060
|
-
baseZIndex: _pt.number,
|
|
1061
|
-
getParentSelector: _pt.any,
|
|
1062
|
-
shouldDelayOnClose: _pt.bool,
|
|
1063
|
-
afterOpenStyles: _pt.oneOfType([_pt.string, _pt.any]),
|
|
1064
|
-
topBarColor: _pt.oneOf(['surface', 'neutral']),
|
|
1065
|
-
currentPathLabel: _pt.string,
|
|
1066
|
-
previousPathLabel: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1067
|
-
id: _pt.string.isRequired,
|
|
1068
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1069
|
-
defaultMessage: _pt.string
|
|
1070
|
-
})]),
|
|
1071
|
-
hidePathLabel: _pt.bool,
|
|
1072
|
-
size: _pt.oneOf([10, 20, 30, 'scale']),
|
|
1073
|
-
hideTopBar: _pt.bool
|
|
1074
|
-
} : {};
|
|
1075
912
|
ModalPage.displayName = 'ModalPage';
|
|
1076
913
|
|
|
1077
914
|
const InfoModalPage = props => jsxs(ModalPage, {
|
|
@@ -1093,27 +930,6 @@ const InfoModalPage = props => jsxs(ModalPage, {
|
|
|
1093
930
|
children: props.children
|
|
1094
931
|
})]
|
|
1095
932
|
});
|
|
1096
|
-
InfoModalPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1097
|
-
level: _pt.number,
|
|
1098
|
-
title: _pt.string.isRequired,
|
|
1099
|
-
isOpen: _pt.bool.isRequired,
|
|
1100
|
-
customViewLocatorCode: _pt.string,
|
|
1101
|
-
onClose: _pt.func,
|
|
1102
|
-
children: _pt.node.isRequired,
|
|
1103
|
-
zIndex: _pt.number,
|
|
1104
|
-
baseZIndex: _pt.number,
|
|
1105
|
-
getParentSelector: _pt.func,
|
|
1106
|
-
shouldDelayOnClose: _pt.bool,
|
|
1107
|
-
afterOpenStyles: _pt.oneOfType([_pt.string, _pt.any]),
|
|
1108
|
-
topBarCurrentPathLabel: _pt.string,
|
|
1109
|
-
topBarPreviousPathLabel: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1110
|
-
id: _pt.string.isRequired,
|
|
1111
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1112
|
-
defaultMessage: _pt.string
|
|
1113
|
-
})]),
|
|
1114
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element]),
|
|
1115
|
-
customTitleRow: _pt.node
|
|
1116
|
-
} : {};
|
|
1117
933
|
InfoModalPage.displayName = 'InfoModalPage';
|
|
1118
934
|
|
|
1119
935
|
const _excluded$c = ["label", "isDisabled", "dataAttributes"],
|
|
@@ -1141,17 +957,6 @@ const FormPrimaryButton = _ref => {
|
|
|
1141
957
|
iconLeft: props.iconLeft
|
|
1142
958
|
}, filterDataAttributes(dataAttributes)));
|
|
1143
959
|
};
|
|
1144
|
-
FormPrimaryButton.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1145
|
-
iconLeft: _pt.element,
|
|
1146
|
-
label: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1147
|
-
id: _pt.string.isRequired,
|
|
1148
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1149
|
-
defaultMessage: _pt.string
|
|
1150
|
-
})]),
|
|
1151
|
-
onClick: _pt.func.isRequired,
|
|
1152
|
-
isDisabled: _pt.bool,
|
|
1153
|
-
dataAttributes: _pt.objectOf(_pt.string)
|
|
1154
|
-
} : {};
|
|
1155
960
|
FormPrimaryButton.displayName = 'FormPrimaryButton';
|
|
1156
961
|
const FormSecondaryButton = _ref2 => {
|
|
1157
962
|
let _ref2$label = _ref2.label,
|
|
@@ -1169,17 +974,6 @@ const FormSecondaryButton = _ref2 => {
|
|
|
1169
974
|
iconLeft: props.iconLeft
|
|
1170
975
|
}, filterDataAttributes(dataAttributes)));
|
|
1171
976
|
};
|
|
1172
|
-
FormSecondaryButton.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1173
|
-
iconLeft: _pt.element,
|
|
1174
|
-
label: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1175
|
-
id: _pt.string.isRequired,
|
|
1176
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1177
|
-
defaultMessage: _pt.string
|
|
1178
|
-
})]),
|
|
1179
|
-
onClick: _pt.func.isRequired,
|
|
1180
|
-
isDisabled: _pt.bool,
|
|
1181
|
-
dataAttributes: _pt.objectOf(_pt.string)
|
|
1182
|
-
} : {};
|
|
1183
977
|
FormSecondaryButton.displayName = 'FormSecondaryButton';
|
|
1184
978
|
const FormDeleteButton = _ref3 => {
|
|
1185
979
|
let _ref3$label = _ref3.label,
|
|
@@ -1197,16 +991,6 @@ const FormDeleteButton = _ref3 => {
|
|
|
1197
991
|
isDisabled: isDisabled
|
|
1198
992
|
}, filterDataAttributes(dataAttributes)));
|
|
1199
993
|
};
|
|
1200
|
-
FormDeleteButton.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1201
|
-
label: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1202
|
-
id: _pt.string.isRequired,
|
|
1203
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1204
|
-
defaultMessage: _pt.string
|
|
1205
|
-
})]),
|
|
1206
|
-
onClick: _pt.func.isRequired,
|
|
1207
|
-
isDisabled: _pt.bool,
|
|
1208
|
-
dataAttributes: _pt.objectOf(_pt.string)
|
|
1209
|
-
} : {};
|
|
1210
994
|
FormDeleteButton.displayName = 'FormDeleteButton';
|
|
1211
995
|
|
|
1212
996
|
const CustomFormModalPage = props => jsxs(ModalPage, {
|
|
@@ -1231,28 +1015,6 @@ const CustomFormModalPage = props => jsxs(ModalPage, {
|
|
|
1231
1015
|
children: props.children
|
|
1232
1016
|
})]
|
|
1233
1017
|
});
|
|
1234
|
-
CustomFormModalPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1235
|
-
level: _pt.number,
|
|
1236
|
-
title: _pt.string.isRequired,
|
|
1237
|
-
isOpen: _pt.bool.isRequired,
|
|
1238
|
-
customViewLocatorCode: _pt.string,
|
|
1239
|
-
onClose: _pt.func,
|
|
1240
|
-
children: _pt.node.isRequired,
|
|
1241
|
-
zIndex: _pt.number,
|
|
1242
|
-
baseZIndex: _pt.number,
|
|
1243
|
-
getParentSelector: _pt.func,
|
|
1244
|
-
shouldDelayOnClose: _pt.bool,
|
|
1245
|
-
afterOpenStyles: _pt.oneOfType([_pt.string, _pt.any]),
|
|
1246
|
-
topBarCurrentPathLabel: _pt.string,
|
|
1247
|
-
topBarPreviousPathLabel: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1248
|
-
id: _pt.string.isRequired,
|
|
1249
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1250
|
-
defaultMessage: _pt.string
|
|
1251
|
-
})]),
|
|
1252
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element]),
|
|
1253
|
-
formControls: _pt.node,
|
|
1254
|
-
hideControls: _pt.bool
|
|
1255
|
-
} : {};
|
|
1256
1018
|
CustomFormModalPage.displayName = 'CustomFormModalPage';
|
|
1257
1019
|
// Static export of pre-configured form control buttons to easily re-use
|
|
1258
1020
|
// them in the custom controls.
|
|
@@ -1298,44 +1060,6 @@ const FormModalPage = _ref => {
|
|
|
1298
1060
|
children: props.children
|
|
1299
1061
|
});
|
|
1300
1062
|
};
|
|
1301
|
-
FormModalPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1302
|
-
level: _pt.number,
|
|
1303
|
-
title: _pt.string.isRequired,
|
|
1304
|
-
isOpen: _pt.bool.isRequired,
|
|
1305
|
-
onClose: _pt.func,
|
|
1306
|
-
customViewLocatorCode: _pt.string,
|
|
1307
|
-
children: _pt.node.isRequired,
|
|
1308
|
-
zIndex: _pt.number,
|
|
1309
|
-
baseZIndex: _pt.number,
|
|
1310
|
-
getParentSelector: _pt.func,
|
|
1311
|
-
shouldDelayOnClose: _pt.bool,
|
|
1312
|
-
afterOpenStyles: _pt.oneOfType([_pt.string, _pt.any]),
|
|
1313
|
-
topBarCurrentPathLabel: _pt.string,
|
|
1314
|
-
topBarPreviousPathLabel: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1315
|
-
id: _pt.string.isRequired,
|
|
1316
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1317
|
-
defaultMessage: _pt.string
|
|
1318
|
-
})]),
|
|
1319
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element]),
|
|
1320
|
-
isPrimaryButtonDisabled: _pt.bool,
|
|
1321
|
-
isSecondaryButtonDisabled: _pt.bool,
|
|
1322
|
-
dataAttributesPrimaryButton: _pt.objectOf(_pt.string),
|
|
1323
|
-
dataAttributesSecondaryButton: _pt.objectOf(_pt.string),
|
|
1324
|
-
labelPrimaryButton: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1325
|
-
id: _pt.string.isRequired,
|
|
1326
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1327
|
-
defaultMessage: _pt.string
|
|
1328
|
-
})]),
|
|
1329
|
-
labelSecondaryButton: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1330
|
-
id: _pt.string.isRequired,
|
|
1331
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1332
|
-
defaultMessage: _pt.string
|
|
1333
|
-
})]),
|
|
1334
|
-
onPrimaryButtonClick: _pt.func.isRequired,
|
|
1335
|
-
onSecondaryButtonClick: _pt.func.isRequired,
|
|
1336
|
-
hideControls: _pt.bool,
|
|
1337
|
-
iconLeftSecondaryButton: _pt.element
|
|
1338
|
-
} : {};
|
|
1339
1063
|
FormModalPage.displayName = 'FormModalPage';
|
|
1340
1064
|
// This is a convenience proxy export to expose pre-defined Intl messages defined in the `@commercetools-frontend/i18n` package.
|
|
1341
1065
|
// The Intl messages can be used for button labels.
|
|
@@ -1354,10 +1078,6 @@ const ControlsContainter = props => jsxs("div", {
|
|
|
1354
1078
|
children: props.tabControls
|
|
1355
1079
|
}), props.formControls]
|
|
1356
1080
|
});
|
|
1357
|
-
ControlsContainter.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1358
|
-
tabControls: _pt.node.isRequired,
|
|
1359
|
-
formControls: _pt.node
|
|
1360
|
-
} : {};
|
|
1361
1081
|
ControlsContainter.displayName = 'ControlsContainter';
|
|
1362
1082
|
const TabularPageContainer = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
|
1363
1083
|
target: "elpldre3"
|
|
@@ -1427,29 +1147,6 @@ const TabularModalPage = _ref => {
|
|
|
1427
1147
|
})]
|
|
1428
1148
|
});
|
|
1429
1149
|
};
|
|
1430
|
-
TabularModalPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1431
|
-
level: _pt.number,
|
|
1432
|
-
title: _pt.string.isRequired,
|
|
1433
|
-
isOpen: _pt.bool.isRequired,
|
|
1434
|
-
onClose: _pt.func,
|
|
1435
|
-
children: _pt.node.isRequired,
|
|
1436
|
-
zIndex: _pt.number,
|
|
1437
|
-
baseZIndex: _pt.number,
|
|
1438
|
-
getParentSelector: _pt.func,
|
|
1439
|
-
shouldDelayOnClose: _pt.bool,
|
|
1440
|
-
afterOpenStyles: _pt.oneOfType([_pt.string, _pt.any]),
|
|
1441
|
-
topBarCurrentPathLabel: _pt.string,
|
|
1442
|
-
topBarPreviousPathLabel: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1443
|
-
id: _pt.string.isRequired,
|
|
1444
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1445
|
-
defaultMessage: _pt.string
|
|
1446
|
-
})]),
|
|
1447
|
-
customTitleRow: _pt.node,
|
|
1448
|
-
tabControls: _pt.node.isRequired,
|
|
1449
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element]),
|
|
1450
|
-
formControls: _pt.node,
|
|
1451
|
-
hideControls: _pt.bool
|
|
1452
|
-
} : {};
|
|
1453
1150
|
TabularModalPage.displayName = 'TabularModalPage';
|
|
1454
1151
|
// Static export of pre-configured form control buttons to easily re-use
|
|
1455
1152
|
// them in the custom controls.
|
|
@@ -1480,16 +1177,6 @@ const PageTopBar = _ref => {
|
|
|
1480
1177
|
})
|
|
1481
1178
|
});
|
|
1482
1179
|
};
|
|
1483
|
-
PageTopBar.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1484
|
-
color: _pt.oneOf(['surface', 'neutral']),
|
|
1485
|
-
previousPathLabel: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1486
|
-
id: _pt.string.isRequired,
|
|
1487
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1488
|
-
defaultMessage: _pt.string,
|
|
1489
|
-
values: _pt.objectOf(_pt.node)
|
|
1490
|
-
})]),
|
|
1491
|
-
onClick: _pt.func.isRequired
|
|
1492
|
-
} : {};
|
|
1493
1180
|
PageTopBar.displayName = 'PageTopBar';
|
|
1494
1181
|
|
|
1495
1182
|
const _excluded$8 = ["hideControls"];
|
|
@@ -1540,22 +1227,6 @@ const CustomFormDetailPage = _ref => {
|
|
|
1540
1227
|
})]
|
|
1541
1228
|
});
|
|
1542
1229
|
};
|
|
1543
|
-
CustomFormDetailPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1544
|
-
title: _pt.string,
|
|
1545
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element]),
|
|
1546
|
-
customTitleRow: _pt.node,
|
|
1547
|
-
children: _pt.node.isRequired,
|
|
1548
|
-
formControls: _pt.node,
|
|
1549
|
-
hideControls: _pt.bool,
|
|
1550
|
-
previousPathLabel: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1551
|
-
id: _pt.string.isRequired,
|
|
1552
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1553
|
-
defaultMessage: _pt.string,
|
|
1554
|
-
values: _pt.objectOf(_pt.node)
|
|
1555
|
-
})]),
|
|
1556
|
-
customViewLocatorCode: _pt.string,
|
|
1557
|
-
onPreviousPathClick: _pt.func.isRequired
|
|
1558
|
-
} : {};
|
|
1559
1230
|
CustomFormDetailPage.displayName = 'CustomFormDetailPage';
|
|
1560
1231
|
// Static export of pre-configured page header title component to easily
|
|
1561
1232
|
// use as part of a custom title row
|
|
@@ -1599,37 +1270,6 @@ const FormDetailPage = _ref => {
|
|
|
1599
1270
|
children: props.children
|
|
1600
1271
|
});
|
|
1601
1272
|
};
|
|
1602
|
-
FormDetailPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1603
|
-
title: _pt.string,
|
|
1604
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element]),
|
|
1605
|
-
customTitleRow: _pt.node,
|
|
1606
|
-
customViewLocatorCode: _pt.string,
|
|
1607
|
-
children: _pt.node.isRequired,
|
|
1608
|
-
previousPathLabel: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1609
|
-
id: _pt.string.isRequired,
|
|
1610
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1611
|
-
defaultMessage: _pt.string
|
|
1612
|
-
})]),
|
|
1613
|
-
onPreviousPathClick: _pt.func.isRequired,
|
|
1614
|
-
isPrimaryButtonDisabled: _pt.bool,
|
|
1615
|
-
isSecondaryButtonDisabled: _pt.bool,
|
|
1616
|
-
dataAttributesPrimaryButton: _pt.objectOf(_pt.string),
|
|
1617
|
-
dataAttributesSecondaryButton: _pt.objectOf(_pt.string),
|
|
1618
|
-
labelPrimaryButton: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1619
|
-
id: _pt.string.isRequired,
|
|
1620
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1621
|
-
defaultMessage: _pt.string
|
|
1622
|
-
})]),
|
|
1623
|
-
labelSecondaryButton: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1624
|
-
id: _pt.string.isRequired,
|
|
1625
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1626
|
-
defaultMessage: _pt.string
|
|
1627
|
-
})]),
|
|
1628
|
-
onPrimaryButtonClick: _pt.func.isRequired,
|
|
1629
|
-
onSecondaryButtonClick: _pt.func.isRequired,
|
|
1630
|
-
hideControls: _pt.bool,
|
|
1631
|
-
iconLeftSecondaryButton: _pt.element
|
|
1632
|
-
} : {};
|
|
1633
1273
|
FormDetailPage.displayName = 'FormDetailPage';
|
|
1634
1274
|
// This is a convenience proxy export to expose pre-defined Intl messages defined in the `@commercetools-frontend/i18n` package.
|
|
1635
1275
|
// The Intl messages can be used for button labels.
|
|
@@ -1649,20 +1289,6 @@ const InfoDetailPage = props => jsx(CustomFormDetailPage, {
|
|
|
1649
1289
|
onPreviousPathClick: props.onPreviousPathClick,
|
|
1650
1290
|
children: props.children
|
|
1651
1291
|
});
|
|
1652
|
-
InfoDetailPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1653
|
-
title: _pt.string,
|
|
1654
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element]),
|
|
1655
|
-
customTitleRow: _pt.node,
|
|
1656
|
-
children: _pt.node.isRequired,
|
|
1657
|
-
previousPathLabel: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1658
|
-
id: _pt.string.isRequired,
|
|
1659
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1660
|
-
defaultMessage: _pt.string,
|
|
1661
|
-
values: _pt.objectOf(_pt.node)
|
|
1662
|
-
})]),
|
|
1663
|
-
customViewLocatorCode: _pt.string,
|
|
1664
|
-
onPreviousPathClick: _pt.func.isRequired
|
|
1665
|
-
} : {};
|
|
1666
1292
|
InfoDetailPage.displayName = 'InfoDetailPage';
|
|
1667
1293
|
// Static export of pre-configured page header title component to easily
|
|
1668
1294
|
// use as part of a custom title row
|
|
@@ -1703,22 +1329,6 @@ const TabularDetailPage = _ref => {
|
|
|
1703
1329
|
})]
|
|
1704
1330
|
});
|
|
1705
1331
|
};
|
|
1706
|
-
TabularDetailPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1707
|
-
title: _pt.string,
|
|
1708
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element]),
|
|
1709
|
-
customTitleRow: _pt.node,
|
|
1710
|
-
children: _pt.node.isRequired,
|
|
1711
|
-
tabControls: _pt.node.isRequired,
|
|
1712
|
-
formControls: _pt.node,
|
|
1713
|
-
hideControls: _pt.bool,
|
|
1714
|
-
previousPathLabel: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1715
|
-
id: _pt.string.isRequired,
|
|
1716
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1717
|
-
defaultMessage: _pt.string,
|
|
1718
|
-
values: _pt.objectOf(_pt.node)
|
|
1719
|
-
})]),
|
|
1720
|
-
onPreviousPathClick: _pt.func.isRequired
|
|
1721
|
-
} : {};
|
|
1722
1332
|
TabularDetailPage.displayName = 'TabularDetailPage';
|
|
1723
1333
|
// Static export of pre-configured form control buttons to easily re-use
|
|
1724
1334
|
// them in the custom controls.
|
|
@@ -1731,7 +1341,7 @@ TabularDetailPage.PageHeaderTitle = PageHeaderTitle;
|
|
|
1731
1341
|
// This is a convenience proxy export to expose pre-defined Intl messages defined in the `@commercetools-frontend/i18n` package.
|
|
1732
1342
|
TabularDetailPage.Intl = sharedMessages;
|
|
1733
1343
|
|
|
1734
|
-
const PublicPageLayout = /*#__PURE__*/lazy(() => import('./public-page-layout-
|
|
1344
|
+
const PublicPageLayout = /*#__PURE__*/lazy(() => import('./public-page-layout-7d1cb99f.esm.js' /* webpackChunkName: "public-page-layout" */));
|
|
1735
1345
|
|
|
1736
1346
|
const MainPageContainer = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
|
1737
1347
|
target: "ev8m2jf2"
|
|
@@ -1787,16 +1397,6 @@ const CustomFormMainPage = _ref => {
|
|
|
1787
1397
|
})]
|
|
1788
1398
|
});
|
|
1789
1399
|
};
|
|
1790
|
-
CustomFormMainPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1791
|
-
title: _pt.string,
|
|
1792
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element]),
|
|
1793
|
-
customTitleRow: _pt.node,
|
|
1794
|
-
customViewLocatorCode: _pt.string,
|
|
1795
|
-
children: _pt.node.isRequired,
|
|
1796
|
-
formControls: _pt.node,
|
|
1797
|
-
hideControls: _pt.bool,
|
|
1798
|
-
hideDivider: _pt.bool
|
|
1799
|
-
} : {};
|
|
1800
1400
|
CustomFormMainPage.displayName = 'CustomFormMainPage';
|
|
1801
1401
|
|
|
1802
1402
|
// Static export of pre-configured page header title component to easily
|
|
@@ -1841,31 +1441,6 @@ const FormMainPage = _ref => {
|
|
|
1841
1441
|
children: props.children
|
|
1842
1442
|
});
|
|
1843
1443
|
};
|
|
1844
|
-
FormMainPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1845
|
-
title: _pt.string,
|
|
1846
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element]),
|
|
1847
|
-
customTitleRow: _pt.node,
|
|
1848
|
-
children: _pt.node.isRequired,
|
|
1849
|
-
hideControls: _pt.bool,
|
|
1850
|
-
isPrimaryButtonDisabled: _pt.bool,
|
|
1851
|
-
isSecondaryButtonDisabled: _pt.bool,
|
|
1852
|
-
dataAttributesPrimaryButton: _pt.objectOf(_pt.string),
|
|
1853
|
-
dataAttributesSecondaryButton: _pt.objectOf(_pt.string),
|
|
1854
|
-
labelPrimaryButton: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1855
|
-
id: _pt.string.isRequired,
|
|
1856
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1857
|
-
defaultMessage: _pt.string
|
|
1858
|
-
})]),
|
|
1859
|
-
labelSecondaryButton: _pt.oneOfType([_pt.string, _pt.shape({
|
|
1860
|
-
id: _pt.string.isRequired,
|
|
1861
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
1862
|
-
defaultMessage: _pt.string
|
|
1863
|
-
})]),
|
|
1864
|
-
iconLeftSecondaryButton: _pt.element,
|
|
1865
|
-
customViewLocatorCode: _pt.string,
|
|
1866
|
-
onPrimaryButtonClick: _pt.func.isRequired,
|
|
1867
|
-
onSecondaryButtonClick: _pt.func.isRequired
|
|
1868
|
-
} : {};
|
|
1869
1444
|
FormMainPage.displayName = 'FormMainPage';
|
|
1870
1445
|
|
|
1871
1446
|
// Static export of pre-configured page header title component to easily
|
|
@@ -1886,13 +1461,6 @@ const InfoMainPage = props => {
|
|
|
1886
1461
|
children: props.children
|
|
1887
1462
|
});
|
|
1888
1463
|
};
|
|
1889
|
-
InfoMainPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1890
|
-
title: _pt.string,
|
|
1891
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element]),
|
|
1892
|
-
customTitleRow: _pt.node,
|
|
1893
|
-
customViewLocatorCode: _pt.string,
|
|
1894
|
-
children: _pt.node.isRequired
|
|
1895
|
-
} : {};
|
|
1896
1464
|
InfoMainPage.displayName = 'InfoMainPage';
|
|
1897
1465
|
// Static export of pre-configured page header title component to easily
|
|
1898
1466
|
// use as part of a custom title row
|
|
@@ -1930,15 +1498,6 @@ const TabularMainPage = _ref => {
|
|
|
1930
1498
|
})]
|
|
1931
1499
|
});
|
|
1932
1500
|
};
|
|
1933
|
-
TabularMainPage.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1934
|
-
title: _pt.string,
|
|
1935
|
-
subtitle: _pt.oneOfType([_pt.string, _pt.element]),
|
|
1936
|
-
customTitleRow: _pt.node,
|
|
1937
|
-
children: _pt.node.isRequired,
|
|
1938
|
-
tabControls: _pt.node.isRequired,
|
|
1939
|
-
formControls: _pt.node,
|
|
1940
|
-
hideControls: _pt.bool
|
|
1941
|
-
} : {};
|
|
1942
1501
|
TabularMainPage.displayName = 'TabularMainPage';
|
|
1943
1502
|
// Static export of pre-configured form control buttons to easily re-use
|
|
1944
1503
|
// them in the custom controls.
|
|
@@ -1996,14 +1555,6 @@ const MaintenancePageLayout = props => jsx("div", {
|
|
|
1996
1555
|
})
|
|
1997
1556
|
})
|
|
1998
1557
|
});
|
|
1999
|
-
MaintenancePageLayout.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
2000
|
-
imageSrc: _pt.string.isRequired,
|
|
2001
|
-
title: _pt.node.isRequired,
|
|
2002
|
-
label: _pt.string,
|
|
2003
|
-
paragraph1: _pt.node.isRequired,
|
|
2004
|
-
paragraph2: _pt.node,
|
|
2005
|
-
bodyContent: _pt.node
|
|
2006
|
-
} : {};
|
|
2007
1558
|
MaintenancePageLayout.displayName = 'MaintenancePageLayout';
|
|
2008
1559
|
|
|
2009
1560
|
var messages$3 = defineMessages({
|
|
@@ -2113,9 +1664,6 @@ function PageContentNarrow(props) {
|
|
|
2113
1664
|
})
|
|
2114
1665
|
});
|
|
2115
1666
|
}
|
|
2116
|
-
PageContentNarrow.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
2117
|
-
children: _pt.node.isRequired
|
|
2118
|
-
} : {};
|
|
2119
1667
|
|
|
2120
1668
|
const _excluded$2 = ["columns", "gapSize"];
|
|
2121
1669
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$4() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
@@ -2223,12 +1771,6 @@ function PageContentWide(_ref) {
|
|
|
2223
1771
|
})
|
|
2224
1772
|
});
|
|
2225
1773
|
}
|
|
2226
|
-
PageContentWide.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
2227
|
-
columns: _pt.oneOf(['1', '1/1', '2/1']),
|
|
2228
|
-
gapSize: _pt.oneOf(['10', '20']),
|
|
2229
|
-
children: _pt.node.isRequired,
|
|
2230
|
-
themeParentSelector: _pt.func
|
|
2231
|
-
} : {};
|
|
2232
1774
|
|
|
2233
1775
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$3() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
2234
1776
|
var _ref$2 = process.env.NODE_ENV === "production" ? {
|
|
@@ -2247,9 +1789,6 @@ function PageContentFull(props) {
|
|
|
2247
1789
|
})
|
|
2248
1790
|
});
|
|
2249
1791
|
}
|
|
2250
|
-
PageContentFull.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
2251
|
-
children: _pt.node.isRequired
|
|
2252
|
-
} : {};
|
|
2253
1792
|
|
|
2254
1793
|
const _excluded$1 = ["size", "hideControls", "onPrimaryButtonClick", "onSecondaryButtonClick"];
|
|
2255
1794
|
const ContentWrapper$1 = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
|
@@ -2328,38 +1867,6 @@ function Drawer(_ref) {
|
|
|
2328
1867
|
})]
|
|
2329
1868
|
});
|
|
2330
1869
|
}
|
|
2331
|
-
Drawer.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
2332
|
-
size: _pt.oneOf([10, 20, 30]),
|
|
2333
|
-
isOpen: _pt.bool.isRequired,
|
|
2334
|
-
onClose: _pt.func,
|
|
2335
|
-
children: _pt.node.isRequired,
|
|
2336
|
-
topBarColor: _pt.oneOf(['neutral', 'surface']),
|
|
2337
|
-
title: _pt.string.isRequired,
|
|
2338
|
-
subtitle: _pt.string,
|
|
2339
|
-
zIndex: _pt.number,
|
|
2340
|
-
getParentSelector: _pt.func,
|
|
2341
|
-
shouldDelayOnClose: _pt.bool,
|
|
2342
|
-
afterOpenStyles: _pt.oneOfType([_pt.string, _pt.any]),
|
|
2343
|
-
hideControls: _pt.bool,
|
|
2344
|
-
formControls: _pt.node,
|
|
2345
|
-
isPrimaryButtonDisabled: _pt.bool,
|
|
2346
|
-
isSecondaryButtonDisabled: _pt.bool,
|
|
2347
|
-
dataAttributesPrimaryButton: _pt.objectOf(_pt.string),
|
|
2348
|
-
dataAttributesSecondaryButton: _pt.objectOf(_pt.string),
|
|
2349
|
-
labelPrimaryButton: _pt.oneOfType([_pt.string, _pt.shape({
|
|
2350
|
-
id: _pt.string.isRequired,
|
|
2351
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
2352
|
-
defaultMessage: _pt.string
|
|
2353
|
-
})]),
|
|
2354
|
-
labelSecondaryButton: _pt.oneOfType([_pt.string, _pt.shape({
|
|
2355
|
-
id: _pt.string.isRequired,
|
|
2356
|
-
description: _pt.oneOfType([_pt.string, _pt.object]),
|
|
2357
|
-
defaultMessage: _pt.string
|
|
2358
|
-
})]),
|
|
2359
|
-
onPrimaryButtonClick: _pt.func,
|
|
2360
|
-
onSecondaryButtonClick: _pt.func,
|
|
2361
|
-
iconLeftSecondaryButton: _pt.element
|
|
2362
|
-
} : {};
|
|
2363
1870
|
Drawer.displayName = 'Drawer';
|
|
2364
1871
|
// Static export of pre-configured form control buttons to easily re-use
|
|
2365
1872
|
// them in the custom controls.
|
|
@@ -2534,12 +2041,6 @@ function CustomViewLoader(props) {
|
|
|
2534
2041
|
})
|
|
2535
2042
|
});
|
|
2536
2043
|
}
|
|
2537
|
-
CustomViewLoader.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
2538
|
-
customView: _pt.any.isRequired,
|
|
2539
|
-
hostUrl: _pt.string,
|
|
2540
|
-
onClose: _pt.func.isRequired,
|
|
2541
|
-
locatorCode: _pt.string
|
|
2542
|
-
} : {};
|
|
2543
2044
|
|
|
2544
2045
|
var messages = defineMessages({
|
|
2545
2046
|
ProjectProduction: {
|
|
@@ -2576,13 +2077,6 @@ function CustomStamp(props) {
|
|
|
2576
2077
|
icon: props.icon
|
|
2577
2078
|
});
|
|
2578
2079
|
}
|
|
2579
|
-
CustomStamp.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
2580
|
-
tone: _pt.any.isRequired,
|
|
2581
|
-
label: _pt.oneOfType([_pt.any, _pt.shape({
|
|
2582
|
-
values: _pt.objectOf(_pt.oneOfType([_pt.string, _pt.number]))
|
|
2583
|
-
})]).isRequired,
|
|
2584
|
-
icon: _pt.element
|
|
2585
|
-
} : {};
|
|
2586
2080
|
var _ref$1 = process.env.NODE_ENV === "production" ? {
|
|
2587
2081
|
name: "ph6b5m",
|
|
2588
2082
|
styles: "height:18px;svg{height:18px;width:12px;}"
|