@kingteza/crud-component 1.0.38 → 1.0.40
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/crud/index.d.ts +1 -0
- package/index.cjs.js +1 -1
- package/index.es.js +30 -24
- package/locale/index.d.ts +4 -4
- package/package.json +1 -1
package/crud/index.d.ts
CHANGED
|
@@ -16,3 +16,4 @@ export type { FileCrudField as FileCrudFieldProps } from './FileCrudField';
|
|
|
16
16
|
export { default as CrudImportComponent } from './import/CrudImportComponent';
|
|
17
17
|
export type { CrudImportComponentProps, CrudImportProps, } from './import/CrudImportComponent';
|
|
18
18
|
export { default as CrudImportButton } from './import/CrudImportButton';
|
|
19
|
+
export * from './view';
|
package/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./locale/hooks/translation-constants.cjs.js"),u=require("./locale/index.cjs.js"),t=require("./crud/CrudComponent.cjs.js"),r=require("./crud/CrudField.cjs.js"),C=require("./crud/CrudFormWizard.cjs.js"),i=require("./crud/CrudReportComponent.cjs.js"),n=require("./crud/CrudSearchComponent.cjs.js"),a=require("./crud/import/CrudImportComponent.cjs.js"),s=require("./crud/import/CrudImportButton.cjs.js"),m=require("./crud/view/CrudViewer.cjs.js"),d=require("./crud/CrudForm.cjs.js"),e=require("./crud/ImageCrudField.cjs.js"),o=require("./crud/FileCrudField.cjs.js"),F=require("./crud/view/CrudDecListView.cjs.js"),p=require("./crud/view/CrudViewerUtil.cjs.js");exports.TRANSLATION_NAMESPACE=l.TRANSLATION_NAMESPACE;exports.setupI18n=u.setupI18n;exports.updateTranslations=u.updateTranslations;exports.CrudComponent=t;exports.ColorCrudFieldComponent=r.ColorCrudFieldComponent;exports.CrudField=r.default;exports.SelectCrudFieldComponent=r.SelectCrudFieldComponent;exports.CrudFormWizard=C;exports.CrudReportComponent=i;exports.CrudSearchComponent=n;exports.CrudImportComponent=a;exports.CrudImportButton=s;exports.CrudViewer=m;exports.CrudForm=d.CrudForm;exports.CrudFormFields=d.CrudFormFields;exports.FileDownloadProvider=e.FileDownloadProvider;exports.FileUploadProvider=e.FileUploadProvider;exports.ImageCellValue=e.ImageCellValue;exports.ImageCrudCellValue=e.ImageCrudCellValue;exports.ImageCrudField=e.default;exports.FileCellValue=o.FileCellValue;exports.FileCrudCellValue=o.FileCrudCellValue;exports.FileCrudField=o.default;exports.CrudDecListView=F.CrudDecListView;exports.getRendererValueCrudViewer=p.getRendererValueCrudViewer;
|
package/index.es.js
CHANGED
|
@@ -1,36 +1,42 @@
|
|
|
1
1
|
import { TRANSLATION_NAMESPACE as o } from "./locale/hooks/translation-constants.es.js";
|
|
2
|
-
import { setupI18n as d, updateTranslations as
|
|
3
|
-
import { default as
|
|
2
|
+
import { setupI18n as d, updateTranslations as l } from "./locale/index.es.js";
|
|
3
|
+
import { default as a } from "./crud/CrudComponent.es.js";
|
|
4
4
|
import { ColorCrudFieldComponent as m, default as p, SelectCrudFieldComponent as f } from "./crud/CrudField.es.js";
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
5
|
+
import { default as n } from "./crud/CrudFormWizard.es.js";
|
|
6
|
+
import { default as x } from "./crud/CrudReportComponent.es.js";
|
|
7
|
+
import { default as V } from "./crud/CrudSearchComponent.es.js";
|
|
8
|
+
import { default as g } from "./crud/import/CrudImportComponent.es.js";
|
|
9
|
+
import { default as A } from "./crud/import/CrudImportButton.es.js";
|
|
10
|
+
import { default as c } from "./crud/view/CrudViewer.es.js";
|
|
11
|
+
import { CrudForm as P, CrudFormFields as R } from "./crud/CrudForm.es.js";
|
|
12
|
+
import { FileDownloadProvider as v, FileUploadProvider as D, ImageCellValue as E, ImageCrudCellValue as L, default as h } from "./crud/ImageCrudField.es.js";
|
|
13
|
+
import { FileCellValue as B, FileCrudCellValue as M, default as O } from "./crud/FileCrudField.es.js";
|
|
14
|
+
import { CrudDecListView as W } from "./crud/view/CrudDecListView.es.js";
|
|
15
|
+
import { getRendererValueCrudViewer as b } from "./crud/view/CrudViewerUtil.es.js";
|
|
13
16
|
export {
|
|
14
17
|
m as ColorCrudFieldComponent,
|
|
15
|
-
|
|
18
|
+
a as CrudComponent,
|
|
19
|
+
W as CrudDecListView,
|
|
16
20
|
p as CrudField,
|
|
17
21
|
P as CrudForm,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
R as CrudFormFields,
|
|
23
|
+
n as CrudFormWizard,
|
|
24
|
+
A as CrudImportButton,
|
|
25
|
+
g as CrudImportComponent,
|
|
26
|
+
x as CrudReportComponent,
|
|
27
|
+
V as CrudSearchComponent,
|
|
28
|
+
c as CrudViewer,
|
|
24
29
|
B as FileCellValue,
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
M as FileCrudCellValue,
|
|
31
|
+
O as FileCrudField,
|
|
27
32
|
v as FileDownloadProvider,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
33
|
+
D as FileUploadProvider,
|
|
34
|
+
E as ImageCellValue,
|
|
35
|
+
L as ImageCrudCellValue,
|
|
36
|
+
h as ImageCrudField,
|
|
32
37
|
f as SelectCrudFieldComponent,
|
|
33
38
|
o as TRANSLATION_NAMESPACE,
|
|
39
|
+
b as getRendererValueCrudViewer,
|
|
34
40
|
d as setupI18n,
|
|
35
|
-
|
|
41
|
+
l as updateTranslations
|
|
36
42
|
};
|
package/locale/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TRANSLATION_NAMESPACE } from '../locale/hooks/translation-constants';
|
|
2
2
|
import { default as en } from './translations/en';
|
|
3
|
-
import {
|
|
3
|
+
import { i18n as i18nType } from 'i18next';
|
|
4
4
|
export declare const defaultTranslations: {
|
|
5
5
|
en: {
|
|
6
6
|
"crud-component": {
|
|
@@ -68,7 +68,7 @@ export interface SetupI18nOptions {
|
|
|
68
68
|
[TRANSLATION_NAMESPACE]: LibTranslations;
|
|
69
69
|
}>;
|
|
70
70
|
language?: string;
|
|
71
|
-
i18nInstance?:
|
|
71
|
+
i18nInstance?: i18nType;
|
|
72
72
|
}
|
|
73
|
-
export declare const setupI18n: (options?: SetupI18nOptions) =>
|
|
74
|
-
export declare const updateTranslations: (language: string, translations: Record<string, any>, i18nInstance?:
|
|
73
|
+
export declare const setupI18n: (options?: SetupI18nOptions) => i18nType;
|
|
74
|
+
export declare const updateTranslations: (language: string, translations: Record<string, any>, i18nInstance?: i18nType) => void;
|