@opentinyvue/vue-dialog-box 2.21.0 → 3.21.0
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/lib/index.js +1 -1
- package/lib/mobile-first.js +192 -186
- package/lib/mobile.js +112 -95
- package/lib/pc.js +158 -149
- package/package.json +4 -4
- package/src/index.d.ts +270 -1
- package/src/mobile-first.vue.d.ts +119 -1
- package/src/mobile.vue.d.ts +74 -1
- package/src/pc.vue.d.ts +118 -1
package/lib/pc.js
CHANGED
|
@@ -2,38 +2,42 @@ import { renderless, api } from '@opentinyvue/vue-renderless/dialog-box/vue';
|
|
|
2
2
|
import { defineComponent, props, setup } from '@opentinyvue/vue-common';
|
|
3
3
|
import { iconClose, iconFullscreen, iconMinscreen } from '@opentinyvue/vue-icon';
|
|
4
4
|
import '@opentinyvue/vue-theme/dialog-box/index.css';
|
|
5
|
+
import { resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, withModifiers, createVNode, createElementBlock, normalizeStyle, renderSlot, toDisplayString, createCommentVNode, vShow } from 'vue';
|
|
5
6
|
|
|
6
|
-
function
|
|
7
|
-
var
|
|
8
|
-
if (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
hook = injectStyles;
|
|
7
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
8
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
9
|
+
if (t) return (t = t.call(r)).next.bind(t);
|
|
10
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
11
|
+
t && (r = t);
|
|
12
|
+
var o = 0;
|
|
13
|
+
return function() {
|
|
14
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
15
|
+
};
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
25
|
-
} else {
|
|
26
|
-
var existing = options.beforeCreate;
|
|
27
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
28
|
-
}
|
|
17
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
18
|
+
}
|
|
19
|
+
function _unsupportedIterableToArray(r, a) {
|
|
20
|
+
if (r) {
|
|
21
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
22
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
23
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
29
24
|
}
|
|
30
|
-
return {
|
|
31
|
-
exports: scriptExports,
|
|
32
|
-
options
|
|
33
|
-
};
|
|
34
25
|
}
|
|
26
|
+
function _arrayLikeToArray(r, a) {
|
|
27
|
+
(null == a || a > r.length) && (a = r.length);
|
|
28
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
29
|
+
return n;
|
|
30
|
+
}
|
|
31
|
+
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
32
|
+
var target = sfc.__vccOpts || sfc;
|
|
33
|
+
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
34
|
+
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
35
|
+
target[key] = val;
|
|
36
|
+
}
|
|
37
|
+
return target;
|
|
38
|
+
};
|
|
35
39
|
|
|
36
|
-
var
|
|
40
|
+
var _sfc_main = defineComponent({
|
|
37
41
|
components: {
|
|
38
42
|
IconClose: iconClose(),
|
|
39
43
|
IconFullscreen: iconFullscreen(),
|
|
@@ -74,129 +78,134 @@ var __vue2_script = defineComponent({
|
|
|
74
78
|
});
|
|
75
79
|
}
|
|
76
80
|
});
|
|
77
|
-
var
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
var _c = _vm._self._c || _h;
|
|
81
|
-
return _c("transition", {
|
|
82
|
-
attrs: {
|
|
83
|
-
"duration": _vm.noAnimation ? 0 : void 0,
|
|
84
|
-
"name": _vm.state.animationName
|
|
85
|
-
},
|
|
86
|
-
on: {
|
|
87
|
-
"after-enter": _vm.afterEnter,
|
|
88
|
-
"after-leave": _vm.afterLeave
|
|
89
|
-
}
|
|
90
|
-
}, [_c("div", {
|
|
91
|
-
directives: [{
|
|
92
|
-
name: "show",
|
|
93
|
-
rawName: "v-show",
|
|
94
|
-
value: _vm.visible,
|
|
95
|
-
expression: "visible"
|
|
96
|
-
}],
|
|
97
|
-
class: ["tiny-dialog-box__wrapper", _vm.dialogClass],
|
|
98
|
-
on: {
|
|
99
|
-
"click": function click($event) {
|
|
100
|
-
if ($event.target !== $event.currentTarget) return null;
|
|
101
|
-
return _vm.handleWrapperClick.apply(null, arguments);
|
|
102
|
-
},
|
|
103
|
-
"mouseup": _vm.useMouseEventUp,
|
|
104
|
-
"mousedown": _vm.useMouseEventDown
|
|
105
|
-
}
|
|
106
|
-
}, [_c("transition", {
|
|
107
|
-
attrs: {
|
|
108
|
-
"name": _vm.dialogTransition
|
|
109
|
-
}
|
|
110
|
-
}, [(_vm.destroyOnClose ? _vm.visible : true) ? _c("div", {
|
|
111
|
-
directives: [{
|
|
112
|
-
name: "show",
|
|
113
|
-
rawName: "v-show",
|
|
114
|
-
value: _vm.visible,
|
|
115
|
-
expression: "visible"
|
|
116
|
-
}],
|
|
117
|
-
key: _vm.state.key,
|
|
118
|
-
ref: "dialog",
|
|
119
|
-
staticClass: "tiny-dialog-box",
|
|
120
|
-
class: [{
|
|
121
|
-
"is-fullscreen": _vm.state.isFull,
|
|
122
|
-
"is-center": _vm.center,
|
|
123
|
-
"is-right-slide": _vm.rightSlide
|
|
124
|
-
}],
|
|
125
|
-
style: _vm.state.style,
|
|
126
|
-
attrs: {
|
|
127
|
-
"data-tag": "tiny-dialog-box",
|
|
128
|
-
"data-dialog-box-draggable": _vm.draggable
|
|
129
|
-
}
|
|
130
|
-
}, [_vm.showHeader ? _c("div", {
|
|
131
|
-
ref: "header",
|
|
132
|
-
staticClass: "tiny-dialog-box__header",
|
|
133
|
-
on: {
|
|
134
|
-
"mousedown": _vm.handleDrag
|
|
135
|
-
}
|
|
136
|
-
}, [_vm._t("title", function() {
|
|
137
|
-
return [_c("span", {
|
|
138
|
-
staticClass: "tiny-dialog-box__title"
|
|
139
|
-
}, [_vm._v(_vm._s(_vm.title))])];
|
|
140
|
-
}), _c("div", {
|
|
141
|
-
staticClass: "tiny-dialog-box__btn-tools"
|
|
142
|
-
}, [_vm.resize && !_vm.state.isFull ? _c("button", {
|
|
143
|
-
staticClass: "tiny-dialog-box__headerbtn",
|
|
144
|
-
attrs: {
|
|
145
|
-
"type": "button",
|
|
146
|
-
"aria-label": "Resize"
|
|
147
|
-
},
|
|
148
|
-
on: {
|
|
149
|
-
"click": function click($event) {
|
|
150
|
-
return _vm.toggleFullScreen(true);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}, [_c("icon-fullscreen", {
|
|
154
|
-
staticClass: "tiny-svg-size tiny-dialog-box__resize"
|
|
155
|
-
})], 1) : _vm._e(), _vm.resize && _vm.state.isFull ? _c("button", {
|
|
156
|
-
staticClass: "tiny-dialog-box__headerbtn",
|
|
157
|
-
attrs: {
|
|
158
|
-
"type": "button",
|
|
159
|
-
"aria-label": "Resize"
|
|
160
|
-
},
|
|
161
|
-
on: {
|
|
162
|
-
"click": function click($event) {
|
|
163
|
-
return _vm.toggleFullScreen(false);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}, [_c("icon-minscreen", {
|
|
167
|
-
staticClass: "tiny-svg-size tiny-dialog-box__resize"
|
|
168
|
-
})], 1) : _vm._e(), _vm.showClose ? _c("button", {
|
|
169
|
-
staticClass: "tiny-dialog-box__headerbtn",
|
|
170
|
-
attrs: {
|
|
171
|
-
"type": "button",
|
|
172
|
-
"aria-label": "Close"
|
|
173
|
-
},
|
|
174
|
-
on: {
|
|
175
|
-
"click": function click($event) {
|
|
176
|
-
return _vm.handleClose("close", $event);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}, [_c("icon-close", {
|
|
180
|
-
staticClass: "tiny-svg-size tiny-dialog-box__close"
|
|
181
|
-
})], 1) : _vm._e()])], 2) : _vm._e(), _c("div", {
|
|
182
|
-
staticClass: "tiny-dialog-box__body"
|
|
183
|
-
}, [_vm._t("default")], 2), _vm.slots.footer ? _c("div", {
|
|
184
|
-
ref: "footer",
|
|
185
|
-
staticClass: "tiny-dialog-box__footer"
|
|
186
|
-
}, [_vm._t("footer", null, {
|
|
187
|
-
"beforeClose": _vm.beforeClose
|
|
188
|
-
})], 2) : _vm._e()]) : _vm._e()])], 1)]);
|
|
81
|
+
var _hoisted_1 = ["data-dialog-box-draggable"];
|
|
82
|
+
var _hoisted_2 = {
|
|
83
|
+
class: "tiny-dialog-box__title"
|
|
189
84
|
};
|
|
190
|
-
var
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
85
|
+
var _hoisted_3 = {
|
|
86
|
+
class: "tiny-dialog-box__btn-tools"
|
|
87
|
+
};
|
|
88
|
+
var _hoisted_4 = {
|
|
89
|
+
class: "tiny-dialog-box__body"
|
|
90
|
+
};
|
|
91
|
+
var _hoisted_5 = {
|
|
92
|
+
key: 1,
|
|
93
|
+
ref: "footer",
|
|
94
|
+
class: "tiny-dialog-box__footer"
|
|
95
|
+
};
|
|
96
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
97
|
+
var _component_icon_fullscreen = resolveComponent("icon-fullscreen");
|
|
98
|
+
var _component_icon_minscreen = resolveComponent("icon-minscreen");
|
|
99
|
+
var _component_icon_close = resolveComponent("icon-close");
|
|
100
|
+
return openBlock(), createBlock(Transition, {
|
|
101
|
+
duration: _ctx.noAnimation ? 0 : void 0,
|
|
102
|
+
name: _ctx.state.animationName,
|
|
103
|
+
onAfterEnter: _ctx.afterEnter,
|
|
104
|
+
onAfterLeave: _ctx.afterLeave,
|
|
105
|
+
persisted: ""
|
|
106
|
+
}, {
|
|
107
|
+
default: withCtx(function() {
|
|
108
|
+
return [withDirectives(createElementVNode(
|
|
109
|
+
"div",
|
|
110
|
+
{
|
|
111
|
+
class: normalizeClass(["tiny-dialog-box__wrapper", _ctx.dialogClass]),
|
|
112
|
+
onClick: _cache[4] || (_cache[4] = withModifiers(function() {
|
|
113
|
+
return _ctx.handleWrapperClick && _ctx.handleWrapperClick.apply(_ctx, arguments);
|
|
114
|
+
}, ["self"])),
|
|
115
|
+
onMouseup: _cache[5] || (_cache[5] = function() {
|
|
116
|
+
return _ctx.useMouseEventUp && _ctx.useMouseEventUp.apply(_ctx, arguments);
|
|
117
|
+
}),
|
|
118
|
+
onMousedown: _cache[6] || (_cache[6] = function() {
|
|
119
|
+
return _ctx.useMouseEventDown && _ctx.useMouseEventDown.apply(_ctx, arguments);
|
|
120
|
+
})
|
|
121
|
+
},
|
|
122
|
+
[createVNode(Transition, {
|
|
123
|
+
name: _ctx.dialogTransition
|
|
124
|
+
}, {
|
|
125
|
+
default: withCtx(function() {
|
|
126
|
+
return [(_ctx.destroyOnClose ? _ctx.visible : true) ? withDirectives((openBlock(), createElementBlock("div", {
|
|
127
|
+
ref: "dialog",
|
|
128
|
+
class: normalizeClass([[{
|
|
129
|
+
"is-fullscreen": _ctx.state.isFull,
|
|
130
|
+
"is-center": _ctx.center,
|
|
131
|
+
"is-right-slide": _ctx.rightSlide
|
|
132
|
+
}], "tiny-dialog-box"]),
|
|
133
|
+
style: normalizeStyle(_ctx.state.style),
|
|
134
|
+
"data-tag": "tiny-dialog-box",
|
|
135
|
+
"data-dialog-box-draggable": _ctx.draggable,
|
|
136
|
+
key: _ctx.state.key
|
|
137
|
+
}, [_ctx.showHeader ? (openBlock(), createElementBlock(
|
|
138
|
+
"div",
|
|
139
|
+
{
|
|
140
|
+
key: 0,
|
|
141
|
+
ref: "header",
|
|
142
|
+
class: "tiny-dialog-box__header",
|
|
143
|
+
onMousedown: _cache[3] || (_cache[3] = function() {
|
|
144
|
+
return _ctx.handleDrag && _ctx.handleDrag.apply(_ctx, arguments);
|
|
145
|
+
})
|
|
146
|
+
},
|
|
147
|
+
[renderSlot(_ctx.$slots, "title", {}, function() {
|
|
148
|
+
return [createElementVNode(
|
|
149
|
+
"span",
|
|
150
|
+
_hoisted_2,
|
|
151
|
+
toDisplayString(_ctx.title),
|
|
152
|
+
1
|
|
153
|
+
/* TEXT */
|
|
154
|
+
)];
|
|
155
|
+
}), createElementVNode("div", _hoisted_3, [_ctx.resize && !_ctx.state.isFull ? (openBlock(), createElementBlock("button", {
|
|
156
|
+
key: 0,
|
|
157
|
+
type: "button",
|
|
158
|
+
class: "tiny-dialog-box__headerbtn",
|
|
159
|
+
"aria-label": "Resize",
|
|
160
|
+
onClick: _cache[0] || (_cache[0] = function($event) {
|
|
161
|
+
return _ctx.toggleFullScreen(true);
|
|
162
|
+
})
|
|
163
|
+
}, [createVNode(_component_icon_fullscreen, {
|
|
164
|
+
class: "tiny-svg-size tiny-dialog-box__resize"
|
|
165
|
+
})])) : createCommentVNode("v-if", true), _ctx.resize && _ctx.state.isFull ? (openBlock(), createElementBlock("button", {
|
|
166
|
+
key: 1,
|
|
167
|
+
type: "button",
|
|
168
|
+
class: "tiny-dialog-box__headerbtn",
|
|
169
|
+
"aria-label": "Resize",
|
|
170
|
+
onClick: _cache[1] || (_cache[1] = function($event) {
|
|
171
|
+
return _ctx.toggleFullScreen(false);
|
|
172
|
+
})
|
|
173
|
+
}, [createVNode(_component_icon_minscreen, {
|
|
174
|
+
class: "tiny-svg-size tiny-dialog-box__resize"
|
|
175
|
+
})])) : createCommentVNode("v-if", true), _ctx.showClose ? (openBlock(), createElementBlock("button", {
|
|
176
|
+
key: 2,
|
|
177
|
+
type: "button",
|
|
178
|
+
class: "tiny-dialog-box__headerbtn",
|
|
179
|
+
"aria-label": "Close",
|
|
180
|
+
onClick: _cache[2] || (_cache[2] = function($event) {
|
|
181
|
+
return _ctx.handleClose("close", $event);
|
|
182
|
+
})
|
|
183
|
+
}, [createVNode(_component_icon_close, {
|
|
184
|
+
class: "tiny-svg-size tiny-dialog-box__close"
|
|
185
|
+
})])) : createCommentVNode("v-if", true)])],
|
|
186
|
+
544
|
|
187
|
+
/* NEED_HYDRATION, NEED_PATCH */
|
|
188
|
+
)) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_4, [renderSlot(_ctx.$slots, "default")]), _ctx.slots.footer ? (openBlock(), createElementBlock(
|
|
189
|
+
"div",
|
|
190
|
+
_hoisted_5,
|
|
191
|
+
[renderSlot(_ctx.$slots, "footer", {
|
|
192
|
+
beforeClose: _ctx.beforeClose
|
|
193
|
+
})],
|
|
194
|
+
512
|
|
195
|
+
/* NEED_PATCH */
|
|
196
|
+
)) : createCommentVNode("v-if", true)], 14, _hoisted_1)), [[vShow, _ctx.visible]]) : createCommentVNode("v-if", true)];
|
|
197
|
+
}),
|
|
198
|
+
_: 3
|
|
199
|
+
/* FORWARDED */
|
|
200
|
+
}, 8, ["name"])],
|
|
201
|
+
34
|
|
202
|
+
/* CLASS, NEED_HYDRATION */
|
|
203
|
+
), [[vShow, _ctx.visible]])];
|
|
204
|
+
}),
|
|
205
|
+
_: 3
|
|
206
|
+
/* FORWARDED */
|
|
207
|
+
}, 8, ["duration", "name", "onAfterEnter", "onAfterLeave"]);
|
|
197
208
|
}
|
|
198
|
-
var pc = /* @__PURE__ */
|
|
199
|
-
return __component__.exports;
|
|
200
|
-
}();
|
|
209
|
+
var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
201
210
|
|
|
202
211
|
export { pc as default };
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-dialog-box",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.21.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"type": "module",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@opentinyvue/vue-common": "~
|
|
11
|
-
"@opentinyvue/vue-icon": "~
|
|
12
|
-
"@opentinyvue/vue-action-sheet": "~
|
|
10
|
+
"@opentinyvue/vue-common": "~3.21.0",
|
|
11
|
+
"@opentinyvue/vue-icon": "~3.21.0",
|
|
12
|
+
"@opentinyvue/vue-action-sheet": "~3.21.0",
|
|
13
13
|
"@opentinyvue/vue-renderless": "~3.21.0",
|
|
14
14
|
"@opentinyvue/vue-theme-mobile": "~3.21.0",
|
|
15
15
|
"@opentinyvue/vue-theme": "~3.21.0"
|
package/src/index.d.ts
CHANGED
|
@@ -142,5 +142,274 @@ export declare const dialogBoxProps: {
|
|
|
142
142
|
tiny_theme: StringConstructor;
|
|
143
143
|
tiny_chart_theme: ObjectConstructor;
|
|
144
144
|
};
|
|
145
|
-
declare const _default:
|
|
145
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
146
|
+
_constants: {
|
|
147
|
+
type: ObjectConstructor;
|
|
148
|
+
default: () => {
|
|
149
|
+
DIALOG_SLIDER_RIGHT: string;
|
|
150
|
+
DIALOG_FADE: string;
|
|
151
|
+
SELECT_DROPDOWN: string;
|
|
152
|
+
DROPDOWN_MENU: string;
|
|
153
|
+
DIALOG_BOX_CLASS: string;
|
|
154
|
+
PC_SCROLL_LOCK_CLASS: string;
|
|
155
|
+
MOBILE_SCROLL_LOCK_CLASS: string;
|
|
156
|
+
DIALOG_BOX_DATA_TAG: string;
|
|
157
|
+
Mode: string;
|
|
158
|
+
SCROLL_LOCK_CLASS(mode: any): string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
appendToBody: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
default: () => boolean;
|
|
164
|
+
};
|
|
165
|
+
beforeClose: FunctionConstructor;
|
|
166
|
+
center: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
default: () => boolean;
|
|
169
|
+
};
|
|
170
|
+
closeOnClickModal: {
|
|
171
|
+
type: BooleanConstructor;
|
|
172
|
+
default: () => boolean;
|
|
173
|
+
};
|
|
174
|
+
closeOnPressEscape: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
default: () => boolean;
|
|
177
|
+
};
|
|
178
|
+
destroyOnClose: {
|
|
179
|
+
type: BooleanConstructor;
|
|
180
|
+
default: () => boolean;
|
|
181
|
+
};
|
|
182
|
+
dialogClass: {
|
|
183
|
+
type: StringConstructor;
|
|
184
|
+
default: () => string;
|
|
185
|
+
};
|
|
186
|
+
draggable: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
default: () => boolean;
|
|
189
|
+
};
|
|
190
|
+
dragOutsideWindow: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: () => boolean;
|
|
193
|
+
};
|
|
194
|
+
fullscreen: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: () => boolean;
|
|
197
|
+
};
|
|
198
|
+
isFormReset: {
|
|
199
|
+
type: BooleanConstructor;
|
|
200
|
+
default: () => boolean;
|
|
201
|
+
};
|
|
202
|
+
lockScroll: {
|
|
203
|
+
type: BooleanConstructor;
|
|
204
|
+
default: () => boolean;
|
|
205
|
+
};
|
|
206
|
+
modal: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: () => boolean;
|
|
209
|
+
};
|
|
210
|
+
modalAppendToBody: {
|
|
211
|
+
type: BooleanConstructor;
|
|
212
|
+
default: () => boolean;
|
|
213
|
+
};
|
|
214
|
+
resize: {
|
|
215
|
+
type: BooleanConstructor;
|
|
216
|
+
default: () => boolean;
|
|
217
|
+
};
|
|
218
|
+
rightSlide: {
|
|
219
|
+
type: BooleanConstructor;
|
|
220
|
+
default: () => boolean;
|
|
221
|
+
};
|
|
222
|
+
showClose: {
|
|
223
|
+
type: BooleanConstructor;
|
|
224
|
+
default: () => boolean;
|
|
225
|
+
};
|
|
226
|
+
showHeader: {
|
|
227
|
+
type: BooleanConstructor;
|
|
228
|
+
default: () => boolean;
|
|
229
|
+
};
|
|
230
|
+
title: {
|
|
231
|
+
type: StringConstructor;
|
|
232
|
+
default: () => string;
|
|
233
|
+
};
|
|
234
|
+
top: StringConstructor;
|
|
235
|
+
visible: {
|
|
236
|
+
type: BooleanConstructor;
|
|
237
|
+
default: () => boolean;
|
|
238
|
+
};
|
|
239
|
+
width: {
|
|
240
|
+
type: StringConstructor;
|
|
241
|
+
default: () => string;
|
|
242
|
+
};
|
|
243
|
+
maxHeight: {
|
|
244
|
+
type: StringConstructor;
|
|
245
|
+
default: () => string;
|
|
246
|
+
};
|
|
247
|
+
dialogTransition: {
|
|
248
|
+
type: StringConstructor;
|
|
249
|
+
default: string;
|
|
250
|
+
};
|
|
251
|
+
noAnimation: {
|
|
252
|
+
type: BooleanConstructor;
|
|
253
|
+
default: boolean;
|
|
254
|
+
};
|
|
255
|
+
customStyle: {
|
|
256
|
+
type: ObjectConstructor;
|
|
257
|
+
default: () => {};
|
|
258
|
+
};
|
|
259
|
+
tiny_mode: StringConstructor;
|
|
260
|
+
tiny_mode_root: BooleanConstructor;
|
|
261
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
262
|
+
tiny_renderless: FunctionConstructor;
|
|
263
|
+
tiny_theme: StringConstructor;
|
|
264
|
+
tiny_chart_theme: ObjectConstructor;
|
|
265
|
+
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
|
|
266
|
+
[key: string]: any;
|
|
267
|
+
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
268
|
+
_constants: {
|
|
269
|
+
type: ObjectConstructor;
|
|
270
|
+
default: () => {
|
|
271
|
+
DIALOG_SLIDER_RIGHT: string;
|
|
272
|
+
DIALOG_FADE: string;
|
|
273
|
+
SELECT_DROPDOWN: string;
|
|
274
|
+
DROPDOWN_MENU: string;
|
|
275
|
+
DIALOG_BOX_CLASS: string;
|
|
276
|
+
PC_SCROLL_LOCK_CLASS: string;
|
|
277
|
+
MOBILE_SCROLL_LOCK_CLASS: string;
|
|
278
|
+
DIALOG_BOX_DATA_TAG: string;
|
|
279
|
+
Mode: string;
|
|
280
|
+
SCROLL_LOCK_CLASS(mode: any): string;
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
appendToBody: {
|
|
284
|
+
type: BooleanConstructor;
|
|
285
|
+
default: () => boolean;
|
|
286
|
+
};
|
|
287
|
+
beforeClose: FunctionConstructor;
|
|
288
|
+
center: {
|
|
289
|
+
type: BooleanConstructor;
|
|
290
|
+
default: () => boolean;
|
|
291
|
+
};
|
|
292
|
+
closeOnClickModal: {
|
|
293
|
+
type: BooleanConstructor;
|
|
294
|
+
default: () => boolean;
|
|
295
|
+
};
|
|
296
|
+
closeOnPressEscape: {
|
|
297
|
+
type: BooleanConstructor;
|
|
298
|
+
default: () => boolean;
|
|
299
|
+
};
|
|
300
|
+
destroyOnClose: {
|
|
301
|
+
type: BooleanConstructor;
|
|
302
|
+
default: () => boolean;
|
|
303
|
+
};
|
|
304
|
+
dialogClass: {
|
|
305
|
+
type: StringConstructor;
|
|
306
|
+
default: () => string;
|
|
307
|
+
};
|
|
308
|
+
draggable: {
|
|
309
|
+
type: BooleanConstructor;
|
|
310
|
+
default: () => boolean;
|
|
311
|
+
};
|
|
312
|
+
dragOutsideWindow: {
|
|
313
|
+
type: BooleanConstructor;
|
|
314
|
+
default: () => boolean;
|
|
315
|
+
};
|
|
316
|
+
fullscreen: {
|
|
317
|
+
type: BooleanConstructor;
|
|
318
|
+
default: () => boolean;
|
|
319
|
+
};
|
|
320
|
+
isFormReset: {
|
|
321
|
+
type: BooleanConstructor;
|
|
322
|
+
default: () => boolean;
|
|
323
|
+
};
|
|
324
|
+
lockScroll: {
|
|
325
|
+
type: BooleanConstructor;
|
|
326
|
+
default: () => boolean;
|
|
327
|
+
};
|
|
328
|
+
modal: {
|
|
329
|
+
type: BooleanConstructor;
|
|
330
|
+
default: () => boolean;
|
|
331
|
+
};
|
|
332
|
+
modalAppendToBody: {
|
|
333
|
+
type: BooleanConstructor;
|
|
334
|
+
default: () => boolean;
|
|
335
|
+
};
|
|
336
|
+
resize: {
|
|
337
|
+
type: BooleanConstructor;
|
|
338
|
+
default: () => boolean;
|
|
339
|
+
};
|
|
340
|
+
rightSlide: {
|
|
341
|
+
type: BooleanConstructor;
|
|
342
|
+
default: () => boolean;
|
|
343
|
+
};
|
|
344
|
+
showClose: {
|
|
345
|
+
type: BooleanConstructor;
|
|
346
|
+
default: () => boolean;
|
|
347
|
+
};
|
|
348
|
+
showHeader: {
|
|
349
|
+
type: BooleanConstructor;
|
|
350
|
+
default: () => boolean;
|
|
351
|
+
};
|
|
352
|
+
title: {
|
|
353
|
+
type: StringConstructor;
|
|
354
|
+
default: () => string;
|
|
355
|
+
};
|
|
356
|
+
top: StringConstructor;
|
|
357
|
+
visible: {
|
|
358
|
+
type: BooleanConstructor;
|
|
359
|
+
default: () => boolean;
|
|
360
|
+
};
|
|
361
|
+
width: {
|
|
362
|
+
type: StringConstructor;
|
|
363
|
+
default: () => string;
|
|
364
|
+
};
|
|
365
|
+
maxHeight: {
|
|
366
|
+
type: StringConstructor;
|
|
367
|
+
default: () => string;
|
|
368
|
+
};
|
|
369
|
+
dialogTransition: {
|
|
370
|
+
type: StringConstructor;
|
|
371
|
+
default: string;
|
|
372
|
+
};
|
|
373
|
+
noAnimation: {
|
|
374
|
+
type: BooleanConstructor;
|
|
375
|
+
default: boolean;
|
|
376
|
+
};
|
|
377
|
+
customStyle: {
|
|
378
|
+
type: ObjectConstructor;
|
|
379
|
+
default: () => {};
|
|
380
|
+
};
|
|
381
|
+
tiny_mode: StringConstructor;
|
|
382
|
+
tiny_mode_root: BooleanConstructor;
|
|
383
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
384
|
+
tiny_renderless: FunctionConstructor;
|
|
385
|
+
tiny_theme: StringConstructor;
|
|
386
|
+
tiny_chart_theme: ObjectConstructor;
|
|
387
|
+
}>>, {
|
|
388
|
+
title: string;
|
|
389
|
+
resize: boolean;
|
|
390
|
+
center: boolean;
|
|
391
|
+
tiny_mode_root: boolean;
|
|
392
|
+
_constants: Record<string, any>;
|
|
393
|
+
width: string;
|
|
394
|
+
maxHeight: string;
|
|
395
|
+
appendToBody: boolean;
|
|
396
|
+
visible: boolean;
|
|
397
|
+
showClose: boolean;
|
|
398
|
+
showHeader: boolean;
|
|
399
|
+
lockScroll: boolean;
|
|
400
|
+
fullscreen: boolean;
|
|
401
|
+
draggable: boolean;
|
|
402
|
+
closeOnClickModal: boolean;
|
|
403
|
+
closeOnPressEscape: boolean;
|
|
404
|
+
destroyOnClose: boolean;
|
|
405
|
+
dialogClass: string;
|
|
406
|
+
dragOutsideWindow: boolean;
|
|
407
|
+
isFormReset: boolean;
|
|
408
|
+
modal: boolean;
|
|
409
|
+
modalAppendToBody: boolean;
|
|
410
|
+
rightSlide: boolean;
|
|
411
|
+
dialogTransition: string;
|
|
412
|
+
noAnimation: boolean;
|
|
413
|
+
customStyle: Record<string, any>;
|
|
414
|
+
}, {}>;
|
|
146
415
|
export default _default;
|