yuang-framework-ui-pc 1.1.26 → 1.1.28

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.
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,36 @@
1
+ import { defineComponent, openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const _sfc_main = defineComponent({
3
+ name: "SliderArrowSlide"
4
+ });
5
+ const _export_sfc = (sfc, props) => {
6
+ const target = sfc.__vccOpts || sfc;
7
+ for (const [key, val] of props) {
8
+ target[key] = val;
9
+ }
10
+ return target;
11
+ };
12
+ const _hoisted_1 = {
13
+ t: "1750558787364",
14
+ class: "icon",
15
+ viewBox: "0 0 1024 1024",
16
+ version: "1.1",
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ "p-id": "2865",
19
+ width: "200",
20
+ height: "200"
21
+ };
22
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode("path", {
23
+ d: "M793.751 733.16l0-181.775-145.42 0 0-96.948L787.69199999 454.437l0-187.833L1024 502.911zM230.248 733.16l0-181.775L375.669 551.385l0-96.948-139.36099999 0 0-187.833L0 502.911zM575.621 757.396L442.32 757.396l0-490.793L575.621 266.603z",
24
+ fill: "#8a8a8a",
25
+ "p-id": "2866"
26
+ }, null, -1);
27
+ const _hoisted_3 = [
28
+ _hoisted_2
29
+ ];
30
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
31
+ return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3);
32
+ }
33
+ const SliderArrowSlide = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
34
+ export {
35
+ SliderArrowSlide as default
36
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,36 @@
1
+ import { defineComponent, openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const _sfc_main = defineComponent({
3
+ name: "SliderArrowStatic"
4
+ });
5
+ const _export_sfc = (sfc, props) => {
6
+ const target = sfc.__vccOpts || sfc;
7
+ for (const [key, val] of props) {
8
+ target[key] = val;
9
+ }
10
+ return target;
11
+ };
12
+ const _hoisted_1 = {
13
+ t: "1750558814817",
14
+ class: "icon",
15
+ viewBox: "0 0 1024 1024",
16
+ version: "1.1",
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ "p-id": "3007",
19
+ width: "200",
20
+ height: "200"
21
+ };
22
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode("path", {
23
+ d: "M883.2 723.2a44.8 44.8 0 0 1 0 89.6H140.8a44.8 44.8 0 0 1 0-89.6h742.4z m0-256a44.8 44.8 0 0 1 0 89.6H140.8a44.8 44.8 0 0 1 0-89.6h742.4z m0-256a44.8 44.8 0 0 1 0 89.6H140.8a44.8 44.8 0 0 1 0-89.6h742.4z",
24
+ fill: "#8a8a8a",
25
+ "p-id": "3008"
26
+ }, null, -1);
27
+ const _hoisted_3 = [
28
+ _hoisted_2
29
+ ];
30
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
31
+ return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3);
32
+ }
33
+ const SliderArrowStatic = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
34
+ export {
35
+ SliderArrowStatic as default
36
+ };
@@ -113,3 +113,5 @@ export { default as VerticalRightOutlined } from './VerticalRightOutlined';
113
113
  export { default as WarningOutlined } from './WarningOutlined';
114
114
  export { default as ZoomInOutlined } from './ZoomInOutlined';
115
115
  export { default as ZoomOutOutlined } from './ZoomOutOutlined';
116
+ export { default as SliderArrowStatic } from './SliderArrowStatic';
117
+ export { default as SliderArrowSlide } from './SliderArrowSlide';
package/es/icons/index.js CHANGED
@@ -113,6 +113,8 @@ import { default as default113 } from "./VerticalRightOutlined";
113
113
  import { default as default114 } from "./WarningOutlined";
114
114
  import { default as default115 } from "./ZoomInOutlined";
115
115
  import { default as default116 } from "./ZoomOutOutlined";
116
+ import { default as default117 } from "./SliderArrowStatic";
117
+ import { default as default118 } from "./SliderArrowSlide";
116
118
  export {
117
119
  default2 as AnalysisOutlined,
118
120
  default3 as ApplicationOutlined,
@@ -208,6 +210,8 @@ export {
208
210
  default93 as SizeCompactOutlined,
209
211
  default94 as SizeMiddleOutlined,
210
212
  default95 as SizeSlackOutlined,
213
+ default118 as SliderArrowSlide,
214
+ default117 as SliderArrowStatic,
211
215
  default96 as SortOutlined,
212
216
  default97 as StarFilled,
213
217
  default98 as StepBackwardFilled,
@@ -1,25 +1,22 @@
1
1
  import { defineComponent, ref, onMounted, nextTick, openBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, unref, normalizeStyle, normalizeClass, createCommentVNode, toDisplayString, Fragment } from "vue";
2
2
  import { http } from "yuang-framework-ui-common/lib/config/httpConfig";
3
3
  import { getBaseUrl } from "yuang-framework-ui-common/lib/utils/urlUtils";
4
- import { CircleClose } from "@element-plus/icons-vue";
4
+ import { RefreshRight, CircleClose } from "@element-plus/icons-vue";
5
+ import { SliderArrowStatic, SliderArrowSlide } from "../icons";
5
6
  const _hoisted_1 = { class: "slider-captcha-container" };
6
7
  const _hoisted_2 = { class: "slider-captcha-title" };
7
- const _hoisted_3 = /* @__PURE__ */ createElementVNode("i", { class: "el-icon-refresh" }, null, -1);
8
- const _hoisted_4 = [
9
- _hoisted_3
10
- ];
8
+ const _hoisted_3 = ["width", "height"];
9
+ const _hoisted_4 = ["width", "height"];
11
10
  const _hoisted_5 = ["width", "height"];
12
- const _hoisted_6 = ["width", "height"];
13
- const _hoisted_7 = ["width", "height"];
14
- const _hoisted_8 = {
11
+ const _hoisted_6 = {
15
12
  key: 0,
16
- class: "slider-button-icon iconfont icon-slider-init yu-color-primary"
13
+ class: "slider-button-icon yu-color-primary"
17
14
  };
18
- const _hoisted_9 = {
15
+ const _hoisted_7 = {
19
16
  key: 1,
20
- class: "slider-button-icon iconfont icon-slider-slide yu-color-primary"
17
+ class: "slider-button-icon yu-color-primary"
21
18
  };
22
- const _hoisted_10 = { class: "slider-hint" };
19
+ const _hoisted_8 = { class: "slider-hint" };
23
20
  const _sfc_main = /* @__PURE__ */ defineComponent({
24
21
  ...{ name: "SliderCaptcha" },
25
22
  __name: "SliderCaptcha",
@@ -298,7 +295,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
298
295
  createElementVNode("div", {
299
296
  onClick: refresh,
300
297
  class: "slider-captcha-refresh-icon"
301
- }, _hoisted_4),
298
+ }, [
299
+ createVNode(unref(RefreshRight))
300
+ ]),
302
301
  createElementVNode("div", {
303
302
  onClick: close,
304
303
  class: "slider-captcha-close-icon"
@@ -328,14 +327,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
328
327
  class: "slide-canvas",
329
328
  width: _ctx.canvasWidth,
330
329
  height: _ctx.canvasHeight
331
- }, null, 8, _hoisted_5),
330
+ }, null, 8, _hoisted_3),
332
331
  createElementVNode("canvas", {
333
332
  ref_key: "block",
334
333
  ref: block,
335
334
  class: "slide-block",
336
335
  width: _ctx.canvasWidth,
337
336
  height: _ctx.canvasHeight
338
- }, null, 8, _hoisted_6)
337
+ }, null, 8, _hoisted_4)
339
338
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
340
339
  createElementVNode("img", {
341
340
  ref_key: "canvas",
@@ -343,7 +342,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
343
342
  class: "slide-canvas",
344
343
  width: _ctx.canvasWidth,
345
344
  height: _ctx.canvasHeight
346
- }, null, 8, _hoisted_7),
345
+ }, null, 8, _hoisted_5),
347
346
  createElementVNode("img", {
348
347
  ref_key: "block",
349
348
  ref: block,
@@ -362,10 +361,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
362
361
  id: "slider-button",
363
362
  style: normalizeStyle({ left: sliderButtonLeft.value + "px" })
364
363
  }, [
365
- !isSliderSlide.value ? (openBlock(), createElementBlock("div", _hoisted_8)) : (openBlock(), createElementBlock("div", _hoisted_9))
364
+ !isSliderSlide.value ? (openBlock(), createElementBlock("div", _hoisted_6, [
365
+ createVNode(unref(SliderArrowStatic))
366
+ ])) : (openBlock(), createElementBlock("div", _hoisted_7, [
367
+ createVNode(unref(SliderArrowSlide))
368
+ ]))
366
369
  ], 4)
367
370
  ], 4),
368
- createElementVNode("span", _hoisted_10, toDisplayString(_ctx.sliderHint), 1)
371
+ createElementVNode("span", _hoisted_8, toDisplayString(_ctx.sliderHint), 1)
369
372
  ], 2)
370
373
  ], 4)
371
374
  ]);
@@ -25,7 +25,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25
25
  isShowSliderCaptcha.value = false;
26
26
  };
