@kcndigitals/lib 1.0.7 → 1.0.8

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 CHANGED
@@ -119,6 +119,12 @@ export declare const getFormattedTime: () => string;
119
119
 
120
120
  export declare const getInputValue: (id: string, type: InputValueType) => string | number | boolean;
121
121
 
122
+ /**
123
+ * Get LoginTag from sessionStorage
124
+ * Returns null if not set (safe)
125
+ */
126
+ export declare const getLoginTag: () => LoginTag | null;
127
+
122
128
  export declare const getMonthName: (month: number) => string;
123
129
 
124
130
  export declare const getRequestOptions: () => {
@@ -308,6 +314,12 @@ declare interface RePieChartProps<T extends ChartDataInput> {
308
314
  valueHeading: string;
309
315
  }
310
316
 
317
+ /**
318
+ * Strict getter – throws if LoginTag is missing
319
+ * Use only when LoginTag must exist
320
+ */
321
+ export declare const requireLoginTag: () => LoginTag;
322
+
311
323
  export declare function ReSelect<T>({ id, value, options, getOptionLabel, getOptionValue, onChange, width, disabled, sx, ...rest }: ReSelectProps<T>): JSX_2.Element;
312
324
 
313
325
  declare interface ReSelectProps<T> extends Omit<SelectProps, 'value' | 'onChange' | 'children'> {
@@ -339,7 +351,10 @@ export declare const setFocus: (controlId: string) => void;
339
351
 
340
352
  export declare const setInputValue: (id: string, value: number | string | Date) => void;
341
353
 
342
- export declare const setLoginTag: (tag: string) => void;
354
+ /**
355
+ * Set LoginTag in sessionStorage
356
+ */
357
+ export declare const setLoginTag: (tag: LoginTag) => void;
343
358
 
344
359
  export declare const SignupForm: default_2.FC;
345
360
 
@@ -371,4 +386,6 @@ export declare function useMessageHandler(): {
371
386
  handleCloseMessageBox: () => void;
372
387
  };
373
388
 
389
+ export declare const VERIFY_OTP = "/verifyOTP";
390
+
374
391
  export { }