keli-ui 0.0.26 → 0.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/dist/keli-ui.js +4 -4
- package/dist/keli-ui.umd.cjs +1 -1
- package/dist/types/packages/types/button.d.ts +26 -0
- package/dist/types/packages/types/componentFrame.d.ts +25 -0
- package/dist/types/packages/types/formFrame.d.ts +83 -0
- package/dist/types/packages/types/index.d.ts +6 -0
- package/dist/types/packages/types/queryFrame.d.ts +24 -0
- package/dist/types/packages/types/tableFrame.d.ts +112 -0
- package/dist/types/packages/types/translate.d.ts +20 -0
- package/dist/types/utils/base.d.ts +2 -2
- package/package.json +1 -1
package/dist/keli-ui.js
CHANGED
|
@@ -30943,11 +30943,11 @@ function getLabelFromArrayByValue(params) {
|
|
|
30943
30943
|
);
|
|
30944
30944
|
return Array.isArray(value) ? value.map((val) => valueLabelMap.get(val)).filter((label) => label !== void 0) : valueLabelMap.get(value);
|
|
30945
30945
|
}
|
|
30946
|
-
function isEmpty(
|
|
30947
|
-
return
|
|
30946
|
+
function isEmpty(val) {
|
|
30947
|
+
return val === void 0 || val === null || val === "";
|
|
30948
30948
|
}
|
|
30949
|
-
function isNotEmpty(
|
|
30950
|
-
return
|
|
30949
|
+
function isNotEmpty(val) {
|
|
30950
|
+
return val !== void 0 && val !== null && val !== "";
|
|
30951
30951
|
}
|
|
30952
30952
|
const timestamp = (t2, f) => {
|
|
30953
30953
|
if (t2 === null) {
|