cy-element-ui 1.1.21 → 1.1.25
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/README.md +629 -494
- package/lib/element-ui.common.js +44893 -0
- package/lib/index.js +23 -1
- package/lib/theme-chalk/alert.css +1 -0
- package/lib/theme-chalk/aside.css +1 -0
- package/lib/theme-chalk/autocomplete.css +1 -0
- package/lib/theme-chalk/avatar.css +1 -0
- package/lib/theme-chalk/backtop.css +1 -0
- package/lib/theme-chalk/badge.css +1 -0
- package/lib/theme-chalk/base.css +1 -0
- package/lib/theme-chalk/breadcrumb-item.css +0 -0
- package/lib/theme-chalk/breadcrumb.css +1 -0
- package/lib/theme-chalk/button-group.css +0 -0
- package/lib/theme-chalk/button.css +1 -0
- package/lib/theme-chalk/calendar.css +1 -0
- package/lib/theme-chalk/card.css +1 -0
- package/lib/theme-chalk/carousel-item.css +1 -0
- package/lib/theme-chalk/carousel.css +1 -0
- package/lib/theme-chalk/cascader-panel.css +1 -0
- package/lib/theme-chalk/cascader.css +1 -0
- package/lib/theme-chalk/checkbox-button.css +0 -0
- package/lib/theme-chalk/checkbox-group.css +0 -0
- package/lib/theme-chalk/checkbox.css +1 -0
- package/lib/theme-chalk/col.css +1 -0
- package/lib/theme-chalk/collapse-item.css +0 -0
- package/lib/theme-chalk/collapse.css +1 -0
- package/lib/theme-chalk/color-picker.css +1 -0
- package/lib/theme-chalk/container.css +1 -0
- package/lib/theme-chalk/date-picker.css +1 -0
- package/lib/theme-chalk/descriptions-item.css +1 -0
- package/lib/theme-chalk/descriptions.css +1 -0
- package/lib/theme-chalk/dialog.css +1 -0
- package/lib/theme-chalk/display.css +1 -0
- package/lib/theme-chalk/divider.css +1 -0
- package/lib/theme-chalk/drawer.css +1 -0
- package/lib/theme-chalk/dropdown-item.css +0 -0
- package/lib/theme-chalk/dropdown-menu.css +0 -0
- package/lib/theme-chalk/dropdown.css +1 -0
- package/lib/theme-chalk/element.css +1 -0
- package/lib/theme-chalk/empty.css +1 -0
- package/lib/theme-chalk/fonts/element-icons.ttf +0 -0
- package/lib/theme-chalk/fonts/element-icons.woff +0 -0
- package/lib/theme-chalk/footer.css +1 -0
- package/lib/theme-chalk/form-item.css +0 -0
- package/lib/theme-chalk/form.css +1 -0
- package/lib/theme-chalk/header.css +1 -0
- package/lib/theme-chalk/icon.css +1 -0
- package/lib/theme-chalk/image.css +1 -0
- package/lib/theme-chalk/index.css +1 -0
- package/lib/theme-chalk/infinite-scroll.css +0 -0
- package/lib/theme-chalk/infiniteScroll.css +0 -0
- package/lib/theme-chalk/input-number.css +1 -0
- package/lib/theme-chalk/input.css +1 -0
- package/lib/theme-chalk/link.css +1 -0
- package/lib/theme-chalk/loading.css +1 -0
- package/lib/theme-chalk/main.css +1 -0
- package/lib/theme-chalk/menu-item-group.css +0 -0
- package/lib/theme-chalk/menu-item.css +0 -0
- package/lib/theme-chalk/menu.css +1 -0
- package/lib/theme-chalk/message-box.css +1 -0
- package/lib/theme-chalk/message.css +1 -0
- package/lib/theme-chalk/notification.css +1 -0
- package/lib/theme-chalk/option-group.css +1 -0
- package/lib/theme-chalk/option.css +1 -0
- package/lib/theme-chalk/page-header.css +1 -0
- package/lib/theme-chalk/pagination.css +1 -0
- package/lib/theme-chalk/popconfirm.css +1 -0
- package/lib/theme-chalk/popover.css +1 -0
- package/lib/theme-chalk/popper.css +1 -0
- package/lib/theme-chalk/progress.css +1 -0
- package/lib/theme-chalk/radio-button.css +1 -0
- package/lib/theme-chalk/radio-group.css +1 -0
- package/lib/theme-chalk/radio.css +1 -0
- package/lib/theme-chalk/rate.css +1 -0
- package/lib/theme-chalk/reset.css +1 -0
- package/lib/theme-chalk/result.css +1 -0
- package/lib/theme-chalk/row.css +1 -0
- package/lib/theme-chalk/scrollbar.css +1 -0
- package/lib/theme-chalk/select-dropdown.css +1 -0
- package/lib/theme-chalk/select.css +1 -0
- package/lib/theme-chalk/selectDisplayInput.css +1 -0
- package/lib/theme-chalk/skeleton-item.css +1 -0
- package/lib/theme-chalk/skeleton.css +1 -0
- package/lib/theme-chalk/slider.css +1 -0
- package/lib/theme-chalk/spinner.css +1 -0
- package/lib/theme-chalk/statistic.css +1 -0
- package/lib/theme-chalk/step.css +1 -0
- package/lib/theme-chalk/steps.css +1 -0
- package/lib/theme-chalk/subTitle.css +1 -0
- package/lib/theme-chalk/submenu.css +0 -0
- package/lib/theme-chalk/switch.css +1 -0
- package/lib/theme-chalk/tab-pane.css +0 -0
- package/lib/theme-chalk/tabDialog.css +1 -0
- package/lib/theme-chalk/table-column.css +1 -0
- package/lib/theme-chalk/table.css +1 -0
- package/lib/theme-chalk/tabs.css +1 -0
- package/lib/theme-chalk/tag.css +1 -0
- package/lib/theme-chalk/testComponent.css +1 -0
- package/lib/theme-chalk/time-picker.css +1 -0
- package/lib/theme-chalk/time-select.css +1 -0
- package/lib/theme-chalk/timeline-item.css +1 -0
- package/lib/theme-chalk/timeline.css +1 -0
- package/lib/theme-chalk/tooltip.css +1 -0
- package/lib/theme-chalk/transfer.css +1 -0
- package/lib/theme-chalk/tree.css +1 -0
- package/lib/theme-chalk/treeSelect.css +1 -0
- package/lib/theme-chalk/upload.css +1 -0
- package/package.json +2 -2
- package/packages/cy/testComponent/index.js +8 -0
- package/packages/cy/testComponent/src/main.vue +44 -0
- package/packages/examples/demo-styles/cy/testComponent.scss +3 -0
- package/packages/examples/docs/en-US/cy/cy-testComponent.md +1 -0
- package/packages/examples/docs/zh-CN/cy/cy-testComponent.md +1 -0
- package/packages/packages/theme-chalk/src/cy/testComponent.scss +4 -0
- package/packages/theme-chalk/src/cy/index.scss +1 -0
- package/packages/theme-chalk/src/cy/testComponent.scss +76 -0
- package/src/index.js +7 -4
- package/types/cy/cy-element-ui.d.ts +8 -4
- package/types/cy/select-display-input.d.ts +4 -16
- package/types/cy/sub-title.d.ts +4 -7
- package/types/cy/tab-dialog.d.ts +5 -49
- package/types/cy/test-component.d.ts +7 -0
- package/types/cy/tree-select.d.ts +7 -44
- package/types/cy/cy-select-display-input.d.ts +0 -7
- package/types/cy/cy-sub-title.d.ts +0 -7
- package/types/cy/cy-tab-dialog.d.ts +0 -7
- package/types/cy/cy-tree-select.d.ts +0 -7
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import Vue, { PluginObject } from 'vue'
|
|
2
2
|
import { ElementUIComponent, ElementUIComponentSize } from '../component'
|
|
3
3
|
|
|
4
|
-
import { CyTreeSelect as CyTreeSelectClass } from './
|
|
5
|
-
import { CyTabDialog as CyTabDialogClass } from './
|
|
6
|
-
import { CySubTitle as CySubTitleClass } from './
|
|
7
|
-
import { CySelectDisplayInput as CySelectDisplayInputClass } from './
|
|
4
|
+
import { CyTreeSelect as CyTreeSelectClass } from './tree-select'
|
|
5
|
+
import { CyTabDialog as CyTabDialogClass } from './tab-dialog'
|
|
6
|
+
import { CySubTitle as CySubTitleClass } from './sub-title'
|
|
7
|
+
import { CySelectDisplayInput as CySelectDisplayInputClass } from './select-display-input'
|
|
8
|
+
import { CyTestComponent as CyTestComponentClass } from './test-component'
|
|
8
9
|
|
|
9
10
|
export interface InstallationOptions {
|
|
10
11
|
locale: any,
|
|
@@ -29,3 +30,6 @@ export class CySubTitle extends CySubTitleClass {}
|
|
|
29
30
|
/** CySelectDisplayInput Component */
|
|
30
31
|
export class CySelectDisplayInput extends CySelectDisplayInputClass {}
|
|
31
32
|
|
|
33
|
+
/** CyTestComponent Component */
|
|
34
|
+
export class CyTestComponent extends CyTestComponentClass {}
|
|
35
|
+
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
import { ElementUIComponent } from '../component'
|
|
2
2
|
|
|
3
|
-
/**
|
|
3
|
+
/** CySelectDisplayInput Component */
|
|
4
4
|
export declare class CySelectDisplayInput extends ElementUIComponent {
|
|
5
|
-
/**
|
|
6
|
-
value:
|
|
7
|
-
|
|
8
|
-
/** Placeholder */
|
|
9
|
-
placeholder: string
|
|
10
|
-
|
|
11
|
-
/** Button text */
|
|
12
|
-
btnText: string
|
|
13
|
-
|
|
14
|
-
/** Whether to show the button */
|
|
15
|
-
showBtn: boolean
|
|
16
|
-
|
|
17
|
-
/** Whether to show the delete button */
|
|
18
|
-
showDelete: boolean
|
|
19
|
-
}
|
|
5
|
+
/** value */
|
|
6
|
+
value: any
|
|
7
|
+
}
|
package/types/cy/sub-title.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { ElementUIComponent } from '../component'
|
|
2
2
|
|
|
3
|
-
/**
|
|
3
|
+
/** CySubTitle Component */
|
|
4
4
|
export declare class CySubTitle extends ElementUIComponent {
|
|
5
|
-
/**
|
|
6
|
-
title:
|
|
7
|
-
|
|
8
|
-
/** Color of the left line */
|
|
9
|
-
lineColor: string
|
|
10
|
-
}
|
|
5
|
+
/** title */
|
|
6
|
+
title: any
|
|
7
|
+
}
|
package/types/cy/tab-dialog.d.ts
CHANGED
|
@@ -1,51 +1,7 @@
|
|
|
1
|
-
import { ElementUIComponent
|
|
1
|
+
import { ElementUIComponent } from '../component'
|
|
2
2
|
|
|
3
|
-
/**
|
|
3
|
+
/** CyTabDialog Component */
|
|
4
4
|
export declare class CyTabDialog extends ElementUIComponent {
|
|
5
|
-
/**
|
|
6
|
-
visible:
|
|
7
|
-
|
|
8
|
-
/** Title of the Dialog */
|
|
9
|
-
title: string
|
|
10
|
-
|
|
11
|
-
/** Width of the Dialog */
|
|
12
|
-
width: string | number
|
|
13
|
-
|
|
14
|
-
/** Whether the Dialog takes up full screen */
|
|
15
|
-
fullscreen: boolean
|
|
16
|
-
|
|
17
|
-
/** Size of Dialog */
|
|
18
|
-
size: ElementUIComponentSize
|
|
19
|
-
|
|
20
|
-
/** Whether a mask is displayed */
|
|
21
|
-
modal: boolean
|
|
22
|
-
|
|
23
|
-
/** Whether to append modal to body element */
|
|
24
|
-
modalAppendToBody: boolean
|
|
25
|
-
|
|
26
|
-
/** Whether to append Dialog itself to body element */
|
|
27
|
-
appendToBody: boolean
|
|
28
|
-
|
|
29
|
-
/** Whether the Dialog can be closed by clicking the mask */
|
|
30
|
-
closeOnClickModal: boolean
|
|
31
|
-
|
|
32
|
-
/** Whether the Dialog can be closed by pressing ESC */
|
|
33
|
-
closeOnPressEscape: boolean
|
|
34
|
-
|
|
35
|
-
/** Whether the Dialog has a close button */
|
|
36
|
-
showClose: boolean
|
|
37
|
-
|
|
38
|
-
/** Dialog z-index */
|
|
39
|
-
zIndex: number
|
|
40
|
-
|
|
41
|
-
/** Whether the Dialog can be dragged */
|
|
42
|
-
draggable: boolean
|
|
43
|
-
|
|
44
|
-
/** Whether the Dialog can be resized */
|
|
45
|
-
resizable: boolean
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Close the Dialog
|
|
49
|
-
*/
|
|
50
|
-
close (): void
|
|
51
|
-
}
|
|
5
|
+
/** visible */
|
|
6
|
+
visible: any
|
|
7
|
+
}
|
|
@@ -1,44 +1,7 @@
|
|
|
1
|
-
import { ElementUIComponent } from '../component'
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/** TreeSelect Component */
|
|
11
|
-
export declare class CyTreeSelect extends ElementUIComponent {
|
|
12
|
-
/** The form input value */
|
|
13
|
-
value: string | number | (string | number)[]
|
|
14
|
-
|
|
15
|
-
/** Tree options */
|
|
16
|
-
options: CyTreeSelectOption[]
|
|
17
|
-
|
|
18
|
-
/** Placeholder */
|
|
19
|
-
placeholder: string
|
|
20
|
-
|
|
21
|
-
/** Size of Input */
|
|
22
|
-
size: string
|
|
23
|
-
|
|
24
|
-
/** Whether TreeSelect is filterable */
|
|
25
|
-
filterable: boolean
|
|
26
|
-
|
|
27
|
-
/** Whether to show checkbox strictly */
|
|
28
|
-
showCheckStrictly: boolean
|
|
29
|
-
|
|
30
|
-
/** Whether to check strictly */
|
|
31
|
-
checkStrictly: boolean
|
|
32
|
-
|
|
33
|
-
/** Whether single select can be cleared */
|
|
34
|
-
clearable: boolean
|
|
35
|
-
|
|
36
|
-
/** Whether TreeSelect is disabled */
|
|
37
|
-
disabled: boolean
|
|
38
|
-
|
|
39
|
-
/** Custom class name for Select's dropdown */
|
|
40
|
-
popperClass: string
|
|
41
|
-
|
|
42
|
-
/** Popper placement */
|
|
43
|
-
placement: string
|
|
44
|
-
}
|
|
1
|
+
import { ElementUIComponent } from '../component'
|
|
2
|
+
|
|
3
|
+
/** CyTreeSelect Component */
|
|
4
|
+
export declare class CyTreeSelect extends ElementUIComponent {
|
|
5
|
+
/** value */
|
|
6
|
+
value: any
|
|
7
|
+
}
|