@gct-paas/word 0.1.27 → 0.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.
- package/dist/index.es.js +12 -5
- package/dist/word.css +5 -5
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -33143,7 +33143,7 @@ class SetAlign extends CommandBase {
|
|
|
33143
33143
|
handleSelection() {
|
|
33144
33144
|
const cursor = this.doc.cursorManager;
|
|
33145
33145
|
const { mode, models } = CommandBase.getSelectionResult(this.doc, cursor.getSelection());
|
|
33146
|
-
if (mode !== SelectionMode.PP && mode !== SelectionMode.PTr && mode !== SelectionMode.TrP && mode !== SelectionMode.TrTr) {
|
|
33146
|
+
if (mode !== SelectionMode.PP && mode !== SelectionMode.PTr && mode !== SelectionMode.TrP && mode !== SelectionMode.TrTr && mode !== SelectionMode.Tds) {
|
|
33147
33147
|
return null;
|
|
33148
33148
|
}
|
|
33149
33149
|
const paragraphs = [];
|
|
@@ -33151,6 +33151,13 @@ class SetAlign extends CommandBase {
|
|
|
33151
33151
|
if (model.name === "w:p") {
|
|
33152
33152
|
paragraphs.push(model);
|
|
33153
33153
|
}
|
|
33154
|
+
if (mode === SelectionMode.Tds) {
|
|
33155
|
+
model.children.forEach((childModel) => {
|
|
33156
|
+
if (childModel.name === "w:p") {
|
|
33157
|
+
paragraphs.push(childModel);
|
|
33158
|
+
}
|
|
33159
|
+
});
|
|
33160
|
+
}
|
|
33154
33161
|
}
|
|
33155
33162
|
for (const paragraph of paragraphs) {
|
|
33156
33163
|
paragraph.setAlignment(this.payload.align);
|
|
@@ -69624,10 +69631,10 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
69624
69631
|
})) : createCommentVNode("", true)
|
|
69625
69632
|
]),
|
|
69626
69633
|
createVNode(unref(GctInput), {
|
|
69627
|
-
|
|
69628
|
-
"onUpdate:
|
|
69634
|
+
modelValue: formState.value.prompt,
|
|
69635
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formState.value.prompt = $event),
|
|
69629
69636
|
placeholder: "请输入"
|
|
69630
|
-
}, null, 8, ["
|
|
69637
|
+
}, null, 8, ["modelValue"]),
|
|
69631
69638
|
createVNode(unref(GctDivider), { style: { "padding": "4px 0 4px 0" } }, {
|
|
69632
69639
|
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
69633
69640
|
createElementVNode("i", {
|
|
@@ -69656,7 +69663,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
69656
69663
|
};
|
|
69657
69664
|
}
|
|
69658
69665
|
});
|
|
69659
|
-
const IdentifyParamCard = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-
|
|
69666
|
+
const IdentifyParamCard = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-d0486796"]]);
|
|
69660
69667
|
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
69661
69668
|
__name: "decimal-slider",
|
|
69662
69669
|
props: {
|
package/dist/word.css
CHANGED
|
@@ -10549,30 +10549,30 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
10549
10549
|
}.icon-tooltip[data-v-8914c9de] {
|
|
10550
10550
|
vertical-align: middle;
|
|
10551
10551
|
cursor: pointer;
|
|
10552
|
-
}.identify-param-card[data-v-
|
|
10552
|
+
}.identify-param-card[data-v-d0486796] {
|
|
10553
10553
|
margin-top: 8px;
|
|
10554
10554
|
background: #f9fafb;
|
|
10555
10555
|
border-radius: 4px 4px 4px 4px;
|
|
10556
10556
|
border: 1px dashed #e0e3eb;
|
|
10557
10557
|
padding: 0 8px 12px;
|
|
10558
10558
|
}
|
|
10559
|
-
.identify-param-card[data-v-
|
|
10559
|
+
.identify-param-card[data-v-d0486796] .form-item__label {
|
|
10560
10560
|
margin-top: 0 !important;
|
|
10561
10561
|
}
|
|
10562
|
-
.identify-param-card .card-header[data-v-
|
|
10562
|
+
.identify-param-card .card-header[data-v-d0486796] {
|
|
10563
10563
|
display: flex;
|
|
10564
10564
|
justify-content: space-between;
|
|
10565
10565
|
align-items: center;
|
|
10566
10566
|
height: 30px;
|
|
10567
10567
|
}
|
|
10568
|
-
.identify-param-card .card-header .header-title[data-v-
|
|
10568
|
+
.identify-param-card .card-header .header-title[data-v-d0486796] {
|
|
10569
10569
|
display: flex;
|
|
10570
10570
|
align-items: center;
|
|
10571
10571
|
font-weight: 400;
|
|
10572
10572
|
font-size: 12px;
|
|
10573
10573
|
color: #1a1d23;
|
|
10574
10574
|
}
|
|
10575
|
-
.identify-param-card .card-header .header-title[data-v-
|
|
10575
|
+
.identify-param-card .card-header .header-title[data-v-d0486796] .iconfont {
|
|
10576
10576
|
margin-left: 4px;
|
|
10577
10577
|
}
|
|
10578
10578
|
.decimal-slider[data-v-15750539] .ant-slider-track {
|