@cregis/ui 1.0.13 → 1.0.15
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.css +1 -1
- package/dist/index.js +1837 -1743
- package/dist/types/index.d.ts +51 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -600,6 +600,7 @@ export declare interface SwitchProps {
|
|
|
600
600
|
}
|
|
601
601
|
|
|
602
602
|
export declare const TableList: DefineComponent<CregisTableProps, {
|
|
603
|
+
selectMode: Ref<boolean>;
|
|
603
604
|
openSelect: () => void;
|
|
604
605
|
closeSelect: () => void;
|
|
605
606
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -631,6 +632,7 @@ declare interface TableListColumnProps {
|
|
|
631
632
|
columnHeight?: number;
|
|
632
633
|
minTableWidth?: number;
|
|
633
634
|
type?: 'default' | 'select';
|
|
635
|
+
selectVisible?: boolean;
|
|
634
636
|
selected?: boolean;
|
|
635
637
|
blank?: boolean;
|
|
636
638
|
prop?: string;
|
|
@@ -642,6 +644,13 @@ declare interface TableListColumnProps {
|
|
|
642
644
|
hidden?: boolean;
|
|
643
645
|
}
|
|
644
646
|
|
|
647
|
+
export declare interface TableListInstance {
|
|
648
|
+
/** 是否开启批量选择模式 */
|
|
649
|
+
selectMode: Ref<boolean>;
|
|
650
|
+
openSelect: () => void;
|
|
651
|
+
closeSelect: () => void;
|
|
652
|
+
}
|
|
653
|
+
|
|
645
654
|
export declare const TabPane: DefineComponent<TabPaneProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TabPaneProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
646
655
|
|
|
647
656
|
export declare interface TabPaneProps {
|
|
@@ -693,6 +702,48 @@ export declare type TagSize = 'small' | 'medium' | 'large';
|
|
|
693
702
|
|
|
694
703
|
declare type TagType = 'subtle' | 'solid' | 'gray' | 'strokeSubtle' | 'strokeSolid' | 'danger' | 'warning' | 'success' | 'ready' | 'invalid' | 'apricot' | 'khaki' | 'grass' | 'sage' | 'cyan' | 'iceBlue' | 'periwinkle' | 'lilac' | 'orchid' | 'mallow' | 'rose' | 'coral' | 'mauve' | 'moss' | 'steel' | 'grape' | 'sameWhite' | 'lime';
|
|
695
704
|
|
|
705
|
+
export declare const Timeline: DefineComponent<TimelineProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimelineProps> & Readonly<{}>, {
|
|
706
|
+
dotSize: number | string;
|
|
707
|
+
dotColor: string;
|
|
708
|
+
lineColor: string;
|
|
709
|
+
lineWidth: number | string;
|
|
710
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
711
|
+
|
|
712
|
+
export declare const TIMELINE_KEY: InjectionKey<TimelineContext>;
|
|
713
|
+
|
|
714
|
+
export declare interface TimelineContext {
|
|
715
|
+
dotSize: Ref<number | string>;
|
|
716
|
+
dotColor: Ref<string>;
|
|
717
|
+
lineColor: Ref<string>;
|
|
718
|
+
lineWidth: Ref<number | string>;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
export declare const TimelineItem: DefineComponent<TimelineItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimelineItemProps> & Readonly<{}>, {
|
|
722
|
+
contentHoverable: boolean;
|
|
723
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
724
|
+
|
|
725
|
+
export declare interface TimelineItemProps {
|
|
726
|
+
/** 节点圆点直径,可覆盖 Timeline 默认值 */
|
|
727
|
+
dotSize?: number | string;
|
|
728
|
+
/** 节点圆点颜色,可覆盖 Timeline 默认值 */
|
|
729
|
+
dotColor?: string;
|
|
730
|
+
/** 连接线宽度,可覆盖 Timeline 默认值 */
|
|
731
|
+
lineWidth?: number | string;
|
|
732
|
+
/** content 区域是否启用 hover 背景,默认 true */
|
|
733
|
+
contentHoverable?: boolean;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export declare interface TimelineProps {
|
|
737
|
+
/** 节点圆点直径,默认 8 */
|
|
738
|
+
dotSize?: number | string;
|
|
739
|
+
/** 节点圆点颜色,默认绿色 */
|
|
740
|
+
dotColor?: string;
|
|
741
|
+
/** 连接线颜色 */
|
|
742
|
+
lineColor?: string;
|
|
743
|
+
/** 连接线宽度,默认 2 */
|
|
744
|
+
lineWidth?: number | string;
|
|
745
|
+
}
|
|
746
|
+
|
|
696
747
|
export declare type Type = 'primary' | 'info' | 'success' | 'warning' | 'danger';
|
|
697
748
|
|
|
698
749
|
declare type Type_2 = 'default' | 'plain' | 'noBorder';
|