@weitutech/by-components 1.1.195 → 1.1.196

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.
@@ -74273,6 +74273,7 @@ __webpack_require__.r(__webpack_exports__);
74273
74273
  // EXPORTS
74274
74274
  __webpack_require__.d(__webpack_exports__, {
74275
74275
  ByBatchQuerySelector: function() { return /* reexport */ BatchQuerySelector; },
74276
+ ByCardView: function() { return /* reexport */ ByCardView; },
74276
74277
  ByCascaderPanel: function() { return /* reexport */ ByCascaderPanel; },
74277
74278
  ByCommonInput: function() { return /* reexport */ ByCommonInput; },
74278
74279
  ByCommonSelector: function() { return /* reexport */ ByCommonSelector; },
@@ -97564,6 +97565,86 @@ var ByTag_component = normalizeComponent(
97564
97565
  )
97565
97566
 
97566
97567
  /* harmony default export */ var ByTag = (ByTag_component.exports);
97568
+ ;// ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8cd600e8-vue-loader-template"}!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/card-view/ByCardView.vue?vue&type=template&id=31b49a25
97569
+ var ByCardViewvue_type_template_id_31b49a25_render = function render() {
97570
+ var _vm = this,
97571
+ _c = _vm._self._c;
97572
+ return _c('div', {
97573
+ staticClass: "config-section by-card-view",
97574
+ class: {
97575
+ 'config-section--plain': _vm.plain
97576
+ }
97577
+ }, [_vm.$slots.header ? _vm._t("header") : _vm.showTitleRow ? _c('div', {
97578
+ staticClass: "section-title"
97579
+ }, [_vm.hasTitleText ? _c('span', {
97580
+ staticClass: "section-title-text"
97581
+ }, [_vm._t("title", function () {
97582
+ return [_vm._v(_vm._s(_vm.title))];
97583
+ })], 2) : _vm._e(), _vm.$slots.extra ? _c('div', {
97584
+ staticClass: "section-title-switch"
97585
+ }, [_vm._t("extra")], 2) : _vm._e()]) : _vm._e(), _c('div', {
97586
+ staticClass: "section-content"
97587
+ }, [_vm._t("default")], 2)], 2);
97588
+ };
97589
+ var ByCardViewvue_type_template_id_31b49a25_staticRenderFns = [];
97590
+
97591
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/card-view/ByCardView.vue?vue&type=script&lang=js
97592
+ /**
97593
+ * 卡片区块:标题 + 可自定义正文,默认带边框卡片,plain 时无边框与背景融为一体。
97594
+ *
97595
+ * @example
97596
+ * <by-card-view title="展示名称">…</by-card-view>
97597
+ * <by-card-view title="分配规则配置" :plain="true">
97598
+ * <template #extra><el-switch v-model="on" /></template>
97599
+ * …
97600
+ * </by-card-view>
97601
+ * <by-card-view><template #header>自定义整块标题区</template>…</by-card-view>
97602
+ */
97603
+ /* harmony default export */ var ByCardViewvue_type_script_lang_js = ({
97604
+ name: 'ByCardView',
97605
+ props: {
97606
+ /** 标题文案;复杂标题请用 #title 插槽 */
97607
+ title: {
97608
+ type: String,
97609
+ default: ''
97610
+ },
97611
+ /** 为 true 时使用无边框模式(config-section--plain) */
97612
+ plain: {
97613
+ type: Boolean,
97614
+ default: false
97615
+ }
97616
+ },
97617
+ computed: {
97618
+ showTitleRow() {
97619
+ return this.title || this.$slots.title || this.$slots.extra;
97620
+ },
97621
+ hasTitleText() {
97622
+ return this.title || this.$slots.title;
97623
+ }
97624
+ }
97625
+ });
97626
+ ;// ./src/components/card-view/ByCardView.vue?vue&type=script&lang=js
97627
+ /* harmony default export */ var card_view_ByCardViewvue_type_script_lang_js = (ByCardViewvue_type_script_lang_js);
97628
+ ;// ./src/components/card-view/ByCardView.vue
97629
+
97630
+
97631
+
97632
+
97633
+
97634
+ /* normalize component */
97635
+ ;
97636
+ var ByCardView_component = normalizeComponent(
97637
+ card_view_ByCardViewvue_type_script_lang_js,
97638
+ ByCardViewvue_type_template_id_31b49a25_render,
97639
+ ByCardViewvue_type_template_id_31b49a25_staticRenderFns,
97640
+ false,
97641
+ null,
97642
+ null,
97643
+ null
97644
+
97645
+ )
97646
+
97647
+ /* harmony default export */ var ByCardView = (ByCardView_component.exports);
97567
97648
  ;// ./src/index.js
97568
97649
 
97569
97650
 
@@ -97588,6 +97669,7 @@ var ByTag_component = normalizeComponent(
97588
97669
 
97589
97670
 
97590
97671
 
97672
+
97591
97673
 
97592
97674
 
97593
97675
  const components = {
@@ -97609,7 +97691,8 @@ const components = {
97609
97691
  ByPopoverSelector: ByPopoverSelector,
97610
97692
  ByGridLayout: ByGridLayout,
97611
97693
  ByCommonInput: ByCommonInput,
97612
- ByTag: ByTag
97694
+ ByTag: ByTag,
97695
+ ByCardView: ByCardView
97613
97696
  };
97614
97697
 
97615
97698
  // 设置当前 z-index 起始值
@@ -74283,6 +74283,7 @@ __webpack_require__.r(__webpack_exports__);
74283
74283
  // EXPORTS
74284
74284
  __webpack_require__.d(__webpack_exports__, {
74285
74285
  ByBatchQuerySelector: function() { return /* reexport */ BatchQuerySelector; },
74286
+ ByCardView: function() { return /* reexport */ ByCardView; },
74286
74287
  ByCascaderPanel: function() { return /* reexport */ ByCascaderPanel; },
74287
74288
  ByCommonInput: function() { return /* reexport */ ByCommonInput; },
74288
74289
  ByCommonSelector: function() { return /* reexport */ ByCommonSelector; },
@@ -97574,6 +97575,86 @@ var ByTag_component = normalizeComponent(
97574
97575
  )
97575
97576
 
97576
97577
  /* harmony default export */ var ByTag = (ByTag_component.exports);
97578
+ ;// ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8cd600e8-vue-loader-template"}!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/card-view/ByCardView.vue?vue&type=template&id=31b49a25
97579
+ var ByCardViewvue_type_template_id_31b49a25_render = function render() {
97580
+ var _vm = this,
97581
+ _c = _vm._self._c;
97582
+ return _c('div', {
97583
+ staticClass: "config-section by-card-view",
97584
+ class: {
97585
+ 'config-section--plain': _vm.plain
97586
+ }
97587
+ }, [_vm.$slots.header ? _vm._t("header") : _vm.showTitleRow ? _c('div', {
97588
+ staticClass: "section-title"
97589
+ }, [_vm.hasTitleText ? _c('span', {
97590
+ staticClass: "section-title-text"
97591
+ }, [_vm._t("title", function () {
97592
+ return [_vm._v(_vm._s(_vm.title))];
97593
+ })], 2) : _vm._e(), _vm.$slots.extra ? _c('div', {
97594
+ staticClass: "section-title-switch"
97595
+ }, [_vm._t("extra")], 2) : _vm._e()]) : _vm._e(), _c('div', {
97596
+ staticClass: "section-content"
97597
+ }, [_vm._t("default")], 2)], 2);
97598
+ };
97599
+ var ByCardViewvue_type_template_id_31b49a25_staticRenderFns = [];
97600
+
97601
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/card-view/ByCardView.vue?vue&type=script&lang=js
97602
+ /**
97603
+ * 卡片区块:标题 + 可自定义正文,默认带边框卡片,plain 时无边框与背景融为一体。
97604
+ *
97605
+ * @example
97606
+ * <by-card-view title="展示名称">…</by-card-view>
97607
+ * <by-card-view title="分配规则配置" :plain="true">
97608
+ * <template #extra><el-switch v-model="on" /></template>
97609
+ * …
97610
+ * </by-card-view>
97611
+ * <by-card-view><template #header>自定义整块标题区</template>…</by-card-view>
97612
+ */
97613
+ /* harmony default export */ var ByCardViewvue_type_script_lang_js = ({
97614
+ name: 'ByCardView',
97615
+ props: {
97616
+ /** 标题文案;复杂标题请用 #title 插槽 */
97617
+ title: {
97618
+ type: String,
97619
+ default: ''
97620
+ },
97621
+ /** 为 true 时使用无边框模式(config-section--plain) */
97622
+ plain: {
97623
+ type: Boolean,
97624
+ default: false
97625
+ }
97626
+ },
97627
+ computed: {
97628
+ showTitleRow() {
97629
+ return this.title || this.$slots.title || this.$slots.extra;
97630
+ },
97631
+ hasTitleText() {
97632
+ return this.title || this.$slots.title;
97633
+ }
97634
+ }
97635
+ });
97636
+ ;// ./src/components/card-view/ByCardView.vue?vue&type=script&lang=js
97637
+ /* harmony default export */ var card_view_ByCardViewvue_type_script_lang_js = (ByCardViewvue_type_script_lang_js);
97638
+ ;// ./src/components/card-view/ByCardView.vue
97639
+
97640
+
97641
+
97642
+
97643
+
97644
+ /* normalize component */
97645
+ ;
97646
+ var ByCardView_component = normalizeComponent(
97647
+ card_view_ByCardViewvue_type_script_lang_js,
97648
+ ByCardViewvue_type_template_id_31b49a25_render,
97649
+ ByCardViewvue_type_template_id_31b49a25_staticRenderFns,
97650
+ false,
97651
+ null,
97652
+ null,
97653
+ null
97654
+
97655
+ )
97656
+
97657
+ /* harmony default export */ var ByCardView = (ByCardView_component.exports);
97577
97658
  ;// ./src/index.js
97578
97659
 
97579
97660
 
@@ -97598,6 +97679,7 @@ var ByTag_component = normalizeComponent(
97598
97679
 
97599
97680
 
97600
97681
 
97682
+
97601
97683
 
97602
97684
 
97603
97685
  const components = {
@@ -97619,7 +97701,8 @@ const components = {
97619
97701
  ByPopoverSelector: ByPopoverSelector,
97620
97702
  ByGridLayout: ByGridLayout,
97621
97703
  ByCommonInput: ByCommonInput,
97622
- ByTag: ByTag
97704
+ ByTag: ByTag,
97705
+ ByCardView: ByCardView
97623
97706
  };
97624
97707
 
97625
97708
  // 设置当前 z-index 起始值