blixify-ui-web 1.0.11 → 1.1.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/lib/components/action/button/index.d.ts +1 -0
- package/lib/components/action/button/index.d.ts.map +1 -1
- package/lib/components/action/button/index.js +1 -1
- package/lib/components/action/button/index.js.map +1 -1
- package/lib/components/action/buttonGroup/index.d.ts.map +1 -1
- package/lib/components/action/buttonGroup/index.js +2 -2
- package/lib/components/action/buttonGroup/index.js.map +1 -1
- package/lib/components/action/iconButton/index.d.ts +1 -0
- package/lib/components/action/iconButton/index.d.ts.map +1 -1
- package/lib/components/action/iconButton/index.js +1 -1
- package/lib/components/action/iconButton/index.js.map +1 -1
- package/lib/components/action/radioList/index.d.ts.map +1 -1
- package/lib/components/action/radioList/index.js +1 -1
- package/lib/components/action/radioList/index.js.map +1 -1
- package/lib/components/action/slider/index.d.ts +1 -0
- package/lib/components/action/slider/index.d.ts.map +1 -1
- package/lib/components/action/slider/index.js +3 -3
- package/lib/components/action/slider/index.js.map +1 -1
- package/lib/components/action/textButton/index.d.ts +1 -0
- package/lib/components/action/textButton/index.d.ts.map +1 -1
- package/lib/components/action/textButton/index.js +1 -1
- package/lib/components/action/textButton/index.js.map +1 -1
- package/lib/components/action/toggle/index.d.ts +1 -0
- package/lib/components/action/toggle/index.d.ts.map +1 -1
- package/lib/components/action/toggle/index.js +1 -1
- package/lib/components/action/toggle/index.js.map +1 -1
- package/lib/components/chat/chatBase/index.d.ts.map +1 -1
- package/lib/components/chat/chatBase/index.js +4 -4
- package/lib/components/chat/chatBase/index.js.map +1 -1
- package/lib/components/chat/chatDashboard/index.d.ts.map +1 -1
- package/lib/components/chat/chatDashboard/index.js +1 -1
- package/lib/components/chat/chatDashboard/index.js.map +1 -1
- package/lib/components/data/dataTemplate/index.d.ts.map +1 -1
- package/lib/components/data/dataTemplate/index.js +11 -11
- package/lib/components/data/dataTemplate/index.js.map +1 -1
- package/lib/components/display/modal/index.d.ts +1 -0
- package/lib/components/display/modal/index.d.ts.map +1 -1
- package/lib/components/display/modal/index.js +1 -1
- package/lib/components/display/modal/index.js.map +1 -1
- package/lib/components/input/checkbox/index.d.ts.map +1 -1
- package/lib/components/input/checkbox/index.js +1 -1
- package/lib/components/input/checkbox/index.js.map +1 -1
- package/lib/components/input/datePicker/index.d.ts.map +1 -1
- package/lib/components/input/datePicker/index.js +1 -1
- package/lib/components/input/datePicker/index.js.map +1 -1
- package/lib/components/input/monthYearPicker/index.d.ts +1 -0
- package/lib/components/input/monthYearPicker/index.d.ts.map +1 -1
- package/lib/components/input/monthYearPicker/index.js +14 -2
- package/lib/components/input/monthYearPicker/index.js.map +1 -1
- package/lib/components/input/select/index.d.ts.map +1 -1
- package/lib/components/input/select/index.js +2 -2
- package/lib/components/input/select/index.js.map +1 -1
- package/lib/components/input/textArea/index.d.ts.map +1 -1
- package/lib/components/input/textArea/index.js +1 -1
- package/lib/components/input/textArea/index.js.map +1 -1
- package/lib/components/input/textInput/index.d.ts.map +1 -1
- package/lib/components/input/textInput/index.js +2 -2
- package/lib/components/input/textInput/index.js.map +1 -1
- package/lib/components/input/uploadInput/index.d.ts.map +1 -1
- package/lib/components/input/uploadInput/index.js +2 -2
- package/lib/components/input/uploadInput/index.js.map +1 -1
- package/lib/components/navigation/tabs/index.d.ts.map +1 -1
- package/lib/components/navigation/tabs/index.js +2 -2
- package/lib/components/navigation/tabs/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -5029,12 +5029,12 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
5029
5029
|
bareActionComponent,
|
|
5030
5030
|
((_e = (_d = props.organise) === null || _d === void 0 ? void 0 : _d.exportSettings) === null || _e === void 0 ? void 0 : _e.enableExportReadPDF) && (react_1.default.createElement(button_1.Button, { type: "normal", text: "Export PDF", className: "mr-3", onClick: handleExportReadPDF })),
|
|
5031
5031
|
isActivityLog && (react_1.default.createElement(button_1.Button, { type: "normal", text: "Log", onClick: function () { return setActivityModal(true); }, className: !bareActionComponent ? "mr-3" : "" })),
|
|
5032
|
-
!bareActionComponent && !((_f = props.edit) === null || _f === void 0 ? void 0 : _f.disabledUpdate) && (react_1.default.createElement("div", { className: "w-xs" }, hasNavigation ? (react_1.default.createElement(button_1.Button, { text: "Update", className: "w-full", type: "normal", onClick: function () {
|
|
5032
|
+
!bareActionComponent && !((_f = props.edit) === null || _f === void 0 ? void 0 : _f.disabledUpdate) && (react_1.default.createElement("div", { className: "w-xs" }, hasNavigation ? (react_1.default.createElement(button_1.Button, { id: "dtw-update", text: "Update", className: "w-full", type: "normal", onClick: function () {
|
|
5033
5033
|
var _a, _b;
|
|
5034
5034
|
(_b = (_a = props.organise) === null || _a === void 0 ? void 0 : _a.handleNavigate) === null || _b === void 0 ? void 0 : _b.call(_a, "update", props.id);
|
|
5035
5035
|
} })) : (react_1.default.createElement(link_1.Link, { className: "w-full", href: "".concat(props.localURLEndpoint, "?data=").concat(props.id, "&type=update&collection=").concat(props.collectionId, "&view=general"), linkType: props.linkType, custom: props.custom },
|
|
5036
|
-
react_1.default.createElement(button_1.Button, { text: "Update", className: "w-full", type: "normal" }))))),
|
|
5037
|
-
((_g = props.edit) === null || _g === void 0 ? void 0 : _g.deleteBtn) && (react_1.default.createElement(button_1.Button, { text: "Delete", className: "w-xs ml-3", type: "danger", onClick: function () {
|
|
5036
|
+
react_1.default.createElement(button_1.Button, { id: "dtw-update", text: "Update", className: "w-full", type: "normal" }))))),
|
|
5037
|
+
((_g = props.edit) === null || _g === void 0 ? void 0 : _g.deleteBtn) && (react_1.default.createElement(button_1.Button, { id: "dtw-delete", text: "Delete", className: "w-xs ml-3", type: "danger", onClick: function () {
|
|
5038
5038
|
setDeleteModal(true);
|
|
5039
5039
|
} }))));
|
|
5040
5040
|
}
|
|
@@ -5062,7 +5062,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
5062
5062
|
}
|
|
5063
5063
|
});
|
|
5064
5064
|
}); }, disabled: currentTabIndex_1 <= 0, className: "mr-3", background: "bg-gray-100 hover:bg-gray-200 text-gray-600 hover:text-gray-800" })),
|
|
5065
|
-
((_h = props.edit) === null || _h === void 0 ? void 0 : _h.enableUpdateDraft) && (react_1.default.createElement(button_1.Button, { text: "Save", type: "light", className: "w-xs mr-3", onClick: function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
5065
|
+
((_h = props.edit) === null || _h === void 0 ? void 0 : _h.enableUpdateDraft) && (react_1.default.createElement(button_1.Button, { id: "dtw-save", text: "Save", type: "light", className: "w-xs mr-3", onClick: function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
5066
5066
|
return __generator(this, function (_a) {
|
|
5067
5067
|
switch (_a.label) {
|
|
5068
5068
|
case 0: return [4 /*yield*/, handleFormSaveDraft()];
|
|
@@ -5072,7 +5072,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
5072
5072
|
}
|
|
5073
5073
|
});
|
|
5074
5074
|
}); } })),
|
|
5075
|
-
react_1.default.createElement(button_1.Button, { text: "Submit", type: "normal", className: "w-xs", onClick: function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
5075
|
+
react_1.default.createElement(button_1.Button, { id: "dtw-submit", text: "Submit", type: "normal", className: "w-xs", onClick: function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
5076
5076
|
return __generator(this, function (_a) {
|
|
5077
5077
|
switch (_a.label) {
|
|
5078
5078
|
case 0: return [4 /*yield*/, handleFormSubmit()];
|
|
@@ -5102,7 +5102,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
5102
5102
|
}
|
|
5103
5103
|
});
|
|
5104
5104
|
}); }, disabled: currentTabIndex_1 >= (uniqueTabIds || []).length - 1, className: "ml-2", background: "bg-gray-100 hover:bg-gray-200 text-gray-600 hover:text-gray-800" })))),
|
|
5105
|
-
((_j = props.edit) === null || _j === void 0 ? void 0 : _j.deleteBtn) && isEditor && props.id !== "new" && (react_1.default.createElement(button_1.Button, { text: "Delete", type: "danger", className: "w-xs ml-3", onClick: function () {
|
|
5105
|
+
((_j = props.edit) === null || _j === void 0 ? void 0 : _j.deleteBtn) && isEditor && props.id !== "new" && (react_1.default.createElement(button_1.Button, { id: "dtw-delete", text: "Delete", type: "danger", className: "w-xs ml-3", onClick: function () {
|
|
5106
5106
|
setDeleteModal(true);
|
|
5107
5107
|
} }))));
|
|
5108
5108
|
}
|
|
@@ -5116,11 +5116,11 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
5116
5116
|
}
|
|
5117
5117
|
else if (((_k = props.edit) === null || _k === void 0 ? void 0 : _k.allEditable) || ((_l = props.edit) === null || _l === void 0 ? void 0 : _l.createBtn)) {
|
|
5118
5118
|
listActionBtns.push(react_1.default.createElement(react_1.default.Fragment, null,
|
|
5119
|
-
hasNavigation ? (react_1.default.createElement(iconButton_1.IconButton, { icon: react_1.default.createElement(outline_1.PlusIcon, { className: "h-7 w-7 text-white" }), background: "bg-primary-500 hover:bg-primary-600", onClick: function () {
|
|
5119
|
+
hasNavigation ? (react_1.default.createElement(iconButton_1.IconButton, { testId: "dtw-create", icon: react_1.default.createElement(outline_1.PlusIcon, { className: "h-7 w-7 text-white" }), background: "bg-primary-500 hover:bg-primary-600", onClick: function () {
|
|
5120
5120
|
var _a, _b;
|
|
5121
5121
|
(_b = (_a = props.organise) === null || _a === void 0 ? void 0 : _a.handleNavigate) === null || _b === void 0 ? void 0 : _b.call(_a, "update", "new");
|
|
5122
5122
|
}, className: isBottom ? "mt-5" : "" })) : (react_1.default.createElement(link_1.Link, { href: "".concat(props.localURLEndpoint, "?data=new&type=update&collection=").concat(props.collectionId), linkType: props.linkType, custom: props.custom },
|
|
5123
|
-
react_1.default.createElement(iconButton_1.IconButton, { icon: react_1.default.createElement(outline_1.PlusIcon, { className: "h-7 w-7 text-white" }), background: "bg-primary-500 hover:bg-primary-600", className: isBottom ? "mt-5" : "" }))),
|
|
5123
|
+
react_1.default.createElement(iconButton_1.IconButton, { testId: "dtw-create", icon: react_1.default.createElement(outline_1.PlusIcon, { className: "h-7 w-7 text-white" }), background: "bg-primary-500 hover:bg-primary-600", className: isBottom ? "mt-5" : "" }))),
|
|
5124
5124
|
offlineDataLength > 0 && (react_1.default.createElement(iconButton_1.IconButton, { icon: react_1.default.createElement(solid_1.CloudArrowUpIcon, { className: "h-7 w-7 text-white" }), background: "bg-primary-500 hover:bg-primary-600", onClick: function () {
|
|
5125
5125
|
handlePopUpModal(true, "offline");
|
|
5126
5126
|
}, className: isBottom ? "mt-5" : "" }))));
|
|
@@ -7049,13 +7049,13 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
7049
7049
|
" ",
|
|
7050
7050
|
react_1.default.createElement("span", { className: "font-semibold" }, deletePasscode),
|
|
7051
7051
|
" to delete."),
|
|
7052
|
-
react_1.default.createElement(textInput_1.TextInput, { label: "", value: deletePasscodeInput, onChange: function (e) { return setDeletePasscodeInput(e.target.value); }, type: "password", placeholder: "Type your passcode here" }))),
|
|
7052
|
+
react_1.default.createElement(textInput_1.TextInput, { id: "dtw-delete-passcode", label: "", value: deletePasscodeInput, onChange: function (e) { return setDeletePasscodeInput(e.target.value); }, type: "password", placeholder: "Type your passcode here" }))),
|
|
7053
7053
|
react_1.default.createElement("div", { className: "flex flex-row justify-end pt-5 mt-6 space-x-2" },
|
|
7054
|
-
react_1.default.createElement(button_1.Button, { text: "Close", size: "small", type: "light", onClick: function () {
|
|
7054
|
+
react_1.default.createElement(button_1.Button, { id: "dtw-delete-close", text: "Close", size: "small", type: "light", onClick: function () {
|
|
7055
7055
|
setDeletePasscodeInput("");
|
|
7056
7056
|
setDeleteModal(false);
|
|
7057
7057
|
} }),
|
|
7058
|
-
react_1.default.createElement(button_1.Button, { text: "Delete", size: "small", type: "danger", onClick: function () {
|
|
7058
|
+
react_1.default.createElement(button_1.Button, { id: "dtw-delete-confirm", text: "Delete", size: "small", type: "danger", onClick: function () {
|
|
7059
7059
|
if (selectedTab &&
|
|
7060
7060
|
selectedTab.viewType === "feeds" &&
|
|
7061
7061
|
deleteFeedId) {
|