@ctzy-web-client/plugin-component-vue 1.0.31 → 1.0.32
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/es/advance-select/advance-option.mjs +4 -4
- package/es/components.css +1 -1
- package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition.mjs +2 -3
- package/lib/advance-select/advance-option.js +4 -4
- package/lib/components.css +1 -1
- package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition.js +2 -3
- package/package.json +1 -1
- package/src/advance-select/advance-option.vue +2 -2
- package/src/pct-filter-panel/pct-compents/pct-multiple-menu-condition.vue +1 -20
- package/style/index.css +1 -1
- package/style/pct-filter-panel.css +1 -1
- package/style/src/pct-filter-panel.scss +19 -0
- package/es/pct-filter-panel/pct-compents/pct-multiple-menu-condition.vue_vue_type_style_index_0_scoped_ca1affd9_lang.mjs +0 -13
- package/lib/pct-filter-panel/pct-compents/pct-multiple-menu-condition.vue_vue_type_style_index_0_scoped_ca1affd9_lang.js +0 -17
- /package/es/advance-select/{advance-option.vue_vue_type_style_index_0_scoped_4c0fde1d_lang.mjs → advance-option.vue_vue_type_style_index_0_scoped_1e505c71_lang.mjs} +0 -0
- /package/lib/advance-select/{advance-option.vue_vue_type_style_index_0_scoped_4c0fde1d_lang.js → advance-option.vue_vue_type_style_index_0_scoped_1e505c71_lang.js} +0 -0
|
@@ -4,7 +4,7 @@ import { useNamespace } from '@ctzy-web-client/web-base-client-vue';
|
|
|
4
4
|
import { useEvent } from './events-helpers.mjs';
|
|
5
5
|
import { useAdvanceOption } from './use-advance-option.mjs';
|
|
6
6
|
import { pinyin } from 'pinyin-pro';
|
|
7
|
-
import './advance-option.
|
|
7
|
+
import './advance-option.vue_vue_type_style_index_0_scoped_1e505c71_lang.mjs';
|
|
8
8
|
import _export_sfc from '../_virtual/_plugin-vue_export-helper.mjs';
|
|
9
9
|
|
|
10
10
|
// Inject __name helper
|
|
@@ -129,12 +129,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
129
129
|
!$setup.showLetterAvatarStatus ? (openBlock(), createElementBlock("div", {
|
|
130
130
|
key: 0,
|
|
131
131
|
class: normalizeClass($setup.ns.be("option", "content-label")),
|
|
132
|
-
style: { "width": "178px" }
|
|
132
|
+
style: { "width": "100%", "min-width": "178px" }
|
|
133
133
|
}, toDisplayString($setup.currentLabel), 3)) : createCommentVNode("v-if", true),
|
|
134
134
|
$setup.showLetterAvatarStatus ? (openBlock(), createElementBlock("div", {
|
|
135
135
|
key: 1,
|
|
136
136
|
class: normalizeClass($setup.ns.be("option", "content-label")),
|
|
137
|
-
style: { "width": "178px", "display": "flex", "align-items": "center" }
|
|
137
|
+
style: { "width": "100%", "min-width": "178px", "display": "flex", "align-items": "center" }
|
|
138
138
|
}, [
|
|
139
139
|
createElementVNode("div", {
|
|
140
140
|
class: "letter-circle",
|
|
@@ -159,6 +159,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
159
159
|
}, 8, ["class"])) : createCommentVNode("v-if", true)
|
|
160
160
|
], 2);
|
|
161
161
|
}
|
|
162
|
-
var BwaAdvanceOption = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
162
|
+
var BwaAdvanceOption = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-1e505c71"], ["__file", "advance-option.vue"]]);
|
|
163
163
|
|
|
164
164
|
export { BwaAdvanceOption as default };
|
package/es/components.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.letter-circle[data-v-
|
|
1
|
+
.letter-circle[data-v-1e505c71]{align-items:center;border-radius:50%;color:#fff;display:flex;font-size:14px;height:24px;justify-content:center;margin-right:8px;width:24px}
|
|
@@ -5,7 +5,6 @@ import { useService, HttpRequest, useNamespace, filterPanelItemKey } from '@ctzy
|
|
|
5
5
|
import { dataProps } from '../../hooks/use-data/index.mjs';
|
|
6
6
|
import BwaAdvanceSelect from '../../advance-select/advance-select.mjs';
|
|
7
7
|
import BwaAdvanceOption from '../../advance-select/advance-option.mjs';
|
|
8
|
-
import './pct-multiple-menu-condition.vue_vue_type_style_index_0_scoped_ca1affd9_lang.mjs';
|
|
9
8
|
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
|
|
10
9
|
|
|
11
10
|
// Inject __name helper
|
|
@@ -524,7 +523,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
524
523
|
class: normalizeClass(unref(ns).be("filter", "option"))
|
|
525
524
|
}, null, 8, ["value", "label", "showLetterAvatar", "class"]);
|
|
526
525
|
}), 128))
|
|
527
|
-
]
|
|
526
|
+
])
|
|
528
527
|
]),
|
|
529
528
|
_: 3
|
|
530
529
|
}, 8, ["showLetterAvatar", "multiple", "modelValue", "class", "showSelectIcon", "loading", "width"])
|
|
@@ -532,6 +531,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
532
531
|
};
|
|
533
532
|
}
|
|
534
533
|
});
|
|
535
|
-
var PctMultipleMenuCondition = /* @__PURE__ */ _export_sfc(_sfc_main, [["
|
|
534
|
+
var PctMultipleMenuCondition = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "pct-multiple-menu-condition.vue"]]);
|
|
536
535
|
|
|
537
536
|
export { PctMultipleMenuCondition as default };
|
|
@@ -8,7 +8,7 @@ var webBaseClientVue = require('@ctzy-web-client/web-base-client-vue');
|
|
|
8
8
|
var eventsHelpers = require('./events-helpers.js');
|
|
9
9
|
var useAdvanceOption = require('./use-advance-option.js');
|
|
10
10
|
var pinyinPro = require('pinyin-pro');
|
|
11
|
-
require('./advance-option.
|
|
11
|
+
require('./advance-option.vue_vue_type_style_index_0_scoped_1e505c71_lang.js');
|
|
12
12
|
var _pluginVue_exportHelper = require('../_virtual/_plugin-vue_export-helper.js');
|
|
13
13
|
|
|
14
14
|
// Inject __name helper
|
|
@@ -133,12 +133,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
133
133
|
!$setup.showLetterAvatarStatus ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
134
134
|
key: 0,
|
|
135
135
|
class: vue.normalizeClass($setup.ns.be("option", "content-label")),
|
|
136
|
-
style: { "width": "178px" }
|
|
136
|
+
style: { "width": "100%", "min-width": "178px" }
|
|
137
137
|
}, vue.toDisplayString($setup.currentLabel), 3)) : vue.createCommentVNode("v-if", true),
|
|
138
138
|
$setup.showLetterAvatarStatus ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
139
139
|
key: 1,
|
|
140
140
|
class: vue.normalizeClass($setup.ns.be("option", "content-label")),
|
|
141
|
-
style: { "width": "178px", "display": "flex", "align-items": "center" }
|
|
141
|
+
style: { "width": "100%", "min-width": "178px", "display": "flex", "align-items": "center" }
|
|
142
142
|
}, [
|
|
143
143
|
vue.createElementVNode("div", {
|
|
144
144
|
class: "letter-circle",
|
|
@@ -163,6 +163,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
163
163
|
}, 8, ["class"])) : vue.createCommentVNode("v-if", true)
|
|
164
164
|
], 2);
|
|
165
165
|
}
|
|
166
|
-
var BwaAdvanceOption = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
166
|
+
var BwaAdvanceOption = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-1e505c71"], ["__file", "advance-option.vue"]]);
|
|
167
167
|
|
|
168
168
|
exports["default"] = BwaAdvanceOption;
|
package/lib/components.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.letter-circle[data-v-
|
|
1
|
+
.letter-circle[data-v-1e505c71]{align-items:center;border-radius:50%;color:#fff;display:flex;font-size:14px;height:24px;justify-content:center;margin-right:8px;width:24px}
|
|
@@ -9,7 +9,6 @@ var webBaseClientVue = require('@ctzy-web-client/web-base-client-vue');
|
|
|
9
9
|
var index = require('../../hooks/use-data/index.js');
|
|
10
10
|
var advanceSelect = require('../../advance-select/advance-select.js');
|
|
11
11
|
var advanceOption = require('../../advance-select/advance-option.js');
|
|
12
|
-
require('./pct-multiple-menu-condition.vue_vue_type_style_index_0_scoped_ca1affd9_lang.js');
|
|
13
12
|
var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
|
|
14
13
|
|
|
15
14
|
// Inject __name helper
|
|
@@ -528,7 +527,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
528
527
|
class: vue.normalizeClass(vue.unref(ns).be("filter", "option"))
|
|
529
528
|
}, null, 8, ["value", "label", "showLetterAvatar", "class"]);
|
|
530
529
|
}), 128))
|
|
531
|
-
]
|
|
530
|
+
])
|
|
532
531
|
]),
|
|
533
532
|
_: 3
|
|
534
533
|
}, 8, ["showLetterAvatar", "multiple", "modelValue", "class", "showSelectIcon", "loading", "width"])
|
|
@@ -536,6 +535,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
536
535
|
};
|
|
537
536
|
}
|
|
538
537
|
});
|
|
539
|
-
var PctMultipleMenuCondition = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["
|
|
538
|
+
var PctMultipleMenuCondition = /* @__PURE__ */ _pluginVue_exportHelper["default"](_sfc_main, [["__file", "pct-multiple-menu-condition.vue"]]);
|
|
540
539
|
|
|
541
540
|
exports["default"] = PctMultipleMenuCondition;
|
package/package.json
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<ElTooltip placement="top" append-to=".bwa-application" :disabled="currentLabel.length < 16">
|
|
7
7
|
<div :class="ns.be('option', 'content-label')" ref="contentText">
|
|
8
8
|
|
|
9
|
-
<div v-if="!showLetterAvatarStatus" :class="ns.be('option', 'content-label')" style="width: 178px">{{ currentLabel }}</div>
|
|
10
|
-
<div v-if="showLetterAvatarStatus" :class="ns.be('option', 'content-label')" style="width: 178px;display: flex;align-items: center;" >
|
|
9
|
+
<div v-if="!showLetterAvatarStatus" :class="ns.be('option', 'content-label')" style="width: 100%;min-width: 178px;">{{ currentLabel }}</div>
|
|
10
|
+
<div v-if="showLetterAvatarStatus" :class="ns.be('option', 'content-label')" style="width: 100%;min-width: 178px;display: flex;align-items: center;" >
|
|
11
11
|
<div class="letter-circle" :style="{ backgroundColor: (processLabel(currentLabel).color) }">
|
|
12
12
|
{{ processLabel(currentLabel).firstLetter }}
|
|
13
13
|
</div>
|
|
@@ -403,23 +403,4 @@ const handleClearClick = () => {
|
|
|
403
403
|
defineExpose({
|
|
404
404
|
data
|
|
405
405
|
})
|
|
406
|
-
</script>
|
|
407
|
-
|
|
408
|
-
<style scoped>
|
|
409
|
-
@keyframes blink {
|
|
410
|
-
0%, 100% {
|
|
411
|
-
opacity: 1;
|
|
412
|
-
}
|
|
413
|
-
50% {
|
|
414
|
-
opacity: 0;
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
.cursor-blink {
|
|
419
|
-
display: inline-block;
|
|
420
|
-
width: 1px;
|
|
421
|
-
height: 16px;
|
|
422
|
-
background-color: #333;
|
|
423
|
-
animation: blink 1s infinite;
|
|
424
|
-
}
|
|
425
|
-
</style>
|
|
406
|
+
</script>
|