@opentiny/vue-option
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"; | ||
@@ -58,3 +58,3 @@ import MobileFirstTemplate from "./mobile-first.js"; | ||
}); | ||
var Option = { | ||
var Option = defineComponent({ | ||
name: $prefix + "Option", | ||
@@ -70,4 +70,4 @@ componentName: "Option", | ||
} | ||
}; | ||
var version = "2.14.0"; | ||
}); | ||
var version = "2.15.0"; | ||
Option.install = function(Vue) { | ||
@@ -74,0 +74,0 @@ Vue.component(Option.name, Option); |
@@ -1,4 +0,5 @@ | ||
import { renderless, api } from "@opentiny/vue-renderless/option/vue"; | ||
import { props, setup as _setup } from "@opentiny/vue-common"; | ||
import { iconCheck, iconCheckedSur, iconFinish } from "@opentiny/vue-icon"; | ||
import { renderless, api } from '@opentiny/vue-renderless/option/vue'; | ||
import { defineComponent, props, setup } from '@opentiny/vue-common'; | ||
import { iconCheck, iconCheckedSur, iconFinish } from '@opentiny/vue-icon'; | ||
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) { | ||
@@ -112,3 +113,3 @@ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports; | ||
var staticRenderFns = []; | ||
var __vue2_script = { | ||
var __vue2_script = defineComponent({ | ||
components: { | ||
@@ -120,4 +121,4 @@ IconCheck: iconCheck(), | ||
props: [].concat(props, ["value", "label", "created", "disabled", "events", "visible", "highlightClass", "required"]), | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -129,3 +130,3 @@ context, | ||
} | ||
}; | ||
}); | ||
var __cssModules = {}; | ||
@@ -141,4 +142,3 @@ var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles, null, null, null); | ||
}(); | ||
export { | ||
mobileFirst as default | ||
}; | ||
export { mobileFirst as default }; |
@@ -1,6 +0,7 @@ | ||
import { renderless, api } from "@opentiny/vue-renderless/option/vue"; | ||
import { defineComponent, $prefix, props, setup as _setup } from "@opentiny/vue-common"; | ||
import "@opentiny/vue-theme/option/index.css"; | ||
import { IconCheck, IconCheckedSur, IconFinish } from "@opentiny/vue-icon"; | ||
import Checkbox from "@opentiny/vue-checkbox"; | ||
import { renderless, api } from '@opentiny/vue-renderless/option/vue'; | ||
import { defineComponent, $prefix, props, setup } from '@opentiny/vue-common'; | ||
import '@opentiny/vue-theme/option/index.css'; | ||
import { IconCheck, IconCheckedSur, IconFinish } from '@opentiny/vue-icon'; | ||
import Checkbox from '@opentiny/vue-checkbox'; | ||
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) { | ||
@@ -70,4 +71,4 @@ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports; | ||
props: [].concat(props, ["value", "label", "created", "disabled", "events", "visible", "highlightClass", "required", "icon"]), | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -146,4 +147,3 @@ context, | ||
}(); | ||
export { | ||
pc as default | ||
}; | ||
export { pc as default }; |
{ | ||
"name": "@opentiny/vue-option", | ||
"version": "2.14.0", | ||
"version": "2.15.0", | ||
"description": "", | ||
@@ -10,7 +10,7 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.14.0", | ||
"@opentiny/vue-common": "~2.14.0", | ||
"@opentiny/vue-icon": "~2.14.0", | ||
"@opentiny/vue-checkbox": "~2.14.0", | ||
"@opentiny/vue-theme": "~3.14.0" | ||
"@opentiny/vue-renderless": "~3.15.0", | ||
"@opentiny/vue-common": "~2.15.0", | ||
"@opentiny/vue-icon": "~2.15.0", | ||
"@opentiny/vue-checkbox": "~2.15.0", | ||
"@opentiny/vue-theme": "~3.15.0" | ||
}, | ||
@@ -17,0 +17,0 @@ "license": "MIT", |
@@ -32,38 +32,3 @@ export declare const optionsProps: { | ||
}; | ||
declare const _default: { | ||
name: string; | ||
componentName: string; | ||
props: { | ||
value: { | ||
required: boolean; | ||
}; | ||
label: (StringConstructor | NumberConstructor)[]; | ||
created: BooleanConstructor; | ||
disabled: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
events: { | ||
type: ObjectConstructor; | ||
default: () => {}; | ||
}; | ||
visible: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
highlightClass: StringConstructor; | ||
required: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
icon: 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, any, any, any, Record<"label" | "value" | "required" | "disabled" | "tiny_mode" | "tiny_mode_root" | "tiny_template" | "tiny_renderless" | "_constants" | "tiny_theme" | "tiny_chart_theme" | "visible" | "created" | "events" | "highlightClass", 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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
14959
407
+ Added@opentiny/vue-checkbox@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-checkbox@2.14.1(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-common@~2.15.0
Updated@opentiny/vue-icon@~2.15.0
Updated@opentiny/vue-theme@~3.15.0