@gct-paas/word 0.1.74-beta.15 → 0.1.74-beta.16

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/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @gct-paas/word v0.1.74-beta.15 */
1
+ /*! @gct-paas/word v0.1.74-beta.16 */
2
2
  import { Fragment, Suspense, Teleport, Transition, TransitionGroup, cloneVNode, computed, createApp, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createStaticVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, getCurrentInstance, getCurrentScope, guardReactiveProps, h, inject, isRef, isVNode, markRaw, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeMount, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, readonly, ref, render, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, toRef, toValue, unref, useCssVars, useModel, useSlots, vModelText, vShow, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
3
3
  import FloatingVue, { PopperWrapper } from "floating-vue";
4
4
  import VueKonva from "vue-konva";
@@ -3033,7 +3033,9 @@ var init_text_area_vue_vue_type_script_setup_true_lang = __esmMin((() => {
3033
3033
  const affixWrapperClasses = computed(() => ({
3034
3034
  "gct-textarea-affix-wrapper-disabled": props.disabled,
3035
3035
  "gct-textarea-affix-wrapper-readonly": props.readonly && !props.disabled,
3036
- "gct-textarea-affix-wrapper-borderless": !props.bordered
3036
+ "gct-textarea-affix-wrapper-borderless": !props.bordered,
3037
+ "gct-textarea-affix-wrapper-status-error": props.status === "error",
3038
+ "gct-textarea-affix-wrapper-status-warning": props.status === "warning"
3037
3039
  }));
3038
3040
  const textareaClasses = computed(() => ({
3039
3041
  "gct-textarea-disabled": props.disabled,
@@ -3116,17 +3118,17 @@ var init_text_area_vue_vue_type_script_setup_true_lang = __esmMin((() => {
3116
3118
  });
3117
3119
  }));
3118
3120
  //#endregion
3119
- //#region src/base/input/src/text-area.vue?vue&type=style&index=0&scoped=3889688c&lang.less
3120
- var init_text_area_vue_vue_type_style_index_0_scoped_3889688c_lang = __esmMin((() => {}));
3121
+ //#region src/base/input/src/text-area.vue?vue&type=style&index=0&scoped=a7d89044&lang.less
3122
+ var init_text_area_vue_vue_type_style_index_0_scoped_a7d89044_lang = __esmMin((() => {}));
3121
3123
  //#endregion
3122
3124
  //#region src/base/input/src/text-area.vue
3123
3125
  var text_area_default;
3124
3126
  var init_text_area = __esmMin((() => {
3125
3127
  init_text_area_vue_vue_type_script_setup_true_lang();
3126
3128
  init_text_area_vue_vue_type_script_setup_true_lang();
3127
- init_text_area_vue_vue_type_style_index_0_scoped_3889688c_lang();
3129
+ init_text_area_vue_vue_type_style_index_0_scoped_a7d89044_lang();
3128
3130
  init__plugin_vue_export_helper();
3129
- text_area_default = /*#__PURE__*/ _plugin_vue_export_helper_default(text_area_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-3889688c"]]);
3131
+ text_area_default = /*#__PURE__*/ _plugin_vue_export_helper_default(text_area_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-a7d89044"]]);
3130
3132
  }));
3131
3133
  //#endregion
3132
3134
  //#region src/base/input/index.ts
@@ -148168,6 +148170,7 @@ var manifest$56 = {
148168
148170
  ...commonDefaultProps,
148169
148171
  ...numberFieldDefaultProps,
148170
148172
  /** 拖入后固定只读,配置面板禁用项不可取消 */
148173
+ required: false,
148171
148174
  disabled: true,
148172
148175
  fieldDisabled: true
148173
148176
  },
@@ -164477,11 +164480,11 @@ var common_regex_panel_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
164477
164480
  formErrors[field] = "";
164478
164481
  const text = formState[field] ?? "";
164479
164482
  if (field === "name" && text.length > 100) {
164480
- formErrors.name = "最大 100 字";
164483
+ formErrors.name = "最大100字";
164481
164484
  return false;
164482
164485
  }
164483
164486
  if (field === "value" && text.length > 500) {
164484
- formErrors.value = "最大 500 字";
164487
+ formErrors.value = "最大500字";
164485
164488
  return false;
164486
164489
  }
164487
164490
  if (checkRequired && !text.trim()) {
@@ -164650,8 +164653,9 @@ var common_regex_panel_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
164650
164653
  "onUpdate:modelValue": [_cache[1] || (_cache[1] = ($event) => formState.name = $event), _cache[2] || (_cache[2] = ($event) => validateFormField("name", { checkRequired: false }))],
164651
164654
  placeholder: "请输入",
164652
164655
  "allow-clear": "",
164656
+ status: formErrors.name ? "error" : void 0,
164653
164657
  onBlur: _cache[3] || (_cache[3] = ($event) => validateFormField("name"))
164654
- }, null, 8, ["modelValue"]), formErrors.name ? (openBlock(), createElementBlock("div", _hoisted_16, toDisplayString(formErrors.name), 1)) : createCommentVNode("", true)]),
164658
+ }, null, 8, ["modelValue", "status"]), formErrors.name ? (openBlock(), createElementBlock("div", _hoisted_16, toDisplayString(formErrors.name), 1)) : createCommentVNode("", true)]),
164655
164659
  _: 1
164656
164660
  }),
164657
164661
  createVNode(unref(form_item_default), {
@@ -164664,8 +164668,9 @@ var common_regex_panel_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
164664
164668
  "onUpdate:modelValue": [_cache[4] || (_cache[4] = ($event) => formState.value = $event), _cache[5] || (_cache[5] = ($event) => validateFormField("value", { checkRequired: false }))],
164665
164669
  placeholder: "请输入",
164666
164670
  "allow-clear": "",
164671
+ status: formErrors.value ? "error" : void 0,
164667
164672
  onBlur: _cache[6] || (_cache[6] = ($event) => validateFormField("value"))
164668
- }, null, 8, ["modelValue"]), formErrors.value ? (openBlock(), createElementBlock("div", _hoisted_17, toDisplayString(formErrors.value), 1)) : createCommentVNode("", true)]),
164673
+ }, null, 8, ["modelValue", "status"]), formErrors.value ? (openBlock(), createElementBlock("div", _hoisted_17, toDisplayString(formErrors.value), 1)) : createCommentVNode("", true)]),
164669
164674
  _: 1
164670
164675
  }),
164671
164676
  createElementVNode("div", _hoisted_18, [createVNode(unref(button_default), {
@@ -164690,7 +164695,7 @@ var common_regex_panel_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
164690
164695
  //#endregion
164691
164696
  //#region src/suites/shared/panel/config/editor/regex-editor/common-regex-panel.vue
164692
164697
  init__plugin_vue_export_helper();
164693
- var common_regex_panel_default = /*#__PURE__*/ _plugin_vue_export_helper_default(common_regex_panel_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-7a73eab3"]]);
164698
+ var common_regex_panel_default = /*#__PURE__*/ _plugin_vue_export_helper_default(common_regex_panel_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-d83cfeed"]]);
164694
164699
  //#endregion
164695
164700
  //#region src/suites/shared/panel/config/editor/regex-editor/regex-editor-modal.vue?vue&type=script&setup=true&lang.ts
164696
164701
  init_base$2();
@@ -164699,14 +164704,14 @@ var _hoisted_1$17 = { class: "regex-editor-modal" };
164699
164704
  var _hoisted_2$9 = { class: "regex-editor-modal__regex-row" };
164700
164705
  var _hoisted_3$4 = { class: "regex-editor-modal__regex-main" };
164701
164706
  var _hoisted_4$3 = {
164702
- key: 0,
164703
- class: "regex-editor-modal__tags"
164704
- };
164705
- var _hoisted_5$2 = ["onClick"];
164706
- var _hoisted_6$1 = {
164707
164707
  key: 0,
164708
164708
  class: "error"
164709
164709
  };
164710
+ var _hoisted_5$2 = {
164711
+ key: 1,
164712
+ class: "regex-editor-modal__tags"
164713
+ };
164714
+ var _hoisted_6$1 = ["onClick"];
164710
164715
  var _hoisted_7 = {
164711
164716
  key: 0,
164712
164717
  class: "error"
@@ -164790,11 +164795,11 @@ var regex_editor_modal_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
164790
164795
  errors[field] = "";
164791
164796
  const text = String(formState[field] ?? "");
164792
164797
  if (field === "regex" && text.length > 500) {
164793
- errors.regex = "最大 500 字";
164798
+ errors.regex = "最大500字";
164794
164799
  return false;
164795
164800
  }
164796
164801
  if (field === "regexHint" && text.length > 100) {
164797
- errors.regexHint = "最大 100 字";
164802
+ errors.regexHint = "最大100字";
164798
164803
  return false;
164799
164804
  }
164800
164805
  if (checkRequired && field === "regexHint" && formState.regex && !text.trim()) {
@@ -164822,29 +164827,34 @@ var regex_editor_modal_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
164822
164827
  inline: false,
164823
164828
  class: "regex-editor-modal__regex-form-item"
164824
164829
  }, {
164825
- default: withCtx(() => [createElementVNode("div", _hoisted_2$9, [createElementVNode("div", _hoisted_3$4, [createVNode(unref(input_default), {
164826
- modelValue: formState.regex,
164827
- "onUpdate:modelValue": [_cache[0] || (_cache[0] = ($event) => formState.regex = $event), _cache[1] || (_cache[1] = ($event) => validateField("regex", { checkRequired: false }))],
164828
- placeholder: "请输入",
164829
- "allow-clear": "",
164830
- onBlur: _cache[2] || (_cache[2] = ($event) => validateField("regex"))
164831
- }, null, 8, ["modelValue"]), commonList.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$3, [(openBlock(true), createElementBlock(Fragment, null, renderList(commonList.value, (item) => {
164832
- return openBlock(), createBlock(unref(tooltip_default), {
164833
- key: item.id,
164834
- theme: "gct-tooltip-dark",
164835
- distance: 8,
164836
- placement: "top",
164837
- disabled: !isNameTruncated(item.name)
164838
- }, {
164839
- popper: withCtx(() => [createTextVNode(toDisplayString(item.name), 1)]),
164840
- default: withCtx(() => [createElementVNode("button", {
164841
- type: "button",
164842
- class: "regex-tag",
164843
- onClick: ($event) => fillRegex(item)
164844
- }, toDisplayString(truncateName(item.name)), 9, _hoisted_5$2)]),
164845
- _: 2
164846
- }, 1032, ["disabled"]);
164847
- }), 128))])) : createCommentVNode("", true)]), createVNode(unref(dropdown_default), {
164830
+ default: withCtx(() => [createElementVNode("div", _hoisted_2$9, [createElementVNode("div", _hoisted_3$4, [
164831
+ createVNode(unref(input_default), {
164832
+ modelValue: formState.regex,
164833
+ "onUpdate:modelValue": [_cache[0] || (_cache[0] = ($event) => formState.regex = $event), _cache[1] || (_cache[1] = ($event) => validateField("regex", { checkRequired: false }))],
164834
+ placeholder: "请输入",
164835
+ "allow-clear": "",
164836
+ status: errors.regex ? "error" : void 0,
164837
+ onBlur: _cache[2] || (_cache[2] = ($event) => validateField("regex"))
164838
+ }, null, 8, ["modelValue", "status"]),
164839
+ errors.regex ? (openBlock(), createElementBlock("div", _hoisted_4$3, toDisplayString(errors.regex), 1)) : createCommentVNode("", true),
164840
+ commonList.value.length ? (openBlock(), createElementBlock("div", _hoisted_5$2, [(openBlock(true), createElementBlock(Fragment, null, renderList(commonList.value, (item) => {
164841
+ return openBlock(), createBlock(unref(tooltip_default), {
164842
+ key: item.id,
164843
+ theme: "gct-tooltip-dark",
164844
+ distance: 8,
164845
+ placement: "top",
164846
+ disabled: !isNameTruncated(item.name)
164847
+ }, {
164848
+ popper: withCtx(() => [createTextVNode(toDisplayString(item.name), 1)]),
164849
+ default: withCtx(() => [createElementVNode("button", {
164850
+ type: "button",
164851
+ class: "regex-tag",
164852
+ onClick: ($event) => fillRegex(item)
164853
+ }, toDisplayString(truncateName(item.name)), 9, _hoisted_6$1)]),
164854
+ _: 2
164855
+ }, 1032, ["disabled"]);
164856
+ }), 128))])) : createCommentVNode("", true)
164857
+ ]), createVNode(unref(dropdown_default), {
164848
164858
  placement: "bottom-end",
164849
164859
  triggers: ["click"],
164850
164860
  "popper-triggers": [],
@@ -164879,7 +164889,7 @@ var regex_editor_modal_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
164879
164889
  _: 1
164880
164890
  }, 8, ["disabled"])]),
164881
164891
  _: 1
164882
- }, 8, ["shown"])]), errors.regex ? (openBlock(), createElementBlock("div", _hoisted_6$1, toDisplayString(errors.regex), 1)) : createCommentVNode("", true)]),
164892
+ }, 8, ["shown"])])]),
164883
164893
  _: 1
164884
164894
  }), createVNode(unref(form_item_default), {
164885
164895
  label: "提示信息",
@@ -164893,8 +164903,9 @@ var regex_editor_modal_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
164893
164903
  "onUpdate:modelValue": [_cache[6] || (_cache[6] = ($event) => formState.regexHint = $event), _cache[7] || (_cache[7] = ($event) => validateField("regexHint", { checkRequired: false }))],
164894
164904
  placeholder: "请输入",
164895
164905
  rows: 3,
164906
+ status: errors.regexHint ? "error" : void 0,
164896
164907
  onBlur: _cache[8] || (_cache[8] = ($event) => validateField("regexHint"))
164897
- }, null, 8, ["modelValue"]), errors.regexHint ? (openBlock(), createElementBlock("div", _hoisted_7, toDisplayString(errors.regexHint), 1)) : createCommentVNode("", true)]),
164908
+ }, null, 8, ["modelValue", "status"]), errors.regexHint ? (openBlock(), createElementBlock("div", _hoisted_7, toDisplayString(errors.regexHint), 1)) : createCommentVNode("", true)]),
164898
164909
  _: 1
