@xn-lib/component 0.1.28 → 0.1.29
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.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.iife.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/time-range-picker/props.d.ts +1 -0
- package/dist/types/time-range-picker/utils.d.ts +1 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -19,5 +19,6 @@ export type { EditableTextareaProps } from './editable-textarea/props';
|
|
|
19
19
|
export type { TimeRangePickerProps, TimeRangeValue, TimeRange } from './time-range-picker/props';
|
|
20
20
|
export type { TextRuleConfigProps } from './text-rule-config/props';
|
|
21
21
|
export * from './types';
|
|
22
|
+
export * from './time-range-picker/utils';
|
|
22
23
|
declare const plugin: Plugin;
|
|
23
24
|
export default plugin;
|
|
@@ -3,6 +3,6 @@ export interface TimeSlotRange {
|
|
|
3
3
|
startSlot: number;
|
|
4
4
|
endSlot: number;
|
|
5
5
|
}
|
|
6
|
-
export declare function formatTimeRanges(value: Record<number, number[]> | string,
|
|
6
|
+
export declare function formatTimeRanges(value: Record<number, number[]> | string, count: number, timeGranularity?: number, weekLabels?: string[]): string[];
|
|
7
7
|
export declare function stringToObject(value: string, count: number): Record<number, number[]>;
|
|
8
8
|
export declare function objectToString(value: Record<number, number[]>, count: number): string;
|