27
27
  const handleSuccess = (data) => {
28
- debugger;
29
28
  validateResult.value = true;
30
29
  emit("success", data);
31
30
  };
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ const vue = require("vue");
3
+ const _sfc_main = vue.defineComponent({
4
+ name: "SliderArrowSlide"
5
+ });
6
+ const _export_sfc = (sfc, props) => {
7
+ const target = sfc.__vccOpts || sfc;
8
+ for (const [key, val] of props) {
9
+ target[key] = val;
10
+ }
11
+ return target;
12
+ };
13
+ const _hoisted_1 = {
14
+ t: "1750558787364",
15
+ class: "icon",
16
+ viewBox: "0 0 1024 1024",
17
+ version: "1.1",
18
+ xmlns: "http://www.w3.org/2000/svg",
19
+ "p-id": "2865",
20
+ width: "200",
21
+ height: "200"
22
+ };
23
+ const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("path", {
24
+ d: "M793.751 733.16l0-181.775-145.42 0 0-96.948L787.69199999 454.437l0-187.833L1024 502.911zM230.248 733.16l0-181.775L375.669 551.385l0-96.948-139.36099999 0 0-187.833L0 502.911zM575.621 757.396L442.32 757.396l0-490.793L575.621 266.603z",
25
+ fill: "#8a8a8a",
26
+ "p-id": "2866"
27
+ }, null, -1);
28
+ const _hoisted_3 = [
29
+ _hoisted_2
30
+ ];
31
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
32
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, _hoisted_3);
33
+ }
34
+ const SliderArrowSlide = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
35
+ module.exports = SliderArrowSlide;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ const vue = require("vue");
3
+ const _sfc_main = vue.defineComponent({
4
+ name: "SliderArrowStatic"
5
+ });
6
+ const _export_sfc = (sfc, props) => {
7
+ const target = sfc.__vccOpts || sfc;
8
+ for (const [key, val] of props) {
9
+ target[key] = val;
10
+ }
11
+ return target;
12
+ };
13
+ const _hoisted_1 = {
14
+ t: "1750558814817",
15
+ class: "icon",
16
+ viewBox: "0 0 1024 1024",
17
+ version: "1.1",
18
+ xmlns: "http://www.w3.org/2000/svg",
19
+ "p-id": "3007",
20
+ width: "200",
21
+ height: "200"
22
+ };
23
+ const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("path", {
24
+ d: "M883.2 723.2a44.8 44.8 0 0 1 0 89.6H140.8a44.8 44.8 0 0 1 0-89.6h742.4z m0-256a44.8 44.8 0 0 1 0 89.6H140.8a44.8 44.8 0 0 1 0-89.6h742.4z m0-256a44.8 44.8 0 0 1 0 89.6H140.8a44.8 44.8 0 0 1 0-89.6h742.4z",
25
+ fill: "#8a8a8a",
26
+ "p-id": "3008"
27
+ }, null, -1);
28
+ const _hoisted_3 = [
29
+ _hoisted_2
30
+ ];
31
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
32
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, _hoisted_3);
33
+ }
34
+ const SliderArrowStatic = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
35
+ module.exports = SliderArrowStatic;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -115,6 +115,8 @@ const VerticalRightOutlined = require("./VerticalRightOutlined");
115
115
  const WarningOutlined = require("./WarningOutlined");
116
116
  const ZoomInOutlined = require("./ZoomInOutlined");
117
117
  const ZoomOutOutlined = require("./ZoomOutOutlined");
118
+ const SliderArrowStatic = require("./SliderArrowStatic");
119
+ const SliderArrowSlide = require("./SliderArrowSlide");
118
120
  exports.AnalysisOutlined = AnalysisOutlined;
119
121
  exports.ApplicationOutlined = ApplicationOutlined;
120
122
  exports.AppstoreAddOutlined = AppstoreAddOutlined;
@@ -230,3 +232,5 @@ exports.VerticalRightOutlined = VerticalRightOutlined;
230
232
  exports.WarningOutlined = WarningOutlined;
231
233
  exports.ZoomInOutlined = ZoomInOutlined;
232
234
  exports.ZoomOutOutlined = ZoomOutOutlined;
235
+ exports.SliderArrowStatic = SliderArrowStatic;
236
+ exports.SliderArrowSlide = SliderArrowSlide;
@@ -113,3 +113,5 @@ export { default as VerticalRightOutlined } from './VerticalRightOutlined';
113
113
  export { default as WarningOutlined } from './WarningOutlined';
114
114
  export { default as ZoomInOutlined } from './ZoomInOutlined';
115
115
  export { default as ZoomOutOutlined } from './ZoomOutOutlined';
