jky-component-lib 0.0.105 → 0.0.107

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,14 @@
1
+ /* AMap 高德地图组件样式 */
2
+ .jky-amap-container {
3
+ /* 地图容器样式 */
4
+ position: relative;
5
+ overflow: hidden;
1
6
 
2
- /* JkyAMarker 组件样式 - 参考高德官方示例 */
3
- .amap-icon img,
4
- .amap-marker-content img {
5
- width: 25px;
6
- height: 34px;
7
+ /* 隐藏高德地图的 logo 和版权信息(注意:商业使用请遵守高德地图条款) */
8
+ .amap-logo {
9
+ display: none !important;
10
+ }
11
+ .amap-copyright {
12
+ display: none !important;
13
+ }
7
14
  }
@@ -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
+ }
@@ -1,14 +1,3 @@
1
- /* AMap 高德地图组件样式 */
2
- .jky-amap-container {
3
- /* 地图容器样式 */
4
- position: relative;
5
- overflow: hidden;
6
1
 
7
- /* 隐藏高德地图的 logo 和版权信息(注意:商业使用请遵守高德地图条款) */
8
- .amap-logo {
9
- display: none !important;
10
- }
11
- .amap-copyright {
12
- display: none !important;
13
- }
14
- }
2
+ /* 轨迹回放组件不需要额外样式 */
3
+ /* 所有样式通过 TailwindCSS 工具类或外部组件控制 */
@@ -31,7 +31,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
31
31
  dialogProps: {},
32
32
  drawerProps: {},
33
33
  confirmText: { default: "确认" },
34
- cancelText: { default: "取消" }
34
+ cancelText: { default: "取消" },
35
+ size: {}
35
36
  }, {
36
37
  "modelValue": __spreadValues({ type: Boolean }, {
37
38
  default: false
@@ -110,13 +111,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
110
111
  ].filter(Boolean).join(" ");
111
112
  });
