@plusscommunities/pluss-core-web 1.7.5-beta.0 → 1.7.6-beta.1
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/components.js +28 -29
- package/dist/components.js.map +1 -1
- package/dist/index.js +29 -30
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/components.js
CHANGED
|
@@ -434,7 +434,7 @@ var getPluralOptions = (count, singular, plural) => {
|
|
|
434
434
|
|
|
435
435
|
function ownKeys$j(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
436
436
|
function _objectSpread$j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$j(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
437
|
-
class Text
|
|
437
|
+
class Text extends Component {
|
|
438
438
|
getClassName() {
|
|
439
439
|
if (this.props.className) {
|
|
440
440
|
return " ".concat(this.props.className);
|
|
@@ -472,7 +472,7 @@ class ProfilePicComponent extends Component {
|
|
|
472
472
|
if (this.props.hoverText) {
|
|
473
473
|
return /*#__PURE__*/jsxs("div", {
|
|
474
474
|
className: "profilePicHover ".concat(this.props.containerClass),
|
|
475
|
-
children: [this.renderPic(), /*#__PURE__*/jsx(Text
|
|
475
|
+
children: [this.renderPic(), /*#__PURE__*/jsx(Text, {
|
|
476
476
|
type: "h5",
|
|
477
477
|
className: "profilePicHover_text",
|
|
478
478
|
children: this.props.hoverText
|
|
@@ -578,7 +578,7 @@ class CommentSection extends Component {
|
|
|
578
578
|
if (_.isEmpty(threadComments)) {
|
|
579
579
|
return /*#__PURE__*/jsx("div", {
|
|
580
580
|
className: "comment_reply",
|
|
581
|
-
children: /*#__PURE__*/jsx(Text
|
|
581
|
+
children: /*#__PURE__*/jsx(Text, {
|
|
582
582
|
className: "comment_reply_button",
|
|
583
583
|
type: "button",
|
|
584
584
|
onClick: () => {
|
|
@@ -597,7 +597,7 @@ class CommentSection extends Component {
|
|
|
597
597
|
size: 20,
|
|
598
598
|
image: c.User.profilePic
|
|
599
599
|
});
|
|
600
|
-
}), /*#__PURE__*/jsx(Text
|
|
600
|
+
}), /*#__PURE__*/jsx(Text, {
|
|
601
601
|
className: "comment_reply_button",
|
|
602
602
|
type: "button",
|
|
603
603
|
onClick: () => {
|
|
@@ -613,7 +613,7 @@ class CommentSection extends Component {
|
|
|
613
613
|
}
|
|
614
614
|
render() {
|
|
615
615
|
return /*#__PURE__*/jsxs("div", {
|
|
616
|
-
children: [this.props.includeTitle && /*#__PURE__*/jsx(Text
|
|
616
|
+
children: [this.props.includeTitle && /*#__PURE__*/jsx(Text, {
|
|
617
617
|
type: "formTitleSmall",
|
|
618
618
|
className: "marginBottom-16",
|
|
619
619
|
children: "Comments"
|
|
@@ -949,7 +949,7 @@ function DurationInput(_ref) {
|
|
|
949
949
|
};
|
|
950
950
|
return /*#__PURE__*/jsxs("div", {
|
|
951
951
|
className: "flex flex-center ".concat(className ? className : ""),
|
|
952
|
-
children: [label && /*#__PURE__*/jsx(Text
|
|
952
|
+
children: [label && /*#__PURE__*/jsx(Text, {
|
|
953
953
|
type: "formTitleSmall",
|
|
954
954
|
style: {
|
|
955
955
|
marginRight: "10px",
|
|
@@ -967,7 +967,7 @@ function DurationInput(_ref) {
|
|
|
967
967
|
width: 50,
|
|
968
968
|
marginRight: 5
|
|
969
969
|
}
|
|
970
|
-
}), /*#__PURE__*/jsx(Text
|
|
970
|
+
}), /*#__PURE__*/jsx(Text, {
|
|
971
971
|
type: "formTitleSmall",
|
|
972
972
|
style: {
|
|
973
973
|
marginRight: 10
|
|
@@ -984,7 +984,7 @@ function DurationInput(_ref) {
|
|
|
984
984
|
width: 50,
|
|
985
985
|
marginRight: 5
|
|
986
986
|
}
|
|
987
|
-
}), /*#__PURE__*/jsx(Text
|
|
987
|
+
}), /*#__PURE__*/jsx(Text, {
|
|
988
988
|
type: "formTitleSmall",
|
|
989
989
|
children: "Minute(s)"
|
|
990
990
|
})]
|
|
@@ -2806,7 +2806,6 @@ class SideNavItem extends Component {
|
|
|
2806
2806
|
var styles$7 = {
|
|
2807
2807
|
section: {
|
|
2808
2808
|
display: "flex",
|
|
2809
|
-
alignItems: "center",
|
|
2810
2809
|
minHeight: 22
|
|
2811
2810
|
},
|
|
2812
2811
|
sideNavDot: {
|
|
@@ -2898,7 +2897,7 @@ class HubSidebar extends PureComponent {
|
|
|
2898
2897
|
renderSection(section, index) {
|
|
2899
2898
|
return /*#__PURE__*/jsxs("div", {
|
|
2900
2899
|
className: "hubSidebar_section",
|
|
2901
|
-
children: [/*#__PURE__*/jsx(Text
|
|
2900
|
+
children: [/*#__PURE__*/jsx(Text, {
|
|
2902
2901
|
type: "h3",
|
|
2903
2902
|
className: "hubSidebar_sectionTitle",
|
|
2904
2903
|
children: section.title
|
|
@@ -4602,7 +4601,7 @@ class Reactions extends Component {
|
|
|
4602
4601
|
});
|
|
4603
4602
|
}
|
|
4604
4603
|
return /*#__PURE__*/jsxs("div", {
|
|
4605
|
-
children: [/*#__PURE__*/jsx(Text
|
|
4604
|
+
children: [/*#__PURE__*/jsx(Text, {
|
|
4606
4605
|
type: "formTitleSmall",
|
|
4607
4606
|
className: "marginBottom-16",
|
|
4608
4607
|
children: "Reactions"
|
|
@@ -4836,7 +4835,7 @@ class UserListing extends Component {
|
|
|
4836
4835
|
style: {
|
|
4837
4836
|
height: this.getSize()
|
|
4838
4837
|
},
|
|
4839
|
-
children: [/*#__PURE__*/jsx(Text
|
|
4838
|
+
children: [/*#__PURE__*/jsx(Text, {
|
|
4840
4839
|
type: "name",
|
|
4841
4840
|
style: this.props.whiteText ? {
|
|
4842
4841
|
color: "#fff"
|
|
@@ -5161,7 +5160,7 @@ class AudienceIncluder extends Component {
|
|
|
5161
5160
|
style: {
|
|
5162
5161
|
marginTop: 16
|
|
5163
5162
|
},
|
|
5164
|
-
children: [/*#__PURE__*/jsx(Text
|
|
5163
|
+
children: [/*#__PURE__*/jsx(Text, {
|
|
5165
5164
|
type: "formLabel",
|
|
5166
5165
|
className: "marginBottom-8",
|
|
5167
5166
|
children: "Selected Users"
|
|
@@ -5864,7 +5863,7 @@ class AudienceSelector extends Component {
|
|
|
5864
5863
|
},
|
|
5865
5864
|
children: [/*#__PURE__*/jsx("div", {
|
|
5866
5865
|
className: "flex",
|
|
5867
|
-
children: /*#__PURE__*/jsxs(Text
|
|
5866
|
+
children: /*#__PURE__*/jsxs(Text, {
|
|
5868
5867
|
type: "formTitleSmall",
|
|
5869
5868
|
className: "marginBottom-16",
|
|
5870
5869
|
children: ["Exclude Users From Selection", " ", "(".concat(this.state.excludeList.length, ")")]
|
|
@@ -5899,7 +5898,7 @@ class AudienceSelector extends Component {
|
|
|
5899
5898
|
},
|
|
5900
5899
|
children: [/*#__PURE__*/jsx("div", {
|
|
5901
5900
|
className: "flex",
|
|
5902
|
-
children: /*#__PURE__*/jsxs(Text
|
|
5901
|
+
children: /*#__PURE__*/jsxs(Text, {
|
|
5903
5902
|
type: "formTitleSmall",
|
|
5904
5903
|
className: "marginBottom-16",
|
|
5905
5904
|
children: [this.state.AudienceType !== "User" ? "Add Other" : "Select", " ", "Users ", "(".concat(this.state.includeList.length, ")")]
|
|
@@ -5931,7 +5930,7 @@ class AudienceSelector extends Component {
|
|
|
5931
5930
|
style: {
|
|
5932
5931
|
maxWidth
|
|
5933
5932
|
},
|
|
5934
|
-
children: [_.isEmpty(AudienceTagList) && /*#__PURE__*/jsx(Text
|
|
5933
|
+
children: [_.isEmpty(AudienceTagList) && /*#__PURE__*/jsx(Text, {
|
|
5935
5934
|
type: "body",
|
|
5936
5935
|
className: "text-italic",
|
|
5937
5936
|
children: "No audiences selected"
|
|
@@ -5968,10 +5967,10 @@ class AudienceSelector extends Component {
|
|
|
5968
5967
|
if (this.state.AudienceType !== "Custom") return null;
|
|
5969
5968
|
return /*#__PURE__*/jsxs("div", {
|
|
5970
5969
|
className: "optionsContent_bottom",
|
|
5971
|
-
children: [/*#__PURE__*/jsx(Text
|
|
5970
|
+
children: [/*#__PURE__*/jsx(Text, {
|
|
5972
5971
|
type: "formLabel",
|
|
5973
5972
|
children: "Selected Audience"
|
|
5974
|
-
}), this.renderAssignedAudiences(), /*#__PURE__*/jsx(Text
|
|
5973
|
+
}), this.renderAssignedAudiences(), /*#__PURE__*/jsx(Text, {
|
|
5975
5974
|
type: "formLabel",
|
|
5976
5975
|
className: "marginTop-32",
|
|
5977
5976
|
children: "Select Audience"
|
|
@@ -5980,7 +5979,7 @@ class AudienceSelector extends Component {
|
|
|
5980
5979
|
}
|
|
5981
5980
|
render() {
|
|
5982
5981
|
return /*#__PURE__*/jsxs("div", {
|
|
5983
|
-
children: [/*#__PURE__*/jsx(Text
|
|
5982
|
+
children: [/*#__PURE__*/jsx(Text, {
|
|
5984
5983
|
type: "formTitleSmall",
|
|
5985
5984
|
className: "marginBottom-16",
|
|
5986
5985
|
children: this.props.title || "Target Audience"
|
|
@@ -6427,10 +6426,10 @@ class MakerPopup extends Component {
|
|
|
6427
6426
|
if (input.type === "array") {
|
|
6428
6427
|
return /*#__PURE__*/jsxs("div", {
|
|
6429
6428
|
className: "marginTop-16",
|
|
6430
|
-
children: [/*#__PURE__*/jsx(Text
|
|
6429
|
+
children: [/*#__PURE__*/jsx(Text, {
|
|
6431
6430
|
type: "formLabel",
|
|
6432
6431
|
children: input.title
|
|
6433
|
-
}), /*#__PURE__*/jsxs(Text
|
|
6432
|
+
}), /*#__PURE__*/jsxs(Text, {
|
|
6434
6433
|
type: "body",
|
|
6435
6434
|
children: [this.state[input.key].length, " ", getPluralOptions(this.state[input.key].length, "entry", "entries")]
|
|
6436
6435
|
})]
|
|
@@ -6458,7 +6457,7 @@ class MakerPopup extends Component {
|
|
|
6458
6457
|
width: 260,
|
|
6459
6458
|
options: this.state.lottieConfig,
|
|
6460
6459
|
isClickToPauseDisabled: true
|
|
6461
|
-
}, "lottie-layout"), /*#__PURE__*/jsx(Text
|
|
6460
|
+
}, "lottie-layout"), /*#__PURE__*/jsx(Text, {
|
|
6462
6461
|
type: "h3",
|
|
6463
6462
|
className: "marginTop-16",
|
|
6464
6463
|
children: "Generating"
|
|
@@ -6467,7 +6466,7 @@ class MakerPopup extends Component {
|
|
|
6467
6466
|
}
|
|
6468
6467
|
if (this.state.asset) {
|
|
6469
6468
|
return /*#__PURE__*/jsxs("div", {
|
|
6470
|
-
children: [/*#__PURE__*/jsx(Text
|
|
6469
|
+
children: [/*#__PURE__*/jsx(Text, {
|
|
6471
6470
|
type: "h4",
|
|
6472
6471
|
children: "Your file is ready"
|
|
6473
6472
|
}), /*#__PURE__*/jsx(Button, {
|
|
@@ -6746,7 +6745,7 @@ class ExportCsvPopup extends Component {
|
|
|
6746
6745
|
hasPadding: true,
|
|
6747
6746
|
onClose: this.onClose,
|
|
6748
6747
|
buttons: buttons,
|
|
6749
|
-
children: [this.renderTimestampFilter(), /*#__PURE__*/jsx(Text
|
|
6748
|
+
children: [this.renderTimestampFilter(), /*#__PURE__*/jsx(Text, {
|
|
6750
6749
|
type: "bodyLarge",
|
|
6751
6750
|
children: "Select which columns to include in the export"
|
|
6752
6751
|
}), this.renderContent()]
|
|
@@ -7302,7 +7301,7 @@ var StatBox = _ref => {
|
|
|
7302
7301
|
className: "dashboardBox dashboardBox-stats dashboardBox-inline".concat(change > 0 ? " dashboardBox-stats-positive" : "").concat(change < 0 ? " dashboardBox-stats-negative" : ""),
|
|
7303
7302
|
children: [/*#__PURE__*/jsx("div", {
|
|
7304
7303
|
className: "dashboardBox-stats_title",
|
|
7305
|
-
children: /*#__PURE__*/jsx(Text
|
|
7304
|
+
children: /*#__PURE__*/jsx(Text, {
|
|
7306
7305
|
type: "h6",
|
|
7307
7306
|
children: title
|
|
7308
7307
|
})
|
|
@@ -7314,7 +7313,7 @@ var StatBox = _ref => {
|
|
|
7314
7313
|
children: [/*#__PURE__*/jsx(Icon, {
|
|
7315
7314
|
className: "dashboardBox-stats_icon",
|
|
7316
7315
|
icon: icon
|
|
7317
|
-
}), /*#__PURE__*/jsx(Text
|
|
7316
|
+
}), /*#__PURE__*/jsx(Text, {
|
|
7318
7317
|
type: "h2",
|
|
7319
7318
|
className: "dashboardBox-stats_count",
|
|
7320
7319
|
children: value
|
|
@@ -7322,7 +7321,7 @@ var StatBox = _ref => {
|
|
|
7322
7321
|
className: "dashboardBox-stats_change",
|
|
7323
7322
|
children: change === 0 ? "No change" : "".concat(change, "% ").concat(change < 0 ? "↓" : "↑")
|
|
7324
7323
|
})]
|
|
7325
|
-
}), /*#__PURE__*/jsxs(Text
|
|
7324
|
+
}), /*#__PURE__*/jsxs(Text, {
|
|
7326
7325
|
type: "help",
|
|
7327
7326
|
style: {
|
|
7328
7327
|
opacity
|
|
@@ -7330,7 +7329,7 @@ var StatBox = _ref => {
|
|
|
7330
7329
|
children: ["Compared to ", prevText]
|
|
7331
7330
|
}), viewGraphLink && /*#__PURE__*/jsx(Link, {
|
|
7332
7331
|
to: "".concat(viewGraphLink, "&title=").concat(title),
|
|
7333
|
-
children: /*#__PURE__*/jsxs(Text
|
|
7332
|
+
children: /*#__PURE__*/jsxs(Text, {
|
|
7334
7333
|
type: "h5-noUpper",
|
|
7335
7334
|
className: "text-link marginTop-10",
|
|
7336
7335
|
children: [/*#__PURE__*/jsx(Icon, {
|
|
@@ -7344,5 +7343,5 @@ var StatBox = _ref => {
|
|
|
7344
7343
|
});
|
|
7345
7344
|
};
|
|
7346
7345
|
|
|
7347
|
-
export { AddButton, AnalyticsFilter, Attachment, toExport as AudienceSelector, Button, CheckBox, ColourOptions, ColourPicker, Comment, CommentSection, DatePicker, DropdownInput, DurationInput, ExportCsvPopup, FileInput, GenericInput, exportObj$4 as Header, exportObj$2 as HubSidebar, ImageInput, InputGroup, exportObj as MakerPopup, MoreMenu, OptionsSection, OverlayPage, OverlayPageBottomButtons, OverlayPageContents, OverlayPageSection, PageTitle, Popup, ProfilePic, RadioButton, Reactions, exportObj$3 as SideNavItem, StatBox, StatusButton, SuccessPopup, Tabs, Tag, Text
|
|
7346
|
+
export { AddButton, AnalyticsFilter, Attachment, toExport as AudienceSelector, Button, CheckBox, ColourOptions, ColourPicker, Comment, CommentSection, DatePicker, DropdownInput, DurationInput, ExportCsvPopup, FileInput, GenericInput, exportObj$4 as Header, exportObj$2 as HubSidebar, ImageInput, InputGroup, exportObj as MakerPopup, MoreMenu, OptionsSection, OverlayPage, OverlayPageBottomButtons, OverlayPageContents, OverlayPageSection, PageTitle, Popup, ProfilePic, RadioButton, Reactions, exportObj$3 as SideNavItem, StatBox, StatusButton, SuccessPopup, Tabs, Tag, Text, TextFormatPopup, TimePicker, UserListing };
|
|
7348
7347
|
//# sourceMappingURL=components.js.map
|