@dao-style/core 0.4.0 → 0.4.1
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/dist/components/header/props.d.ts +1 -1
- package/dist/components/nav/props.d.ts +1 -1
- package/dist/components/pagination/pagination-props.d.ts +4 -0
- package/dist/components/pagination/pagination.vue.d.ts +7 -0
- package/dist/components/table/table-props.d.ts +4 -4
- package/dist/components/table/table.vue.d.ts +7 -7
- package/dist/components/toolbar/toolbar-props.d.ts +4 -0
- package/dist/components/toolbar/toolbar.vue.d.ts +7 -0
- package/dist/dao-style.es.js +48 -34
- package/dist/dao-style.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import type Header from './header.vue';
|
|
3
|
-
export declare type HeaderType = '
|
|
3
|
+
export declare type HeaderType = '2nd' | '3rd';
|
|
4
4
|
export declare const headerProps: {
|
|
5
5
|
type: {
|
|
6
6
|
type: PropType<HeaderType>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
export declare type NavType = '
|
|
2
|
+
export declare type NavType = '2nd' | '3rd';
|
|
3
3
|
export declare const NAV_TYPES: Array<NavType>;
|
|
4
4
|
export declare type IndexType = number | string;
|
|
5
5
|
export declare type ActiveOpenedList = Array<IndexType>;
|
|
@@ -42,6 +42,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
type: import("vue").PropType<PaginationLayoutKey[]>;
|
|
43
43
|
default: string[];
|
|
44
44
|
};
|
|
45
|
+
noShadow: {
|
|
46
|
+
type: import("vue").PropType<boolean>;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
45
49
|
}, {
|
|
46
50
|
currentShowPage: import("vue").Ref<number | "">;
|
|
47
51
|
totalText: import("vue").ComputedRef<string>;
|
|
@@ -67,6 +71,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
67
71
|
currentPage?: unknown;
|
|
68
72
|
pageSizerWidth?: unknown;
|
|
69
73
|
layout?: unknown;
|
|
74
|
+
noShadow?: unknown;
|
|
70
75
|
} & {
|
|
71
76
|
total: number;
|
|
72
77
|
pageSize: number;
|
|
@@ -75,6 +80,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
80
|
currentPage: number;
|
|
76
81
|
pageSizerWidth: number;
|
|
77
82
|
layout: PaginationLayoutKey[];
|
|
83
|
+
noShadow: boolean;
|
|
78
84
|
} & {
|
|
79
85
|
pageFormat?: ((val: number) => string) | undefined;
|
|
80
86
|
totalFormat?: ((val: number) => string) | undefined;
|
|
@@ -95,5 +101,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
101
|
currentPage: number;
|
|
96
102
|
pageSizerWidth: number;
|
|
97
103
|
layout: PaginationLayoutKey[];
|
|
104
|
+
noShadow: boolean;
|
|
98
105
|
}>;
|
|
99
106
|
export default _default;
|
|
@@ -27,6 +27,10 @@ export declare const tableProps: {
|
|
|
27
27
|
type: BooleanConstructor;
|
|
28
28
|
default: boolean;
|
|
29
29
|
};
|
|
30
|
+
noShadow: {
|
|
31
|
+
type: PropType<boolean>;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
30
34
|
id: {
|
|
31
35
|
type: PropType<string>;
|
|
32
36
|
require: boolean;
|
|
@@ -96,10 +100,6 @@ export declare const tableProps: {
|
|
|
96
100
|
type: StringConstructor;
|
|
97
101
|
default: undefined;
|
|
98
102
|
};
|
|
99
|
-
noShadow: {
|
|
100
|
-
type: PropType<boolean>;
|
|
101
|
-
default: boolean;
|
|
102
|
-
};
|
|
103
103
|
pageLayout: {
|
|
104
104
|
type: PropType<import("../pagination/pagination-props").PaginationLayoutKey[]>;
|
|
105
105
|
default: string[];
|
|
@@ -27,6 +27,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
type: BooleanConstructor;
|
|
28
28
|
default: boolean;
|
|
29
29
|
};
|
|
30
|
+
noShadow: {
|
|
31
|
+
type: import("vue").PropType<boolean>;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
30
34
|
id: {
|
|
31
35
|
type: import("vue").PropType<string>;
|
|
32
36
|
require: boolean;
|
|
@@ -96,10 +100,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
100
|
type: StringConstructor;
|
|
97
101
|
default: undefined;
|
|
98
102
|
};
|
|
99
|
-
noShadow: {
|
|
100
|
-
type: import("vue").PropType<boolean>;
|
|
101
|
-
default: boolean;
|
|
102
|
-
};
|
|
103
103
|
pageLayout: {
|
|
104
104
|
type: import("vue").PropType<import("../pagination/pagination-props").PaginationLayoutKey[]>;
|
|
105
105
|
default: string[];
|
|
@@ -209,6 +209,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
209
209
|
fuzzy?: unknown;
|
|
210
210
|
hideRefresh?: unknown;
|
|
211
211
|
hideSearch?: unknown;
|
|
212
|
+
noShadow?: unknown;
|
|
212
213
|
id?: unknown;
|
|
213
214
|
columns?: unknown;
|
|
214
215
|
data?: unknown;
|
|
@@ -226,7 +227,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
227
|
currentPage?: unknown;
|
|
227
228
|
pageSizerWidth?: unknown;
|
|
228
229
|
emptyText?: unknown;
|
|
229
|
-
noShadow?: unknown;
|
|
230
230
|
pageLayout?: unknown;
|
|
231
231
|
hideBatchBar?: unknown;
|
|
232
232
|
hideToolbar?: unknown;
|
|
@@ -246,13 +246,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
246
246
|
compact: boolean;
|
|
247
247
|
currentPage: number;
|
|
248
248
|
pageSizerWidth: number;
|
|
249
|
+
noShadow: boolean;
|
|
249
250
|
searchOptions: import("../toolbar/types").SearchOption[];
|
|
250
251
|
hideRefresh: boolean;
|
|
251
252
|
hideSearch: boolean;
|
|
252
253
|
selectable: boolean | ((row: Record<string, unknown>, index: number) => boolean);
|
|
253
254
|
selectedRows: Record<string, unknown>[];
|
|
254
255
|
expandable: boolean;
|
|
255
|
-
noShadow: boolean;
|
|
256
256
|
pageLayout: import("../pagination/pagination-props").PaginationLayoutKey[];
|
|
257
257
|
hideBatchBar: boolean;
|
|
258
258
|
hideToolbar: boolean;
|
|
@@ -300,6 +300,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
300
300
|
compact: boolean;
|
|
301
301
|
currentPage: number;
|
|
302
302
|
pageSizerWidth: number;
|
|
303
|
+
noShadow: boolean;
|
|
303
304
|
searchOptions: import("../toolbar/types").SearchOption[];
|
|
304
305
|
fuzzy: import("../toolbar/types").FuzzyOption;
|
|
305
306
|
hideRefresh: boolean;
|
|
@@ -308,7 +309,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
308
309
|
selectedRows: Record<string, unknown>[];
|
|
309
310
|
expandable: boolean;
|
|
310
311
|
emptyText: string;
|
|
311
|
-
noShadow: boolean;
|
|
312
312
|
pageLayout: import("../pagination/pagination-props").PaginationLayoutKey[];
|
|
313
313
|
hideBatchBar: boolean;
|
|
314
314
|
hideToolbar: boolean;
|
|
@@ -24,6 +24,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
type: BooleanConstructor;
|
|
25
25
|
default: boolean;
|
|
26
26
|
};
|
|
27
|
+
noShadow: {
|
|
28
|
+
type: import("vue").PropType<boolean>;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
27
31
|
}, {
|
|
28
32
|
t: import("vue-i18n").ComposerTranslation<{
|
|
29
33
|
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
@@ -47,9 +51,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
51
|
fuzzy?: unknown;
|
|
48
52
|
hideRefresh?: unknown;
|
|
49
53
|
hideSearch?: unknown;
|
|
54
|
+
noShadow?: unknown;
|
|
50
55
|
} & {
|
|
51
56
|
search: Record<string, SearchValue[]>;
|
|
52
57
|
searchPlaceholder: string;
|
|
58
|
+
noShadow: boolean;
|
|
53
59
|
searchOptions: import("./types").SearchOption[];
|
|
54
60
|
hideRefresh: boolean;
|
|
55
61
|
hideSearch: boolean;
|
|
@@ -62,6 +68,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
68
|
}, {
|
|
63
69
|
search: Record<string, SearchValue[]>;
|
|
64
70
|
searchPlaceholder: string;
|
|
71
|
+
noShadow: boolean;
|
|
65
72
|
searchOptions: import("./types").SearchOption[];
|
|
66
73
|
fuzzy: import("./types").FuzzyOption;
|
|
67
74
|
hideRefresh: boolean;
|
package/dist/dao-style.es.js
CHANGED
|
@@ -3862,7 +3862,7 @@ const _hoisted_6$4 = {
|
|
|
3862
3862
|
key: 4,
|
|
3863
3863
|
class: "dao-expansion-item-header-item"
|
|
3864
3864
|
};
|
|
3865
|
-
const _hoisted_7$
|
|
3865
|
+
const _hoisted_7$2 = { class: "dao-expansion-item-content-container" };
|
|
3866
3866
|
const _hoisted_8$1 = { class: "dao-expansion-item-content" };
|
|
3867
3867
|
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3868
3868
|
const _component_dao_icon = resolveComponent("dao-icon");
|
|
@@ -3931,7 +3931,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3931
3931
|
onAfterLeave: _ctx.onAfterLeave
|
|
3932
3932
|
}, {
|
|
3933
3933
|
default: withCtx(() => [
|
|
3934
|
-
withDirectives(createElementVNode("div", _hoisted_7$
|
|
3934
|
+
withDirectives(createElementVNode("div", _hoisted_7$2, [
|
|
3935
3935
|
createElementVNode("div", _hoisted_8$1, [
|
|
3936
3936
|
renderSlot(_ctx.$slots, "default")
|
|
3937
3937
|
])
|
|
@@ -4127,7 +4127,7 @@ var formGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render
|
|
|
4127
4127
|
const headerProps = {
|
|
4128
4128
|
type: {
|
|
4129
4129
|
type: String,
|
|
4130
|
-
default: "
|
|
4130
|
+
default: "2nd"
|
|
4131
4131
|
},
|
|
4132
4132
|
title: {
|
|
4133
4133
|
type: String,
|
|
@@ -4141,7 +4141,7 @@ const _sfc_main$q = defineComponent({
|
|
|
4141
4141
|
setup(props, { slots }) {
|
|
4142
4142
|
const showInfo = computed(() => ({
|
|
4143
4143
|
title: props.type === "3rd" ? false : Boolean(props.title || slots.title),
|
|
4144
|
-
breadcrumb: props.type === "
|
|
4144
|
+
breadcrumb: props.type === "2nd" ? false : slots.breadcrumb
|
|
4145
4145
|
}));
|
|
4146
4146
|
return {
|
|
4147
4147
|
ns: "dao-header",
|
|
@@ -4810,7 +4810,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4810
4810
|
], 34)) : createCommentVNode("", true);
|
|
4811
4811
|
}
|
|
4812
4812
|
var message = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$l]]);
|
|
4813
|
-
const NAV_TYPES = ["
|
|
4813
|
+
const NAV_TYPES = ["2nd", "3rd"];
|
|
4814
4814
|
const navProps = {
|
|
4815
4815
|
accordion: {
|
|
4816
4816
|
type: Boolean,
|
|
@@ -4822,7 +4822,7 @@ const navProps = {
|
|
|
4822
4822
|
},
|
|
4823
4823
|
type: {
|
|
4824
4824
|
type: String,
|
|
4825
|
-
default: "
|
|
4825
|
+
default: "2nd",
|
|
4826
4826
|
validator: (value) => NAV_TYPES.includes(value)
|
|
4827
4827
|
}
|
|
4828
4828
|
};
|
|
@@ -5004,14 +5004,14 @@ const _sfc_main$k = defineComponent({
|
|
|
5004
5004
|
}
|
|
5005
5005
|
const { icon, title, useFont } = toRefs(props);
|
|
5006
5006
|
const showIcon = computed(() => (rootNav == null ? void 0 : rootNav.type) === "3rd" || Boolean(unref(icon)));
|
|
5007
|
-
const headIcon = computed(() => (rootNav == null ? void 0 : rootNav.type) === "
|
|
5008
|
-
const isFontType = computed(() => (rootNav == null ? void 0 : rootNav.type) === "
|
|
5007
|
+
const headIcon = computed(() => (rootNav == null ? void 0 : rootNav.type) === "2nd" ? unref(icon) : "icon-back");
|
|
5008
|
+
const isFontType = computed(() => (rootNav == null ? void 0 : rootNav.type) === "2nd" ? unref(useFont) : true);
|
|
5009
5009
|
const classHeadList = computed(() => [
|
|
5010
5010
|
"dao-nav__head",
|
|
5011
5011
|
`dao-nav__head--${rootNav == null ? void 0 : rootNav.type}`
|
|
5012
5012
|
]);
|
|
5013
5013
|
const handleClickBack = () => {
|
|
5014
|
-
if ((rootNav == null ? void 0 : rootNav.type) === "
|
|
5014
|
+
if ((rootNav == null ? void 0 : rootNav.type) === "2nd") {
|
|
5015
5015
|
return;
|
|
5016
5016
|
}
|
|
5017
5017
|
rootNav == null ? void 0 : rootNav.handleNavHeadClick();
|
|
@@ -5077,7 +5077,7 @@ const _sfc_main$j = defineComponent({
|
|
|
5077
5077
|
isExactActive,
|
|
5078
5078
|
index: index2
|
|
5079
5079
|
} = toRefs(props);
|
|
5080
|
-
const showIcon = computed(() => (rootNav == null ? void 0 : rootNav.type) === "
|
|
5080
|
+
const showIcon = computed(() => (rootNav == null ? void 0 : rootNav.type) === "2nd" && Boolean(icon.value));
|
|
5081
5081
|
const isSelect = computed(() => (rootNav == null ? void 0 : rootNav.activeItemIdx) === index2.value);
|
|
5082
5082
|
const isNavItemActive = computed(() => {
|
|
5083
5083
|
const unrefIsActive = unref(isActive);
|
|
@@ -5199,7 +5199,7 @@ const _sfc_main$i = defineComponent({
|
|
|
5199
5199
|
const currentActiveIndex = ref(false);
|
|
5200
5200
|
const opened = ref(false);
|
|
5201
5201
|
const childrenActiveMap = reactive(new Map());
|
|
5202
|
-
const showIcon = computed(() => (rootNav == null ? void 0 : rootNav.type) === "
|
|
5202
|
+
const showIcon = computed(() => (rootNav == null ? void 0 : rootNav.type) === "2nd" && Boolean(icon.value));
|
|
5203
5203
|
const foldIcon = computed(() => opened.value ? "icon_caret-up" : "icon_caret-down");
|
|
5204
5204
|
const isSelect = computed(() => (rootNav == null ? void 0 : rootNav.activeItemIdx) === index2.value);
|
|
5205
5205
|
const classSubList = computed(() => {
|
|
@@ -5391,6 +5391,10 @@ const paginationProps = {
|
|
|
5391
5391
|
layout: {
|
|
5392
5392
|
type: Array,
|
|
5393
5393
|
default: ["total", "pager", "sizer"]
|
|
5394
|
+
},
|
|
5395
|
+
noShadow: {
|
|
5396
|
+
type: Boolean,
|
|
5397
|
+
default: false
|
|
5394
5398
|
}
|
|
5395
5399
|
};
|
|
5396
5400
|
function tryOnScopeDispose(fn2) {
|
|
@@ -5895,7 +5899,7 @@ const _hoisted_3$6 = {
|
|
|
5895
5899
|
const _hoisted_4$3 = ["placeholder"];
|
|
5896
5900
|
const _hoisted_5$3 = /* @__PURE__ */ createElementVNode("i", { class: "icon-search dao-selection-search-icon" }, null, -1);
|
|
5897
5901
|
const _hoisted_6$2 = { class: "dao-option-list" };
|
|
5898
|
-
const _hoisted_7$
|
|
5902
|
+
const _hoisted_7$1 = {
|
|
5899
5903
|
key: "dao-option-placeholder",
|
|
5900
5904
|
class: "dao-option-placeholder"
|
|
5901
5905
|
};
|
|
@@ -5951,7 +5955,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5951
5955
|
]),
|
|
5952
5956
|
createElementVNode("ul", _hoisted_6$2, [
|
|
5953
5957
|
renderSlot(_ctx.$slots, "default"),
|
|
5954
|
-
_ctx.isNoResult || _ctx.loading ? (openBlock(), createElementBlock("li", _hoisted_7$
|
|
5958
|
+
_ctx.isNoResult || _ctx.loading ? (openBlock(), createElementBlock("li", _hoisted_7$1, [
|
|
5955
5959
|
_ctx.loading ? (openBlock(), createBlock(_component_dao_button, {
|
|
5956
5960
|
key: 0,
|
|
5957
5961
|
type: "ghost",
|
|
@@ -6258,7 +6262,11 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6258
6262
|
const _component_dao_select = resolveComponent("dao-select");
|
|
6259
6263
|
return _ctx.computedLayout.show ? (openBlock(), createElementBlock("div", {
|
|
6260
6264
|
key: 0,
|
|
6261
|
-
class: normalizeClass([
|
|
6265
|
+
class: normalizeClass([
|
|
6266
|
+
"dao-pagination",
|
|
6267
|
+
{ "dao-pagination--compact": _ctx.compact },
|
|
6268
|
+
{ "dao-pagination--with-shadow": !_ctx.noShadow }
|
|
6269
|
+
])
|
|
6262
6270
|
}, [
|
|
6263
6271
|
createElementVNode("div", {
|
|
6264
6272
|
class: normalizeClass(["dao-pagination__total", { "is-invisible": !_ctx.computedLayout.total }])
|
|
@@ -7042,6 +7050,10 @@ const toolbarProps = {
|
|
|
7042
7050
|
hideSearch: {
|
|
7043
7051
|
type: Boolean,
|
|
7044
7052
|
default: false
|
|
7053
|
+
},
|
|
7054
|
+
noShadow: {
|
|
7055
|
+
type: Boolean,
|
|
7056
|
+
default: false
|
|
7045
7057
|
}
|
|
7046
7058
|
};
|
|
7047
7059
|
var toolbar_vue_vue_type_style_index_0_lang = "";
|
|
@@ -7098,22 +7110,21 @@ const _sfc_main$7 = defineComponent({
|
|
|
7098
7110
|
};
|
|
7099
7111
|
}
|
|
7100
7112
|
});
|
|
7101
|
-
const _hoisted_1$4 = { class: "dao-toolbar
|
|
7102
|
-
const _hoisted_2$3 = {
|
|
7103
|
-
const _hoisted_3$2 = {
|
|
7113
|
+
const _hoisted_1$4 = { class: "dao-toolbar" };
|
|
7114
|
+
const _hoisted_2$3 = {
|
|
7104
7115
|
key: 0,
|
|
7105
7116
|
class: "dao-toolbar__filter"
|
|
7106
7117
|
};
|
|
7107
|
-
const
|
|
7118
|
+
const _hoisted_3$2 = {
|
|
7108
7119
|
key: 1,
|
|
7109
7120
|
class: "dao-toolbar__search"
|
|
7110
7121
|
};
|
|
7111
|
-
const
|
|
7112
|
-
const
|
|
7122
|
+
const _hoisted_4$1 = { class: "dao-toolbar__actions" };
|
|
7123
|
+
const _hoisted_5$1 = {
|
|
7113
7124
|
key: 2,
|
|
7114
7125
|
class: "dao-toolbar__primary-action"
|
|
7115
7126
|
};
|
|
7116
|
-
const
|
|
7127
|
+
const _hoisted_6$1 = {
|
|
7117
7128
|
key: 0,
|
|
7118
7129
|
class: "dao-toolbar__tag-container"
|
|
7119
7130
|
};
|
|
@@ -7121,12 +7132,17 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7121
7132
|
const _component_dao_toolbar_filter = resolveComponent("dao-toolbar-filter");
|
|
7122
7133
|
const _component_dao_action_icon = resolveComponent("dao-action-icon");
|
|
7123
7134
|
const _component_dao_tag = resolveComponent("dao-tag");
|
|
7124
|
-
return openBlock(), createElementBlock("div",
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7135
|
+
return openBlock(), createElementBlock("div", {
|
|
7136
|
+
class: normalizeClass(["dao-toolbar-container", { "dao-toolbar-container--with-shadow": !_ctx.noShadow }])
|
|
7137
|
+
}, [
|
|
7138
|
+
createElementVNode("div", _hoisted_1$4, [
|
|
7139
|
+
_ctx.$slots.filter ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
7140
|
+
renderSlot(_ctx.$slots, "filter", { classNames: {
|
|
7141
|
+
label: "dao-toolbar__filter-label",
|
|
7142
|
+
widget: "dao-toolbar__filter-widget"
|
|
7143
|
+
} })
|
|
7128
7144
|
])) : createCommentVNode("", true),
|
|
7129
|
-
!_ctx.hideSearch ? (openBlock(), createElementBlock("div",
|
|
7145
|
+
!_ctx.hideSearch ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
7130
7146
|
renderSlot(_ctx.$slots, "search", {}, () => [
|
|
7131
7147
|
createVNode(_component_dao_toolbar_filter, {
|
|
7132
7148
|
search: _ctx.searchModel,
|
|
@@ -7138,7 +7154,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7138
7154
|
}, null, 8, ["search", "search-placeholder", "search-options", "fuzzy"])
|
|
7139
7155
|
])
|
|
7140
7156
|
])) : createCommentVNode("", true),
|
|
7141
|
-
createElementVNode("div",
|
|
7157
|
+
createElementVNode("div", _hoisted_4$1, [
|
|
7142
7158
|
!_ctx.hideRefresh ? (openBlock(), createBlock(_component_dao_action_icon, {
|
|
7143
7159
|
key: 0,
|
|
7144
7160
|
class: "dao-toolbar__actions-refresh",
|
|
@@ -7146,11 +7162,11 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7146
7162
|
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("refresh"))
|
|
7147
7163
|
})) : createCommentVNode("", true)
|
|
7148
7164
|
]),
|
|
7149
|
-
_ctx.$slots.action ? (openBlock(), createElementBlock("div",
|
|
7165
|
+
_ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
7150
7166
|
renderSlot(_ctx.$slots, "action")
|
|
7151
7167
|
])) : createCommentVNode("", true)
|
|
7152
7168
|
]),
|
|
7153
|
-
_ctx.search && Object.keys(_ctx.search).length ? (openBlock(), createElementBlock("div",
|
|
7169
|
+
_ctx.search && Object.keys(_ctx.search).length ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
|
|
7154
7170
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.search, (values, key) => {
|
|
7155
7171
|
return openBlock(), createElementBlock(Fragment, { key }, [
|
|
7156
7172
|
_ctx.isFuzzyOption(key) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(values, (value, index2) => {
|
|
@@ -7188,7 +7204,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7188
7204
|
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.clearFilter && _ctx.clearFilter(...args))
|
|
7189
7205
|
}, toDisplayString(_ctx.t("core.toolbar.clear")), 1)
|
|
7190
7206
|
])) : createCommentVNode("", true)
|
|
7191
|
-
]);
|
|
7207
|
+
], 2);
|
|
7192
7208
|
}
|
|
7193
7209
|
var DaoToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$6]]);
|
|
7194
7210
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
@@ -7515,10 +7531,6 @@ const tableProps = __spreadValues({
|
|
|
7515
7531
|
type: String,
|
|
7516
7532
|
default: void 0
|
|
7517
7533
|
},
|
|
7518
|
-
noShadow: {
|
|
7519
|
-
type: Boolean,
|
|
7520
|
-
default: false
|
|
7521
|
-
},
|
|
7522
7534
|
pageLayout: paginationProps.layout,
|
|
7523
7535
|
hideBatchBar: {
|
|
7524
7536
|
type: Boolean,
|
|
@@ -8029,6 +8041,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8029
8041
|
"search-placeholder": _ctx.searchPlaceholder,
|
|
8030
8042
|
"hide-refresh": _ctx.hideRefresh,
|
|
8031
8043
|
"hide-search": _ctx.hideSearch,
|
|
8044
|
+
"no-shadow": "",
|
|
8032
8045
|
onSearch: _ctx.onSearch,
|
|
8033
8046
|
onRefresh: _ctx.onRefresh
|
|
8034
8047
|
}, createSlots({
|
|
@@ -8210,6 +8223,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8210
8223
|
"total-format": _ctx.totalFormat,
|
|
8211
8224
|
layout: _ctx.pageLayout,
|
|
8212
8225
|
"page-sizer-width": _ctx.pageSizerWidth,
|
|
8226
|
+
"no-shadow": "",
|
|
8213
8227
|
onNext: _cache[4] || (_cache[4] = ($event) => {
|
|
8214
8228
|
_ctx.$emit("next", $event);
|
|
8215
8229
|
_ctx.clearState();
|