@imposium-hub/components 2.11.3-3 → 2.11.4
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/cjs/components/advanced-number-field/AdvancedNumberField.d.ts +1 -1
- package/dist/cjs/components/anchor-field/AnchorField.d.ts +1 -1
- package/dist/cjs/components/assets/AssetsTableDateCell.d.ts +1 -6
- package/dist/cjs/components/assets/AssetsTableGlobalCell.d.ts +1 -5
- package/dist/cjs/components/assets/AssetsTablePreviewCell.d.ts +1 -17
- package/dist/cjs/components/assets/AssetsTableStatusCell.d.ts +1 -5
- package/dist/cjs/components/assets/AssetsTableTagsCell.d.ts +1 -6
- package/dist/cjs/components/assets/AssetsTableTypeCell.d.ts +1 -5
- package/dist/cjs/components/assets/AssetsTypeIcon.d.ts +1 -5
- package/dist/cjs/components/assets/FontAssetPreview.d.ts +1 -1
- package/dist/cjs/components/assets/StoryTableTotalRendersCell.d.ts +1 -2
- package/dist/cjs/components/button/Button.d.ts +1 -1
- package/dist/cjs/components/button/Button.stories.d.ts +5 -6
- package/dist/cjs/components/button-group-field/ButtonGroupField.stories.d.ts +1 -2
- package/dist/cjs/components/button-menu/ButtonMenu.d.ts +2 -2
- package/dist/cjs/components/button-menu/ButtonMenu.stories.d.ts +1 -2
- package/dist/cjs/components/button-menu/ButtonMenuItem.d.ts +1 -1
- package/dist/cjs/components/card/Card.d.ts +4 -4
- package/dist/cjs/components/card/Card.stories.d.ts +1 -2
- package/dist/cjs/components/checkbox-field/CheckboxField.d.ts +1 -1
- package/dist/cjs/components/checkbox-field/CheckboxField.stories.d.ts +1 -2
- package/dist/cjs/components/color-field/ColorField.d.ts +1 -1
- package/dist/cjs/components/color-field/ColorFiled.stories.d.ts +1 -2
- package/dist/cjs/components/compositions/TextLayer.d.ts +1 -1
- package/dist/cjs/components/confirm-modal/ConfirmModal.d.ts +1 -2
- package/dist/cjs/components/controlled-list/ControlledList.d.ts +2 -2
- package/dist/cjs/components/controlled-list/ControlledList.stories.d.ts +1 -2
- package/dist/cjs/components/copy-prop-id-button/CopyPropIdButton.d.ts +1 -1
- package/dist/cjs/components/determinate-loader/DeterminateLoader.stories.d.ts +3 -4
- package/dist/cjs/components/dropdown/Dropdown.d.ts +2 -1
- package/dist/cjs/components/dropdown/Dropdown.js +2 -2
- package/dist/cjs/components/dropdown/Dropdown.js.map +1 -1
- package/dist/cjs/components/dropdown/dropdown.stories.d.ts +1 -1
- package/dist/cjs/components/field-wrapper/FieldWrapper.d.ts +2 -2
- package/dist/cjs/components/field-wrapper/FieldWrapper.stories.d.ts +1 -2
- package/dist/cjs/components/font-picker/FontPicker.d.ts +1 -1
- package/dist/cjs/components/h-rule/HRule.d.ts +1 -2
- package/dist/cjs/components/h-rule/HRule.stories.d.ts +2 -3
- package/dist/cjs/components/header/ProjectDropdown.d.ts +1 -2
- package/dist/cjs/components/list-field/ListField.d.ts +1 -1
- package/dist/cjs/components/list-field/ListField.stories.d.ts +1 -2
- package/dist/cjs/components/log-viewer/LogViewer.d.ts +1 -1
- package/dist/cjs/components/media-variable-field/MediaVariableField.d.ts +1 -1
- package/dist/cjs/components/modal/Modal.d.ts +1 -1
- package/dist/cjs/components/modal/Modal.stories.d.ts +1 -2
- package/dist/cjs/components/number-field/NumberField.d.ts +1 -1
- package/dist/cjs/components/number-field/NumberField.stories.d.ts +1 -2
- package/dist/cjs/components/players/AudioPlayer.d.ts +1 -1
- package/dist/cjs/components/players/AudioPreview.d.ts +1 -1
- package/dist/cjs/components/players/ImagePlayer.d.ts +1 -1
- package/dist/cjs/components/players/ImagePreview.d.ts +1 -1
- package/dist/cjs/components/players/ImageSequencePlayer.d.ts +1 -1
- package/dist/cjs/components/players/TemplatePlayer.d.ts +1 -1
- package/dist/cjs/components/players/VideoPlayer.d.ts +1 -1
- package/dist/cjs/components/players/VideoPreview.d.ts +1 -1
- package/dist/cjs/components/publish-wizard/PublishWizard.d.ts +2 -2
- package/dist/cjs/components/publish-wizard/publish/APIIntegration.d.ts +1 -1
- package/dist/cjs/components/publish-wizard/publish/CrMPublishCreativeSelectCell.d.ts +8 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishCreativeSelectCell.js +56 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishCreativeSelectCell.js.map +1 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishCreativeSelectHeader.d.ts +8 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishCreativeSelectHeader.js +54 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishCreativeSelectHeader.js.map +1 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishNameCell.d.ts +6 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishNameCell.js +66 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishNameCell.js.map +1 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishPreviewCell.d.ts +8 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishPreviewCell.js +48 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishPreviewCell.js.map +1 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishStatusCell.d.ts +6 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishStatusCell.js +10 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishStatusCell.js.map +1 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishUI.d.ts +16 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishUI.js +180 -0
- package/dist/cjs/components/publish-wizard/publish/CrMPublishUI.js.map +1 -0
- package/dist/cjs/components/publish-wizard/publish/HubSpotFlow.d.ts +1 -1
- package/dist/cjs/components/publish-wizard/publish/WebpageHosted.d.ts +2 -2
- package/dist/cjs/components/section/Section.d.ts +1 -2
- package/dist/cjs/components/section/Section.stories.d.ts +2 -3
- package/dist/cjs/components/select-field/SelectField.d.ts +1 -1
- package/dist/cjs/components/select-field/SelectField.stories.d.ts +1 -2
- package/dist/cjs/components/shortcut-menu/ShortcutMenu.stories.d.ts +1 -2
- package/dist/cjs/components/slider-field/SliderField.d.ts +1 -1
- package/dist/cjs/components/slider-field/SliderField.stories.d.ts +1 -2
- package/dist/cjs/components/smpte-field/SMPTEField.d.ts +1 -1
- package/dist/cjs/components/tabs/Tabs.d.ts +1 -4
- package/dist/cjs/components/tabs/Tabs.stories.d.ts +2 -5
- package/dist/cjs/components/tag/Tag.d.ts +1 -9
- package/dist/cjs/components/text-area-field/TextAreaField.d.ts +1 -1
- package/dist/cjs/components/text-area-field/TextAreaField.stories.d.ts +1 -2
- package/dist/cjs/components/text-field/TextField.d.ts +1 -1
- package/dist/cjs/components/text-field/TextField.stories.d.ts +1 -2
- package/dist/cjs/constants/icons.d.ts +76 -77
- package/dist/esm/components/advanced-number-field/AdvancedNumberField.d.ts +1 -1
- package/dist/esm/components/anchor-field/AnchorField.d.ts +1 -1
- package/dist/esm/components/assets/AssetsTableDateCell.d.ts +1 -6
- package/dist/esm/components/assets/AssetsTableGlobalCell.d.ts +1 -5
- package/dist/esm/components/assets/AssetsTablePreviewCell.d.ts +1 -17
- package/dist/esm/components/assets/AssetsTableStatusCell.d.ts +1 -5
- package/dist/esm/components/assets/AssetsTableTagsCell.d.ts +1 -6
- package/dist/esm/components/assets/AssetsTableTypeCell.d.ts +1 -5
- package/dist/esm/components/assets/AssetsTypeIcon.d.ts +1 -5
- package/dist/esm/components/assets/FontAssetPreview.d.ts +1 -1
- package/dist/esm/components/assets/StoryTableTotalRendersCell.d.ts +1 -2
- package/dist/esm/components/button/Button.d.ts +1 -1
- package/dist/esm/components/button/Button.stories.d.ts +5 -6
- package/dist/esm/components/button-group-field/ButtonGroupField.stories.d.ts +1 -2
- package/dist/esm/components/button-menu/ButtonMenu.d.ts +2 -2
- package/dist/esm/components/button-menu/ButtonMenu.stories.d.ts +1 -2
- package/dist/esm/components/button-menu/ButtonMenuItem.d.ts +1 -1
- package/dist/esm/components/card/Card.d.ts +4 -4
- package/dist/esm/components/card/Card.stories.d.ts +1 -2
- package/dist/esm/components/checkbox-field/CheckboxField.d.ts +1 -1
- package/dist/esm/components/checkbox-field/CheckboxField.stories.d.ts +1 -2
- package/dist/esm/components/color-field/ColorField.d.ts +1 -1
- package/dist/esm/components/color-field/ColorFiled.stories.d.ts +1 -2
- package/dist/esm/components/compositions/TextLayer.d.ts +1 -1
- package/dist/esm/components/confirm-modal/ConfirmModal.d.ts +1 -2
- package/dist/esm/components/controlled-list/ControlledList.d.ts +2 -2
- package/dist/esm/components/controlled-list/ControlledList.stories.d.ts +1 -2
- package/dist/esm/components/copy-prop-id-button/CopyPropIdButton.d.ts +1 -1
- package/dist/esm/components/determinate-loader/DeterminateLoader.stories.d.ts +3 -4
- package/dist/esm/components/dropdown/Dropdown.d.ts +2 -1
- package/dist/esm/components/dropdown/Dropdown.js +2 -2
- package/dist/esm/components/dropdown/Dropdown.js.map +1 -1
- package/dist/esm/components/dropdown/dropdown.stories.d.ts +1 -1
- package/dist/esm/components/field-wrapper/FieldWrapper.d.ts +2 -2
- package/dist/esm/components/field-wrapper/FieldWrapper.stories.d.ts +1 -2
- package/dist/esm/components/font-picker/FontPicker.d.ts +1 -1
- package/dist/esm/components/h-rule/HRule.d.ts +1 -2
- package/dist/esm/components/h-rule/HRule.stories.d.ts +2 -3
- package/dist/esm/components/header/ProjectDropdown.d.ts +1 -2
- package/dist/esm/components/list-field/ListField.d.ts +1 -1
- package/dist/esm/components/list-field/ListField.stories.d.ts +1 -2
- package/dist/esm/components/log-viewer/LogViewer.d.ts +1 -1
- package/dist/esm/components/media-variable-field/MediaVariableField.d.ts +1 -1
- package/dist/esm/components/modal/Modal.d.ts +1 -1
- package/dist/esm/components/modal/Modal.stories.d.ts +1 -2
- package/dist/esm/components/number-field/NumberField.d.ts +1 -1
- package/dist/esm/components/number-field/NumberField.stories.d.ts +1 -2
- package/dist/esm/components/players/AudioPlayer.d.ts +1 -1
- package/dist/esm/components/players/AudioPreview.d.ts +1 -1
- package/dist/esm/components/players/ImagePlayer.d.ts +1 -1
- package/dist/esm/components/players/ImagePreview.d.ts +1 -1
- package/dist/esm/components/players/ImageSequencePlayer.d.ts +1 -1
- package/dist/esm/components/players/TemplatePlayer.d.ts +1 -1
- package/dist/esm/components/players/VideoPlayer.d.ts +1 -1
- package/dist/esm/components/players/VideoPreview.d.ts +1 -1
- package/dist/esm/components/publish-wizard/PublishWizard.d.ts +2 -2
- package/dist/esm/components/publish-wizard/publish/APIIntegration.d.ts +1 -1
- package/dist/esm/components/publish-wizard/publish/CrMPublishCreativeSelectCell.d.ts +8 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishCreativeSelectCell.js +16 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishCreativeSelectCell.js.map +1 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishCreativeSelectHeader.d.ts +8 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishCreativeSelectHeader.js +12 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishCreativeSelectHeader.js.map +1 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishNameCell.d.ts +6 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishNameCell.js +18 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishNameCell.js.map +1 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishPreviewCell.d.ts +8 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishPreviewCell.js +11 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishPreviewCell.js.map +1 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishStatusCell.d.ts +6 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishStatusCell.js +6 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishStatusCell.js.map +1 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishUI.d.ts +16 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishUI.js +116 -0
- package/dist/esm/components/publish-wizard/publish/CrMPublishUI.js.map +1 -0
- package/dist/esm/components/publish-wizard/publish/HubSpotFlow.d.ts +1 -1
- package/dist/esm/components/publish-wizard/publish/WebpageHosted.d.ts +2 -2
- package/dist/esm/components/section/Section.d.ts +1 -2
- package/dist/esm/components/section/Section.stories.d.ts +2 -3
- package/dist/esm/components/select-field/SelectField.d.ts +1 -1
- package/dist/esm/components/select-field/SelectField.stories.d.ts +1 -2
- package/dist/esm/components/shortcut-menu/ShortcutMenu.stories.d.ts +1 -2
- package/dist/esm/components/slider-field/SliderField.d.ts +1 -1
- package/dist/esm/components/slider-field/SliderField.stories.d.ts +1 -2
- package/dist/esm/components/smpte-field/SMPTEField.d.ts +1 -1
- package/dist/esm/components/tabs/Tabs.d.ts +1 -4
- package/dist/esm/components/tabs/Tabs.stories.d.ts +2 -5
- package/dist/esm/components/tag/Tag.d.ts +1 -9
- package/dist/esm/components/text-area-field/TextAreaField.d.ts +1 -1
- package/dist/esm/components/text-area-field/TextAreaField.stories.d.ts +1 -2
- package/dist/esm/components/text-field/TextField.d.ts +1 -1
- package/dist/esm/components/text-field/TextField.stories.d.ts +1 -2
- package/dist/esm/constants/icons.d.ts +76 -77
- package/dist/styles.css +8 -4
- package/dist/styles.less +16 -11
- package/less/components/shortcut-menu.less +16 -11
- package/package.json +6 -3
- package/src/components/dropdown/Dropdown.tsx +3 -2
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
declare const _default: {
|
|
3
2
|
title: string;
|
|
4
|
-
component: (props: any) =>
|
|
3
|
+
component: (props: any) => JSX.Element;
|
|
5
4
|
};
|
|
6
5
|
export default _default;
|
|
7
|
-
export declare const defaultHRule: () =>
|
|
6
|
+
export declare const defaultHRule: () => JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
interface IProjectDropdownProps {
|
|
3
2
|
position: any;
|
|
4
3
|
api: any;
|
|
@@ -9,5 +8,5 @@ interface IProjectDropdownProps {
|
|
|
9
8
|
setAccessData(data: any): void;
|
|
10
9
|
onClose(): void;
|
|
11
10
|
}
|
|
12
|
-
export declare const ProjectDropdown: (props: IProjectDropdownProps) =>
|
|
11
|
+
export declare const ProjectDropdown: (props: IProjectDropdownProps) => JSX.Element;
|
|
13
12
|
export {};
|
|
@@ -30,7 +30,7 @@ declare class ListField extends React.PureComponent<IListFieldProps, IListFieldS
|
|
|
30
30
|
private inputChanged;
|
|
31
31
|
private inputFocus;
|
|
32
32
|
private submitOption;
|
|
33
|
-
render():
|
|
33
|
+
render(): JSX.Element;
|
|
34
34
|
renderButtons(): any[];
|
|
35
35
|
}
|
|
36
36
|
export default ListField;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import ListField from './ListField';
|
|
3
2
|
declare const _default: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: typeof ListField;
|
|
6
5
|
};
|
|
7
6
|
export default _default;
|
|
8
|
-
export declare const defaultListFIeld: () =>
|
|
7
|
+
export declare const defaultListFIeld: () => JSX.Element;
|
|
@@ -16,6 +16,6 @@ declare class LogViewer extends React.PureComponent<ILogViewerProps, ILogViewerS
|
|
|
16
16
|
private getJobLogs;
|
|
17
17
|
componentDidMount(): void;
|
|
18
18
|
componentDidUpdate(prevProps: any): void;
|
|
19
|
-
render():
|
|
19
|
+
render(): JSX.Element;
|
|
20
20
|
}
|
|
21
21
|
export default LogViewer;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import Modal from './Modal';
|
|
3
2
|
declare const _default: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: typeof Modal;
|
|
6
5
|
};
|
|
7
6
|
export default _default;
|
|
8
|
-
export declare const defaultModal: () =>
|
|
7
|
+
export declare const defaultModal: () => JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import NumberField from './NumberField';
|
|
3
2
|
declare const _default: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: typeof NumberField;
|
|
6
5
|
};
|
|
7
6
|
export default _default;
|
|
8
|
-
export declare const defaultNumberField: () =>
|
|
7
|
+
export declare const defaultNumberField: () => JSX.Element;
|
|
@@ -39,6 +39,6 @@ declare class VideoPlayer extends React.PureComponent<IVideoPlayerProps, IVideoP
|
|
|
39
39
|
setTime(time: any): void;
|
|
40
40
|
private metadataLoaded;
|
|
41
41
|
private renderCustomControls;
|
|
42
|
-
render():
|
|
42
|
+
render(): JSX.Element;
|
|
43
43
|
}
|
|
44
44
|
export default VideoPlayer;
|
|
@@ -25,9 +25,9 @@ export declare const TabContent: React.FC;
|
|
|
25
25
|
export declare const TabHeader: (props: {
|
|
26
26
|
title: string;
|
|
27
27
|
className?: StyleSheet | any;
|
|
28
|
-
}) =>
|
|
28
|
+
}) => JSX.Element;
|
|
29
29
|
export declare const WizardError: (props: {
|
|
30
30
|
title: string;
|
|
31
31
|
description: string;
|
|
32
|
-
}) =>
|
|
32
|
+
}) => JSX.Element;
|
|
33
33
|
export declare const BigLink: React.FC<IBigLinkProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface ICrMPublishCreativeSelectCellProps {
|
|
3
|
+
cell: any;
|
|
4
|
+
onSelectChange: (creativeId: string, selected: boolean) => void;
|
|
5
|
+
selectedCreatives: string[];
|
|
6
|
+
}
|
|
7
|
+
export declare const CrMPublishCreativeSelectCell: React.FC<ICrMPublishCreativeSelectCellProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import CheckboxField from '../../checkbox-field/CheckboxField';
|
|
3
|
+
import { canBePublishedTo } from './CrMPublishUI';
|
|
4
|
+
export const CrMPublishCreativeSelectCell = (props) => {
|
|
5
|
+
const { cell, onSelectChange, selectedCreatives } = props;
|
|
6
|
+
const creativeId = cell.row.original.creativeId;
|
|
7
|
+
const isSelected = selectedCreatives.includes(creativeId);
|
|
8
|
+
const showCheckbox = canBePublishedTo(cell.row.original.approvalStatus);
|
|
9
|
+
if (showCheckbox) {
|
|
10
|
+
return (React.createElement(CheckboxField, { label: '', propagate: false, value: isSelected, onChange: (selected) => (onSelectChange(creativeId, selected)) }));
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=CrMPublishCreativeSelectCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CrMPublishCreativeSelectCell.js","sourceRoot":"","sources":["../../../../../src/components/publish-wizard/publish/CrMPublishCreativeSelectCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,aAAa,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AASlD,MAAM,CAAC,MAAM,4BAA4B,GAAiD,CAAC,KAAK,EAAE,EAAE;IAChG,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IAC1D,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC;IAChD,MAAM,UAAU,GAAG,iBAAiB,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;IAC1D,MAAM,YAAY,GAAG,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;IACxE,IAAG,YAAY,EAAC,CAAC;QACb,OAAO,CACH,oBAAC,aAAa,IACV,KAAK,EAAC,EAAE,EACR,SAAS,EAAE,KAAK,EAChB,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,CAAC,QAAQ,EAAC,EAAE,CAAA,CAAC,cAAc,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,GAC9D,CACL,CAAC;IACN,CAAC;SAAI,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface ICrMPublishCreativeSelectHeaderProps {
|
|
3
|
+
onSelectChange: (selected: boolean) => void;
|
|
4
|
+
selectedCreatives: string[];
|
|
5
|
+
creativeConfig: any[];
|
|
6
|
+
}
|
|
7
|
+
export declare const CrMPublishCreativeSelectHeader: React.FC<ICrMPublishCreativeSelectHeaderProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import CheckboxField from '../../checkbox-field/CheckboxField';
|
|
3
|
+
import { canBePublishedTo } from './CrMPublishUI';
|
|
4
|
+
export const CrMPublishCreativeSelectHeader = (props) => {
|
|
5
|
+
const { onSelectChange, selectedCreatives, creativeConfig } = props;
|
|
6
|
+
const publishableCreatives = creativeConfig.filter(creative => canBePublishedTo(creative.approvalStatus));
|
|
7
|
+
const publishableCreativeIds = publishableCreatives.map(creative => creative.creativeId);
|
|
8
|
+
const allPublishableSelected = publishableCreativeIds.length > 0 &&
|
|
9
|
+
publishableCreativeIds.every(id => selectedCreatives.includes(id));
|
|
10
|
+
return (React.createElement(CheckboxField, { label: '', propagate: false, value: allPublishableSelected, onChange: (selected) => onSelectChange(selected) }));
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=CrMPublishCreativeSelectHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CrMPublishCreativeSelectHeader.js","sourceRoot":"","sources":["../../../../../src/components/publish-wizard/publish/CrMPublishCreativeSelectHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,aAAa,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAQlD,MAAM,CAAC,MAAM,8BAA8B,GAAmD,CAAC,KAAK,EAAE,EAAE;IACpG,MAAM,EAAE,cAAc,EAAE,iBAAiB,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IAEpE,MAAM,oBAAoB,GAAG,cAAc,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAC1D,gBAAgB,CAAC,QAAQ,CAAC,cAAc,CAAC,CAC5C,CAAC;IAEF,MAAM,sBAAsB,GAAG,oBAAoB,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;IACzF,MAAM,sBAAsB,GAAG,sBAAsB,CAAC,MAAM,GAAG,CAAC;QAC5D,sBAAsB,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,iBAAiB,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC;IAEvE,OAAO,CACH,oBAAC,aAAa,IACV,KAAK,EAAC,EAAE,EACR,SAAS,EAAE,KAAK,EAChB,KAAK,EAAE,sBAAsB,EAC7B,QAAQ,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,GAClD,CACL,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { renderTooltip, renderTooltipProps } from '../../Tooltip';
|
|
3
|
+
import { canBePublishedTo } from './CrMPublishUI';
|
|
4
|
+
import * as copy from '../../../constants/copy';
|
|
5
|
+
export const CrMPublishNameCell = (props) => {
|
|
6
|
+
const { cell } = props;
|
|
7
|
+
const canBePublished = canBePublishedTo(cell.row.original.approvalStatus);
|
|
8
|
+
const tooltipId = `publish-name-${cell.row.original.creativeId}`;
|
|
9
|
+
if (canBePublished) {
|
|
10
|
+
return (React.createElement("div", { className: `crm-publish-name` }, cell.row.original.creativeName));
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
return (React.createElement("div", { className: `crm-publish-name disabled`, ...renderTooltipProps(tooltipId, copy.publish.disabledCreativeTooltip) },
|
|
14
|
+
cell.row.original.creativeName,
|
|
15
|
+
renderTooltip(tooltipId, copy.publish.disabledCreativeTooltip)));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=CrMPublishNameCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CrMPublishNameCell.js","sourceRoot":"","sources":["../../../../../src/components/publish-wizard/publish/CrMPublishNameCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,IAAI,MAAM,yBAAyB,CAAC;AAMhD,MAAM,CAAC,MAAM,kBAAkB,GAAuC,CAAC,KAAK,EAAE,EAAE;IAC5E,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IACvB,MAAM,cAAc,GAAG,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;IAC1E,MAAM,SAAS,GAAG,gBAAgB,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;IAEjE,IAAG,cAAc,EAAC,CAAC;QACf,OAAO,CACH,6BAAK,SAAS,EAAI,kBAAkB,IAC/B,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,YAAY,CAC7B,CACT,CAAC;IACN,CAAC;SAAI,CAAC;QACF,OAAO,CACH,6BAAK,SAAS,EAAI,2BAA2B,KAAM,kBAAkB,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,uBAAuB,CAAC;YACjH,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,YAAY;YAC9B,aAAa,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAC7D,CACT,CAAC;IACN,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Button } from '../../..';
|
|
3
|
+
import { ICON_EYE } from '../../../constants/icons';
|
|
4
|
+
export const CrMPublishPreviewCell = (props) => {
|
|
5
|
+
const { cell, crmBaseUrl, creativeLibraryId } = props;
|
|
6
|
+
const creativeId = cell.row.original.creativeId;
|
|
7
|
+
const previewUrl = `${crmBaseUrl}/library/${creativeLibraryId}/creative/${creativeId}/versions/`;
|
|
8
|
+
return (React.createElement("a", { href: previewUrl, target: '_blank' },
|
|
9
|
+
React.createElement(Button, { style: 'subtle', size: 'small' }, ICON_EYE)));
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=CrMPublishPreviewCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CrMPublishPreviewCell.js","sourceRoot":"","sources":["../../../../../src/components/publish-wizard/publish/CrMPublishPreviewCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAQpD,MAAM,CAAC,MAAM,qBAAqB,GAA0C,CAAC,KAAK,EAAE,EAAE;IAClF,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACtD,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC;IAChD,MAAM,UAAU,GAAG,GAAG,UAAU,YAAY,iBAAiB,aAAa,UAAU,YAAY,CAAC;IAEjG,OAAO,CACH,2BAAG,IAAI,EAAI,UAAU,EAAE,MAAM,EAAC,QAAQ;QAClC,oBAAC,MAAM,IAAC,KAAK,EAAG,QAAQ,EAAC,IAAI,EAAC,OAAO,IAChC,QAAQ,CACJ,CACT,CACP,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CREATIVE_STATUS_LABELS } from '../../../constants/publish';
|
|
2
|
+
export const CrMPublishStatusCell = (props) => {
|
|
3
|
+
const { cell } = props;
|
|
4
|
+
return (CREATIVE_STATUS_LABELS[cell.row.original.approvalStatus] || cell.row.original.approvalStatus);
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=CrMPublishStatusCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CrMPublishStatusCell.js","sourceRoot":"","sources":["../../../../../src/components/publish-wizard/publish/CrMPublishStatusCell.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAMpE,MAAM,CAAC,MAAM,oBAAoB,GAAyC,CAAC,KAAK,EAAE,EAAE;IAChF,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IACvB,OAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;AAC1G,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IImposiumAPI } from '../../..';
|
|
3
|
+
interface ICrmPublishUIProps {
|
|
4
|
+
publishing: boolean;
|
|
5
|
+
error: React.ReactNode;
|
|
6
|
+
api: IImposiumAPI;
|
|
7
|
+
creativeLibraryId: string;
|
|
8
|
+
projectId: string;
|
|
9
|
+
crmBaseUrl: string;
|
|
10
|
+
selectedCreatives: string[];
|
|
11
|
+
onUpdateSelectedCreatives: (selectedCreatives: any) => void;
|
|
12
|
+
onError: (error: string) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const CrMPublishUI: React.FC<ICrmPublishUIProps>;
|
|
15
|
+
export declare const canBePublishedTo: (approvalStatus: string) => boolean;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as copy from '../../../constants/copy';
|
|
3
|
+
import { DataTable, HRule, Button, TextField } from '../../..';
|
|
4
|
+
import { useEffect, useState, useCallback } from 'react';
|
|
5
|
+
import { ICON_SEARCH } from '../../../constants/icons';
|
|
6
|
+
import { CREATIVE_STATUSES_TO_PUBLISH } from '../../../constants/publish';
|
|
7
|
+
import { CrMPublishStatusCell } from './CrMPublishStatusCell';
|
|
8
|
+
import { CrMPublishPreviewCell } from './CrMPublishPreviewCell';
|
|
9
|
+
import { CrMPublishNameCell } from './CrMPublishNameCell';
|
|
10
|
+
import { CrMPublishCreativeSelectHeader } from './CrMPublishCreativeSelectHeader';
|
|
11
|
+
import { CrMPublishCreativeSelectCell } from './CrMPublishCreativeSelectCell';
|
|
12
|
+
export const CrMPublishUI = (props) => {
|
|
13
|
+
const { publishing, error, crmBaseUrl, creativeLibraryId, projectId, api, selectedCreatives, onUpdateSelectedCreatives } = props;
|
|
14
|
+
const [nameFilter, setNameFilter] = useState('');
|
|
15
|
+
const [creativeConfig, setCreativeConfig] = useState([]);
|
|
16
|
+
const nameSearch = React.createElement(TextField, { className: 'creative-name', buttons: [
|
|
17
|
+
React.createElement(Button, { key: 'btn-search', style: 'subtle', size: 'small' }, ICON_SEARCH)
|
|
18
|
+
], width: '150px', value: nameFilter, onChange: (value) => setNameFilter(value) });
|
|
19
|
+
const onSelectChange = useCallback((creativeId, selected) => {
|
|
20
|
+
const previouslySelected = [...selectedCreatives];
|
|
21
|
+
if (selected) {
|
|
22
|
+
onUpdateSelectedCreatives([...previouslySelected, creativeId]);
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
onUpdateSelectedCreatives(previouslySelected.filter(id => id !== creativeId));
|
|
26
|
+
}
|
|
27
|
+
}, [selectedCreatives, onUpdateSelectedCreatives]);
|
|
28
|
+
const onSelectAllChange = useCallback((selected) => {
|
|
29
|
+
if (selected) {
|
|
30
|
+
const publishableCreativeIds = creativeConfig
|
|
31
|
+
.filter(creative => canBePublishedTo(creative.approvalStatus))
|
|
32
|
+
.map(creative => creative.creativeId);
|
|
33
|
+
onUpdateSelectedCreatives(publishableCreativeIds);
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
onUpdateSelectedCreatives([]);
|
|
37
|
+
}
|
|
38
|
+
}, [nameFilter, creativeConfig]);
|
|
39
|
+
const COLUMN_CONFIG = [
|
|
40
|
+
{
|
|
41
|
+
accessor: 'selected',
|
|
42
|
+
width: 25,
|
|
43
|
+
disableResize: true,
|
|
44
|
+
disableSortBy: true,
|
|
45
|
+
Header: () => React.createElement(CrMPublishCreativeSelectHeader, { onSelectChange: onSelectAllChange, selectedCreatives: selectedCreatives, creativeConfig: creativeConfig }),
|
|
46
|
+
Cell: (cell) => React.createElement(CrMPublishCreativeSelectCell, { cell: cell, onSelectChange: onSelectChange, selectedCreatives: selectedCreatives })
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
accessor: 'creativeName',
|
|
50
|
+
Header: 'Creative Name',
|
|
51
|
+
width: 250,
|
|
52
|
+
minWidth: 250,
|
|
53
|
+
maxWidth: 250,
|
|
54
|
+
disableSortBy: true,
|
|
55
|
+
Cell: (cell) => React.createElement(CrMPublishNameCell, { cell: cell }),
|
|
56
|
+
Search: nameSearch,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
accessor: 'creativeId',
|
|
60
|
+
Header: 'ID',
|
|
61
|
+
width: 75,
|
|
62
|
+
minWidth: 75,
|
|
63
|
+
maxWidth: 75,
|
|
64
|
+
disableSortBy: true,
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
accessor: 'numberOfVersions',
|
|
68
|
+
Header: 'Versions',
|
|
69
|
+
width: 75,
|
|
70
|
+
minWidth: 75,
|
|
71
|
+
maxWidth: 75,
|
|
72
|
+
disableSortBy: true,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
accessor: 'approvalStatus',
|
|
76
|
+
Header: 'Status',
|
|
77
|
+
width: 75,
|
|
78
|
+
minWidth: 75,
|
|
79
|
+
maxWidth: 75,
|
|
80
|
+
disableSortBy: true,
|
|
81
|
+
Cell: (cell) => React.createElement(CrMPublishStatusCell, { cell: cell })
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
accessor: 'preview',
|
|
85
|
+
Header: 'Preview',
|
|
86
|
+
width: 50,
|
|
87
|
+
minWidth: 50,
|
|
88
|
+
maxWidth: 50,
|
|
89
|
+
disableSortBy: true,
|
|
90
|
+
Cell: (cell) => React.createElement(CrMPublishPreviewCell, { cell: cell, crmBaseUrl: crmBaseUrl, creativeLibraryId: creativeLibraryId })
|
|
91
|
+
}
|
|
92
|
+
];
|
|
93
|
+
useEffect(() => {
|
|
94
|
+
api.getCreativesLinkedToProject(projectId).then((res) => {
|
|
95
|
+
setCreativeConfig(res.creatives);
|
|
96
|
+
}).catch((err) => {
|
|
97
|
+
const msg = err.response?.data?.error || err.message;
|
|
98
|
+
const errorCopy = copy.publish.errorGettingCreatives.replace('{{ERR}}', msg);
|
|
99
|
+
props.onError(errorCopy);
|
|
100
|
+
});
|
|
101
|
+
}, []);
|
|
102
|
+
return (React.createElement("div", null,
|
|
103
|
+
React.createElement("h2", null, copy.publish.publishStepTitleFromCrM),
|
|
104
|
+
React.createElement(HRule, null),
|
|
105
|
+
React.createElement("p", null, publishing ? copy.publish.publishInProgress : ''),
|
|
106
|
+
React.createElement(DataTable, { showInterstitial: publishing, columns: COLUMN_CONFIG, data: nameFilter
|
|
107
|
+
? creativeConfig.filter(creative => {
|
|
108
|
+
return creative.creativeName.toLowerCase().includes(nameFilter.toLowerCase());
|
|
109
|
+
})
|
|
110
|
+
: creativeConfig, hidePaginator: true, itemsPerPage: 1000, tightRows: true }),
|
|
111
|
+
error && React.createElement("p", { className: 'publish-error' }, error)));
|
|
112
|
+
};
|
|
113
|
+
export const canBePublishedTo = (approvalStatus) => {
|
|
114
|
+
return CREATIVE_STATUSES_TO_PUBLISH.includes(approvalStatus);
|
|
115
|
+
};
|
|
116
|
+
//# sourceMappingURL=CrMPublishUI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CrMPublishUI.js","sourceRoot":"","sources":["../../../../../src/components/publish-wizard/publish/CrMPublishUI.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,IAAI,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAgB,SAAS,EAAE,MAAM,UAAU,CAAA;AAC5E,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAClF,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAc9E,MAAM,CAAC,MAAM,YAAY,GAAiC,CAAC,KAAK,EAAE,EAAE;IAChE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,GAAG,KAAK,CAAC;IACjI,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACjD,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAEzD,MAAM,UAAU,GAAG,oBAAC,SAAS,IACzB,SAAS,EAAC,eAAe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AE,CAAC,QAAQ,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;gBAClF,CAAC,CAAC;gBACF,CAAC,CAAC,cAAc,EAEpB,aAAa,EAAE,IAAI,EACnB,YAAY,EAAE,IAAI,EAClB,SAAS,EAAE,IAAI,GACjB;QACJ,KAAK,IAAI,2BAAG,SAAS,EAAC,eAAe,IAAE,KAAK,CAAK,CACjD,CAAC,CAAC;AACR,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,cAAsB,EAAE,EAAE;IACvD,OAAO,4BAA4B,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;AACjE,CAAC,CAAC"}
|
|
@@ -6,7 +6,7 @@ interface IWebpageHostedProps {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const documentationLinks: {
|
|
8
8
|
key: string;
|
|
9
|
-
label:
|
|
9
|
+
label: JSX.Element;
|
|
10
10
|
link: string;
|
|
11
11
|
}[];
|
|
12
12
|
declare class WebpageHosted extends React.PureComponent<IWebpageHostedProps> {
|
|
@@ -14,6 +14,6 @@ declare class WebpageHosted extends React.PureComponent<IWebpageHostedProps> {
|
|
|
14
14
|
private downloadSampleWebPage;
|
|
15
15
|
private getFirstAct;
|
|
16
16
|
private linkToDemoPage;
|
|
17
|
-
render():
|
|
17
|
+
render(): JSX.Element;
|
|
18
18
|
}
|
|
19
19
|
export default WebpageHosted;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
declare const _default: {
|
|
3
2
|
title: string;
|
|
4
|
-
component: (props: any) =>
|
|
3
|
+
component: (props: any) => JSX.Element;
|
|
5
4
|
};
|
|
6
5
|
export default _default;
|
|
7
|
-
export declare const defaultSection: () =>
|
|
6
|
+
export declare const defaultSection: () => JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import SelectField from './SelectField';
|
|
3
2
|
declare const _default: {
|
|
4
3
|
title: string;
|
|
5
4
|
components: typeof SelectField;
|
|
6
5
|
};
|
|
7
6
|
export default _default;
|
|
8
|
-
export declare const defaultSelectField: () =>
|
|
7
|
+
export declare const defaultSelectField: () => JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
declare const _default: {
|
|
3
2
|
title: string;
|
|
4
3
|
component: React.FC<import("./ShortcutMenu").IShortcutMenu>;
|
|
5
4
|
};
|
|
6
5
|
export default _default;
|
|
7
|
-
export declare const defaultShortcutMenu: () =>
|
|
6
|
+
export declare const defaultShortcutMenu: () => JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import SliderField from './SliderField';
|
|
3
2
|
declare const _default: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: typeof SliderField;
|
|
6
5
|
};
|
|
7
6
|
export default _default;
|
|
8
|
-
export declare const defaultSliderField: () =>
|
|
7
|
+
export declare const defaultSliderField: () => JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
export interface ITab {
|
|
3
2
|
content?: any;
|
|
4
3
|
key?: string;
|
|
@@ -7,7 +6,5 @@ export interface ITab {
|
|
|
7
6
|
label: any;
|
|
8
7
|
menuButtons?: JSX.Element;
|
|
9
8
|
}
|
|
10
|
-
declare const _default:
|
|
11
|
-
targetRef?: any;
|
|
12
|
-
}, "width">, "height">, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
9
|
+
declare const _default: any;
|
|
13
10
|
export default _default;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
declare const _default: {
|
|
3
2
|
title: string;
|
|
4
|
-
component:
|
|
5
|
-
targetRef?: any;
|
|
6
|
-
}, "width">, "height">, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
3
|
+
component: any;
|
|
7
4
|
};
|
|
8
5
|
export default _default;
|
|
9
|
-
export declare const defaultTabs: () =>
|
|
6
|
+
export declare const defaultTabs: () => JSX.Element;
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
interface ITagProps {
|
|
3
|
-
copy: string;
|
|
4
|
-
colorize?: boolean;
|
|
5
|
-
removeHandler?: (...args: any[]) => any;
|
|
6
|
-
onNotification?: (e: any) => void;
|
|
7
|
-
onError?: (e: any) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const TagMemoized: React.NamedExoticComponent<ITagProps>;
|
|
1
|
+
declare const TagMemoized: any;
|
|
10
2
|
export default TagMemoized;
|