@asaleh37/ui-base 25.8.10 → 25.8.23-1
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/index.d.ts +5 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/components/App.tsx +12 -12
- package/src/components/BaseApp.tsx +34 -12
- package/src/components/common/Login.tsx +4 -1
- package/src/components/common/NoLicenseComponent.tsx +79 -0
- package/src/components/templates/DataEntryTemplates/DataEntryTypes.ts +1 -0
- package/src/components/templates/DataEntryTemplates/DataEntryUtil.ts +30 -0
- package/src/hooks/useAxios.tsx +13 -0
- package/src/layout/Layout.tsx +4 -6
- package/src/locales/english/adminLocalsEn.json +6 -6
- package/src/locales/english/devLocalsEn.json +38 -38
- package/src/main.tsx +1 -1
- package/src/navigationItems/Administration/adminNavigationItems.tsx +2 -2
- package/src/redux/features/administration/AdministrationStoresMetaData.ts +3 -3
- package/src/redux/features/common/AppInfoSlice.ts +7 -0
- package/tsconfig.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -93,6 +93,10 @@ type AppInfo = {
|
|
|
93
93
|
secondaryColor: string;
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
|
+
checkLicense?: {
|
|
97
|
+
endpoint: string;
|
|
98
|
+
interval: number;
|
|
99
|
+
};
|
|
96
100
|
};
|
|
97
101
|
|
|
98
102
|
declare const BaseApp: React.FC<AppInfo>;
|
|
@@ -330,6 +334,7 @@ type RecordFieldProps = {
|
|
|
330
334
|
fieldLabel: string;
|
|
331
335
|
fieldType: "text" | "number" | "date" | "datetime" | "combobox" | "checkbox" | "html" | "lookup" | "custom";
|
|
332
336
|
lookupType?: string;
|
|
337
|
+
comboboxValueDataType?: "number" | "string";
|
|
333
338
|
required?: boolean;
|
|
334
339
|
disabled?: boolean;
|
|
335
340
|
hidden?: boolean;
|