blixify-ui-web 1.2.58 → 1.2.60
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/dataStateModel.d.ts +1 -0
- package/lib/components/data/dataTemplate/dataStateModel.d.ts.map +1 -1
- package/lib/components/data/dataTemplate/dataStateModel.js.map +1 -1
- package/lib/components/data/dataTemplate/index.d.ts.map +1 -1
- package/lib/components/data/dataTemplate/index.js +368 -226
- package/lib/components/data/dataTemplate/index.js.map +1 -1
- package/lib/components/data/dataTemplate/viewStatePersistence.d.ts +1 -0
- package/lib/components/data/dataTemplate/viewStatePersistence.d.ts.map +1 -1
- package/lib/components/data/dataTemplate/viewStatePersistence.js.map +1 -1
- package/lib/components/data/dataWrapper/dataWrapper.fixtures.d.ts +9 -0
- package/lib/components/data/dataWrapper/dataWrapper.fixtures.d.ts.map +1 -0
- package/lib/components/data/dataWrapper/dataWrapper.fixtures.js +33 -0
- package/lib/components/data/dataWrapper/dataWrapper.fixtures.js.map +1 -0
- package/lib/components/data/dataWrapper/index.d.ts +36 -1
- package/lib/components/data/dataWrapper/index.d.ts.map +1 -1
- package/lib/components/data/dataWrapper/index.js +206 -61
- package/lib/components/data/dataWrapper/index.js.map +1 -1
- package/lib/components/data/flexFilter/index.d.ts.map +1 -1
- package/lib/components/data/flexFilter/index.js +1 -2
- package/lib/components/data/flexFilter/index.js.map +1 -1
- package/lib/components/data/listModule.d.ts +3 -1
- package/lib/components/data/listModule.d.ts.map +1 -1
- package/lib/components/data/listModule.js +6 -4
- package/lib/components/data/listModule.js.map +1 -1
- package/lib/components/data/updateModule.d.ts.map +1 -1
- package/lib/components/data/updateModule.js +18 -11
- package/lib/components/data/updateModule.js.map +1 -1
- package/lib/components/data/utils.d.ts +9 -1
- package/lib/components/data/utils.d.ts.map +1 -1
- package/lib/components/data/utils.js +74 -1
- package/lib/components/data/utils.js.map +1 -1
- package/lib/components/display/drawer/index.d.ts +22 -6
- package/lib/components/display/drawer/index.d.ts.map +1 -1
- package/lib/components/display/drawer/index.js +138 -17
- package/lib/components/display/drawer/index.js.map +1 -1
- package/lib/components/display/flexTable/newMobileItemCard.d.ts.map +1 -1
- package/lib/components/display/flexTable/newMobileItemCard.js +1 -2
- package/lib/components/display/flexTable/newMobileItemCard.js.map +1 -1
- package/lib/components/display/newTable/index.d.ts +4 -0
- package/lib/components/display/newTable/index.d.ts.map +1 -1
- package/lib/components/display/newTable/index.js +207 -29
- package/lib/components/display/newTable/index.js.map +1 -1
- package/lib/components/display/table/index.d.ts +22 -4
- package/lib/components/display/table/index.d.ts.map +1 -1
- package/lib/components/display/table/index.js +221 -40
- package/lib/components/display/table/index.js.map +1 -1
- package/lib/components/input/textArea/index.d.ts +5 -0
- package/lib/components/input/textArea/index.d.ts.map +1 -1
- package/lib/components/input/textArea/index.js +10 -3
- package/lib/components/input/textArea/index.js.map +1 -1
- package/lib/tail.css +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/input/textArea/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAGvD,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAA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@@ -85,6 +85,12 @@ var TextArea = /** @class */ (function (_super) {
|
|
|
85
85
|
_this.state = {
|
|
86
86
|
error: "",
|
|
87
87
|
};
|
|
88
|
+
_this.handleCellOnBlur = function () {
|
|
89
|
+
var _a;
|
|
90
|
+
if (((_a = _this.props.cellInput) === null || _a === void 0 ? void 0 : _a.active) && _this.props.cellInput.onBlur) {
|
|
91
|
+
_this.props.cellInput.onBlur();
|
|
92
|
+
}
|
|
93
|
+
};
|
|
88
94
|
_this.setAsyncState = function (newState) {
|
|
89
95
|
return new Promise(function (resolve) { return _this.setState(newState, resolve); });
|
|
90
96
|
};
|
|
@@ -124,6 +130,7 @@ var TextArea = /** @class */ (function (_super) {
|
|
|
124
130
|
return _this;
|
|
125
131
|
}
|
|
126
132
|
TextArea.prototype.render = function () {
|
|
133
|
+
var _a, _b;
|
|
127
134
|
var labelColor = this.props.darkMode ? "text-white" : "text-gray-700";
|
|
128
135
|
var subColor = this.props.darkMode ? "text-gray-300" : "text-gray-500";
|
|
129
136
|
var textAreaClassName = "block w-full rounded-md mt-1 text-base focus:outline-none border border-gray-300 px-5 py-3 focus:border-primary-500";
|
|
@@ -135,18 +142,18 @@ var TextArea = /** @class */ (function (_super) {
|
|
|
135
142
|
}
|
|
136
143
|
return (react_1.default.createElement("div", { className: this.props.containerClassName },
|
|
137
144
|
react_1.default.createElement("div", { className: "flex w-full" },
|
|
138
|
-
react_1.default.createElement("div", { className: "flex flex-col" },
|
|
145
|
+
!((_a = this.props.cellInput) === null || _a === void 0 ? void 0 : _a.active) && (react_1.default.createElement("div", { className: "flex flex-col" },
|
|
139
146
|
react_1.default.createElement("label", { className: "block text-sm font-medium ".concat(labelColor) },
|
|
140
147
|
this.props.label,
|
|
141
148
|
" ",
|
|
142
149
|
this.props.labelExtra),
|
|
143
|
-
this.props.subLabel && (react_1.default.createElement("label", { className: "block text-xs font-medium ".concat(subColor, " mb-2") }, this.props.subLabel))),
|
|
150
|
+
this.props.subLabel && (react_1.default.createElement("label", { className: "block text-xs font-medium ".concat(subColor, " mb-2") }, this.props.subLabel)))),
|
|
144
151
|
react_1.default.createElement("div", { className: "flex-grow" }),
|
|
145
152
|
this.props.customElement && (react_1.default.createElement("div", { className: "self-center" }, this.props.customElement)),
|
|
146
153
|
this.props.infoElement &&
|
|
147
154
|
react_1.default.isValidElement(this.props.infoElement) && (react_1.default.createElement("div", { className: "self-center" },
|
|
148
155
|
react_1.default.createElement(infoWindow_1.InfoWindow, { type: "bottom end", icon: react_1.default.createElement(solid_1.QuestionMarkCircleIcon, { className: "w-5 h-5 text-gray-400" }), content: this.props.infoElement })))),
|
|
149
|
-
react_1.default.createElement("textarea", { id: this.props.id, "data-testid": this.props.id, rows: this.props.rows, className: textAreaClassName, value: this.props.value, disabled: this.props.disabled, maxLength: this.props.maxLength, placeholder: this.props.placeholder, onChange: this.handleOnChange }),
|
|
156
|
+
react_1.default.createElement("textarea", { id: this.props.id, "data-testid": this.props.id, rows: ((_b = this.props.cellInput) === null || _b === void 0 ? void 0 : _b.active) ? 2 : this.props.rows, className: textAreaClassName, value: this.props.value, disabled: this.props.disabled, maxLength: this.props.maxLength, placeholder: this.props.placeholder, onChange: this.handleOnChange, onBlur: this.handleCellOnBlur }),
|
|
150
157
|
this.state.error && (react_1.default.createElement("span", { className: "text-red-500 text-sm" }, this.state.error))));
|
|
151
158
|
};
|
|
152
159
|
return TextArea;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/input/textArea/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAmE;AACnE,6CAAuD;AACvD,wDAAuD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/input/textArea/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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