@opentiny/vue-divider 3.14.0 → 3.16.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 CHANGED
@@ -63,7 +63,7 @@ var Divider = defineComponent({
63
63
  });
64
64
  }
65
65
  });
66
- var version = "3.14.0";
66
+ var version = "3.16.0";
67
67
  Divider.install = function(Vue) {
68
68
  Vue.component(Divider.name, Divider);
69
69
  };
package/lib/pc.js CHANGED
@@ -1,11 +1,12 @@
1
- import { renderless, api } from "@opentiny/vue-renderless/divider/vue";
2
- import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";
3
- import { openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createCommentVNode } from "vue";
4
- function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
1
+ import { renderless, api } from '@opentiny/vue-renderless/divider/vue';
2
+ import { defineComponent, props, setup } from '@opentiny/vue-common';
3
+ import { openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createCommentVNode } from 'vue';
4
+
5
+ function _createForOfIteratorHelperLoose(o, allowArrayLike) {
5
6
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
6
7
  if (it)
7
8
  return (it = it.call(o)).next.bind(it);
8
- if (Array.isArray(o) || (it = _unsupportedIterableToArray_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
9
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
9
10
  if (it)
10
11
  o = it;
11
12
  var i = 0;
@@ -17,20 +18,20 @@ function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
17
18
  }
18
19
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
19
20
  }
20
- function _unsupportedIterableToArray_tiny(o, minLen) {
21
+ function _unsupportedIterableToArray(o, minLen) {
21
22
  if (!o)
22
23
  return;
23
24
  if (typeof o === "string")
24
- return _arrayLikeToArray_tiny(o, minLen);
25
+ return _arrayLikeToArray(o, minLen);
25
26
  var n = Object.prototype.toString.call(o).slice(8, -1);
26
27
  if (n === "Object" && o.constructor)
27
28
  n = o.constructor.name;
28
29
  if (n === "Map" || n === "Set")
29
30
  return Array.from(o);
30
31
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
31
- return _arrayLikeToArray_tiny(o, minLen);
32
+ return _arrayLikeToArray(o, minLen);
32
33
  }
33
- function _arrayLikeToArray_tiny(arr, len) {
34
+ function _arrayLikeToArray(arr, len) {
34
35
  if (len == null || len > arr.length)
35
36
  len = arr.length;
36
37
  for (var i = 0, arr2 = new Array(len); i < len; i++)
@@ -39,7 +40,7 @@ function _arrayLikeToArray_tiny(arr, len) {
39
40
  }
40
41
  var _export_sfc = function _export_sfc2(sfc, props) {
41
42
  var target = sfc.__vccOpts || sfc;
42
- for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
43
+ for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
43
44
  var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
44
45
  target[key] = val;
45
46
  }
@@ -48,8 +49,8 @@ var _export_sfc = function _export_sfc2(sfc, props) {
48
49
 
49
50
  var _sfc_main = defineComponent({
50
51
  props: [].concat(props, ["direction", "color", "borderStyle", "contentPosition", "contentColor", "contentBackgroundColor"]),
51
- setup: function setup(props2, context) {
52
- return _setup({
52
+ setup: function setup$1(props2, context) {
53
+ return setup({
53
54
  props: props2,
54
55
  context,
55
56
  renderless,
@@ -87,6 +88,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
87
88
  );
88
89
  }
89
90
  var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
90
- export {
91
- pc as default
92
- };
91
+
92
+ export { pc as default };
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@opentiny/vue-divider",
3
- "version": "3.14.0",
3
+ "version": "3.16.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
- "@opentiny/vue-common": "~3.14.0",
11
- "@opentiny/vue-renderless": "~3.14.0",
12
- "@opentiny/vue-theme": "~3.14.0"
10
+ "@opentiny/vue-common": "~3.16.0",
11
+ "@opentiny/vue-renderless": "~3.16.0",
12
+ "@opentiny/vue-theme": "~3.16.0"
13
13
  },
14
14
  "license": "MIT",
15
15
  "types": "index.d.ts"
package/src/index.d.ts CHANGED
@@ -39,7 +39,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
39
39
  tiny_chart_theme: ObjectConstructor;
40
40
  }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
41
41
  [key: string]: any;
42
- }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
42
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
43
43
  _constants: {
44
44
  type: ObjectConstructor;
45
45
  default: () => {};
package/src/pc.vue.d.ts CHANGED
@@ -20,7 +20,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
20
20
  d: (props: any) => void;
21
21
  dp: (props: any) => void;
22
22
  gcls: (key: any) => any;
23
- }, any, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
23
+ }, any, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
24
24
  color?: any;
25
25
  tiny_mode?: any;
26
26
  tiny_mode_root?: any;
@@ -1 +0,0 @@
1
- export {};