164899
164910
  }, 8, ["required"])]);
164900
164911
  };
@@ -164903,7 +164914,7 @@ var regex_editor_modal_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
164903
164914
  //#endregion
164904
164915
  //#region src/suites/shared/panel/config/editor/regex-editor/regex-editor-modal.vue
164905
164916
  init__plugin_vue_export_helper();
164906
- var regex_editor_modal_default = /*#__PURE__*/ _plugin_vue_export_helper_default(regex_editor_modal_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-3d5364bc"]]);
164917
+ var regex_editor_modal_default = /*#__PURE__*/ _plugin_vue_export_helper_default(regex_editor_modal_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-77c6378d"]]);
164907
164918
  //#endregion
164908
164919
  //#region src/suites/shared/panel/config/editor/regex-editor/regex-editor.vue?vue&type=script&setup=true&name=regex-editor&lang.ts
164909
164920
  init_base$2();
package/dist/word.css CHANGED
@@ -6531,11 +6531,11 @@ input[data-v-f73214b8]::placeholder {
6531
6531
  /**
6532
6532
  * 字段态配色 —— DOM 控件子集(input / select / overlay)
6533
6533
  */
6534
- .gct-textarea-wrapper[data-v-3889688c] {
6534
+ .gct-textarea-wrapper[data-v-a7d89044] {
6535
6535
  display: inline-flex;
6536
6536
  width: 100%;
6537
6537
  }
6538
- .gct-textarea-affix-wrapper[data-v-3889688c] {
6538
+ .gct-textarea-affix-wrapper[data-v-a7d89044] {
6539
6539
  position: relative;
6540
6540
  width: 100%;
6541
6541
  overflow: hidden;
@@ -6544,14 +6544,14 @@ input[data-v-f73214b8]::placeholder {
6544
6544
  border-radius: 4px;
6545
6545
  line-height: 0;
6546
6546
  }
6547
- .gct-textarea-affix-wrapper[data-v-3889688c]:focus-within {
6547
+ .gct-textarea-affix-wrapper[data-v-a7d89044]:focus-within {
6548
6548
  border-color: #026ac8;
6549
6549
  box-shadow: 0 0 0 2px rgba(2, 106, 200, 0.2);
6550
6550
  }
6551
- .gct-textarea-affix-wrapper[data-v-3889688c]:hover {
6551
+ .gct-textarea-affix-wrapper[data-v-a7d89044]:hover {
6552
6552
  border-color: #026ac8;
6553
6553
  }
6554
- .gct-textarea[data-v-3889688c] {
6554
+ .gct-textarea[data-v-a7d89044] {
6555
6555
  box-sizing: border-box;
6556
6556
  width: 100%;
6557
6557
  padding: 8px;
@@ -6561,40 +6561,56 @@ input[data-v-f73214b8]::placeholder {
6561
6561
  line-height: 1.5715;
6562
6562
  resize: none;
6563
6563
  }
6564
- textarea[data-v-3889688c]::placeholder {
6564
+ textarea[data-v-a7d89044]::placeholder {
6565
6565
  opacity: 1;
6566
6566
  color: rgba(0, 0, 0, 0.25);
6567
6567
  }
6568
- .gct-textarea-disabled[data-v-3889688c] {
6568
+ .gct-textarea-disabled[data-v-a7d89044] {
6569
6569
  background-color: #f1f2f5;
6570
6570
  cursor: not-allowed;
6571
6571
  }
6572
- .gct-textarea-readonly[data-v-3889688c] {
6572
+ .gct-textarea-readonly[data-v-a7d89044] {
6573
6573
  background-color: transparent;
6574
6574
  color: rgba(0, 0, 0, 0.65);
6575
6575
  cursor: default;
6576
6576
  }
6577
- .gct-textarea-affix-wrapper-readonly[data-v-3889688c] {
6577
+ .gct-textarea-affix-wrapper-readonly[data-v-a7d89044] {
6578
6578
  border-color: #d9d9d9;
6579
6579
  background-color: #f5f6f8;
6580
6580
  cursor: default;
6581
6581
  }
6582
- .gct-textarea-affix-wrapper-readonly[data-v-3889688c]:hover,
6583
- .gct-textarea-affix-wrapper-readonly[data-v-3889688c]:focus-within {
6582
+ .gct-textarea-affix-wrapper-readonly[data-v-a7d89044]:hover,
6583
+ .gct-textarea-affix-wrapper-readonly[data-v-a7d89044]:focus-within {
6584
6584
  border-color: #d9d9d9;
6585
6585
  box-shadow: none;
6586
6586
  }
6587
- .gct-textarea-clear-icon[data-v-3889688c] {
6587
+ .gct-textarea-affix-wrapper-status-error[data-v-a7d89044] {
6588
+ border-color: #ff4d4f;
6589
+ }
6590
+ .gct-textarea-affix-wrapper-status-error[data-v-a7d89044]:hover,
6591
+ .gct-textarea-affix-wrapper-status-error[data-v-a7d89044]:focus-within {
6592
+ border-color: #ff4d4f;
6593
+ box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
6594
+ }
6595
+ .gct-textarea-affix-wrapper-status-warning[data-v-a7d89044] {
6596
+ border-color: #faad14;
6597
+ }
6598
+ .gct-textarea-affix-wrapper-status-warning[data-v-a7d89044]:hover,
6599
+ .gct-textarea-affix-wrapper-status-warning[data-v-a7d89044]:focus-within {
6600
+ border-color: #faad14;
6601
+ box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
6602
+ }
6603
+ .gct-textarea-clear-icon[data-v-a7d89044] {
6588
6604
  position: absolute;
6589
6605
  top: 8px;
6590
6606
  right: 8px;
6591
6607
  opacity: 0.6;
6592
6608
  cursor: pointer;
6593
6609
  }
6594
- .gct-textarea-clear-icon[data-v-3889688c]:hover {
6610
+ .gct-textarea-clear-icon[data-v-a7d89044]:hover {
6595
6611
  opacity: 1;
6596
6612
  }
6597
- .gct-textarea-count[data-v-3889688c] {
6613
+ .gct-textarea-count[data-v-a7d89044] {
6598
6614
  position: absolute;
6599
6615
  right: 6px;
6600
6616
  bottom: 0;
@@ -13620,272 +13636,272 @@ svg.portrait-icon[data-v-8bdb451e] {
13620
13636
  line-height: 22px;
13621
13637
  white-space: nowrap;
13622
13638
  }
13623
- .common-regex-panel[data-v-7a73eab3] {
13624
- width: 360px;
13625
- max-height: 360px;
13639
+ .common-regex-panel[data-v-d83cfeed] {
13626
13640
  display: flex;
13627
- flex-direction: column;
13628
13641
  box-sizing: border-box;
13642
+ flex-direction: column;
13643
+ width: 360px;
13644
+ max-height: 360px;
13629
13645
  }
13630
- .common-regex-panel__header[data-v-7a73eab3] {
13646
+ .common-regex-panel__header[data-v-d83cfeed] {
13647
+ display: flex;
13631
13648
  position: sticky;
13632
- top: 0;
13633
13649
  z-index: 1;
13634
- height: 20px;
13650
+ top: 0;
13635
13651
  flex-shrink: 0;
13636
- padding: 16px;
13637
- display: flex;
13638
13652
  align-items: center;
13639
13653
  justify-content: space-between;
13654
+ height: 20px;
13655
+ padding: 16px;
13640
13656
  background: #fff;
13641
13657
  }
13642
- .common-regex-panel__header.has-border[data-v-7a73eab3]::after {
13658
+ .common-regex-panel__header.has-border[data-v-d83cfeed]::after {
13643
13659
  content: '';
13644
13660
  position: absolute;
13645
- height: 1px;
13646
- background-color: #e8ebf0;
13647
- left: 16px;
13648
13661
  right: 16px;
13649
13662
  bottom: 0;
13663
+ left: 16px;
13664
+ height: 1px;
13665
+ background-color: #e8ebf0;
13650
13666
  }
13651
- .common-regex-panel__title[data-v-7a73eab3] {
13667
+ .common-regex-panel__title[data-v-d83cfeed] {
13668
+ color: #1a1d23;
13652
13669
  font-size: 14px;
13653
13670
  font-weight: 500;
13654
- color: #1a1d23;
13655
13671
  line-height: 20px;
13656
13672
  }
13657
- .common-regex-panel__add[data-v-7a73eab3] {
13673
+ .common-regex-panel__add[data-v-d83cfeed] {
13658
13674
  display: inline-flex;
13659
13675
  align-items: center;
13660
- gap: 4px;
13676
+ padding: 0;
13661
13677
  border: none;
13662
13678
  background: transparent;
13663
13679
  color: #026ac8;
13664
13680
  font-size: 14px;
13665
13681
  line-height: 20px;
13666
13682
  cursor: pointer;
13667
- padding: 0;
13683
+ gap: 4px;
13668
13684
  }
13669
- .common-regex-panel__add[data-v-7a73eab3]:hover {
13685
+ .common-regex-panel__add[data-v-d83cfeed]:hover {
13670
13686
  opacity: 0.85;
13671
13687
  }
13672
- .common-regex-panel__empty[data-v-7a73eab3] {
13673
- padding: 16px 16px 40px;
13688
+ .common-regex-panel__empty[data-v-d83cfeed] {
13674
13689
  display: flex;
13675
13690
  flex-direction: column;
13676
13691
  align-items: center;
13692
+ padding: 16px 16px 40px;
13677
13693
  gap: 12px;
13678
13694
  }
13679
- .common-regex-panel__empty-icon[data-v-7a73eab3] {
13695
+ .common-regex-panel__empty-icon[data-v-d83cfeed] {
13680
13696
  line-height: 1;
13681
13697
  }
13682
- .common-regex-panel__empty-tip[data-v-7a73eab3] {
13698
+ .common-regex-panel__empty-tip[data-v-d83cfeed] {
13699
+ margin-bottom: 4px;
13683
13700
  color: #8b8b8b;
13684
13701
  font-size: 14px;
13685
13702
  line-height: 20px;
13686
- margin-bottom: 4px;
13687
13703
  }
13688
- .common-regex-panel__empty-btn-add-icon[data-v-7a73eab3] {
13704
+ .common-regex-panel__empty-btn-add-icon[data-v-d83cfeed] {
13689
13705
  vertical-align: inherit;
13690
13706
  }
13691
- .common-regex-panel__list[data-v-7a73eab3] {
13707
+ .common-regex-panel__list[data-v-d83cfeed] {
13692
13708
  padding-bottom: 16px;
13693
13709
  }
13694
- .common-regex-panel__item[data-v-7a73eab3] {
13695
- position: relative;
13710
+ .common-regex-panel__item[data-v-d83cfeed] {
13696
13711
  display: flex;
13712
+ position: relative;
13713
+ box-sizing: border-box;
13697
13714
  align-items: center;
13698
- gap: 8px;
13699
- padding: 12px 16px;
13700
13715
  min-height: 56px;
13701
- box-sizing: border-box;
13716
+ padding: 12px 16px;
13717
+ gap: 8px;
13702
13718
  }
13703
- .common-regex-panel__item[data-v-7a73eab3]::after {
13719
+ .common-regex-panel__item[data-v-d83cfeed]::after {
13704
13720
  content: '';
13705
13721
  position: absolute;
13706
- height: 1px;
13707
- background-color: #e8ebf0;
13708
- left: 16px;
13709
13722
  right: 16px;
13710
13723
  bottom: 0;
13724
+ left: 16px;
13725
+ height: 1px;
13726
+ background-color: #e8ebf0;
13711
13727
  }
13712
- .common-regex-panel__item-main[data-v-7a73eab3] {
13728
+ .common-regex-panel__item-main[data-v-d83cfeed] {
13713
13729
  flex: 1;
13714
13730
  min-width: 0;
13715
13731
  }
13716
- .common-regex-panel__item-name[data-v-7a73eab3] {
13732
+ .common-regex-panel__item-name[data-v-d83cfeed] {
13733
+ overflow: hidden;
13734
+ color: #1a1d23;
13717
13735
  font-size: 14px;
13718
13736
  line-height: 20px;
13719
- color: #1a1d23;
13720
- overflow: hidden;
13721
13737
  text-overflow: ellipsis;
13722
13738
  white-space: nowrap;
13723
13739
  }
13724
- .common-regex-panel__item-value[data-v-7a73eab3] {
13740
+ .common-regex-panel__item-value[data-v-d83cfeed] {
13725
13741
  margin-top: 6px;
13742
+ overflow: hidden;
13743
+ color: #8b8b8b;
13726
13744
  font-size: 12px;
13727
13745
  line-height: 20px;
13728
- color: #8b8b8b;
13729
- overflow: hidden;
13730
13746
  text-overflow: ellipsis;
13731
13747
  white-space: nowrap;
13732
13748
  }
13733
- .common-regex-panel__item-actions[data-v-7a73eab3] {
13749
+ .common-regex-panel__item-actions[data-v-d83cfeed] {
13734
13750
  display: inline-flex;
13751
+ flex-shrink: 0;
13735
13752
  align-items: center;
13736
13753
  gap: 4px;
13737
- flex-shrink: 0;
13738
13754
  }
13739
- .action-fill[data-v-7a73eab3] {
13755
+ .action-fill[data-v-d83cfeed] {
13756
+ padding: 0 4px;
13740
13757
  border: none;
13741
13758
  background: transparent;
13742
13759
  color: #026ac8;
13743
13760
  font-size: 14px;
13744
13761
  line-height: 22px;
13745
13762
  cursor: pointer;
13746
- padding: 0 4px;
13747
13763
  }
13748
- .action-fill[data-v-7a73eab3]:hover {
13764
+ .action-fill[data-v-d83cfeed]:hover {
13749
13765
  opacity: 0.85;
13750
13766
  }
13751
- .action-icon[data-v-7a73eab3] {
13767
+ .action-icon[data-v-d83cfeed] {
13768
+ display: inline-flex;
13769
+ align-items: center;
13770
+ justify-content: center;
13752
13771
  width: 24px;
13753
13772
  height: 24px;
13773
+ padding: 0;
13754
13774
  border: none;
13755
13775
  border-radius: 4px;
13756
13776
  background: transparent;
13757
- display: inline-flex;
13758
- align-items: center;
13759
- justify-content: center;
13760
13777
  cursor: pointer;
13761
- padding: 0;
13762
13778
  }
13763
- .action-icon .gct-icon[data-v-7a73eab3] {
13779
+ .action-icon .gct-icon[data-v-d83cfeed] {
13764
13780
  color: #8b8b8b;
13765
13781
  }
13766
- .action-icon.action-edit[data-v-7a73eab3]:hover {
13782
+ .action-icon.action-edit[data-v-d83cfeed]:hover {
13767
13783
  background: rgba(2, 106, 200, 0.12);
13768
13784
  }
13769
- .action-icon.action-edit:hover .gct-icon[data-v-7a73eab3] {
13785
+ .action-icon.action-edit:hover .gct-icon[data-v-d83cfeed] {
13770
13786
  color: #1a1d23;
13771
13787
  }
13772
- .action-icon.action-delete[data-v-7a73eab3]:hover,
13773
- .action-icon.action-delete.is-active[data-v-7a73eab3] {
13788
+ .action-icon.action-delete[data-v-d83cfeed]:hover,
13789
+ .action-icon.action-delete.is-active[data-v-d83cfeed] {
13774
13790
  background: rgba(255, 77, 79, 0.12);
13775
13791
  }
13776
- .action-icon.action-delete:hover .gct-icon[data-v-7a73eab3],
13777
- .action-icon.action-delete.is-active .gct-icon[data-v-7a73eab3] {
13792
+ .action-icon.action-delete:hover .gct-icon[data-v-d83cfeed],
13793
+ .action-icon.action-delete.is-active .gct-icon[data-v-d83cfeed] {
13778
13794
  color: #ff4d4f;
13779
13795
  }
13780
- .action-delete-wrap[data-v-7a73eab3] {
13796
+ .action-delete-wrap[data-v-d83cfeed] {
13781
13797
  position: relative;
13782
13798
  }
13783
- .delete-confirm[data-v-7a73eab3] {
13799
+ .delete-confirm[data-v-d83cfeed] {
13784
13800
  min-width: 180px;
13785
13801
  }
13786
- .delete-confirm__title[data-v-7a73eab3] {
13802
+ .delete-confirm__title[data-v-d83cfeed] {
13787
13803
  display: flex;
13788
13804
  align-items: center;
13789
- gap: 8px;
13805
+ color: #1a1d23;
13790
13806
  font-size: 14px;
13791
13807
  line-height: 22px;
13792
- color: #1a1d23;
13793
13808
  white-space: nowrap;
13809
+ gap: 8px;
13794
13810
  }
13795
- .delete-confirm__actions[data-v-7a73eab3] {
13811
+ .delete-confirm__actions[data-v-d83cfeed] {
13796
13812
  display: flex;
13797
13813
  justify-content: flex-end;
13798
13814
  gap: 8px;
13799
13815
  margin-top: 12px;
13800
13816
  }
13801
- .common-regex-panel__form[data-v-7a73eab3] {
13817
+ .common-regex-panel__form[data-v-d83cfeed] {
13802
13818
  padding: 16px;
13803
13819
  }
13804
- .common-regex-panel__form-footer[data-v-7a73eab3] {
13820
+ .common-regex-panel__form-footer[data-v-d83cfeed] {
13805
13821
  display: flex;
13806
13822
  justify-content: flex-end;
13807
13823
  gap: 8px;
13808
13824
  margin-top: 16px;
13809
13825
  }
13810
- .error[data-v-7a73eab3] {
13826
+ .error[data-v-d83cfeed] {
13811
13827
  margin-top: 4px;
13812
13828
  color: #ff4d4f;
13813
13829
  font-size: 12px;
13814
13830
  line-height: 20px;
13815
13831
  }
13816
- .regex-editor-modal[data-v-3d5364bc] {
13832
+ .regex-editor-modal[data-v-77c6378d] {
13817
13833
  padding: 8px 16px;
13818
13834
  }
13819
- .regex-editor-modal .error[data-v-3d5364bc] {
13835
+ .regex-editor-modal .error[data-v-77c6378d] {
13820
13836
  margin-top: 4px;
13821
13837
  color: #ff4d4f;
13822
13838
  font-size: 12px;
13823
13839
  line-height: 20px;
13824
13840
  }
13825
- .regex-editor-modal__regex-row[data-v-3d5364bc] {
13841
+ .regex-editor-modal__regex-row[data-v-77c6378d] {
13826
13842
  display: flex;
13827
13843
  align-items: flex-start;
13828
13844
  gap: 12px;
13829
13845
  }
13830
- .regex-editor-modal__regex-main[data-v-3d5364bc] {
13846
+ .regex-editor-modal__regex-main[data-v-77c6378d] {
13831
13847
  flex: 1;
13832
13848
  min-width: 0;
13833
13849
  }
13834
- [data-v-3d5364bc] .regex-editor-modal__regex-form-item .form-item__label {
13835
- font-size: 14px;
13850
+ [data-v-77c6378d] .regex-editor-modal__regex-form-item .form-item__label {
13836
13851
  color: #1a1d23;
13852
+ font-size: 14px;
13837
13853
  }
13838
- .regex-editor-modal__tags[data-v-3d5364bc] {
13854
+ .regex-editor-modal__tags[data-v-77c6378d] {
13839
13855
  display: flex;
13840
13856
  flex-wrap: wrap;
13841
- gap: 8px;
13842
- margin-top: 8px;
13843
13857
  width: 100%;
13858
+ margin-top: 8px;
13859
+ gap: 8px;
13844
13860
  }
13845
- .regex-editor-modal__tags[data-v-3d5364bc] .v-popper {
13861
+ .regex-editor-modal__tags[data-v-77c6378d] .v-popper {
13846
13862
  max-width: 100%;
13847
13863
  }
13848
- .regex-tag[data-v-3d5364bc] {
13864
+ .regex-tag[data-v-77c6378d] {
13849
13865
  max-width: 100%;
13850
13866
  height: 24px;
13851
13867
  padding: 0 8px;
13868
+ overflow: hidden;
13852
13869
  border: none;
13853
13870
  border-radius: 4px;
13854
13871
  background: rgba(2, 106, 200, 0.06);
13855
13872
  color: #026ac8;
13856
13873
  font-size: 12px;
13857
13874
  line-height: 24px;
13858
- cursor: pointer;
13859
- overflow: hidden;
13860
13875
  text-overflow: ellipsis;
13861
13876
  white-space: nowrap;
13877
+ cursor: pointer;
13862
13878
  }
13863
- .regex-tag[data-v-3d5364bc]:hover,
13864
- .regex-tag[data-v-3d5364bc]:active {
13879
+ .regex-tag[data-v-77c6378d]:hover,
13880
+ .regex-tag[data-v-77c6378d]:active {
13865
13881
  background: rgba(2, 106, 200, 0.12);
13866
13882
  color: #026ac8;
13867
13883
  }
13868
- .regex-editor-modal__bookmark[data-v-3d5364bc] {
13884
+ .regex-editor-modal__bookmark[data-v-77c6378d] {
13885
+ display: inline-flex;
13886
+ box-sizing: border-box;
13887
+ flex-shrink: 0;
13888
+ align-items: center;
13889
+ justify-content: center;
13869
13890
  width: 32px;
13870
13891
  height: 32px;
13871
- flex-shrink: 0;
13892
+ padding: 0;
13872
13893
  border: 1px solid #d9d9d9;
13873
13894
  border-radius: 4px;
13874
13895
  background: #fff;
13875
- display: inline-flex;
13876
- align-items: center;
13877
- justify-content: center;
13878
13896
  cursor: pointer;
13879
- padding: 0;
13880
- box-sizing: border-box;
13881
13897
  }
13882
- .regex-editor-modal__bookmark[data-v-3d5364bc]:hover,
13883
- .regex-editor-modal__bookmark.active[data-v-3d5364bc] {
13898
+ .regex-editor-modal__bookmark[data-v-77c6378d]:hover,
13899
+ .regex-editor-modal__bookmark.active[data-v-77c6378d] {
13884
13900
  border-color: #026ac8;
13885
13901
  background: rgba(2, 106, 200, 0.08);
13886
13902
  }
13887
- .regex-editor-modal__bookmark:hover .gct-icon[data-v-3d5364bc],
13888
- .regex-editor-modal__bookmark.active .gct-icon[data-v-3d5364bc] {
13903
+ .regex-editor-modal__bookmark:hover .gct-icon[data-v-77c6378d],
13904
+ .regex-editor-modal__bookmark.active .gct-icon[data-v-77c6378d] {
13889
13905
  color: #026ac8;
13890
13906
  }
13891
13907
  .regex-editor__label[data-v-86a09931] {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/word",
3
- "version": "0.1.74-beta.15",
3
+ "version": "0.1.74-beta.16",
4
4
  "description": "GCT 在线 word",
5
5
  "keywords": [
6
6
  "vue",