@opentiny/vue-drawer
Advanced tools
Comparing version 2.14.0 to 2.15.0
@@ -15,3 +15,3 @@ function _extends() { | ||
} | ||
import { $prefix, $setup, $props } from "@opentiny/vue-common"; | ||
import { defineComponent, $prefix, $setup, $props } from "@opentiny/vue-common"; | ||
import PcTemplate from "./pc.js"; | ||
@@ -96,3 +96,3 @@ import MobileFirstTemplate from "./mobile-first.js"; | ||
}); | ||
var Drawer = { | ||
var Drawer = defineComponent({ | ||
name: $prefix + "Drawer", | ||
@@ -107,4 +107,4 @@ props: drawerProps, | ||
} | ||
}; | ||
var version = "2.14.0"; | ||
}); | ||
var version = "2.15.0"; | ||
Drawer.model = { | ||
@@ -111,0 +111,0 @@ prop: "modelValue", |
@@ -1,5 +0,6 @@ | ||
import { renderless, api } from "@opentiny/vue-renderless/drawer/vue"; | ||
import { props, setup as _setup } from "@opentiny/vue-common"; | ||
import { IconClose } from "@opentiny/vue-icon"; | ||
import Button from "@opentiny/vue-button"; | ||
import { renderless, api } from '@opentiny/vue-renderless/drawer/vue'; | ||
import { defineComponent, props, setup } from '@opentiny/vue-common'; | ||
import { IconClose } from '@opentiny/vue-icon'; | ||
import Button from '@opentiny/vue-button'; | ||
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) { | ||
@@ -59,3 +60,3 @@ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports; | ||
var __vue2_script = { | ||
var __vue2_script = defineComponent({ | ||
components: { | ||
@@ -66,4 +67,4 @@ TinyButton: Button, | ||
props: [].concat(props, ["visible", "title", "showHeader", "showFooter", "customClass", "placement", "width", "mask", "dragable", "maskClosable", "lockScroll", "flex", "beforeClose"]), | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -75,3 +76,3 @@ context, | ||
} | ||
}; | ||
}); | ||
var render = function render2() { | ||
@@ -211,4 +212,3 @@ var _vm = this; | ||
}(); | ||
export { | ||
mobileFirst as default | ||
}; | ||
export { mobileFirst as default }; |
@@ -1,7 +0,8 @@ | ||
import { renderless, api } from "@opentiny/vue-renderless/drawer/vue"; | ||
import { props, setup as _setup } from "@opentiny/vue-common"; | ||
import "@opentiny/vue-theme/drawer/index.css"; | ||
import { iconClose, iconHelpCircle } from "@opentiny/vue-icon"; | ||
import Button from "@opentiny/vue-button"; | ||
import Tooltip from "@opentiny/vue-tooltip"; | ||
import { renderless, api } from '@opentiny/vue-renderless/drawer/vue'; | ||
import { defineComponent, props, setup } from '@opentiny/vue-common'; | ||
import '@opentiny/vue-theme/drawer/index.css'; | ||
import { iconClose, iconHelpCircle } from '@opentiny/vue-icon'; | ||
import Button from '@opentiny/vue-button'; | ||
import Tooltip from '@opentiny/vue-tooltip'; | ||
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) { | ||
@@ -61,3 +62,3 @@ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports; | ||
var __vue2_script = { | ||
var __vue2_script = defineComponent({ | ||
components: { | ||
@@ -70,4 +71,4 @@ TinyButton: Button, | ||
props: [].concat(props, ["visible", "title", "showHeader", "showFooter", "customClass", "placement", "width", "mask", "dragable", "maskClosable", "lockScroll", "flex", "showClose", "zIndex", "beforeClose", "tipsProps"]), | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -79,3 +80,3 @@ context, | ||
} | ||
}; | ||
}); | ||
var render = function render2() { | ||
@@ -226,4 +227,3 @@ var _vm = this; | ||
}(); | ||
export { | ||
pc as default | ||
}; | ||
export { pc as default }; |
{ | ||
"name": "@opentiny/vue-drawer", | ||
"version": "2.14.0", | ||
"version": "2.15.0", | ||
"description": "", | ||
@@ -10,8 +10,8 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-button": "~2.14.0", | ||
"@opentiny/vue-tooltip": "~2.14.0", | ||
"@opentiny/vue-common": "~2.14.0", | ||
"@opentiny/vue-renderless": "~3.14.0", | ||
"@opentiny/vue-icon": "~2.14.0", | ||
"@opentiny/vue-theme": "~3.14.0" | ||
"@opentiny/vue-button": "~2.15.0", | ||
"@opentiny/vue-tooltip": "~2.15.0", | ||
"@opentiny/vue-common": "~2.15.0", | ||
"@opentiny/vue-renderless": "~3.15.0", | ||
"@opentiny/vue-icon": "~2.15.0", | ||
"@opentiny/vue-theme": "~3.15.0" | ||
}, | ||
@@ -18,0 +18,0 @@ "license": "MIT", |
@@ -13,3 +13,3 @@ export declare const drawerProps: { | ||
}; | ||
customClass: (ArrayConstructor | ObjectConstructor | StringConstructor)[]; | ||
customClass: (StringConstructor | ArrayConstructor | ObjectConstructor)[]; | ||
placement: { | ||
@@ -65,69 +65,3 @@ type: StringConstructor; | ||
}; | ||
declare const _default: { | ||
name: string; | ||
props: { | ||
_constants: { | ||
type: ObjectConstructor; | ||
default: () => { | ||
SCROLL_LOCK_CLASS(mode: string): string; | ||
DEFAULT_WIDTH: string; | ||
}; | ||
}; | ||
visible: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
customClass: (ArrayConstructor | ObjectConstructor | StringConstructor)[]; | ||
placement: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
width: { | ||
type: StringConstructor; | ||
}; | ||
title: StringConstructor; | ||
showClose: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
showHeader: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
showFooter: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
mask: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
maskClosable: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
dragable: BooleanConstructor; | ||
lockScroll: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
flex: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
zIndex: { | ||
type: NumberConstructor; | ||
default: number; | ||
}; | ||
beforeClose: FunctionConstructor; | ||
tipsProps: ObjectConstructor; | ||
tiny_mode: StringConstructor; | ||
tiny_mode_root: BooleanConstructor; | ||
tiny_template: (ObjectConstructor | FunctionConstructor)[]; | ||
tiny_renderless: FunctionConstructor; | ||
tiny_theme: StringConstructor; | ||
tiny_chart_theme: ObjectConstructor; | ||
}; | ||
setup(props: any, context: any): () => any; | ||
}; | ||
declare const _default: any; | ||
export default _default; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue/types/vue").ExtendedVue<import("vue").default, unknown, unknown, unknown, Record<"title" | "tiny_mode" | "tiny_mode_root" | "tiny_template" | "tiny_renderless" | "_constants" | "tiny_theme" | "tiny_chart_theme" | "width" | "mask" | "visible" | "showHeader" | "showFooter" | "customClass" | "maskClosable" | "lockScroll" | "flex" | "beforeClose" | "placement" | "dragable", any>>; | ||
declare const _default: any; | ||
export default _default; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue/types/vue").ExtendedVue<import("vue").default, unknown, unknown, unknown, Record<"title" | "tiny_mode" | "tiny_mode_root" | "tiny_template" | "tiny_renderless" | "_constants" | "tiny_theme" | "tiny_chart_theme" | "width" | "mask" | "visible" | "showHeader" | "showFooter" | "showClose" | "customClass" | "maskClosable" | "lockScroll" | "flex" | "beforeClose" | "placement" | "zIndex" | "dragable" | "tipsProps", any>>; | ||
declare const _default: any; | ||
export default _default; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19547
617
+ Added@opentiny/vue-button@2.15.0(transitive)
+ Added@opentiny/vue-common@2.15.0(transitive)
+ Added@opentiny/vue-icon@2.15.0(transitive)
+ Added@opentiny/vue-locale@2.15.0(transitive)
+ Added@opentiny/vue-renderless@3.15.1(transitive)
+ Added@opentiny/vue-theme@3.15.1(transitive)
+ Added@opentiny/vue-theme-mobile@3.15.0(transitive)
+ Added@opentiny/vue-tooltip@2.15.0(transitive)
- Removed@opentiny/vue-button@2.14.0(transitive)
- Removed@opentiny/vue-common@2.14.0(transitive)
- Removed@opentiny/vue-icon@2.14.0(transitive)
- Removed@opentiny/vue-locale@2.14.0(transitive)
- Removed@opentiny/vue-renderless@3.14.1(transitive)
- Removed@opentiny/vue-theme@3.14.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.14.2(transitive)
- Removed@opentiny/vue-tooltip@2.14.0(transitive)
Updated@opentiny/vue-button@~2.15.0
Updated@opentiny/vue-common@~2.15.0
Updated@opentiny/vue-icon@~2.15.0
Updated@opentiny/vue-theme@~3.15.0