@ctzy-web-client/plugin-component-vue 1.0.10 → 1.0.11
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, inject, computed, useSlots, unref, provide, watch, resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementVNode, normalizeClass, createElementBlock, toDisplayString, createCommentVNode, createVNode, createTextVNode } from 'vue';
|
|
2
2
|
import { useNamespace, filterPanelItemKey, useGlobalConfig } from '@ctzy-web-client/web-base-client-vue';
|
|
3
3
|
import { timePickerDefaultProps, ROOT_PICKER_INJECTION_KEY, useNamespace as useNamespace$1, dayjs, parseDate, valueEquals, formatter } from 'element-plus';
|
|
4
|
-
import PanelDateRange from 'element-plus/es/components/date-picker/src/
|
|
4
|
+
import PanelDateRange from 'element-plus/es/components/date-picker/src/props/panel-date-range.vue';
|
|
5
5
|
import _export_sfc from '../_virtual/_plugin-vue_export-helper.mjs';
|
|
6
6
|
|
|
7
7
|
const __default__ = defineComponent({ name: "BwaDateRange" });
|
|
@@ -139,7 +139,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
139
139
|
_: 1
|
|
140
140
|
}, 8, ["class"])
|
|
141
141
|
], 2),
|
|
142
|
-
createTextVNode(" \
|
|
142
|
+
createTextVNode(" \u81F3 "),
|
|
143
143
|
createElementVNode("span", {
|
|
144
144
|
class: normalizeClass([unref(ns).e("time"), unref(ns).is("empty", !unref(formatEndTime))])
|
|
145
145
|
}, [
|
|
@@ -159,7 +159,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
159
159
|
])
|
|
160
160
|
]),
|
|
161
161
|
content: withCtx(() => [
|
|
162
|
-
createVNode(
|
|
162
|
+
createVNode(PanelDateRange, {
|
|
163
163
|
"parsed-value": unref(parsedValue),
|
|
164
164
|
type: "daterange",
|
|
165
165
|
visible: pickerVisivle.value,
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var webBaseClientVue = require('@ctzy-web-client/web-base-client-vue');
|
|
7
7
|
var ElementPlus = require('element-plus');
|
|
8
|
-
var PanelDateRange = require('element-plus/es/components/date-picker/src/
|
|
8
|
+
var PanelDateRange = require('element-plus/es/components/date-picker/src/props/panel-date-range.vue');
|
|
9
9
|
var _pluginVue_exportHelper = require('../_virtual/_plugin-vue_export-helper.js');
|
|
10
10
|
|
|
11
11
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -147,7 +147,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
147
147
|
_: 1
|
|
148
148
|
}, 8, ["class"])
|
|
149
149
|
], 2),
|
|
150
|
-
vue.createTextVNode(" \
|
|
150
|
+
vue.createTextVNode(" \u81F3 "),
|
|
151
151
|
vue.createElementVNode("span", {
|
|
152
152
|
class: vue.normalizeClass([vue.unref(ns).e("time"), vue.unref(ns).is("empty", !vue.unref(formatEndTime))])
|
|
153
153
|
}, [
|
|
@@ -167,7 +167,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
167
167
|
])
|
|
168
168
|
]),
|
|
169
169
|
content: vue.withCtx(() => [
|
|
170
|
-
vue.createVNode(
|
|
170
|
+
vue.createVNode(PanelDateRange__default["default"], {
|
|
171
171
|
"parsed-value": vue.unref(parsedValue),
|
|
172
172
|
type: "daterange",
|
|
173
173
|
visible: pickerVisivle.value,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctzy-web-client/plugin-component-vue",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"quill": "^1.3.7",
|
|
34
34
|
"rxjs": "^7.6.0",
|
|
35
35
|
"tinymce": "^6.4.2",
|
|
36
|
-
"@ctzy-web-client/web-base-client-vue": "^1.0.
|
|
36
|
+
"@ctzy-web-client/web-base-client-vue": "^1.0.7"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@vueuse/core": "^9.6.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<CaretBottom />
|
|
31
31
|
</ElIcon>
|
|
32
32
|
</span>
|
|
33
|
-
|
|
33
|
+
至
|
|
34
34
|
<span :class="[ns.e('time'), ns.is('empty', !formatEndTime)]">
|
|
35
35
|
<span :class="ns.e('content')">
|
|
36
36
|
{{ formatEndTime ? formatEndTime : '结束日期' }}
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
useGlobalConfig,
|
|
64
64
|
} from '@ctzy-web-client/web-base-client-vue';
|
|
65
65
|
import { dayjs } from 'element-plus';
|
|
66
|
-
import PanelDateRange from 'element-plus/es/components/date-picker/src/
|
|
66
|
+
import PanelDateRange from 'element-plus/es/components/date-picker/src/props/panel-date-range.vue';
|
|
67
67
|
import { timePickerDefaultProps } from 'element-plus';
|
|
68
68
|
import { ROOT_PICKER_INJECTION_KEY } from 'element-plus';
|
|
69
69
|
import { useNamespace as useElementPlusNamesplace } from 'element-plus';
|