@cmstops/pro-compo 3.9.2-alpha.2 → 3.9.2-alpha.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.
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, inject, computed, ref, watch, onMounted, openBlock, createElementBlock, createCommentVNode, createElementVNode, withDirectives, createVNode, unref, withModifiers, withCtx, createTextVNode, vShow, toDisplayString, Fragment, renderList, createBlock, normalizeClass } from "vue";
2
2
  import { Button, Input, Dropdown, Doption, TreeSelect, Select, Option, RangePicker } from "@arco-design/web-vue";
3
- import { IconCaretDown, IconUpload } from "@arco-design/web-vue/es/icon";
3
+ import { IconCaretDown, IconRefresh, IconUpload } from "@arco-design/web-vue/es/icon";
4
4
  import useSelection from "../../../../hooks/useSelection.js";
5
5
  import { useDirectory } from "../../../../hooks/useAttachement.js";
6
6
  import { RESOURCE_SOURCE_OPTIONS, RESOURCE_CATALOG_OPTIONS } from "../../../../utils/typeMap.js";
@@ -377,7 +377,17 @@ const _sfc_main = defineComponent({
377
377
  createElementVNode("div", _hoisted_11, [
378
378
  createCommentVNode(" \u91CD\u7F6E\u6309\u94AE - Wrap in filter-item to be managed by the hook "),
379
379
  withDirectives(createElementVNode("div", _hoisted_12, [
380
- createVNode(unref(Button), {
380
+ _ctx.smallScreen ? (openBlock(), createBlock(unref(Button), {
381
+ key: 0,
382
+ type: "text",
383
+ onClick: handleReset
384
+ }, {
385
+ icon: withCtx(() => [
386
+ createVNode(unref(IconRefresh))
387
+ ]),
388
+ _: 1
389
+ })) : (openBlock(), createBlock(unref(Button), {
390
+ key: 1,
381
391
  type: "text",
382
392
  onClick: handleReset
383
393
  }, {
@@ -385,7 +395,7 @@ const _sfc_main = defineComponent({
385
395
  createTextVNode(" \u91CD\u7F6E ")
386
396
  ])),
387
397
  _: 1
388
- })
398
+ }))
389
399
  ], 512), [
390
400
  [vShow, !isEmpty.value]
391
401
  ]),
@@ -378,7 +378,17 @@ const _sfc_main = vue.defineComponent({
378
378
  vue.createElementVNode("div", _hoisted_11, [
379
379
  vue.createCommentVNode(" \u91CD\u7F6E\u6309\u94AE - Wrap in filter-item to be managed by the hook "),
380
380
  vue.withDirectives(vue.createElementVNode("div", _hoisted_12, [
381
- vue.createVNode(vue.unref(webVue.Button), {
381
+ _ctx.smallScreen ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
382
+ key: 0,
383
+ type: "text",
384
+ onClick: handleReset
385
+ }, {
386
+ icon: vue.withCtx(() => [
387
+ vue.createVNode(vue.unref(icon.IconRefresh))
388
+ ]),
389
+ _: 1
390
+ })) : (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
391
+ key: 1,
382
392
  type: "text",
383
393
  onClick: handleReset
384
394
  }, {
@@ -386,7 +396,7 @@ const _sfc_main = vue.defineComponent({
386
396
  vue.createTextVNode(" \u91CD\u7F6E ")
387
397
  ])),
388
398
  _: 1
389
- })
399
+ }))
390
400
  ], 512), [
391
401
  [vue.vShow, !isEmpty.value]
392
402
  ]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "3.9.2-alpha.2",
3
+ "version": "3.9.2-alpha.3",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",