@sme.up/ketchup2 2.0.0-SNAPSHOT-20250620145158 → 2.0.0-SNAPSHOT-20250620151038

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.
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 24 24"><path d="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M16.2,16.2L11,13V7H12.5V12.2L17,14.9L16.2,16.2Z" /></svg>
@@ -1 +1 @@
1
- {"version":3,"file":"cell.d.ts","sourceRoot":"","sources":["../../../src/basic-components/cell/cell.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAKL,SAAS,EAEV,MAAM,cAAc,CAAA;AAQrB,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAuO7B,CAAA;AAED,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"cell.d.ts","sourceRoot":"","sources":["../../../src/basic-components/cell/cell.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAKL,SAAS,EAEV,MAAM,cAAc,CAAA;AAUrB,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAoP7B,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { default as React, Ref } from 'react';
2
+ type Props = {
3
+ readonly value: [number, number, number];
4
+ readonly onChange: (h: number, m: number, s: number) => void;
5
+ readonly targetRef?: Ref<HTMLElement | null>;
6
+ };
7
+ export declare const TimePickerWidget: React.FC<Props>;
8
+ export {};
9
+ //# sourceMappingURL=time-picker-clock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-picker-clock.d.ts","sourceRoot":"","sources":["../../../../src/basic-components/time-picker/time-picker-clock/time-picker-clock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAClC,OAAO,yBAAyB,CAAA;AAEhC,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;IACxC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5D,QAAQ,CAAC,SAAS,CAAC,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;CAC7C,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA4C5C,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { StringCellBindProps } from '../cell/cell-types';
2
+ export interface TimePickerProps extends StringCellBindProps {
3
+ placeholder?: string;
4
+ }
5
+ //# sourceMappingURL=time-picker-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-picker-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/time-picker/time-picker-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * The function validates time strings in the format "HH:mm" or "HH:mm:ss",
3
+ *
4
+ * @param val - The time string to validate.
5
+ * @returns `true` if the string is a valid time, otherwise `false`.
6
+ */
7
+ export declare const isValidTime: (val: string) => boolean;
8
+ /**
9
+ * Parses a time string in the format "HH:mm:ss" into an array of numbers representing hours, minutes, and seconds.
10
+ * If any part is missing or invalid, it defaults to 0.
11
+ *
12
+ * @param str - The time string to parse (e.g., "12:34:56").
13
+ * @returns A tuple containing [hours, minutes, seconds].
14
+ */
15
+ export declare const parseTime: (str: string) => [number, number, number];
16
+ /**
17
+ * Formats the given hours, minutes, and seconds into a time string in the format "HH:mm:ss".
18
+ *
19
+ * @param h - The hour component (0-23).
20
+ * @param m - The minute component (0-59).
21
+ * @param s - The second component (0-59).
22
+ * @returns The formatted time string in "HH:mm:ss" format.
23
+ */
24
+ export declare const formatTime: (h: number, m: number, s: number) => string;
25
+ //# sourceMappingURL=time-picker-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-picker-utils.d.ts","sourceRoot":"","sources":["../../../src/basic-components/time-picker/time-picker-utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,KAAK,MAAM,KAAG,OAczC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,GAAI,KAAK,MAAM,KAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAG9D,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,KAAG,MAK5D,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { TimePickerProps } from './time-picker-types';
2
+ export declare const TimePicker: React.FC<TimePickerProps>;
3
+ //# sourceMappingURL=time-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-picker.d.ts","sourceRoot":"","sources":["../../../src/basic-components/time-picker/time-picker.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAKrD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAyHhD,CAAA"}