112
113
  return (_ctx, _cache) => {
113
- var _a, _b, _c;
114
+ var _a, _b, _c, _d;
114
115
  return mode.value === "dialog" ? (openBlock(), createBlock(unref(ElDialog), mergeProps({
115
116
  key: 0,
116
117
  modelValue: modelValue.value,
117
118
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
118
119
  title: __props.title,
119
- width: typeof ((_a = props.dialogProps) == null ? void 0 : _a.width) === "number" ? `${props.dialogProps.width}px` : (_b = props.dialogProps) == null ? void 0 : _b.width,
120
+ width: (_b = (_a = props.dialogProps) == null ? void 0 : _a.width) != null ? _b : props.size,
120
121
  class: "p-0! jky-modal",
121
122
  "body-class": bodyClass.value,
122
123
  "footer-class": footerClass.value,
@@ -177,7 +178,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
177
178
  "header-class": headerClass.value
178
179
  }, props.drawerProps, {
179
180
  "show-close": false,
180
- size: fullscreen.value ? "100%" : (_c = props.drawerProps) == null ? void 0 : _c.size,
181
+ size: fullscreen.value ? "100%" : (_d = (_c = props.drawerProps) == null ? void 0 : _c.size) != null ? _d : props.size,
181
182
  style: { "--el-drawer-padding-primary": 0 },
182
183
  onOpened: _cache[4] || (_cache[4] = ($event) => emit("opened")),
183
184
  onClosed: _cache[5] || (_cache[5] = ($event) => emit("closed"))
@@ -1,4 +1,4 @@
1
- const version = "0.0.105";
1
+ const version = "0.0.107";
2
2
  export {
3
3
  version
4
4
  };
@@ -200,7 +200,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
200
200
  key: 1,
201
201
  "ref-name": "更多",
202
202
  "ref-icon-class": "icon-[mdi--format-list-bulleted]"
203
- }, __props.popover, { placement: "bottom" }), null, 16)) : createCommentVNode("", true),
203
+ }, __props.popover, { placement: "bottom-end" }), null, 16)) : createCommentVNode("", true),
204
204
  createVNode(unref(ElDropdown), {
205
205
  trigger: "hover",
206
206
  onCommand: handleCommand
@@ -1,7 +1,14 @@
1
+ /* AMap 高德地图组件样式 */
2
+ .jky-amap-container {
3
+ /* 地图容器样式 */
4
+ position: relative;
5
+ overflow: hidden;
1
6
 
2
- /* JkyAMarker 组件样式 - 参考高德官方示例 */
3
- .amap-icon img,
4
- .amap-marker-content img {
5
- width: 25px;
6
- height: 34px;
7
+ /* 隐藏高德地图的 logo 和版权信息(注意:商业使用请遵守高德地图条款) */
8
+ .amap-logo {
9
+ display: none !important;
10
+ }
11
+ .amap-copyright {
12
+ display: none !important;
13
+ }
7
14
  }
@@ -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
+ }
@@ -1,14 +1,3 @@
1
- /* AMap 高德地图组件样式 */
2
- .jky-amap-container {
3
- /* 地图容器样式 */
4
- position: relative;
5
- overflow: hidden;
6
1
 
7
- /* 隐藏高德地图的 logo 和版权信息(注意:商业使用请遵守高德地图条款) */
8
- .amap-logo {
9
- display: none !important;
10
- }
11
- .amap-copyright {
12
- display: none !important;
13
- }
14
- }
2
+ /* 轨迹回放组件不需要额外样式 */
3
+ /* 所有样式通过 TailwindCSS 工具类或外部组件控制 */
@@ -33,7 +33,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValu
33
33
  dialogProps: {},
34
34
  drawerProps: {},
35
35
  confirmText: { default: "确认" },
36
- cancelText: { default: "取消" }
36
+ cancelText: { default: "取消" },
37
+ size: {}
37
38
  }, {
38
39
  "modelValue": __spreadValues({ type: Boolean }, {
39
40
  default: false
@@ -112,13 +113,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValu
112
113
  ].filter(Boolean).join(" ");
113
114
  });
114
115
  return (_ctx, _cache) => {
115
- var _a, _b, _c;
116
+ var _a, _b, _c, _d;
116
117
  return mode.value === "dialog" ? (vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElDialog), vue.mergeProps({
117
118
  key: 0,
118
119
  modelValue: modelValue.value,
119
120
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
120
121
  title: __props.title,
121
- width: typeof ((_a = props.dialogProps) == null ? void 0 : _a.width) === "number" ? `${props.dialogProps.width}px` : (_b = props.dialogProps) == null ? void 0 : _b.width,
122
+ width: (_b = (_a = props.dialogProps) == null ? void 0 : _a.width) != null ? _b : props.size,
122
123
  class: "p-0! jky-modal",
123
124
  "body-class": bodyClass.value,
124
125
  "footer-class": footerClass.value,
@@ -179,7 +180,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValu
179
180
  "header-class": headerClass.value
180
181
  }, props.drawerProps, {
181
182
  "show-close": false,
182
- size: fullscreen.value ? "100%" : (_c = props.drawerProps) == null ? void 0 : _c.size,
183
+ size: fullscreen.value ? "100%" : (_d = (_c = props.drawerProps) == null ? void 0 : _c.size) != null ? _d : props.size,
183
184
  style: { "--el-drawer-padding-primary": 0 },
184
185
  onOpened: _cache[4] || (_cache[4] = ($event) => emit("opened")),
185
186
  onClosed: _cache[5] || (_cache[5] = ($event) => emit("closed"))
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const version = "0.0.105";
3
+ const version = "0.0.107";
4
4
  exports.version = version;
@@ -202,7 +202,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValu
202
202
  key: 1,
203
203
  "ref-name": "更多",
204
204
  "ref-icon-class": "icon-[mdi--format-list-bulleted]"
205
- }, __props.popover, { placement: "bottom" }), null, 16)) : vue.createCommentVNode("", true),
205
+ }, __props.popover, { placement: "bottom-end" }), null, 16)) : vue.createCommentVNode("", true),
206
206
  vue.createVNode(vue.unref(ElementPlus.ElDropdown), {
207
207
  trigger: "hover",
208
208
  onCommand: handleCommand
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jky-component-lib",
3
3
  "type": "module",
4
- "version": "0.0.105",
4
+ "version": "0.0.107",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },