@asaleh37/ui-base 1.2.8 → 1.2.9
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/package.json
CHANGED
|
@@ -12,6 +12,7 @@ export { default as DatetimeField } from "./DataEntryTemplates/TemplateDataForm/
|
|
|
12
12
|
export { default as TemplateTextField } from "./DataEntryTemplates/TemplateDataForm/FormFields/TemplateTextField";
|
|
13
13
|
export { default as TemplateForm } from "./DataEntryTemplates/TemplateDataForm/TemplateForm";
|
|
14
14
|
export { default as TemplateGrid } from "./DataEntryTemplates/TemplateDataGrid/TemplateGrid";
|
|
15
|
+
export { default as HtmlEditor } from "./DataEntryTemplates/TemplateDataForm/FormFields/HtmlEditor";
|
|
15
16
|
|
|
16
17
|
export type * from "./DataEntryTemplates/DataEntryTypes";
|
|
17
18
|
export type { TransferListProps } from "./TransferList";
|
|
@@ -7,7 +7,6 @@ export type CommonStores = {
|
|
|
7
7
|
export interface CommonStoresInterface {
|
|
8
8
|
stores: { [key: string]: StoreMetaData };
|
|
9
9
|
storeKeys: Array<String>;
|
|
10
|
-
isAutoLoadLoaded: boolean;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
interface setStoreDataProps {
|
|
@@ -25,7 +24,6 @@ export interface StoreMetaData {
|
|
|
25
24
|
export const commonStoresInitialState: CommonStoresInterface = {
|
|
26
25
|
stores: {},
|
|
27
26
|
storeKeys: [],
|
|
28
|
-
isAutoLoadLoaded: false,
|
|
29
27
|
};
|
|
30
28
|
|
|
31
29
|
const commonStoreSlice = createSlice({
|
|
@@ -39,12 +37,8 @@ const commonStoreSlice = createSlice({
|
|
|
39
37
|
setStoreData: (state, action: PayloadAction<setStoreDataProps>) => {
|
|
40
38
|
state.stores[action.payload.storeKey].data = action.payload.data;
|
|
41
39
|
},
|
|
42
|
-
setAutoLoadLoaded: () => {
|
|
43
|
-
state.isAutoLoadLoaded = true;
|
|
44
|
-
},
|
|
45
40
|
},
|
|
46
41
|
});
|
|
47
42
|
|
|
48
|
-
export const { setStoreData, setStoresMetaData
|
|
49
|
-
commonStoreSlice.actions;
|
|
43
|
+
export const { setStoreData, setStoresMetaData } = commonStoreSlice.actions;
|
|
50
44
|
export default commonStoreSlice.reducer;
|