jky-component-lib 0.0.149 → 0.0.150

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.
@@ -1,7 +1,3 @@
1
1
 
2
- /* JkyAMarker 组件样式 - 参考高德官方示例 */
3
- .amap-icon img,
4
- .amap-marker-content img {
5
- width: 25px;
6
- height: 34px;
7
- }
2
+ /* 轨迹回放组件不需要额外样式 */
3
+ /* 所有样式通过 TailwindCSS 工具类或外部组件控制 */
@@ -1,3 +1,7 @@
1
1
 
2
- /* 轨迹回放组件不需要额外样式 */
3
- /* 所有样式通过 TailwindCSS 工具类或外部组件控制 */
2
+ /* JkyAMarker 组件样式 - 参考高德官方示例 */
3
+ .amap-icon img,
4
+ .amap-marker-content img {
5
+ width: 25px;
6
+ height: 34px;
7
+ }
@@ -17,9 +17,10 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { defineComponent, useModel, computed, openBlock, createBlock, Transition, withCtx, withDirectives, createElementBlock, normalizeStyle, renderSlot, vShow, createCommentVNode, mergeModels } from "vue";
20
+ import { defineComponent, useModel, computed, openBlock, createBlock, Transition, withCtx, withDirectives, createElementBlock, mergeProps, renderSlot, vShow, createCommentVNode, mergeModels } from "vue";
21
21
  const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
22
- name: "JkyAnimatedTransition"
22
+ name: "JkyAnimatedTransition",
23
+ inheritAttrs: false
23
24
  }), {
24
25
  __name: "AnimatedTransition",
25
26
  props: /* @__PURE__ */ mergeModels({
@@ -80,12 +81,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
80
81
  onLeaveCancelled: handleLeaveCancelled
81
82
  }, {
82
83
  default: withCtx(() => [
83
- (__props.mode === "if" ? visible.value : true) ? withDirectives((openBlock(), createElementBlock("div", {
84
+ (__props.mode === "if" ? visible.value : true) ? withDirectives((openBlock(), createElementBlock("div", mergeProps({
84
85
  key: 0,
85
- style: normalizeStyle({ "--animate-duration": `${__props.duration}ms` })
86
- }, [
86
+ style: { "--animate-duration": `${__props.duration}ms` }
87
+ }, _ctx.$attrs), [
87
88
  renderSlot(_ctx.$slots, "default")
88
- ], 4)), [
89
+ ], 16)), [
89
90
  [vShow, __props.mode === "show" ? visible.value : true]
90
91
  ]) : createCommentVNode("", true)
91
92
  ]),
@@ -1,4 +1,4 @@
1
- const version = "0.0.149";
1
+ const version = "0.0.150";
2
2
  export {
3
3
  version
4
4
  };
@@ -61,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
61
61
  return;
62
62
  switch (key) {
63
63
  case "refresh":
64
- router.push(tab.fullPath);
64
+ router.go(0);
65
65
  break;
66
66
  case "closeCurrent":
67
67
  handleTabRemove(tab.fullPath);
@@ -1,7 +1,3 @@
1
1
 
2
- /* JkyAMarker 组件样式 - 参考高德官方示例 */
3
- .amap-icon img,
4
- .amap-marker-content img {
5
- width: 25px;
6
- height: 34px;
7
- }
2
+ /* 轨迹回放组件不需要额外样式 */
3
+ /* 所有样式通过 TailwindCSS 工具类或外部组件控制 */
@@ -1,3 +1,7 @@
1
1
 
2
- /* 轨迹回放组件不需要额外样式 */
3
- /* 所有样式通过 TailwindCSS 工具类或外部组件控制 */
2
+ /* JkyAMarker 组件样式 - 参考高德官方示例 */
3
+ .amap-icon img,
4
+ .amap-marker-content img {
5
+ width: 25px;
6
+ height: 34px;
7
+ }
@@ -21,7 +21,8 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
21
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
22
22
  const vue = require("vue");
23
23
  const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValues({}, {
24
- name: "JkyAnimatedTransition"
24
+ name: "JkyAnimatedTransition",
25
+ inheritAttrs: false
25
26
  }), {
26
27
  __name: "AnimatedTransition",
27
28
  props: /* @__PURE__ */ vue.mergeModels({
@@ -82,12 +83,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValu
82
83
  onLeaveCancelled: handleLeaveCancelled
83
84
  }, {
84
85
  default: vue.withCtx(() => [
85
- (__props.mode === "if" ? visible.value : true) ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
86
+ (__props.mode === "if" ? visible.value : true) ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
86
87
  key: 0,
87
- style: vue.normalizeStyle({ "--animate-duration": `${__props.duration}ms` })
88
- }, [
88
+ style: { "--animate-duration": `${__props.duration}ms` }
89
+ }, _ctx.$attrs), [
89
90
  vue.renderSlot(_ctx.$slots, "default")
90
- ], 4)), [
91
+ ], 16)), [
91
92
  [vue.vShow, __props.mode === "show" ? visible.value : true]
92
93
  ]) : vue.createCommentVNode("", true)
93
94
  ]),
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const version = "0.0.149";
3
+ const version = "0.0.150";
4
4
  exports.version = version;
@@ -63,7 +63,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
63
63
  return;
64
64
  switch (key) {
65
65
  case "refresh":
66
- router.push(tab.fullPath);
66
+ router.go(0);
67
67
  break;
68
68
  case "closeCurrent":
69
69
  handleTabRemove(tab.fullPath);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jky-component-lib",
3
3
  "type": "module",
4
- "version": "0.0.149",
4
+ "version": "0.0.150",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },