@kingteza/crud-component 1.2.1 → 1.2.2
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/Play.d.ts +2 -0
- package/dist/README.md +89 -0
- package/dist/common/appearance/Hider.cjs.js +1 -0
- package/dist/common/appearance/Hider.d.ts +6 -0
- package/dist/common/appearance/Hider.es.js +5 -0
- package/dist/common/appearance/index.d.ts +1 -0
- package/dist/common/button/Button.cjs.js +1 -0
- package/dist/common/button/Button.d.ts +11 -0
- package/dist/common/button/Button.es.js +57 -0
- package/dist/common/button/CloneButtonTable.cjs.js +1 -0
- package/dist/common/button/CloneButtonTable.d.ts +6 -0
- package/dist/common/button/CloneButtonTable.es.js +19 -0
- package/dist/common/button/DeleteButtonTable.cjs.js +1 -0
- package/dist/common/button/DeleteButtonTable.d.ts +13 -0
- package/dist/common/button/DeleteButtonTable.es.js +64 -0
- package/dist/common/button/ExportButton.cjs.js +1 -0
- package/dist/common/button/ExportButton.d.ts +4 -0
- package/dist/common/button/ExportButton.es.js +26 -0
- package/dist/common/button/HideButtonTable.cjs.js +1 -0
- package/dist/common/button/HideButtonTable.d.ts +13 -0
- package/dist/common/button/HideButtonTable.es.js +67 -0
- package/dist/common/button/ImportButton.cjs.js +1 -0
- package/dist/common/button/ImportButton.d.ts +9 -0
- package/dist/common/button/ImportButton.es.js +55 -0
- package/dist/common/button/NewButton.cjs.js +1 -0
- package/dist/common/button/NewButton.d.ts +12 -0
- package/dist/common/button/NewButton.es.js +23 -0
- package/dist/common/button/PrintButton.cjs.js +1 -0
- package/dist/common/button/PrintButton.d.ts +12 -0
- package/dist/common/button/PrintButton.es.js +25 -0
- package/dist/common/button/RefreshButton.cjs.js +1 -0
- package/dist/common/button/RefreshButton.d.ts +11 -0
- package/dist/common/button/RefreshButton.es.js +23 -0
- package/dist/common/button/UnHideButton.cjs.js +1 -0
- package/dist/common/button/UnHideButton.d.ts +14 -0
- package/dist/common/button/UnHideButton.es.js +69 -0
- package/dist/common/button/UpdateButtonTable.cjs.js +1 -0
- package/dist/common/button/UpdateButtonTable.d.ts +6 -0
- package/dist/common/button/UpdateButtonTable.es.js +19 -0
- package/dist/common/button/ViewButtonTable.cjs.js +1 -0
- package/dist/common/button/ViewButtonTable.d.ts +6 -0
- package/dist/common/button/ViewButtonTable.es.js +19 -0
- package/dist/common/button/index.d.ts +14 -0
- package/dist/common/check-box/CheckBox.cjs.js +1 -0
- package/dist/common/check-box/CheckBox.d.ts +9 -0
- package/dist/common/check-box/CheckBox.es.js +40 -0
- package/dist/common/check-box/index.d.ts +2 -0
- package/dist/common/date-picker/DatePicker.cjs.js +1 -0
- package/dist/common/date-picker/DatePicker.d.ts +37 -0
- package/dist/common/date-picker/DatePicker.es.js +87 -0
- package/dist/common/date-picker/TimePicker.cjs.js +1 -0
- package/dist/common/date-picker/TimePicker.d.ts +34 -0
- package/dist/common/date-picker/TimePicker.es.js +77 -0
- package/dist/common/date-picker/index.d.ts +3 -0
- package/dist/common/description/DescList.cjs.js +1 -0
- package/dist/common/description/DescList.d.ts +18 -0
- package/dist/common/description/DescList.es.js +16 -0
- package/dist/common/description/DescriptionComponent.d.ts +7 -0
- package/dist/common/description/index.d.ts +3 -0
- package/dist/common/icon/KIcon.cjs.js +1 -0
- package/dist/common/icon/KIcon.d.ts +9 -0
- package/dist/common/icon/KIcon.es.js +11 -0
- package/dist/common/index.cjs.js +1 -0
- package/dist/common/index.d.ts +20 -0
- package/dist/common/index.es.js +78 -0
- package/dist/common/layout/VerticalSpace.cjs.js +1 -0
- package/dist/common/layout/VerticalSpace.d.ts +5 -0
- package/dist/common/layout/VerticalSpace.es.js +6 -0
- package/dist/common/layout/index.d.ts +2 -0
- package/dist/common/loading/LoadingIndicator.cjs.js +1 -0
- package/dist/common/loading/LoadingIndicator.d.ts +6 -0
- package/dist/common/loading/LoadingIndicator.es.js +23 -0
- package/dist/common/loading/index.d.ts +2 -0
- package/dist/common/picker/ImagePicker.cjs.js +1 -0
- package/dist/common/picker/ImagePicker.d.ts +56 -0
- package/dist/common/picker/ImagePicker.es.js +320 -0
- package/dist/common/picker/index.d.ts +2 -0
- package/dist/common/radio/RadioGroupComponent.cjs.js +1 -0
- package/dist/common/radio/RadioGroupComponent.d.ts +18 -0
- package/dist/common/radio/RadioGroupComponent.es.js +19 -0
- package/dist/common/radio/index.d.ts +2 -0
- package/dist/common/report/SelectFieldInReport.cjs.js +1 -0
- package/dist/common/report/SelectFieldInReport.d.ts +16 -0
- package/dist/common/report/SelectFieldInReport.es.js +30 -0
- package/dist/common/report/index.d.ts +3 -0
- package/dist/common/rich/index.cjs.js +1 -0
- package/dist/common/rich/index.d.ts +10 -0
- package/dist/common/rich/index.es.js +66 -0
- package/dist/common/select/CustomSelectOption.cjs.js +1 -0
- package/dist/common/select/CustomSelectOption.d.ts +7 -0
- package/dist/common/select/CustomSelectOption.es.js +13 -0
- package/dist/common/select/SelectComponent.cjs.js +1 -0
- package/dist/common/select/SelectComponent.d.ts +21 -0
- package/dist/common/select/SelectComponent.es.js +85 -0
- package/dist/common/select/index.d.ts +3 -0
- package/dist/common/show-more/index.cjs.js +1 -0
- package/dist/common/show-more/index.d.ts +4 -0
- package/dist/common/show-more/index.es.js +8 -0
- package/dist/common/tab/TabViewWithRoute.cjs.js +1 -0
- package/dist/common/tab/TabViewWithRoute.d.ts +13 -0
- package/dist/common/tab/TabViewWithRoute.es.js +38 -0
- package/dist/common/tab/index.d.ts +2 -0
- package/dist/common/table/index.d.ts +3 -0
- package/dist/common/table/table.cjs.js +1 -0
- package/dist/common/table/table.d.ts +19 -0
- package/dist/common/table/table.es.js +40 -0
- package/dist/common/tag/StatusTag.cjs.js +1 -0
- package/dist/common/tag/StatusTag.d.ts +14 -0
- package/dist/common/tag/StatusTag.es.js +29 -0
- package/dist/common/tag/index.d.ts +2 -0
- package/dist/common/text/index.cjs.js +1 -0
- package/dist/common/text/index.d.ts +3 -0
- package/dist/common/text/index.es.js +5 -0
- package/dist/common/text/title/TitleWithHeadTitle.d.ts +7 -0
- package/dist/common/text/title/index.cjs.js +1 -0
- package/dist/common/text/title/index.d.ts +1 -0
- package/dist/common/text/title/index.es.js +5 -0
- package/dist/common/text-field/NumberField.cjs.js +1 -0
- package/dist/common/text-field/NumberField.d.ts +13 -0
- package/dist/common/text-field/NumberField.es.js +83 -0
- package/dist/common/text-field/PhoneNumberField.cjs.js +1 -0
- package/dist/common/text-field/PhoneNumberField.d.ts +4 -0
- package/dist/common/text-field/PhoneNumberField.es.js +18 -0
- package/dist/common/text-field/TextArea.cjs.js +1 -0
- package/dist/common/text-field/TextArea.d.ts +17 -0
- package/dist/common/text-field/TextArea.es.js +46 -0
- package/dist/common/text-field/TextField.cjs.js +1 -0
- package/dist/common/text-field/TextField.d.ts +27 -0
- package/dist/common/text-field/TextField.es.js +72 -0
- package/dist/common/text-field/index.d.ts +5 -0
- package/dist/common/tooltip/TooltipComponent.cjs.js +1 -0
- package/dist/common/tooltip/TooltipComponent.d.ts +5 -0
- package/dist/common/tooltip/TooltipComponent.es.js +9 -0
- package/dist/common/tooltip/index.d.ts +2 -0
- package/dist/common/wizard/WizardResult.cjs.js +1 -0
- package/dist/common/wizard/WizardResult.d.ts +16 -0
- package/dist/common/wizard/WizardResult.es.js +58 -0
- package/dist/common/wizard/WizardViewForm.cjs.js +1 -0
- package/dist/common/wizard/WizardViewForm.d.ts +24 -0
- package/dist/common/wizard/WizardViewForm.es.js +74 -0
- package/dist/common/wizard/index.d.ts +3 -0
- package/dist/context/WindowDimension.cjs.js +1 -0
- package/dist/context/WindowDimension.d.ts +4 -0
- package/dist/context/WindowDimension.es.js +8 -0
- package/dist/context/index.d.ts +1 -0
- package/dist/crud/CrudComponent.cjs.js +1 -0
- package/dist/crud/CrudComponent.d.ts +245 -0
- package/dist/crud/CrudComponent.es.js +123 -0
- package/dist/crud/CrudField.cjs.js +1 -0
- package/dist/crud/CrudField.d.ts +4 -0
- package/dist/crud/CrudField.es.js +461 -0
- package/dist/crud/CrudForm.cjs.js +1 -0
- package/dist/crud/CrudForm.d.ts +14 -0
- package/dist/crud/CrudForm.es.js +103 -0
- package/dist/crud/CrudFormWizard.cjs.js +1 -0
- package/dist/crud/CrudFormWizard.d.ts +14 -0
- package/dist/crud/CrudFormWizard.es.js +140 -0
- package/dist/crud/CrudReportComponent.cjs.js +4 -0
- package/dist/crud/CrudReportComponent.d.ts +44 -0
- package/dist/crud/CrudReportComponent.es.js +255 -0
- package/dist/crud/CrudSearchComponent.cjs.js +1 -0
- package/dist/crud/CrudSearchComponent.d.ts +21 -0
- package/dist/crud/CrudSearchComponent.es.js +96 -0
- package/dist/crud/CrudTextAreaComponent.cjs.js +1 -0
- package/dist/crud/CrudTextAreaComponent.d.ts +22 -0
- package/dist/crud/CrudTextAreaComponent.es.js +52 -0
- package/dist/crud/FileCrudField.cjs.js +1 -0
- package/dist/crud/FileCrudField.d.ts +25 -0
- package/dist/crud/FileCrudField.es.js +221 -0
- package/dist/crud/ImageCrudField.cjs.js +1 -0
- package/dist/crud/ImageCrudField.d.ts +38 -0
- package/dist/crud/ImageCrudField.es.js +115 -0
- package/dist/crud/actions/index.cjs.js +1 -0
- package/dist/crud/actions/index.d.ts +26 -0
- package/dist/crud/actions/index.es.js +88 -0
- package/dist/crud/import/CrudImportButton.cjs.js +1 -0
- package/dist/crud/import/CrudImportButton.d.ts +3 -0
- package/dist/crud/import/CrudImportButton.es.js +30 -0
- package/dist/crud/import/CrudImportComponent.cjs.js +2 -0
- package/dist/crud/import/CrudImportComponent.d.ts +14 -0
- package/dist/crud/import/CrudImportComponent.es.js +222 -0
- package/dist/crud/index.d.ts +23 -0
- package/dist/crud/modal/index.cjs.js +1 -0
- package/dist/crud/modal/index.d.ts +24 -0
- package/dist/crud/modal/index.es.js +146 -0
- package/dist/crud/view/CrudDecListView.cjs.js +1 -0
- package/dist/crud/view/CrudDecListView.d.ts +15 -0
- package/dist/crud/view/CrudDecListView.es.js +57 -0
- package/dist/crud/view/CrudViewer.cjs.js +1 -0
- package/dist/crud/view/CrudViewer.d.ts +43 -0
- package/dist/crud/view/CrudViewer.es.js +304 -0
- package/dist/crud/view/CrudViewerUtil.cjs.js +1 -0
- package/dist/crud/view/CrudViewerUtil.d.ts +2 -0
- package/dist/crud/view/CrudViewerUtil.es.js +98 -0
- package/dist/crud/view/index.d.ts +5 -0
- package/dist/crud-component.css +6 -0
- package/dist/hooks/NavigatorHooks.cjs.js +1 -0
- package/dist/hooks/NavigatorHooks.d.ts +1 -0
- package/dist/hooks/NavigatorHooks.es.js +9 -0
- package/dist/icons/FlipHIcon.cjs.js +1 -0
- package/dist/icons/FlipHIcon.d.ts +3 -0
- package/dist/icons/FlipHIcon.es.js +28 -0
- package/dist/icons/FlipVIcon.cjs.js +1 -0
- package/dist/icons/FlipVIcon.d.ts +3 -0
- package/dist/icons/FlipVIcon.es.js +28 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.es.js +46 -0
- package/dist/locale/hooks/translation-constants.cjs.js +1 -0
- package/dist/locale/hooks/translation-constants.d.ts +1 -0
- package/dist/locale/hooks/translation-constants.es.js +4 -0
- package/dist/locale/index.cjs.js +1 -0
- package/dist/locale/index.d.ts +85 -0
- package/dist/locale/index.es.js +57 -0
- package/dist/locale/translations/en.cjs.js +1 -0
- package/dist/locale/translations/en.d.ts +63 -0
- package/dist/locale/translations/en.es.js +65 -0
- package/dist/package.json +122 -0
- package/dist/types/DialogComponentProp.d.ts +8 -0
- package/dist/types/Id.d.ts +10 -0
- package/dist/util/CrudUtil.cjs.js +1 -0
- package/dist/util/CrudUtil.d.ts +5 -0
- package/dist/util/CrudUtil.es.js +8 -0
- package/dist/util/DateUtil.cjs.js +1 -0
- package/dist/util/DateUtil.d.ts +7 -0
- package/dist/util/DateUtil.es.js +18 -0
- package/dist/util/ImageUtil.cjs.js +1 -0
- package/dist/util/ImageUtil.d.ts +14 -0
- package/dist/util/ImageUtil.es.js +63 -0
- package/dist/util/NumberUtil.cjs.js +1 -0
- package/dist/util/NumberUtil.d.ts +17 -0
- package/dist/util/NumberUtil.es.js +60 -0
- package/dist/util/ValidationUtil.cjs.js +1 -0
- package/dist/util/ValidationUtil.d.ts +14 -0
- package/dist/util/ValidationUtil.es.js +63 -0
- package/dist/util/index.cjs.js +1 -0
- package/dist/util/index.d.ts +4 -0
- package/dist/util/index.es.js +10 -0
- package/dist/vite-env.d.ts +1 -0
- package/package.json +4 -12
- package/release.config.cjs +0 -27
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
const o = {
|
|
2
|
+
minimumFractionDigits: 2,
|
|
3
|
+
maximumFractionDigits: 2
|
|
4
|
+
}, i = { minimumFractionDigits: 0, maximumFractionDigits: 0 };
|
|
5
|
+
function a(t = 0) {
|
|
6
|
+
return (+t).toLocaleString("en", o);
|
|
7
|
+
}
|
|
8
|
+
function u(t = 0, n = 2) {
|
|
9
|
+
const r = e(t, n);
|
|
10
|
+
return isNaN(r) ? void 0 : r;
|
|
11
|
+
}
|
|
12
|
+
function e(t = 0, n = 2) {
|
|
13
|
+
switch (t = +t, (typeof n != "number" || n < 0) && (n = 2), n) {
|
|
14
|
+
case 0:
|
|
15
|
+
return Math.round(t);
|
|
16
|
+
case 1:
|
|
17
|
+
return Math.round(t * 10) / 10;
|
|
18
|
+
case 2:
|
|
19
|
+
return Math.round(t * 100) / 100;
|
|
20
|
+
case 3:
|
|
21
|
+
return Math.round(t * 1e3) / 1e3;
|
|
22
|
+
case 4:
|
|
23
|
+
return Math.round(t * 1e4) / 1e4;
|
|
24
|
+
default: {
|
|
25
|
+
const r = Math.pow(10, n);
|
|
26
|
+
return Math.round(t * r) / r;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function c(t = 0, n = !1) {
|
|
31
|
+
const r = Math.floor(t);
|
|
32
|
+
return n ? r.toLocaleString("en", i) : r.toString();
|
|
33
|
+
}
|
|
34
|
+
function s(t = 1e9) {
|
|
35
|
+
return Math.floor(Math.random() * (t + 1));
|
|
36
|
+
}
|
|
37
|
+
function d(t) {
|
|
38
|
+
const n = Number(t);
|
|
39
|
+
return isNaN(n) ? 0 : n;
|
|
40
|
+
}
|
|
41
|
+
function f(t = 0) {
|
|
42
|
+
const n = t.toString();
|
|
43
|
+
if (!n.includes("."))
|
|
44
|
+
return t;
|
|
45
|
+
const r = n.replace(/\.?0+$/, "");
|
|
46
|
+
return Number(r);
|
|
47
|
+
}
|
|
48
|
+
const m = {
|
|
49
|
+
toInt: c,
|
|
50
|
+
round: e,
|
|
51
|
+
toMoney: a,
|
|
52
|
+
randInt: s,
|
|
53
|
+
withoutNan: d,
|
|
54
|
+
removeTrailingZeros: f,
|
|
55
|
+
roundNoNan: u
|
|
56
|
+
};
|
|
57
|
+
export {
|
|
58
|
+
m as default,
|
|
59
|
+
d as withoutNan
|
|
60
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("./NumberUtil.cjs.js"),n=require("../locale/index.cjs.js"),o=e=>[{required:!0,message:`${e} ${n.t("err.validation.required")}`}],d=()=>[{min:8,message:n.t("err.validation.minLength8")}],m=()=>[{type:"number",validator(e,t,r){const i=Number(t),a=n.t("err.validation.percentage");isNaN(i)&&t||i<0||i>100?r(a):r()},message:n.t("err.validation.percentage")}],u=e=>[{max:Number(e),min:0,type:"number",message:n.t("err.validation.maximumValueExceeded").replace("%maxValue%",s.default.toMoney(e))}],l=()=>[{validator:(e,t,r)=>{const i=n.t("err.validation.invalidNic");return(t.length===12||t.length===10)&&t.search(/^([0-9]{9}[x|X|v|V])|([0-9]{12})$/)!==-1?r():r(i)}}],g=e=>[{message:`${n.t("err.validation.invalid")} ${e}`,pattern:/^(?:0|94|\+94|0094)?(?:(11|21|23|24|25|26|27|31|32|33|34|35|36|37|38|41|45|47|51|52|54|55|57|63|65|66|67|81|91)(0|2|3|4|5|7|9)|7(0|1|2|4|5|6|7|8)\d)\d{6}$/}],c=()=>[{message:n.t("err.validation.positiveNumber"),type:"number",validator(t,r,i){r<=0?i(t.message):i()}}],v={percentageValidation:m,required:o,maxValidation:u,passwordValidation:d,nicValidation:l,phoneValidation:g,positiveNumberValidation:c};module.exports=v;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Rule } from 'antd/lib/form';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
percentageValidation: () => Rule[];
|
|
4
|
+
required: (modelName: string) => {
|
|
5
|
+
required: boolean;
|
|
6
|
+
message: string;
|
|
7
|
+
}[];
|
|
8
|
+
maxValidation: (max: number) => Rule[];
|
|
9
|
+
passwordValidation: () => Rule[];
|
|
10
|
+
nicValidation: () => Rule[];
|
|
11
|
+
phoneValidation: (modelName: string) => Rule[];
|
|
12
|
+
positiveNumberValidation: () => Rule[];
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import s from "./NumberUtil.es.js";
|
|
2
|
+
import { t as a } from "../locale/index.es.js";
|
|
3
|
+
const o = (e) => [
|
|
4
|
+
{
|
|
5
|
+
required: !0,
|
|
6
|
+
message: `${e} ${a("err.validation.required")}`
|
|
7
|
+
}
|
|
8
|
+
], m = () => [
|
|
9
|
+
{
|
|
10
|
+
min: 8,
|
|
11
|
+
message: a("err.validation.minLength8")
|
|
12
|
+
}
|
|
13
|
+
], d = () => [
|
|
14
|
+
{
|
|
15
|
+
type: "number",
|
|
16
|
+
validator(e, r, t) {
|
|
17
|
+
const i = Number(r), n = a("err.validation.percentage");
|
|
18
|
+
isNaN(i) && r || i < 0 || i > 100 ? t(n) : t();
|
|
19
|
+
},
|
|
20
|
+
message: a("err.validation.percentage")
|
|
21
|
+
}
|
|
22
|
+
], u = (e) => [
|
|
23
|
+
{
|
|
24
|
+
max: Number(e),
|
|
25
|
+
min: 0,
|
|
26
|
+
type: "number",
|
|
27
|
+
message: a("err.validation.maximumValueExceeded").replace(
|
|
28
|
+
"%maxValue%",
|
|
29
|
+
s.toMoney(e)
|
|
30
|
+
)
|
|
31
|
+
}
|
|
32
|
+
], l = () => [
|
|
33
|
+
{
|
|
34
|
+
validator: (e, r, t) => {
|
|
35
|
+
const i = a("err.validation.invalidNic");
|
|
36
|
+
return (r.length === 12 || r.length === 10) && r.search(/^([0-9]{9}[x|X|v|V])|([0-9]{12})$/) !== -1 ? t() : t(i);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
], g = (e) => [
|
|
40
|
+
{
|
|
41
|
+
message: `${a("err.validation.invalid")} ${e}`,
|
|
42
|
+
pattern: /^(?:0|94|\+94|0094)?(?:(11|21|23|24|25|26|27|31|32|33|34|35|36|37|38|41|45|47|51|52|54|55|57|63|65|66|67|81|91)(0|2|3|4|5|7|9)|7(0|1|2|4|5|6|7|8)\d)\d{6}$/
|
|
43
|
+
}
|
|
44
|
+
], p = () => [
|
|
45
|
+
{
|
|
46
|
+
message: a("err.validation.positiveNumber"),
|
|
47
|
+
type: "number",
|
|
48
|
+
validator(r, t, i) {
|
|
49
|
+
t <= 0 ? i(r.message) : i();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
], V = {
|
|
53
|
+
percentageValidation: d,
|
|
54
|
+
required: o,
|
|
55
|
+
maxValidation: u,
|
|
56
|
+
passwordValidation: m,
|
|
57
|
+
nicValidation: l,
|
|
58
|
+
phoneValidation: g,
|
|
59
|
+
positiveNumberValidation: p
|
|
60
|
+
};
|
|
61
|
+
export {
|
|
62
|
+
V as default
|
|
63
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./DateUtil.cjs.js"),e=require("./NumberUtil.cjs.js"),i=require("./ImageUtil.cjs.js"),l=require("./ValidationUtil.cjs.js");exports.DateUtil=t;exports.NumberUtil=e.default;exports.ImageUtil=i;exports.ValidationUtil=l;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as e } from "./DateUtil.es.js";
|
|
2
|
+
import { default as o } from "./NumberUtil.es.js";
|
|
3
|
+
import { default as f } from "./ImageUtil.es.js";
|
|
4
|
+
import { default as m } from "./ValidationUtil.es.js";
|
|
5
|
+
export {
|
|
6
|
+
e as DateUtil,
|
|
7
|
+
f as ImageUtil,
|
|
8
|
+
o as NumberUtil,
|
|
9
|
+
m as ValidationUtil
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kingteza/crud-component",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.2",
|
|
5
5
|
"description": "React CRUD component library with Ant Design",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"react",
|
|
@@ -19,17 +19,9 @@
|
|
|
19
19
|
"url": "https://github.com/kingteza/crud-component"
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"/crud/",
|
|
26
|
-
"/common/",
|
|
27
|
-
"/types/",
|
|
28
|
-
"/icons/",
|
|
29
|
-
"/hooks/",
|
|
30
|
-
"/util/",
|
|
31
|
-
"/locale/",
|
|
32
|
-
"/README.md"
|
|
22
|
+
"dist/",
|
|
23
|
+
"README.md",
|
|
24
|
+
"package.json"
|
|
33
25
|
],
|
|
34
26
|
"type": "module",
|
|
35
27
|
"sideEffects": false,
|
package/release.config.cjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
branches: ['main'],
|
|
3
|
-
plugins: [
|
|
4
|
-
'@semantic-release/commit-analyzer',
|
|
5
|
-
'@semantic-release/release-notes-generator',
|
|
6
|
-
[
|
|
7
|
-
'@semantic-release/changelog',
|
|
8
|
-
{
|
|
9
|
-
changelogFile: 'CHANGELOG.md',
|
|
10
|
-
},
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
'@semantic-release/git',
|
|
14
|
-
{
|
|
15
|
-
assets: ['CHANGELOG.md', 'package.json'],
|
|
16
|
-
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
[
|
|
20
|
-
'@anolilab/semantic-release-pnpm',
|
|
21
|
-
{
|
|
22
|
-
pnpmPublish: true,
|
|
23
|
-
pnpmPublishArgs: ['--access', 'public'],
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
],
|
|
27
|
-
};
|