@opentiny/vue-dropdown-item 3.8.2 → 3.8.3

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/mobile.js CHANGED
@@ -5,7 +5,7 @@ import Popup from "@opentiny/vue-popup";
5
5
  import Button from "@opentiny/vue-button";
6
6
  import Clickoutside from "@opentiny/vue-renderless/common/deps/clickoutside";
7
7
  import "@opentiny/vue-theme-mobile/dropdown-item/index.css";
8
- import { resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeClass, normalizeStyle, createVNode, withCtx, renderSlot, Fragment, renderList, createElementVNode, createBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, vShow, createTextVNode } from "vue";
8
+ import { resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeClass, normalizeStyle, createVNode, withCtx, renderSlot, Fragment, renderList, createElementVNode, createBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, createTextVNode, vShow } from "vue";
9
9
  function _createForOfIteratorHelperLoose(o, allowArrayLike) {
10
10
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
11
11
  if (it)
@@ -99,8 +99,6 @@ var _hoisted_9 = ["onClick"];
99
99
  var _hoisted_10 = {
100
100
  class: "tiny-mobile-dropdown-item__filter-operate"
101
101
  };
102
- var _hoisted_11 = /* @__PURE__ */ createTextVNode(" Reset ");
103
- var _hoisted_12 = /* @__PURE__ */ createTextVNode(" OK ");
104
102
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
105
103
  var _component_icon_yes = resolveComponent("icon-yes");
106
104
  var _component_tiny_button = resolveComponent("tiny-button");
@@ -204,7 +202,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
204
202
  onClick: _ctx.reset
205
203
  }, {
206
204
  default: withCtx(function() {
207
- return [_hoisted_11];
205
+ return [createTextVNode(" Reset ")];
208
206
  }),
209
207
  _: 1
210
208
  /* STABLE */
@@ -213,7 +211,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
213
211
  onClick: _ctx.confirm
214
212
  }, {
215
213
  default: withCtx(function() {
216
- return [_hoisted_12];
214
+ return [createTextVNode(" OK ")];
217
215
  }),
218
216
  _: 1
219
217
  /* STABLE */
package/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "@opentiny/vue-dropdown-item",
3
- "version": "3.8.2",
3
+ "version": "3.8.3",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
7
+ "sideEffects": false,
7
8
  "dependencies": {
8
- "@opentiny/vue-common": "~3.8.2",
9
- "@opentiny/vue-icon": "~3.8.2",
10
- "@opentiny/vue-renderless": "~3.8.2",
11
- "@opentiny/vue-popup": "~3.8.2",
12
- "@opentiny/vue-button": "~3.8.2"
9
+ "@opentiny/vue-common": "~3.8.3",
10
+ "@opentiny/vue-icon": "~3.8.3",
11
+ "@opentiny/vue-renderless": "~3.8.3",
12
+ "@opentiny/vue-popup": "~3.8.3",
13
+ "@opentiny/vue-button": "~3.8.3"
13
14
  },
14
15
  "license": "MIT",
15
16
  "types": "index.d.ts",
package/src/index.d.ts CHANGED
@@ -1,2 +1,141 @@
1
- declare const _default: any;
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<{
2
+ _constants: {
3
+ type: ObjectConstructor;
4
+ default: () => {
5
+ ICON_MAP: {
6
+ leftWardArrow: string;
7
+ };
8
+ };
9
+ };
10
+ icon: (ObjectConstructor | StringConstructor)[];
11
+ disabled: BooleanConstructor;
12
+ divided: BooleanConstructor;
13
+ command: {};
14
+ title: StringConstructor;
15
+ titleClass: StringConstructor;
16
+ options: {
17
+ type: ArrayConstructor;
18
+ default: () => never[];
19
+ };
20
+ type: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ label: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ itemData: {
29
+ type: ObjectConstructor;
30
+ default: () => {};
31
+ };
32
+ appendToBody: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ textField: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ selected: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ selectedField: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ multiStage: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ currentIndex: {
53
+ type: NumberConstructor;
54
+ default: () => number;
55
+ };
56
+ tiny_mode: StringConstructor;
57
+ tiny_mode_root: BooleanConstructor;
58
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
59
+ tiny_renderless: FunctionConstructor;
60
+ tiny_theme: StringConstructor;
61
+ tiny_chart_theme: ObjectConstructor;
62
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
63
+ [key: string]: any;
64
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
65
+ _constants: {
66
+ type: ObjectConstructor;
67
+ default: () => {
68
+ ICON_MAP: {
69
+ leftWardArrow: string;
70
+ };
71
+ };
72
+ };
73
+ icon: (ObjectConstructor | StringConstructor)[];
74
+ disabled: BooleanConstructor;
75
+ divided: BooleanConstructor;
76
+ command: {};
77
+ title: StringConstructor;
78
+ titleClass: StringConstructor;
79
+ options: {
80
+ type: ArrayConstructor;
81
+ default: () => never[];
82
+ };
83
+ type: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ label: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
91
+ itemData: {
92
+ type: ObjectConstructor;
93
+ default: () => {};
94
+ };
95
+ appendToBody: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ textField: {
100
+ type: StringConstructor;
101
+ default: string;
102
+ };
103
+ selected: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ selectedField: {
108
+ type: StringConstructor;
109
+ default: string;
110
+ };
111
+ multiStage: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ currentIndex: {
116
+ type: NumberConstructor;
117
+ default: () => number;
118
+ };
119
+ tiny_mode: StringConstructor;
120
+ tiny_mode_root: BooleanConstructor;
121
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
122
+ tiny_renderless: FunctionConstructor;
123
+ tiny_theme: StringConstructor;
124
+ tiny_chart_theme: ObjectConstructor;
125
+ }>>, {
126
+ label: string;
127
+ options: unknown[];
128
+ textField: string;
129
+ type: string;
130
+ tiny_mode_root: boolean;
131
+ _constants: Record<string, any>;
132
+ disabled: boolean;
133
+ appendToBody: boolean;
134
+ selected: boolean;
135
+ divided: boolean;
136
+ itemData: Record<string, any>;
137
+ selectedField: string;
138
+ multiStage: boolean;
139
+ currentIndex: number;
140
+ }>;
2
141
  export default _default;
@@ -1,2 +1,8 @@
1
- declare const _sfc_main: any;
1
+ declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{
2
+ [x: string]: any;
3
+ }>, any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
4
+ [x: string]: any;
5
+ }>>>, {
6
+ [x: string]: any;
7
+ }>;
2
8
  export default _sfc_main;
@@ -1,2 +1,2 @@
1
- declare const _sfc_main: any;
1
+ declare const _sfc_main: import("@vue/runtime-core").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
2
  export default _sfc_main;
package/src/pc.vue.d.ts CHANGED
@@ -1,2 +1,19 @@
1
- declare const _sfc_main: any;
1
+ declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{
2
+ [x: string]: any;
3
+ }>, {
4
+ t: (this: any, path: any, options?: any) => any;
5
+ vm: any;
6
+ f: (props: any, attrs?: {}) => {};
7
+ a: (attrs: any, filters: any, include: any) => {};
8
+ d: (props: any) => void;
9
+ dp: (props: any) => void;
10
+ gcls: (key: any) => any;
11
+ m: (...cssClasses: any[]) => string;
12
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "item-click"[], "item-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
13
+ [x: string]: any;
14
+ }>>> & {
15
+ "onItem-click"?: ((...args: any[]) => any) | undefined;
16
+ }, {
17
+ [x: string]: any;
18
+ }>;
2
19
  export default _sfc_main;