vxe-pc-ui 4.18.0 → 4.18.2
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 +5 -0
- package/dist/all.esm.js +90 -4
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/components.js +3 -0
- package/es/divider/index.js +12 -0
- package/es/divider/src/divider.js +73 -0
- package/es/divider/style.css +83 -0
- package/es/divider/style.min.css +1 -0
- package/es/empty/src/empty.js +5 -2
- package/es/icon/{iconfont.1788505334427.ttf → iconfont.1788693917694.ttf} +0 -0
- package/es/icon/iconfont.1788693917694.woff +0 -0
- package/es/icon/iconfont.1788693917694.woff2 +0 -0
- package/es/icon/style.css +13 -1
- package/es/icon/style.min.css +1 -1
- package/{lib/icon/style/iconfont.1788505334427.ttf → es/iconfont.1788693917694.ttf} +0 -0
- package/es/iconfont.1788693917694.woff +0 -0
- package/es/iconfont.1788693917694.woff2 +0 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +2 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-divider/index.js +3 -0
- package/es/vxe-divider/style.css +83 -0
- package/es/vxe-divider/style.min.css +1 -0
- package/es/vxe-icon/style.css +13 -1
- package/es/vxe-icon/style.min.css +1 -1
- package/lib/components.js +13 -1
- package/lib/components.min.js +1 -1
- package/lib/divider/index.js +19 -0
- package/lib/divider/index.min.js +1 -0
- package/lib/divider/src/divider.js +87 -0
- package/lib/divider/src/divider.min.js +1 -0
- package/lib/divider/style/index.js +1 -0
- package/lib/divider/style/style.css +83 -0
- package/lib/divider/style/style.min.css +1 -0
- package/lib/empty/src/empty.js +4 -1
- package/lib/empty/src/empty.min.js +1 -1
- package/lib/{iconfont.1788505334427.ttf → icon/style/iconfont.1788693917694.ttf} +0 -0
- package/lib/icon/style/iconfont.1788693917694.woff +0 -0
- package/lib/icon/style/iconfont.1788693917694.woff2 +0 -0
- package/lib/icon/style/style.css +13 -1
- package/lib/icon/style/style.min.css +13 -1
- package/{es/iconfont.1788505334427.ttf → lib/iconfont.1788693917694.ttf} +0 -0
- package/lib/iconfont.1788693917694.woff +0 -0
- package/lib/iconfont.1788693917694.woff2 +0 -0
- package/lib/index.umd.js +108 -4
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +2 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-divider/index.js +21 -0
- package/lib/vxe-divider/index.min.js +1 -0
- package/lib/vxe-divider/style/index.js +1 -0
- package/lib/vxe-divider/style/style.css +83 -0
- package/lib/vxe-divider/style/style.min.css +1 -0
- package/lib/vxe-icon/style/style.css +13 -1
- package/lib/vxe-icon/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/components.ts +3 -0
- package/packages/divider/index.ts +16 -0
- package/packages/divider/src/divider.ts +93 -0
- package/packages/empty/src/empty.ts +5 -2
- package/packages/ui/index.ts +1 -0
- package/styles/all.scss +1 -0
- package/styles/components/divider.scss +92 -0
- package/styles/components/icon.scss +13 -1
- package/styles/icon/iconfont.ttf +0 -0
- package/styles/icon/iconfont.woff +0 -0
- package/styles/icon/iconfont.woff2 +0 -0
- package/styles/theme/base.scss +15 -0
- package/types/all.d.ts +6 -0
- package/types/components/divider.d.ts +75 -0
- package/types/components/icon.d.ts +1 -1
- package/types/components/table.d.ts +11 -8
- package/types/ui/global-config.d.ts +2 -0
- package/es/icon/iconfont.1788505334427.woff +0 -0
- package/es/icon/iconfont.1788505334427.woff2 +0 -0
- package/es/iconfont.1788505334427.woff +0 -0
- package/es/iconfont.1788505334427.woff2 +0 -0
- package/lib/icon/style/iconfont.1788505334427.woff +0 -0
- package/lib/icon/style/iconfont.1788505334427.woff2 +0 -0
- package/lib/iconfont.1788505334427.woff +0 -0
- package/lib/iconfont.1788505334427.woff2 +0 -0
package/README.md
CHANGED
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
* 面向现代浏览器,高效的简洁 API 设计
|
|
22
22
|
* 按需加载
|
|
23
23
|
|
|
24
|
+
* 分支说明
|
|
25
|
+
* v3 分支和 v4 分支功能与 API 保持同步更新
|
|
26
|
+
* v3 分支对应 vue 2.6~2.7 版本,为长期维护版本
|
|
27
|
+
* v4 分支对应 vue 3.x 版本,为长期维护版本
|
|
28
|
+
|
|
24
29
|
* 版本说明
|
|
25
30
|
* **V4**
|
|
26
31
|
* [x] v4.7 基于 xe-utils@4.0+,拆分 [vxe-design](https://github.com/x-extends/vxe-design) 可视化组件和基础组件库
|
package/dist/all.esm.js
CHANGED
|
@@ -101,7 +101,7 @@ function checkDynamic() {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
const { log } = VxeUI;
|
|
104
|
-
const uiVersion = `ui v${"4.18.
|
|
104
|
+
const uiVersion = `ui v${"4.18.2"}`;
|
|
105
105
|
function createComponentLog(name) {
|
|
106
106
|
const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
|
|
107
107
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
|
@@ -115,7 +115,7 @@ function createComponentLog(name) {
|
|
|
115
115
|
const warnLog$i = log.create('warn', uiVersion);
|
|
116
116
|
log.create('error', uiVersion);
|
|
117
117
|
|
|
118
|
-
const version = "4.18.
|
|
118
|
+
const version = "4.18.2";
|
|
119
119
|
VxeUI.uiVersion = version;
|
|
120
120
|
VxeUI.dynamicApp = dynamicApp;
|
|
121
121
|
function config(options) {
|
|
@@ -248,6 +248,7 @@ setConfig$1({
|
|
|
248
248
|
showClearButton: null,
|
|
249
249
|
showConfirmButton: null
|
|
250
250
|
},
|
|
251
|
+
divider: {},
|
|
251
252
|
drawer: {
|
|
252
253
|
// size: null,
|
|
253
254
|
// useHtml: false,
|
|
@@ -23542,6 +23543,85 @@ dynamicApp.use(VxeDateRangePicker);
|
|
|
23542
23543
|
VxeUI.component(VxeDateRangePickerComponent);
|
|
23543
23544
|
const DateRangePicker = VxeDateRangePicker;
|
|
23544
23545
|
|
|
23546
|
+
var VxeDividerComponent = defineVxeComponent({
|
|
23547
|
+
name: 'VxeDivider',
|
|
23548
|
+
props: {
|
|
23549
|
+
vertical: {
|
|
23550
|
+
type: Boolean,
|
|
23551
|
+
default: () => getConfig$3().divider.vertical
|
|
23552
|
+
},
|
|
23553
|
+
titleContent: {
|
|
23554
|
+
type: String,
|
|
23555
|
+
default: () => getConfig$3().divider.titleContent
|
|
23556
|
+
},
|
|
23557
|
+
titleAlign: {
|
|
23558
|
+
type: String,
|
|
23559
|
+
default: () => getConfig$3().divider.titleAlign
|
|
23560
|
+
},
|
|
23561
|
+
size: {
|
|
23562
|
+
type: String,
|
|
23563
|
+
default: () => getConfig$3().divider.size || getConfig$3().size
|
|
23564
|
+
}
|
|
23565
|
+
},
|
|
23566
|
+
emits: [],
|
|
23567
|
+
setup(props, context) {
|
|
23568
|
+
const { emit, slots } = context;
|
|
23569
|
+
const xID = XEUtils.uniqueId();
|
|
23570
|
+
const refElem = ref();
|
|
23571
|
+
const { computeSize } = useSize(props);
|
|
23572
|
+
const refMaps = {
|
|
23573
|
+
refElem
|
|
23574
|
+
};
|
|
23575
|
+
const computeMaps = {};
|
|
23576
|
+
const $xeDivider = {
|
|
23577
|
+
xID,
|
|
23578
|
+
props,
|
|
23579
|
+
context,
|
|
23580
|
+
getRefMaps: () => refMaps,
|
|
23581
|
+
getComputeMaps: () => computeMaps
|
|
23582
|
+
};
|
|
23583
|
+
const dispatchEvent = (type, params, evnt) => {
|
|
23584
|
+
emit(type, createEvent(evnt, { $divider: $xeDivider }, params));
|
|
23585
|
+
};
|
|
23586
|
+
const dividerMethods = {
|
|
23587
|
+
dispatchEvent
|
|
23588
|
+
};
|
|
23589
|
+
const dividerPrivateMethods = {};
|
|
23590
|
+
Object.assign($xeDivider, dividerMethods, dividerPrivateMethods);
|
|
23591
|
+
const renderVN = () => {
|
|
23592
|
+
const { vertical, titleContent, titleAlign } = props;
|
|
23593
|
+
const vSize = computeSize.value;
|
|
23594
|
+
const titleSlot = slots.title;
|
|
23595
|
+
return h('div', {
|
|
23596
|
+
ref: refElem,
|
|
23597
|
+
class: ['vxe-divider', vertical ? 'is--vertical' : 'is--horizontal', `t--align-${titleAlign || 'center'}`, {
|
|
23598
|
+
[`size--${vSize}`]: vSize
|
|
23599
|
+
}]
|
|
23600
|
+
}, (titleContent || titleSlot) && !vertical
|
|
23601
|
+
? [
|
|
23602
|
+
h('span', {
|
|
23603
|
+
class: 'vxe-divider--content'
|
|
23604
|
+
}, titleSlot ? titleSlot({}) : titleContent)
|
|
23605
|
+
]
|
|
23606
|
+
: []);
|
|
23607
|
+
};
|
|
23608
|
+
$xeDivider.renderVN = renderVN;
|
|
23609
|
+
return $xeDivider;
|
|
23610
|
+
},
|
|
23611
|
+
render() {
|
|
23612
|
+
return this.renderVN();
|
|
23613
|
+
}
|
|
23614
|
+
});
|
|
23615
|
+
|
|
23616
|
+
const VxeDivider = Object.assign({}, VxeDividerComponent, {
|
|
23617
|
+
install(app) {
|
|
23618
|
+
app.component(VxeDividerComponent.name, VxeDividerComponent);
|
|
23619
|
+
}
|
|
23620
|
+
});
|
|
23621
|
+
dynamicApp.use(VxeDivider);
|
|
23622
|
+
VxeUI.component(VxeDividerComponent);
|
|
23623
|
+
const Divider = VxeDivider;
|
|
23624
|
+
|
|
23545
23625
|
const allActiveDrawers = [];
|
|
23546
23626
|
|
|
23547
23627
|
const VxeLoading = Object.assign({}, VxeLoadingComponent, {
|
|
@@ -24320,7 +24400,10 @@ var VxeEmptyComponent = defineVxeComponent({
|
|
|
24320
24400
|
imageUrl: String,
|
|
24321
24401
|
imageStyle: Object,
|
|
24322
24402
|
icon: String,
|
|
24323
|
-
status:
|
|
24403
|
+
status: {
|
|
24404
|
+
type: String,
|
|
24405
|
+
default: () => getConfig$3().empty.status
|
|
24406
|
+
},
|
|
24324
24407
|
content: [String, Number]
|
|
24325
24408
|
},
|
|
24326
24409
|
emits: [],
|
|
@@ -48773,6 +48856,7 @@ const components = [
|
|
|
48773
48856
|
VxeDatePanel,
|
|
48774
48857
|
VxeDatePicker,
|
|
48775
48858
|
VxeDateRangePicker,
|
|
48859
|
+
VxeDivider,
|
|
48776
48860
|
VxeDrawer,
|
|
48777
48861
|
VxeEmpty,
|
|
48778
48862
|
VxeForm,
|
|
@@ -48914,6 +48998,7 @@ var VxeUIExport = /*#__PURE__*/Object.freeze({
|
|
|
48914
48998
|
DatePanel: DatePanel,
|
|
48915
48999
|
DatePicker: DatePicker,
|
|
48916
49000
|
DateRangePicker: DateRangePicker,
|
|
49001
|
+
Divider: Divider,
|
|
48917
49002
|
Drawer: Drawer,
|
|
48918
49003
|
DrawerController: DrawerController,
|
|
48919
49004
|
Empty: Empty,
|
|
@@ -49010,6 +49095,7 @@ var VxeUIExport = /*#__PURE__*/Object.freeze({
|
|
|
49010
49095
|
VxeDatePanel: VxeDatePanel,
|
|
49011
49096
|
VxeDatePicker: VxeDatePicker,
|
|
49012
49097
|
VxeDateRangePicker: VxeDateRangePicker,
|
|
49098
|
+
VxeDivider: VxeDivider,
|
|
49013
49099
|
VxeDrawer: VxeDrawer,
|
|
49014
49100
|
VxeEmpty: VxeEmpty,
|
|
49015
49101
|
VxeForm: VxeForm,
|
|
@@ -49090,4 +49176,4 @@ var VxeUIExport = /*#__PURE__*/Object.freeze({
|
|
|
49090
49176
|
watermark: watermark
|
|
49091
49177
|
});
|
|
49092
49178
|
|
|
49093
|
-
export { Alert, Anchor, AnchorLink, Avatar, Backtop, Badge, Breadcrumb, BreadcrumbItem, Button, ButtonGroup, Calendar, Card, Carousel, CarouselItem, Cascader, Checkbox, CheckboxButton, CheckboxGroup, Col, Collapse, CollapsePane, ColorPicker, ContextMenu, ContextMenuController, Countdown, DatePanel, DatePicker, DateRangePicker, Drawer, DrawerController, Empty, Form, FormGather, FormGroup, FormItem, Icon, IconPicker, Image$1 as Image, ImageGroup, ImagePreview, Input, LayoutAside, LayoutBody, LayoutContainer, LayoutFooter, LayoutHeader, Link, List, Loading, LoadingController, Menu, Modal, ModalController, NoticeBar, NumberInput, Optgroup, Option, Pager, PasswordInput, Print, PrintPageBreak, Pulldown, Radio, RadioButton, RadioGroup, Rate, Result, Row, Segmented, Select, Slider, Space, Split, SplitPane, Splitter, SplitterPanel, Steps, Switch, TabPane, TableSelect, TableTransfer, Tabs, Tag, Text, TextEllipsis, Textarea, Timeline, TimelineItem, Tip, Tips, Tooltip, TooltipController, Tour, Transfer, Tree, TreeSelect, Upload, VxeAlert, VxeAnchor, VxeAnchorLink, VxeAvatar, VxeBacktop, VxeBadge, VxeBreadcrumb, VxeBreadcrumbItem, VxeButton, VxeButtonGroup, VxeCalendar, VxeCard, VxeCarousel, VxeCarouselItem, VxeCascader, VxeCheckbox, VxeCheckboxButton, VxeCheckboxGroup, VxeCol, VxeCollapse, VxeCollapsePane, VxeColorPicker, VxeContextMenu, VxeCountdown, VxeDatePanel, VxeDatePicker, VxeDateRangePicker, VxeDrawer, VxeEmpty, VxeForm, VxeFormGather, VxeFormGroup, VxeFormItem, VxeIcon, VxeIconPicker, VxeImage, VxeImageGroup, VxeImagePreview, VxeInput, VxeLayoutAside, VxeLayoutBody, VxeLayoutContainer, VxeLayoutFooter, VxeLayoutHeader, VxeLink, VxeList, VxeLoading, VxeMenu, VxeModal, VxeNoticeBar, VxeNumberInput, VxeOptgroup, VxeOption, VxePager, VxePasswordInput, VxePrint, VxePrintPageBreak, VxePulldown, VxeRadio, VxeRadioButton, VxeRadioGroup, VxeRate, VxeResult, VxeRow, VxeSegmented, VxeSelect, VxeSlider, VxeSpace, VxeSplit, VxeSplitPane, VxeSplitter, VxeSplitterPanel, VxeSteps, VxeSwitch, VxeTabPane, VxeTableSelect, VxeTableTransfer, VxeTabs, VxeTag, VxeText, VxeTextEllipsis, VxeTextarea, VxeTimeline, VxeTimelineItem, VxeTip, VxeTooltip, VxeTour, VxeTransfer, VxeTree, VxeTreeSelect, VxeUpload, VxeWatermark, Watermark, WatermarkController, config, VxeUIExport as default, drawer, install, loading, modal, print, readFile, saveFile, setup, version, watermark };
|
|
49179
|
+
export { Alert, Anchor, AnchorLink, Avatar, Backtop, Badge, Breadcrumb, BreadcrumbItem, Button, ButtonGroup, Calendar, Card, Carousel, CarouselItem, Cascader, Checkbox, CheckboxButton, CheckboxGroup, Col, Collapse, CollapsePane, ColorPicker, ContextMenu, ContextMenuController, Countdown, DatePanel, DatePicker, DateRangePicker, Divider, Drawer, DrawerController, Empty, Form, FormGather, FormGroup, FormItem, Icon, IconPicker, Image$1 as Image, ImageGroup, ImagePreview, Input, LayoutAside, LayoutBody, LayoutContainer, LayoutFooter, LayoutHeader, Link, List, Loading, LoadingController, Menu, Modal, ModalController, NoticeBar, NumberInput, Optgroup, Option, Pager, PasswordInput, Print, PrintPageBreak, Pulldown, Radio, RadioButton, RadioGroup, Rate, Result, Row, Segmented, Select, Slider, Space, Split, SplitPane, Splitter, SplitterPanel, Steps, Switch, TabPane, TableSelect, TableTransfer, Tabs, Tag, Text, TextEllipsis, Textarea, Timeline, TimelineItem, Tip, Tips, Tooltip, TooltipController, Tour, Transfer, Tree, TreeSelect, Upload, VxeAlert, VxeAnchor, VxeAnchorLink, VxeAvatar, VxeBacktop, VxeBadge, VxeBreadcrumb, VxeBreadcrumbItem, VxeButton, VxeButtonGroup, VxeCalendar, VxeCard, VxeCarousel, VxeCarouselItem, VxeCascader, VxeCheckbox, VxeCheckboxButton, VxeCheckboxGroup, VxeCol, VxeCollapse, VxeCollapsePane, VxeColorPicker, VxeContextMenu, VxeCountdown, VxeDatePanel, VxeDatePicker, VxeDateRangePicker, VxeDivider, VxeDrawer, VxeEmpty, VxeForm, VxeFormGather, VxeFormGroup, VxeFormItem, VxeIcon, VxeIconPicker, VxeImage, VxeImageGroup, VxeImagePreview, VxeInput, VxeLayoutAside, VxeLayoutBody, VxeLayoutContainer, VxeLayoutFooter, VxeLayoutHeader, VxeLink, VxeList, VxeLoading, VxeMenu, VxeModal, VxeNoticeBar, VxeNumberInput, VxeOptgroup, VxeOption, VxePager, VxePasswordInput, VxePrint, VxePrintPageBreak, VxePulldown, VxeRadio, VxeRadioButton, VxeRadioGroup, VxeRate, VxeResult, VxeRow, VxeSegmented, VxeSelect, VxeSlider, VxeSpace, VxeSplit, VxeSplitPane, VxeSplitter, VxeSplitterPanel, VxeSteps, VxeSwitch, VxeTabPane, VxeTableSelect, VxeTableTransfer, VxeTabs, VxeTag, VxeText, VxeTextEllipsis, VxeTextarea, VxeTimeline, VxeTimelineItem, VxeTip, VxeTooltip, VxeTour, VxeTransfer, VxeTree, VxeTreeSelect, VxeUpload, VxeWatermark, Watermark, WatermarkController, config, VxeUIExport as default, drawer, install, loading, modal, print, readFile, saveFile, setup, version, watermark };
|