@erpsquad/common 1.8.55 → 1.8.57
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/_virtual/index/index.esm10.js +4 -2
- package/dist/_virtual/index/index.esm10.js.map +1 -1
- package/dist/_virtual/index/index.esm11.js +2 -4
- package/dist/_virtual/index/index.esm11.js.map +1 -1
- package/dist/_virtual/index/index10.js +1 -1
- package/dist/_virtual/index/index11.js +1 -1
- package/dist/api-client/api.workflow-automation/api/index.esm.js +29 -0
- package/dist/api-client/api.workflow-automation/api/index.esm.js.map +1 -0
- package/dist/api-client/api.workflow-automation/api/index.js +2 -0
- package/dist/api-client/api.workflow-automation/api/index.js.map +1 -0
- package/dist/api-client/api.workflow-automation/api.d.ts +42 -0
- package/dist/components/filter/filter/index.esm.js +1 -1
- package/dist/components/filter/filter/index.esm.js.map +1 -1
- package/dist/components/filter/filter/index.js +1 -1
- package/dist/components/filter/filter/index.js.map +1 -1
- package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.esm.js +1 -1
- package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.js +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.esm.js +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js +1 -1
- package/dist/src/utils/api.d.ts +7 -0
- package/dist/src/utils/common.d.ts +25 -3
- package/dist/style.css +2 -2
- package/dist/utils/api/index.esm.js +8 -0
- package/dist/utils/api/index.esm.js.map +1 -1
- package/dist/utils/api/index.js +1 -1
- package/dist/utils/api/index.js.map +1 -1
- package/dist/utils/common/index.esm.js +29 -9
- package/dist/utils/common/index.esm.js.map +1 -1
- package/dist/utils/common/index.js +1 -1
- package/dist/utils/common/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -74,9 +74,31 @@ export declare const InvoiceStatus: {
|
|
|
74
74
|
Approved: string;
|
|
75
75
|
Rejected: string;
|
|
76
76
|
};
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
/**
|
|
78
|
+
* Get the default currency symbol from localStorage user data.
|
|
79
|
+
* This is a utility function (not a hook) so it can be safely called anywhere.
|
|
80
|
+
* @param currencyData - Optional pre-fetched currency data to avoid localStorage lookup
|
|
81
|
+
*/
|
|
82
|
+
export declare const defaultCurrencySymbol: (currencyData?: {
|
|
83
|
+
symbol?: string;
|
|
84
|
+
}) => any;
|
|
85
|
+
/**
|
|
86
|
+
* Get the default currency format from localStorage user data.
|
|
87
|
+
* This is a utility function (not a hook) so it can be safely called anywhere.
|
|
88
|
+
* @param currencyData - Optional pre-fetched currency data to avoid localStorage lookup
|
|
89
|
+
*/
|
|
90
|
+
export declare const defaultCurrencyFormat: (currencyData?: {
|
|
91
|
+
number_format?: string;
|
|
92
|
+
}) => any;
|
|
93
|
+
/**
|
|
94
|
+
* Get the default company from localStorage user data.
|
|
95
|
+
* This is a utility function (not a hook) so it can be safely called anywhere.
|
|
96
|
+
* @param userData - Optional pre-fetched user data to avoid localStorage lookup
|
|
97
|
+
*/
|
|
98
|
+
export declare const defaultCompany: (userData?: {
|
|
99
|
+
accessCompanies?: number[];
|
|
100
|
+
company_id?: number | null;
|
|
101
|
+
}) => number;
|
|
80
102
|
export declare function omitDataKeys<T>(obj: T, extra?: Array<string>): T;
|
|
81
103
|
export interface DataObject {
|
|
82
104
|
[key: string]: any;
|