116
+ export { default as SliderArrowStatic } from './SliderArrowStatic';
117
+ export { default as SliderArrowSlide } from './SliderArrowSlide';
@@ -3,24 +3,21 @@ const vue = require("vue");
3
3
  const httpConfig = require("yuang-framework-ui-common/lib/config/httpConfig");
4
4
  const urlUtils = require("yuang-framework-ui-common/lib/utils/urlUtils");
5
5
  const iconsVue = require("@element-plus/icons-vue");
6
+ const icons = require("../icons");
6
7
  const _hoisted_1 = { class: "slider-captcha-container" };
7
8
  const _hoisted_2 = { class: "slider-captcha-title" };
8
- const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("i", { class: "el-icon-refresh" }, null, -1);
9
- const _hoisted_4 = [
10
- _hoisted_3
11
- ];
9
+ const _hoisted_3 = ["width", "height"];
10
+ const _hoisted_4 = ["width", "height"];
12
11
  const _hoisted_5 = ["width", "height"];
13
- const _hoisted_6 = ["width", "height"];
14
- const _hoisted_7 = ["width", "height"];
15
- const _hoisted_8 = {
12
+ const _hoisted_6 = {
16
13
  key: 0,
17
- class: "slider-button-icon iconfont icon-slider-init yu-color-primary"
14
+ class: "slider-button-icon yu-color-primary"
18
15
  };
19
- const _hoisted_9 = {
16
+ const _hoisted_7 = {
20
17
  key: 1,
21
- class: "slider-button-icon iconfont icon-slider-slide yu-color-primary"
18
+ class: "slider-button-icon yu-color-primary"
22
19
  };
23
- const _hoisted_10 = { class: "slider-hint" };
20
+ const _hoisted_8 = { class: "slider-hint" };
24
21
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
25
22
  ...{ name: "SliderCaptcha" },
26
23
  __name: "SliderCaptcha",
@@ -299,7 +296,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
299
296
  vue.createElementVNode("div", {
300
297
  onClick: refresh,
301
298
  class: "slider-captcha-refresh-icon"
302
- }, _hoisted_4),
299
+ }, [
300
+ vue.createVNode(vue.unref(iconsVue.RefreshRight))
301
+ ]),
303
302
  vue.createElementVNode("div", {
304
303
  onClick: close,
305
304
  class: "slider-captcha-close-icon"
@@ -329,14 +328,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
329
328
  class: "slide-canvas",
330
329
  width: _ctx.canvasWidth,
331
330
  height: _ctx.canvasHeight
332
- }, null, 8, _hoisted_5),
331
+ }, null, 8, _hoisted_3),
333
332
  vue.createElementVNode("canvas", {
334
333
  ref_key: "block",
335
334
  ref: block,
336
335
  class: "slide-block",
337
336
  width: _ctx.canvasWidth,
338
337
  height: _ctx.canvasHeight
339
- }, null, 8, _hoisted_6)
338
+ }, null, 8, _hoisted_4)
340
339
  ], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
341
340
  vue.createElementVNode("img", {
342
341
  ref_key: "canvas",
@@ -344,7 +343,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
344
343
  class: "slide-canvas",
345
344
  width: _ctx.canvasWidth,
346
345
  height: _ctx.canvasHeight
347
- }, null, 8, _hoisted_7),
346
+ }, null, 8, _hoisted_5),
348
347
  vue.createElementVNode("img", {
349
348
  ref_key: "block",
350
349
  ref: block,
@@ -363,10 +362,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
363
362
  id: "slider-button",
364
363
  style: vue.normalizeStyle({ left: sliderButtonLeft.value + "px" })
365
364
  }, [
366
- !isSliderSlide.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_9))
365
+ !isSliderSlide.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
366
+ vue.createVNode(vue.unref(icons.SliderArrowStatic))
367
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
368
+ vue.createVNode(vue.unref(icons.SliderArrowSlide))
369
+ ]))
367
370
  ], 4)
368
371
  ], 4),
369
- vue.createElementVNode("span", _hoisted_10, vue.toDisplayString(_ctx.sliderHint), 1)
372
+ vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(_ctx.sliderHint), 1)
370
373
  ], 2)
371
374
  ], 4)
372
375
  ]);
@@ -26,7 +26,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
26
26
  isShowSliderCaptcha.value = false;
27
27
  };
28
28
  const handleSuccess = (data) => {
29
- debugger;
30
29
  validateResult.value = true;
31
30
  emit("success", data);
32
31
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuang-framework-ui-pc",
3
- "version": "1.1.26",
3
+ "version": "1.1.28",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --host --config vite.global.ts --mode dev",