@kingteza/crud-component 1.2.1 → 1.2.3
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/App.d.ts +151 -0
- package/dist/Play.d.ts +2 -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/main.d.ts +0 -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/dist/vite.svg +1 -0
- package/package.json +14 -22
- package/release.config.cjs +0 -27
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { ReloadOutlined as f } from "@ant-design/icons";
|
|
3
|
+
import { useTranslationLib as u } from "../../locale/index.es.js";
|
|
4
|
+
import a from "./Button.es.js";
|
|
5
|
+
const x = ({ disabled: t, block: e, className: n, type: i = "primary", onClick: r, title: m, to: s }) => {
|
|
6
|
+
const { t: p } = u();
|
|
7
|
+
return /* @__PURE__ */ o(
|
|
8
|
+
a,
|
|
9
|
+
{
|
|
10
|
+
type: i,
|
|
11
|
+
disabled: t,
|
|
12
|
+
className: n,
|
|
13
|
+
to: s,
|
|
14
|
+
block: e,
|
|
15
|
+
onClick: r && (() => r(!0)),
|
|
16
|
+
icon: /* @__PURE__ */ o(f, {}),
|
|
17
|
+
children: m ?? p("str.refresh")
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
x as RefreshButton
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),p=require("@ant-design/icons"),g=require("antd"),n=require("react"),U=require("../../locale/index.cjs.js"),q=require("./Button.cjs.js");function m({shouldConfirm:C=!0,block:i,value:s,loading:u,onClick:c,text:a,disabled:l,type:d="link",hidden:j}){const{t}=U.useTranslationLib(),o=n.useMemo(()=>a??t("str.unhide"),[a,t]),[f,r]=n.useState(!1);n.useEffect(()=>{r(u??!1)},[u]);const x=n.useCallback(async()=>{try{r(!0),await c(s)}finally{r(!1)}},[c,s]);return C?e.jsx(g.Popconfirm,{title:t("qus.doYouWantToHide"),okText:o.toUpperCase(),cancelText:t("str.no").toUpperCase(),onConfirm:x,children:e.jsx(q,{tooltip:o,icon:e.jsx(p.UpCircleOutlined,{}),disabled:l,loading:f,type:d,danger:!0,hidden:j,block:i})}):e.jsx(q,{tooltip:o,icon:e.jsx(p.UpCircleOutlined,{}),disabled:l,loading:f,type:d,danger:!0,block:i,onClick:x})}module.exports=m;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ButtonType } from 'antd/es/button';
|
|
2
|
+
interface Props<T> {
|
|
3
|
+
value: T;
|
|
4
|
+
onClick: (value: T) => Promise<void>;
|
|
5
|
+
text?: string;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
type?: ButtonType;
|
|
9
|
+
block?: boolean;
|
|
10
|
+
shouldConfirm?: boolean;
|
|
11
|
+
hidden?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare function UnHideButton<T>({ shouldConfirm, block, value, loading, onClick, text, disabled, type, hidden }: Props<T>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default UnHideButton;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { UpCircleOutlined as p } from "@ant-design/icons";
|
|
3
|
+
import { Popconfirm as x } from "antd";
|
|
4
|
+
import { useMemo as T, useState as U, useEffect as k, useCallback as _ } from "react";
|
|
5
|
+
import { useTranslationLib as h } from "../../locale/index.es.js";
|
|
6
|
+
import d from "./Button.es.js";
|
|
7
|
+
function E({
|
|
8
|
+
shouldConfirm: C = !0,
|
|
9
|
+
block: r,
|
|
10
|
+
value: i,
|
|
11
|
+
loading: a,
|
|
12
|
+
onClick: s,
|
|
13
|
+
text: l,
|
|
14
|
+
disabled: u,
|
|
15
|
+
type: f = "link",
|
|
16
|
+
hidden: g
|
|
17
|
+
}) {
|
|
18
|
+
const { t: o } = h(), n = T(() => l ?? o("str.unhide"), [l, o]), [m, e] = U(!1);
|
|
19
|
+
k(() => {
|
|
20
|
+
e(a ?? !1);
|
|
21
|
+
}, [a]);
|
|
22
|
+
const c = _(
|
|
23
|
+
async () => {
|
|
24
|
+
try {
|
|
25
|
+
e(!0), await s(i);
|
|
26
|
+
} finally {
|
|
27
|
+
e(!1);
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
[s, i]
|
|
31
|
+
);
|
|
32
|
+
return C ? /* @__PURE__ */ t(
|
|
33
|
+
x,
|
|
34
|
+
{
|
|
35
|
+
title: o("qus.doYouWantToHide"),
|
|
36
|
+
okText: n.toUpperCase(),
|
|
37
|
+
cancelText: o("str.no").toUpperCase(),
|
|
38
|
+
onConfirm: c,
|
|
39
|
+
children: /* @__PURE__ */ t(
|
|
40
|
+
d,
|
|
41
|
+
{
|
|
42
|
+
tooltip: n,
|
|
43
|
+
icon: /* @__PURE__ */ t(p, {}),
|
|
44
|
+
disabled: u,
|
|
45
|
+
loading: m,
|
|
46
|
+
type: f,
|
|
47
|
+
danger: !0,
|
|
48
|
+
hidden: g,
|
|
49
|
+
block: r
|
|
50
|
+
}
|
|
51
|
+
)
|
|
52
|
+
}
|
|
53
|
+
) : /* @__PURE__ */ t(
|
|
54
|
+
d,
|
|
55
|
+
{
|
|
56
|
+
tooltip: n,
|
|
57
|
+
icon: /* @__PURE__ */ t(p, {}),
|
|
58
|
+
disabled: u,
|
|
59
|
+
loading: m,
|
|
60
|
+
type: f,
|
|
61
|
+
danger: !0,
|
|
62
|
+
block: r,
|
|
63
|
+
onClick: c
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
export {
|
|
68
|
+
E as default
|
|
69
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),o=require("@ant-design/icons"),r=require("../../locale/index.cjs.js"),s=require("./Button.cjs.js");function u({value:e,onClick:n}){const{t:i}=r.useTranslationLib();return t.jsx(s,{tooltip:i("str.update"),type:"link",onClick:()=>n(e),icon:t.jsx(o.EditOutlined,{})})}module.exports=u;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { EditOutlined as r } from "@ant-design/icons";
|
|
3
|
+
import { useTranslationLib as e } from "../../locale/index.es.js";
|
|
4
|
+
import p from "./Button.es.js";
|
|
5
|
+
function f({ value: o, onClick: n }) {
|
|
6
|
+
const { t: i } = e();
|
|
7
|
+
return /* @__PURE__ */ t(
|
|
8
|
+
p,
|
|
9
|
+
{
|
|
10
|
+
tooltip: i("str.update"),
|
|
11
|
+
type: "link",
|
|
12
|
+
onClick: () => n(o),
|
|
13
|
+
icon: /* @__PURE__ */ t(r, {})
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
f as default
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),o=require("@ant-design/icons"),r=require("../../locale/index.cjs.js"),s=require("./Button.cjs.js");function u({value:e,onClick:n}){const{t:i}=r.useTranslationLib();return t.jsx(s,{type:"link",onClick:()=>n(e),icon:t.jsx(o.EyeOutlined,{}),tooltip:i("str.view")})}module.exports=u;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { EyeOutlined as r } from "@ant-design/icons";
|
|
3
|
+
import { useTranslationLib as e } from "../../locale/index.es.js";
|
|
4
|
+
import m from "./Button.es.js";
|
|
5
|
+
function s({ value: o, onClick: i }) {
|
|
6
|
+
const { t: n } = e();
|
|
7
|
+
return /* @__PURE__ */ t(
|
|
8
|
+
m,
|
|
9
|
+
{
|
|
10
|
+
type: "link",
|
|
11
|
+
onClick: () => i(o),
|
|
12
|
+
icon: /* @__PURE__ */ t(r, {}),
|
|
13
|
+
tooltip: n("str.view")
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
s as default
|
|
19
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as ButtonComponent, ButtonComponentProps } from './Button';
|
|
2
|
+
import { default as CloneButtonTable } from './CloneButtonTable';
|
|
3
|
+
import { default as DeleteButtonTable } from './DeleteButtonTable';
|
|
4
|
+
import { ExportButton } from './ExportButton';
|
|
5
|
+
import { default as HideButtonTable } from './HideButtonTable';
|
|
6
|
+
import { ImportButton } from './ImportButton';
|
|
7
|
+
import { NewButton } from './NewButton';
|
|
8
|
+
import { PrintButton } from './PrintButton';
|
|
9
|
+
import { RefreshButton } from './RefreshButton';
|
|
10
|
+
import { default as UnHideButton } from './UnHideButton';
|
|
11
|
+
import { default as UpdateButtonTable } from './UpdateButtonTable';
|
|
12
|
+
import { default as ViewButtonTable } from './ViewButtonTable';
|
|
13
|
+
export { ButtonComponent, CloneButtonTable, DeleteButtonTable, ExportButton, HideButtonTable, ImportButton, NewButton, PrintButton, RefreshButton, UnHideButton, UpdateButtonTable, ViewButtonTable, };
|
|
14
|
+
export type { ButtonComponentProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),s=require("antd"),m=s.Form.Item,x=({onChange:e,label:d,initialValue:c=!1,disabled:n,switch:t=!1,...h})=>r.jsxs(m,{...h,valuePropName:"checked",initialValue:c,label:t?d:void 0,children:[!!t&&r.jsx(s.Switch,{disabled:n,defaultChecked:c,onChange:e&&(o=>e(o))}),!t&&r.jsx(s.Checkbox,{disabled:n,defaultChecked:c,onChange:e&&(o=>e(o.target.checked)),children:d})]});module.exports=x;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormItemProps } from 'antd';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
interface Props extends FormItemProps {
|
|
4
|
+
onChange?: (evt: boolean) => void;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
switch?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const CheckBoxComponent: FC<Props>;
|
|
9
|
+
export default CheckBoxComponent;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsxs as h, jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { Form as k, Switch as s, Checkbox as p } from "antd";
|
|
3
|
+
const x = k.Item, C = ({
|
|
4
|
+
onChange: e,
|
|
5
|
+
label: t,
|
|
6
|
+
initialValue: o = !1,
|
|
7
|
+
disabled: m,
|
|
8
|
+
switch: r = !1,
|
|
9
|
+
...f
|
|
10
|
+
}) => /* @__PURE__ */ h(
|
|
11
|
+
x,
|
|
12
|
+
{
|
|
13
|
+
...f,
|
|
14
|
+
valuePropName: "checked",
|
|
15
|
+
initialValue: o,
|
|
16
|
+
label: r ? t : void 0,
|
|
17
|
+
children: [
|
|
18
|
+
!!r && /* @__PURE__ */ d(
|
|
19
|
+
s,
|
|
20
|
+
{
|
|
21
|
+
disabled: m,
|
|
22
|
+
defaultChecked: o,
|
|
23
|
+
onChange: e && ((c) => e(c))
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
!r && /* @__PURE__ */ d(
|
|
27
|
+
p,
|
|
28
|
+
{
|
|
29
|
+
disabled: m,
|
|
30
|
+
defaultChecked: o,
|
|
31
|
+
onChange: e && ((c) => e(c.target.checked)),
|
|
32
|
+
children: t
|
|
33
|
+
}
|
|
34
|
+
)
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
export {
|
|
39
|
+
C as default
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const u=require("react/jsx-runtime"),s=require("antd"),t=require("dayjs"),$=require("dayjs/plugin/advancedFormat"),C=require("dayjs/plugin/customParseFormat"),E=require("dayjs/plugin/localeData"),I=require("dayjs/plugin/weekday"),L=require("dayjs/plugin/weekOfYear"),N=require("dayjs/plugin/weekYear"),b=require("../../locale/index.cjs.js"),z=require("react");t.extend(C);t.extend($);t.extend(I);t.extend(E);t.extend(L);t.extend(N);const A=({type:B,required:q,label:o,rules:x=[],placeholder:a,disabledPastDays:c=!1,disableToday:i=!1,onEnter:G,disabled:f,nextFocus:H,onChange:r,range:m,showTime:k,disabledFutureDays:d,picker:l,defaultValue:y,value:O,format:j,autoComplete:J="off",enabledDates:K=[],renderExtraFooter:p,...w})=>{const{t:D}=b.useTranslationLib(),P=m?s.DatePicker.RangePicker:s.DatePicker,F=z.useCallback(e=>{if(!e)return!1;const n=t(),R=c&&e<n.startOf("day"),v=d&&e>n.endOf("day"),Y=i&&e<n.endOf("day")&&n.startOf("day")<e;return R||v||Y},[c,d,i]);return u.jsx(s.Form.Item,{...w,label:o,rules:[{required:q,message:`${o??a??""} ${D("err.validation.required")}`},...x],children:u.jsx(P,{renderExtraFooter:p,value:O,picker:l,defaultValue:y,format:j,onChange:e=>r==null?void 0:r(e),disabledDate:F,disabled:f,className:"w-100",placeholder:a,showTime:k})})};module.exports=A;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { FormItemProps } from 'antd/lib/form';
|
|
2
|
+
import { Dayjs } from 'dayjs';
|
|
3
|
+
import { default as React, FC } from 'react';
|
|
4
|
+
export type DateRange = [Dayjs | null, Dayjs | null];
|
|
5
|
+
export interface DatePickerComponentProps extends FormItemProps<any> {
|
|
6
|
+
type?: any;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
onEnter?: React.KeyboardEventHandler<HTMLInputElement>;
|
|
9
|
+
nextFocus?: string;
|
|
10
|
+
disableToday?: boolean;
|
|
11
|
+
autoComplete?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
enabledDates?: Date[];
|
|
14
|
+
disabledPastDays?: boolean;
|
|
15
|
+
disabledFutureDays?: boolean;
|
|
16
|
+
renderExtraFooter?: () => React.ReactElement;
|
|
17
|
+
}
|
|
18
|
+
export interface DateRangePickerProps extends DatePickerComponentProps {
|
|
19
|
+
onChange?: (date: DateRange) => void;
|
|
20
|
+
range: true;
|
|
21
|
+
defaultValue?: DateRange | boolean;
|
|
22
|
+
value?: DateRange;
|
|
23
|
+
format?: string;
|
|
24
|
+
picker?: string;
|
|
25
|
+
showTime?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface DatePickerProps extends DatePickerComponentProps {
|
|
28
|
+
onChange?: (date: Dayjs | null) => void;
|
|
29
|
+
defaultValue?: Dayjs;
|
|
30
|
+
value?: Dayjs;
|
|
31
|
+
range?: false;
|
|
32
|
+
format?: string;
|
|
33
|
+
picker?: string;
|
|
34
|
+
showTime?: never;
|
|
35
|
+
}
|
|
36
|
+
declare const DatePickerComponent: FC<DateRangePickerProps | DatePickerProps>;
|
|
37
|
+
export default DatePickerComponent;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { DatePicker as d, Form as C } from "antd";
|
|
3
|
+
import t from "dayjs";
|
|
4
|
+
import E from "dayjs/plugin/advancedFormat";
|
|
5
|
+
import I from "dayjs/plugin/customParseFormat";
|
|
6
|
+
import L from "dayjs/plugin/localeData";
|
|
7
|
+
import N from "dayjs/plugin/weekday";
|
|
8
|
+
import R from "dayjs/plugin/weekOfYear";
|
|
9
|
+
import b from "dayjs/plugin/weekYear";
|
|
10
|
+
import { useTranslationLib as z } from "../../locale/index.es.js";
|
|
11
|
+
import { useCallback as A } from "react";
|
|
12
|
+
t.extend(I);
|
|
13
|
+
t.extend(E);
|
|
14
|
+
t.extend(N);
|
|
15
|
+
t.extend(L);
|
|
16
|
+
t.extend(R);
|
|
17
|
+
t.extend(b);
|
|
18
|
+
const h = ({
|
|
19
|
+
type: B,
|
|
20
|
+
required: c,
|
|
21
|
+
label: m,
|
|
22
|
+
rules: p = [],
|
|
23
|
+
placeholder: a,
|
|
24
|
+
disabledPastDays: n = !1,
|
|
25
|
+
disableToday: f = !1,
|
|
26
|
+
onEnter: G,
|
|
27
|
+
disabled: l,
|
|
28
|
+
nextFocus: H,
|
|
29
|
+
onChange: r,
|
|
30
|
+
range: x,
|
|
31
|
+
showTime: k,
|
|
32
|
+
disabledFutureDays: s,
|
|
33
|
+
picker: u,
|
|
34
|
+
defaultValue: y,
|
|
35
|
+
value: O,
|
|
36
|
+
format: w,
|
|
37
|
+
autoComplete: J = "off",
|
|
38
|
+
enabledDates: K = [],
|
|
39
|
+
renderExtraFooter: D,
|
|
40
|
+
...F
|
|
41
|
+
}) => {
|
|
42
|
+
const { t: P } = z(), j = x ? d.RangePicker : d, v = A(
|
|
43
|
+
(e) => {
|
|
44
|
+
if (!e)
|
|
45
|
+
return !1;
|
|
46
|
+
const o = t(), Y = n && e < o.startOf("day"), $ = s && e > o.endOf("day"), q = f && e < o.endOf("day") && o.startOf("day") < e;
|
|
47
|
+
return Y || $ || q;
|
|
48
|
+
},
|
|
49
|
+
[n, s, f]
|
|
50
|
+
// Dependencies for useCallback
|
|
51
|
+
);
|
|
52
|
+
return /* @__PURE__ */ i(
|
|
53
|
+
C.Item,
|
|
54
|
+
{
|
|
55
|
+
...F,
|
|
56
|
+
label: m,
|
|
57
|
+
rules: [
|
|
58
|
+
{
|
|
59
|
+
required: c,
|
|
60
|
+
message: `${m ?? a ?? ""} ${P(
|
|
61
|
+
"err.validation.required"
|
|
62
|
+
)}`
|
|
63
|
+
},
|
|
64
|
+
...p
|
|
65
|
+
],
|
|
66
|
+
children: /* @__PURE__ */ i(
|
|
67
|
+
j,
|
|
68
|
+
{
|
|
69
|
+
renderExtraFooter: D,
|
|
70
|
+
value: O,
|
|
71
|
+
picker: u,
|
|
72
|
+
defaultValue: y,
|
|
73
|
+
format: w,
|
|
74
|
+
onChange: (e) => r == null ? void 0 : r(e),
|
|
75
|
+
disabledDate: v,
|
|
76
|
+
disabled: l,
|
|
77
|
+
className: "w-100",
|
|
78
|
+
placeholder: a,
|
|
79
|
+
showTime: k
|
|
80
|
+
}
|
|
81
|
+
)
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
};
|
|
85
|
+
export {
|
|
86
|
+
h as default
|
|
87
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),n=require("antd"),E=require("dayjs"),f=require("react"),H=require("../../locale/index.cjs.js"),I=({type:L,required:q,label:i,rules:x=[],placeholder:o,disabledPast:r=!1,disableCurrent:m=!1,onEnter:M,disabled:k,use12Hours:T,nextFocus:N,onChange:t,range:c,disabledFuture:u,defaultValue:j,value:p,format:d,autoComplete:S="off",renderExtraFooter:y,...P})=>{const{t:R}=H.useTranslationLib(),a=f.useMemo(()=>o||(c?["From","To"]:"Select time"),[o,c]);console.log(a);const F=c?n.TimePicker.RangePicker:n.TimePicker,$=f.useCallback(e=>{if(!e)return!1;const s=E(),v=r&&e<s,w=u&&e>s,D=m&&e<s&&s<e;return v||w||D},[m,u,r]);return l.jsx(n.Form.Item,{...P,label:i,rules:[{required:q,message:`${i??o??""} ${R("err.validation.required")}`},...x],children:l.jsx(F,{use12Hours:T,renderExtraFooter:y,value:p,defaultValue:j,format:d,onChange:e=>t==null?void 0:t(e),disabledDate:$,disabled:k,className:"w-100",placeholder:a})})};module.exports=I;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { FormItemProps } from 'antd/lib/form';
|
|
2
|
+
import { Dayjs } from 'dayjs';
|
|
3
|
+
import { default as React, FC } from 'react';
|
|
4
|
+
export type DateRange = [Dayjs | null, Dayjs | null];
|
|
5
|
+
export interface TimePickerComponentProps extends FormItemProps<any> {
|
|
6
|
+
type?: any;
|
|
7
|
+
onEnter?: React.KeyboardEventHandler<HTMLInputElement>;
|
|
8
|
+
nextFocus?: string;
|
|
9
|
+
disableCurrent?: boolean;
|
|
10
|
+
use12Hours?: boolean;
|
|
11
|
+
autoComplete?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
disabledPast?: boolean;
|
|
14
|
+
disabledFuture?: boolean;
|
|
15
|
+
renderExtraFooter?: () => React.ReactElement;
|
|
16
|
+
}
|
|
17
|
+
export interface TimeRangePickerProps extends TimePickerComponentProps {
|
|
18
|
+
onChange?: (date: DateRange) => void;
|
|
19
|
+
range: true;
|
|
20
|
+
defaultValue?: DateRange;
|
|
21
|
+
value?: DateRange;
|
|
22
|
+
format?: string;
|
|
23
|
+
placeholder?: [string, string];
|
|
24
|
+
}
|
|
25
|
+
export interface TimePickerProps extends TimePickerComponentProps {
|
|
26
|
+
onChange?: (date: Dayjs | null) => void;
|
|
27
|
+
range: false;
|
|
28
|
+
defaultValue?: Dayjs;
|
|
29
|
+
value?: Dayjs;
|
|
30
|
+
format?: string;
|
|
31
|
+
placeholder?: string;
|
|
32
|
+
}
|
|
33
|
+
declare const TimePickerComponent: FC<TimeRangePickerProps | TimePickerProps>;
|
|
34
|
+
export default TimePickerComponent;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { TimePicker as l, Form as E } from "antd";
|
|
3
|
+
import H from "dayjs";
|
|
4
|
+
import { useMemo as I, useCallback as L } from "react";
|
|
5
|
+
import { useTranslationLib as M } from "../../locale/index.es.js";
|
|
6
|
+
const K = ({
|
|
7
|
+
type: N,
|
|
8
|
+
required: p,
|
|
9
|
+
label: c,
|
|
10
|
+
rules: k = [],
|
|
11
|
+
placeholder: t,
|
|
12
|
+
disabledPast: i = !1,
|
|
13
|
+
disableCurrent: r = !1,
|
|
14
|
+
onEnter: R,
|
|
15
|
+
disabled: u,
|
|
16
|
+
use12Hours: T,
|
|
17
|
+
nextFocus: S,
|
|
18
|
+
onChange: s,
|
|
19
|
+
range: m,
|
|
20
|
+
disabledFuture: n,
|
|
21
|
+
defaultValue: x,
|
|
22
|
+
value: y,
|
|
23
|
+
format: d,
|
|
24
|
+
autoComplete: z = "off",
|
|
25
|
+
renderExtraFooter: j,
|
|
26
|
+
...F
|
|
27
|
+
}) => {
|
|
28
|
+
const { t: P } = M(), f = I(
|
|
29
|
+
() => t || (m ? ["From", "To"] : "Select time"),
|
|
30
|
+
[t, m]
|
|
31
|
+
);
|
|
32
|
+
console.log(f);
|
|
33
|
+
const $ = m ? l.RangePicker : l, q = L(
|
|
34
|
+
(o) => {
|
|
35
|
+
if (!o)
|
|
36
|
+
return !1;
|
|
37
|
+
const e = H(), v = i && o < e, w = n && o > e, D = r && o < e && e < o;
|
|
38
|
+
return v || w || D;
|
|
39
|
+
},
|
|
40
|
+
[r, n, i]
|
|
41
|
+
// Dependencies for useCallback
|
|
42
|
+
);
|
|
43
|
+
return /* @__PURE__ */ a(
|
|
44
|
+
E.Item,
|
|
45
|
+
{
|
|
46
|
+
...F,
|
|
47
|
+
label: c,
|
|
48
|
+
rules: [
|
|
49
|
+
{
|
|
50
|
+
required: p,
|
|
51
|
+
message: `${c ?? t ?? ""} ${P(
|
|
52
|
+
"err.validation.required"
|
|
53
|
+
)}`
|
|
54
|
+
},
|
|
55
|
+
...k
|
|
56
|
+
],
|
|
57
|
+
children: /* @__PURE__ */ a(
|
|
58
|
+
$,
|
|
59
|
+
{
|
|
60
|
+
use12Hours: T,
|
|
61
|
+
renderExtraFooter: j,
|
|
62
|
+
value: y,
|
|
63
|
+
defaultValue: x,
|
|
64
|
+
format: d,
|
|
65
|
+
onChange: (o) => s == null ? void 0 : s(o),
|
|
66
|
+
disabledDate: q,
|
|
67
|
+
disabled: u,
|
|
68
|
+
className: "w-100",
|
|
69
|
+
placeholder: f
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
};
|
|
75
|
+
export {
|
|
76
|
+
K as default
|
|
77
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),o=require("antd"),u=require("react"),a=require("../../util/NumberUtil.cjs.js"),l=o.Descriptions.Item,m=({list:r,keepEmptyValues:s,...i})=>{const c=u.useMemo(()=>{const t=s?r:r.filter(e=>e&&!!e.value);return t.forEach(e=>{!e.noFormatting&&!isNaN(e.value)&&(e.value=a.default.toMoney(e.value))}),t},[s,r]);return n.jsx(o.Descriptions,{...i,children:c.map(({label:t,value:e})=>n.jsx(l,{label:t,children:e},t))})};module.exports=m;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DescriptionsProps } from 'antd/lib/descriptions';
|
|
2
|
+
import { default as React, FC } from 'react';
|
|
3
|
+
export type DescPropsNullable = {
|
|
4
|
+
label?: string | React.ReactElement;
|
|
5
|
+
value?: any;
|
|
6
|
+
noFormatting?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type DescProps = {
|
|
9
|
+
label?: string;
|
|
10
|
+
value: any;
|
|
11
|
+
noFormatting?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export interface DescListProps extends DescriptionsProps {
|
|
14
|
+
list: (DescPropsNullable | null | undefined | boolean)[];
|
|
15
|
+
keepEmptyValues?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const DescList: FC<DescListProps>;
|
|
18
|
+
export default DescList;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { Descriptions as n } from "antd";
|
|
3
|
+
import { useMemo as c } from "react";
|
|
4
|
+
import a from "../../util/NumberUtil.es.js";
|
|
5
|
+
const u = n.Item, h = ({ list: t, keepEmptyValues: e, ...m }) => {
|
|
6
|
+
const s = c(() => {
|
|
7
|
+
const r = e ? t : t.filter((o) => o && !!o.value);
|
|
8
|
+
return r.forEach((o) => {
|
|
9
|
+
!o.noFormatting && !isNaN(o.value) && (o.value = a.toMoney(o.value));
|
|
10
|
+
}), r;
|
|
11
|
+
}, [e, t]);
|
|
12
|
+
return /* @__PURE__ */ i(n, { ...m, children: s.map(({ label: r, value: o }) => /* @__PURE__ */ i(u, { label: r, children: o }, r)) });
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
h as default
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),s=require("@ant-design/icons"),o=require("@iconify/react"),u=require("react"),i=e=>t=>n.jsx(o.Icon,{...t,icon:e}),I=({icon:e,component:t,...r})=>{const c=u.useMemo(()=>t??i(e),[e,t]);return n.jsx(s,{...r,component:c})};module.exports=I;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
|
|
2
|
+
import { IconifyIcon } from '@iconify/react';
|
|
3
|
+
import { FC } from 'react';
|
|
4
|
+
declare const KIcon: FC<Partial<CustomIconComponentProps> & ({
|
|
5
|
+
icon: IconifyIcon | string;
|
|
6
|
+
} | {
|
|
7
|
+
component: any;
|
|
8
|
+
})>;
|
|
9
|
+
export default KIcon;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import c from "@ant-design/icons";
|
|
3
|
+
import { Icon as e } from "@iconify/react";
|
|
4
|
+
import { useMemo as s } from "react";
|
|
5
|
+
const f = (o) => (r) => /* @__PURE__ */ t(e, { ...r, icon: o }), u = ({ icon: o, component: r, ...n }) => {
|
|
6
|
+
const m = s(() => r ?? f(o), [o, r]);
|
|
7
|
+
return /* @__PURE__ */ t(c, { ...n, component: m });
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
u as default
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./show-more/index.cjs.js"),t=require("./text/index.cjs.js"),o=require("./rich/index.cjs.js"),r=require("./appearance/Hider.cjs.js"),n=require("./button/Button.cjs.js"),i=require("./button/CloneButtonTable.cjs.js"),u=require("./button/DeleteButtonTable.cjs.js"),c=require("./button/HideButtonTable.cjs.js"),s=require("./button/UnHideButton.cjs.js"),a=require("./button/UpdateButtonTable.cjs.js"),l=require("./button/ViewButtonTable.cjs.js"),d=require("./check-box/CheckBox.cjs.js"),q=require("./date-picker/DatePicker.cjs.js"),p=require("./date-picker/TimePicker.cjs.js"),T=require("./description/DescList.cjs.js"),B=require("./layout/VerticalSpace.cjs.js"),m=require("./loading/LoadingIndicator.cjs.js"),b=require("./picker/ImagePicker.cjs.js"),x=require("./select/SelectComponent.cjs.js"),C=require("./select/CustomSelectOption.cjs.js"),R=require("./table/table.cjs.js"),S=require("./tag/StatusTag.cjs.js"),h=require("./text-field/NumberField.cjs.js"),w=require("./text-field/PhoneNumberField.cjs.js"),P=require("./text-field/TextField.cjs.js"),F=require("./text-field/TextArea.cjs.js"),I=require("./tooltip/TooltipComponent.cjs.js"),V=require("./wizard/WizardResult.cjs.js"),g=require("./wizard/WizardViewForm.cjs.js"),k=require("./button/ExportButton.cjs.js"),f=require("./button/ImportButton.cjs.js"),W=require("./button/NewButton.cjs.js"),D=require("./button/PrintButton.cjs.js"),H=require("./button/RefreshButton.cjs.js"),N=require("./radio/RadioGroupComponent.cjs.js"),E=require("./report/SelectFieldInReport.cjs.js"),z=require("./tab/TabViewWithRoute.cjs.js"),L=require("./text/title/index.cjs.js");exports.ShowMore=e.ShowMore;exports.Text=t.Text;exports.RichTextEditor=o.RichTextEditor;exports.Hider=r;exports.ButtonComponent=n;exports.CloneButtonTable=i;exports.DeleteButtonTable=u;exports.HideButtonTable=c;exports.UnHideButton=s;exports.UpdateButtonTable=a;exports.ViewButtonTable=l;exports.CheckBoxComponent=d;exports.DatePickerComponent=q;exports.TimePickerComponent=p;exports.DescList=T;exports.VerticalSpace=B;exports.LoadingIndicator=m;exports.ImagePicker=b.default;exports.SelectComponent=x;exports.CustomSelectOption=C;exports.TableComponent=R;exports.StatusTag=S;exports.NumberTextField=h;exports.PhoneField=w;exports.TextField=P.default;exports.TextAreaComponent=F.default;exports.TooltipComponent=I;exports.WizardResult=V;exports.WizardViewForm=g;exports.ExportButton=k.ExportButton;exports.ImportButton=f.ImportButton;exports.NewButton=W.NewButton;exports.PrintButton=D.PrintButton;exports.RefreshButton=H.RefreshButton;exports.RadioGroupComponent=N;exports.SelectFieldInReport=E.SelectFieldInReport;exports.TabViewWithRoute=z.TabViewWithRoute;exports.Title=L.Title;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export * from './appearance';
|
|
2
|
+
export * from './button';
|
|
3
|
+
export * from './check-box';
|
|
4
|
+
export * from './date-picker';
|
|
5
|
+
export * from './description';
|
|
6
|
+
export * from './layout';
|
|
7
|
+
export * from './loading';
|
|
8
|
+
export * from './picker';
|
|
9
|
+
export * from './radio';
|
|
10
|
+
export * from './report';
|
|
11
|
+
export * from './select';
|
|
12
|
+
export * from './show-more';
|
|
13
|
+
export * from './tab';
|
|
14
|
+
export * from './table';
|
|
15
|
+
export * from './tag';
|
|
16
|
+
export * from './text';
|
|
17
|
+
export * from './text-field';
|
|
18
|
+
export * from './tooltip';
|
|
19
|
+
export * from './wizard';
|
|
20
|
+
export * from './rich';
|