@amirjalili1374/ui-kit 1.6.3 → 1.6.4
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/ui-kit.cjs.js +1 -1
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.es.js +0 -8
- package/dist/ui-kit.es.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-kit.es.js
CHANGED
|
@@ -38895,14 +38895,6 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
38895
38895
|
let value2 = header.nestedKey ? (_a = item[header.key]) == null ? void 0 : _a[header.nestedKey] : item[header.key];
|
|
38896
38896
|
if (header.formatter) {
|
|
38897
38897
|
value2 = header.formatter(value2, item);
|
|
38898
|
-
} else if (header.type === "date" || header.isDate) {
|
|
38899
|
-
if (value2) {
|
|
38900
|
-
try {
|
|
38901
|
-
console.log("is date format excel" + value2);
|
|
38902
|
-
value2 = DateConverter.toShamsi(value2);
|
|
38903
|
-
} catch {
|
|
38904
|
-
}
|
|
38905
|
-
}
|
|
38906
38898
|
} else if (header.type === "money") {
|
|
38907
38899
|
if (value2 !== null && value2 !== void 0 && value2 !== "") {
|
|
38908
38900
|
const num = Number(value2);
|