blixify-ui-web 1.2.18 → 1.2.20
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/data/dataTemplate/index.d.ts.map +1 -1
- package/lib/components/data/dataTemplate/index.js +8 -6
- package/lib/components/data/dataTemplate/index.js.map +1 -1
- package/lib/components/input/markdown/index.d.ts.map +1 -1
- package/lib/components/input/markdown/index.js +2 -0
- package/lib/components/input/markdown/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AAiCA,OAAO,KASN,MAAM,OAAO,CAAC;AA2Ef,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AA8B1B,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AAiCA,OAAO,KASN,MAAM,OAAO,CAAC;AA2Ef,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AA8B1B,eAAO,MAAM,YAAY,mFA81TvB,CAAC"}
|
|
@@ -6026,7 +6026,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6026
6026
|
return null;
|
|
6027
6027
|
};
|
|
6028
6028
|
var renderListActionElements = function () {
|
|
6029
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
6029
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
6030
6030
|
var actionElementList = [];
|
|
6031
6031
|
if (schemaPresent) {
|
|
6032
6032
|
actionElementList.push(react_1.default.createElement(react_1.default.Fragment, null,
|
|
@@ -6084,7 +6084,9 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6084
6084
|
var flexFilterLength_1 = (_k = flexFilters.filter(function (eachFilter) {
|
|
6085
6085
|
return eachFilter.columnId && eachFilter.operator && eachFilter.value;
|
|
6086
6086
|
})) === null || _k === void 0 ? void 0 : _k.length;
|
|
6087
|
-
if (
|
|
6087
|
+
if (!((_l = props.organise) === null || _l === void 0 ? void 0 : _l.hideSearch) &&
|
|
6088
|
+
((_m = props.bareSettings) === null || _m === void 0 ? void 0 : _m.bareListFilterAsPopup) &&
|
|
6089
|
+
(filterSearchParams === null || filterSearchParams === void 0 ? void 0 : filterSearchParams["search"]))
|
|
6088
6090
|
flexFilterLength_1 += 1;
|
|
6089
6091
|
var flexFilterIconBtn = function (mobile) {
|
|
6090
6092
|
return (react_1.default.createElement("div", { className: "relative w-fit h-fit" },
|
|
@@ -6093,25 +6095,25 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6093
6095
|
};
|
|
6094
6096
|
// INFO: Desktop — PopUp (hidden on mobile)
|
|
6095
6097
|
actionElementList.push(react_1.default.createElement("div", { className: "hidden md:block" },
|
|
6096
|
-
react_1.default.createElement(popUp_1.PopUp, { ctaComp: flexFilterIconBtn(), renderComp: (0, flexFilterModule_1.renderFlexFilterPopupContent)(flexFilters, structure, devSettings, dbModule, flexFilterReferenceOptions, flexFilterReferenceSearch, flexActions, (
|
|
6098
|
+
react_1.default.createElement(popUp_1.PopUp, { ctaComp: flexFilterIconBtn(), renderComp: (0, flexFilterModule_1.renderFlexFilterPopupContent)(flexFilters, structure, devSettings, dbModule, flexFilterReferenceOptions, flexFilterReferenceSearch, flexActions, (_o = props.bareSettings) === null || _o === void 0 ? void 0 : _o.bareListFilterQuery, searchInput), anchor: "right", excludePortalIds: ["datepicker-portal", "select-portal"], lib: { Transition: (_p = props === null || props === void 0 ? void 0 : props.lib) === null || _p === void 0 ? void 0 : _p.Transition } })));
|
|
6097
6099
|
// INFO: Mobile — IconButton that opens a Modal (hidden on desktop)
|
|
6098
6100
|
actionElementList.push(react_1.default.createElement("div", { className: "block md:hidden" },
|
|
6099
6101
|
flexFilterIconBtn(true),
|
|
6100
|
-
(0, flexFilterModule_1.renderFlexFilterModal)(flexFilterModalOpen, flexFilters, structure, devSettings, dbModule, flexFilterReferenceOptions, flexFilterReferenceSearch, flexActions, function () { return setFlexFilterModalOpen(false); }, (
|
|
6102
|
+
(0, flexFilterModule_1.renderFlexFilterModal)(flexFilterModalOpen, flexFilters, structure, devSettings, dbModule, flexFilterReferenceOptions, flexFilterReferenceSearch, flexActions, function () { return setFlexFilterModalOpen(false); }, (_q = props.bareSettings) === null || _q === void 0 ? void 0 : _q.bareListFilterQuery, searchInput)));
|
|
6101
6103
|
}
|
|
6102
6104
|
if (!isBottom) {
|
|
6103
6105
|
var actionBtns = renderActionButtons(props.type);
|
|
6104
6106
|
if (actionBtns)
|
|
6105
6107
|
actionElementList.push(actionBtns);
|
|
6106
6108
|
}
|
|
6107
|
-
if (schemaPresent || ((
|
|
6109
|
+
if (schemaPresent || ((_r = props.organise) === null || _r === void 0 ? void 0 : _r.showExport)) {
|
|
6108
6110
|
actionElementList.push(react_1.default.createElement(popUp_1.PopUp, { ctaComp: react_1.default.createElement(iconButton_1.IconButton, { className: "bg-primary-100", icon: react_1.default.createElement(solid_1.EllipsisVerticalIcon, { className: "h-7 w-7 text-primary-500" }), bgColor: "bg-white" }), renderComp: react_1.default.createElement("div", { className: "shadow-lg" }, moreButtonPopUp.map(function (eachPopup) { return (
|
|
6109
6111
|
//TODO: Bug - Crash on Next Js
|
|
6110
6112
|
// <Menu.Item>
|
|
6111
6113
|
react_1.default.createElement("span", { className: "block w-40 py-3 text-sm text-center text-gray-700 cursor-pointer hover:bg-gray-100", onClick: eachPopup === null || eachPopup === void 0 ? void 0 : eachPopup.onClick }, eachPopup === null || eachPopup === void 0 ? void 0 : eachPopup.text)
|
|
6112
6114
|
// </Menu.Item>
|
|
6113
6115
|
); })), lib: {
|
|
6114
|
-
Transition: (
|
|
6116
|
+
Transition: (_s = props === null || props === void 0 ? void 0 : props.lib) === null || _s === void 0 ? void 0 : _s.Transition,
|
|
6115
6117
|
} }));
|
|
6116
6118
|
}
|
|
6117
6119
|
if (actionElementList.length > 0) {
|