@gct-paas/word 0.1.72 → 0.1.73-patch.2

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.
Files changed (43) hide show
  1. package/dist/base/utils/image-size-util.d.ts +10 -4
  2. package/dist/core/command/commands/InsertTable.d.ts +4 -0
  3. package/dist/core/constants/index.d.ts +1 -0
  4. package/dist/core/constants/table.d.ts +11 -0
  5. package/dist/core/cursor/logic/getSelectionRects.d.ts +15 -2
  6. package/dist/core/cursor/logic/index.d.ts +2 -1
  7. package/dist/core/cursor/logic/selectionAnalyzer.d.ts +31 -6
  8. package/dist/core/event/types.d.ts +1 -1
  9. package/dist/core/index.d.ts +1 -1
  10. package/dist/core/interaction/InteractionController.d.ts +11 -0
  11. package/dist/core/interaction/types.d.ts +8 -0
  12. package/dist/core/interaction/useInteraction.d.ts +6 -0
  13. package/dist/core/layout/LayoutManager.d.ts +5 -1
  14. package/dist/core/layout/providers/TableInfoProvider.d.ts +2 -2
  15. package/dist/core/layout/table/split-table.d.ts +10 -0
  16. package/dist/core/layout/types/index.d.ts +2 -0
  17. package/dist/core/model/document/Wbody.d.ts +4 -0
  18. package/dist/core/model/document/Wtbl/RowColumnOps.d.ts +9 -0
  19. package/dist/core/model/document/Wtbl/Serialization.d.ts +26 -1
  20. package/dist/core/model/document/Wtbl.d.ts +31 -3
  21. package/dist/core/model/document/Wtc.d.ts +13 -2
  22. package/dist/core/model/document/Wtr.d.ts +2 -1
  23. package/dist/core/model/document/index.d.ts +1 -0
  24. package/dist/core/model/document/utils/ensure-paragraphs-around-tables.d.ts +18 -0
  25. package/dist/core/model/templates/tableCell.template.d.ts +2 -0
  26. package/dist/core/view/Table.d.ts +13 -0
  27. package/dist/core/view/TableCell.d.ts +2 -1
  28. package/dist/core/view/runs/ImageWidget.d.ts +4 -0
  29. package/dist/domain/table/design/validate-nested-table-region.d.ts +31 -0
  30. package/dist/domain/table/design/validate-table-selection.d.ts +8 -0
  31. package/dist/domain/table/index.d.ts +1 -0
  32. package/dist/index.es.js +2870 -1691
  33. package/dist/runtime/canvas/table/table-design.vue.d.ts +1 -0
  34. package/dist/runtime/canvas/table/utils/useTableSelection.d.ts +6 -0
  35. package/dist/runtime/interface/data.d.ts +2 -0
  36. package/dist/sdk/plugins/index.d.ts +1 -0
  37. package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +5 -0
  38. package/dist/suites/edhr/model-field-runtime/field-provider.d.ts +2 -0
  39. package/dist/suites/edhr/model-field-runtime/model-provider.d.ts +2 -0
  40. package/dist/suites/eqm/index.d.ts +3 -0
  41. package/dist/utils/func/core.d.ts +5 -0
  42. package/dist/word.css +127 -127
  43. package/package.json +4 -2
package/dist/word.css CHANGED
@@ -6326,20 +6326,20 @@ input[data-v-aa7f65fb]::placeholder {
6326
6326
  color: rgba(0, 0, 0, 0.25);
6327
6327
  opacity: 1;
6328
6328
  }
6329
- .gct-input-number[data-v-4b906773] {
6329
+ .gct-input-number[data-v-d9ebd5e5] {
6330
6330
  display: inline-flex;
6331
+ box-sizing: border-box;
6331
6332
  align-items: stretch;
6333
+ overflow: hidden;
6334
+ transition: border-color 0.3s;
6332
6335
  border: 1px solid #d9d9d9;
6333
6336
  border-radius: 4px;
6334
- overflow: hidden;
6335
6337
  background: #fff;
6336
- transition: border-color 0.3s;
6337
- box-sizing: border-box;
6338
6338
  }
6339
- .gct-input-number[data-v-4b906773]:has(input:focus) {
6339
+ .gct-input-number[data-v-d9ebd5e5]:has(input:focus) {
6340
6340
  border-color: #026ac8;
6341
6341
  }
6342
- .gct-input-number input[data-v-4b906773] {
6342
+ .gct-input-number input[data-v-d9ebd5e5] {
6343
6343
  width: 100%;
6344
6344
  padding: 4px 8px;
6345
6345
  border: none;
@@ -6347,109 +6347,109 @@ input[data-v-aa7f65fb]::placeholder {
6347
6347
  font-size: 14px;
6348
6348
  line-height: 1.5715;
6349
6349
  }
6350
- .gct-input-number input:focus ~ .gct-input-number-clear-icon[data-v-4b906773] {
6350
+ .gct-input-number input:focus ~ .gct-input-number-clear-icon[data-v-d9ebd5e5] {
6351
6351
  opacity: 1;
6352
6352
  }
6353
- .gct-input-number .gct-input-number-clear-icon[data-v-4b906773] {
6353
+ .gct-input-number .gct-input-number-clear-icon[data-v-d9ebd5e5] {
6354
6354
  display: flex;
6355
+ z-index: 99;
6355
6356
  align-items: center;
6356
6357
  margin: 0 8px;
6357
- cursor: pointer;
6358
6358
  opacity: 0;
6359
- z-index: 99;
6359
+ cursor: pointer;
6360
6360
  }
6361
- .gct-input-number .gct-input-number-clear-icon:hover .gct-icon[data-v-4b906773] {
6361
+ .gct-input-number .gct-input-number-clear-icon:hover .gct-icon[data-v-d9ebd5e5] {
6362
6362
  transition: color 0.3s;
6363
6363
  color: rgba(0, 0, 0, 0.45);
6364
6364
  }
6365
- .gct-input-number .gct-input-number-clear-icon-default[data-v-4b906773] {
6366
- font-size: 12px;
6367
- width: 12px;
6368
- height: 12px;
6365
+ .gct-input-number .gct-input-number-clear-icon-default[data-v-d9ebd5e5] {
6369
6366
  display: flex;
6370
6367
  align-items: center;
6371
6368
  justify-content: center;
6369
+ width: 12px;
6370
+ height: 12px;
6371
+ font-size: 12px;
6372
6372
  }
6373
- .gct-input-number .gct-input-number-prefix[data-v-4b906773],
6374
- .gct-input-number .gct-input-number-suffix[data-v-4b906773] {
6373
+ .gct-input-number .gct-input-number-prefix[data-v-d9ebd5e5],
6374
+ .gct-input-number .gct-input-number-suffix[data-v-d9ebd5e5] {
6375
6375
  display: flex;
6376
6376
  flex: none;
6377
6377
  align-items: center;
6378
- white-space: nowrap;
6379
- font-size: 13px;
6380
- width: 24px;
6381
6378
  justify-content: center;
6379
+ width: 24px;
6382
6380
  background-color: rgba(0, 0, 0, 0.04);
6381
+ font-size: 13px;
6382
+ white-space: nowrap;
6383
6383
  }
6384
- .gct-input-number .gct-input-number-prefix[data-v-4b906773] {
6384
+ .gct-input-number .gct-input-number-prefix[data-v-d9ebd5e5] {
6385
6385
  margin-right: 4px;
6386
6386
  }
6387
- .gct-input-number .gct-input-number-suffix[data-v-4b906773] {
6387
+ .gct-input-number .gct-input-number-suffix[data-v-d9ebd5e5] {
6388
6388
  border-left: 1px solid #d9d9d9;
6389
6389
  }
6390
- .gct-input-number .gct-input-number-prefix-text[data-v-4b906773],
6391
- .gct-input-number .gct-input-number-suffix-text[data-v-4b906773] {
6390
+ .gct-input-number .gct-input-number-prefix-text[data-v-d9ebd5e5],
6391
+ .gct-input-number .gct-input-number-suffix-text[data-v-d9ebd5e5] {
6392
6392
  color: rgba(0, 0, 0, 0.45);
6393
6393
  line-height: 22px;
6394
6394
  }
6395
- .gct-input-number .stepper[data-v-4b906773] {
6395
+ .gct-input-number .stepper[data-v-d9ebd5e5] {
6396
6396
  display: flex;
6397
6397
  flex-direction: column;
6398
6398
  gap: 2px;
6399
6399
  }
6400
- .gct-input-number .stepper .step[data-v-4b906773] {
6401
- line-height: 0;
6402
- width: 20px;
6403
- height: 50%;
6400
+ .gct-input-number .stepper .step[data-v-d9ebd5e5] {
6404
6401
  display: flex;
6405
6402
  align-items: center;
6406
6403
  justify-content: center;
6404
+ width: 20px;
6405
+ height: 50%;
6406
+ transition: all 0.3s;
6407
6407
  font-size: 10px;
6408
+ line-height: 0;
6408
6409
  cursor: pointer;
6409
6410
  user-select: none;
6410
- transition: all 0.3s;
6411
6411
  }
6412
- .gct-input-number .stepper .step[data-v-4b906773]:hover:not(.disabled) {
6412
+ .gct-input-number .stepper .step[data-v-d9ebd5e5]:hover:not(.disabled) {
6413
6413
  background-color: rgba(2, 106, 200, 0.18);
6414
6414
  }
6415
- .gct-input-number .stepper .step:hover:not(.disabled) .gct-icon[data-v-4b906773] {
6415
+ .gct-input-number .stepper .step:hover:not(.disabled) .gct-icon[data-v-d9ebd5e5] {
6416
6416
  color: #026ac8;
6417
6417
  }
6418
- .gct-input-number .stepper .step.disabled[data-v-4b906773] {
6419
- cursor: not-allowed;
6418
+ .gct-input-number .stepper .step.disabled[data-v-d9ebd5e5] {
6420
6419
  color: #ccc;
6420
+ cursor: not-allowed;
6421
6421
  }
6422
- .gct-input-number .handler[data-v-4b906773] {
6422
+ .gct-input-number .handler[data-v-d9ebd5e5] {
6423
6423
  display: flex;
6424
6424
  flex-direction: column;
6425
6425
  border-left: 1px solid #d9d9d9;
6426
6426
  background: #fafafa;
6427
6427
  }
6428
- .gct-input-number .handler span[data-v-4b906773] {
6429
- width: 20px;
6430
- height: 50%;
6428
+ .gct-input-number .handler span[data-v-d9ebd5e5] {
6431
6429
  display: flex;
6432
6430
  align-items: center;
6433
6431
  justify-content: center;
6432
+ width: 20px;
6433
+ height: 50%;
6434
6434
  font-size: 10px;
6435
6435
  cursor: pointer;
6436
6436
  user-select: none;
6437
6437
  }
6438
- .gct-input-number .handler span[data-v-4b906773]:hover:not(.disabled) {
6438
+ .gct-input-number .handler span[data-v-d9ebd5e5]:hover:not(.disabled) {
6439
6439
  background: #f0f0f0;
6440
6440
  }
6441
- .gct-input-number .handler span.disabled[data-v-4b906773] {
6442
- cursor: not-allowed;
6441
+ .gct-input-number .handler span.disabled[data-v-d9ebd5e5] {
6443
6442
  color: #ccc;
6443
+ cursor: not-allowed;
6444
6444
  }
6445
- .gct-input-number.disabled[data-v-4b906773] {
6445
+ .gct-input-number.disabled[data-v-d9ebd5e5] {
6446
+ opacity: 0.7;
6446
6447
  background: #f5f5f5;
6447
6448
  pointer-events: none;
6448
- opacity: 0.7;
6449
6449
  }
6450
- input[data-v-4b906773]::placeholder {
6451
- color: rgba(0, 0, 0, 0.25);
6450
+ input[data-v-d9ebd5e5]::placeholder {
6452
6451
  opacity: 1;
6452
+ color: rgba(0, 0, 0, 0.25);
6453
6453
  }
6454
6454
  /**
6455
6455
  * 字段交互态配色。
@@ -8808,42 +8808,42 @@ textarea[data-v-2de31883]::placeholder {
8808
8808
  width: 100%;
8809
8809
  height: 100%;
8810
8810
  }
8811
- .signature-form[data-v-4c3fe309] {
8811
+ .signature-form[data-v-f5f7562d] {
8812
8812
  position: relative;
8813
8813
  width: 100%;
8814
8814
  }
8815
- .signature-form .form-row[data-v-4c3fe309] {
8815
+ .signature-form .form-row[data-v-f5f7562d] {
8816
8816
  display: flex;
8817
8817
  align-items: center;
8818
8818
  margin-bottom: 24px;
8819
8819
  gap: 16px;
8820
8820
  padding-right: 24px;
8821
8821
  }
8822
- .signature-form .form-footer[data-v-4c3fe309] {
8822
+ .signature-form .form-footer[data-v-f5f7562d] {
8823
8823
  display: flex;
8824
8824
  justify-content: flex-end;
8825
8825
  gap: 24px;
8826
8826
  font-size: 14px;
8827
8827
  padding-right: 24px;
8828
8828
  }
8829
- .signature-form .form-footer .form-button[data-v-4c3fe309] {
8829
+ .signature-form .form-footer .form-button[data-v-f5f7562d] {
8830
8830
  color: #0b57d0;
8831
8831
  cursor: pointer;
8832
8832
  }
8833
- .signature-form .label[data-v-4c3fe309] {
8833
+ .signature-form .label[data-v-f5f7562d] {
8834
8834
  width: 100px;
8835
8835
  text-align: right;
8836
8836
  line-height: 32px;
8837
8837
  color: rgba(0, 0, 0, 0.85);
8838
8838
  font-size: 13px;
8839
8839
  }
8840
- .signature-form .label[data-v-4c3fe309]:after {
8840
+ .signature-form .label[data-v-f5f7562d]:after {
8841
8841
  content: ':';
8842
8842
  margin: 0 2px 0 2px;
8843
8843
  position: relative;
8844
8844
  top: -0.5px;
8845
8845
  }
8846
- .signature-form .label.required[data-v-4c3fe309]::before {
8846
+ .signature-form .label.required[data-v-f5f7562d]::before {
8847
8847
  color: #ff4d4f;
8848
8848
  content: '*';
8849
8849
  display: inline-block;
@@ -8852,25 +8852,25 @@ textarea[data-v-2de31883]::placeholder {
8852
8852
  line-height: 1;
8853
8853
  margin-right: 4px;
8854
8854
  }
8855
- .signature-form .control[data-v-4c3fe309] {
8855
+ .signature-form .control[data-v-f5f7562d] {
8856
8856
  flex: 1;
8857
8857
  display: flex;
8858
8858
  align-items: center;
8859
8859
  position: relative;
8860
8860
  }
8861
- .signature-form .error[data-v-4c3fe309] {
8861
+ .signature-form .error[data-v-f5f7562d] {
8862
8862
  color: #ff4d4f;
8863
8863
  font-size: 12px;
8864
8864
  position: absolute;
8865
8865
  bottom: -22px;
8866
8866
  line-height: 20px;
8867
8867
  }
8868
- .signature-form .scrollbar[data-v-4c3fe309] {
8868
+ .signature-form .scrollbar[data-v-f5f7562d] {
8869
8869
  position: relative;
8870
8870
  margin-top: 8px;
8871
8871
  padding-right: 24px;
8872
8872
  }
8873
- .signature-form .img-box[data-v-4c3fe309] {
8873
+ .signature-form .img-box[data-v-f5f7562d] {
8874
8874
  display: flex;
8875
8875
  gap: 12px;
8876
8876
  flex-wrap: wrap;
@@ -8878,12 +8878,12 @@ textarea[data-v-2de31883]::placeholder {
8878
8878
  padding-top: 8px;
8879
8879
  padding-bottom: 8px;
8880
8880
  }
8881
- .signature-form .img-item[data-v-4c3fe309] {
8881
+ .signature-form .img-item[data-v-f5f7562d] {
8882
8882
  width: 80px;
8883
8883
  height: 80px;
8884
8884
  position: relative;
8885
8885
  }
8886
- .signature-form .img[data-v-4c3fe309] {
8886
+ .signature-form .img[data-v-f5f7562d] {
8887
8887
  display: block;
8888
8888
  width: 100%;
8889
8889
  height: 100%;
@@ -8892,7 +8892,7 @@ textarea[data-v-2de31883]::placeholder {
8892
8892
  cursor: pointer;
8893
8893
  background-color: #f7f8fa;
8894
8894
  }
8895
- .signature-form .delete[data-v-4c3fe309] {
8895
+ .signature-form .delete[data-v-f5f7562d] {
8896
8896
  position: absolute;
8897
8897
  top: -6px;
8898
8898
  right: -6px;
@@ -8905,7 +8905,7 @@ textarea[data-v-2de31883]::placeholder {
8905
8905
  justify-content: center;
8906
8906
  cursor: pointer;
8907
8907
  }
8908
- .signature-form .preview-mask[data-v-4c3fe309] {
8908
+ .signature-form .preview-mask[data-v-f5f7562d] {
8909
8909
  position: fixed;
8910
8910
  inset: 0;
8911
8911
  background: rgba(0, 0, 0, 0.4);
@@ -8914,7 +8914,7 @@ textarea[data-v-2de31883]::placeholder {
8914
8914
  justify-content: center;
8915
8915
  z-index: 9999;
8916
8916
  }
8917
- .signature-form .preview-mask img[data-v-4c3fe309] {
8917
+ .signature-form .preview-mask img[data-v-f5f7562d] {
8918
8918
  max-width: 80%;
8919
8919
  max-height: 80%;
8920
8920
  }
@@ -9110,7 +9110,7 @@ textarea[data-v-2de31883]::placeholder {
9110
9110
  user-select: none;
9111
9111
  cursor: pointer;
9112
9112
  }
9113
- .table-action[data-v-c40eef9f] {
9113
+ .table-action[data-v-c49cd3d6] {
9114
9114
  position: absolute;
9115
9115
  inset: 0;
9116
9116
  z-index: 999;
@@ -9119,47 +9119,47 @@ textarea[data-v-2de31883]::placeholder {
9119
9119
  width: 0;
9120
9120
  height: 0;
9121
9121
  }
9122
- .table-action.preview[data-v-c40eef9f] {
9122
+ .table-action.preview[data-v-c49cd3d6] {
9123
9123
  pointer-events: none;
9124
9124
  }
9125
- .table-action .guide-line[data-v-c40eef9f] {
9125
+ .table-action .guide-line[data-v-c49cd3d6] {
9126
9126
  position: absolute;
9127
9127
  pointer-events: none;
9128
9128
  background: #026ac8;
9129
9129
  }
9130
- .table-action .guide-line.vertical[data-v-c40eef9f] {
9130
+ .table-action .guide-line.vertical[data-v-c49cd3d6] {
9131
9131
  top: 0;
9132
9132
  width: 2px;
9133
9133
  z-index: 99;
9134
9134
  }
9135
- .table-action .guide-line.horizontal[data-v-c40eef9f] {
9135
+ .table-action .guide-line.horizontal[data-v-c49cd3d6] {
9136
9136
  left: 0;
9137
9137
  height: 2px;
9138
9138
  z-index: 99;
9139
9139
  }
9140
- .table-action .guide-resize-handle[data-v-c40eef9f] {
9140
+ .table-action .guide-resize-handle[data-v-c49cd3d6] {
9141
9141
  position: absolute;
9142
9142
  z-index: 99;
9143
9143
  background: transparent;
9144
9144
  }
9145
- .table-action .guide-resize-handle[data-v-c40eef9f]:hover {
9145
+ .table-action .guide-resize-handle[data-v-c49cd3d6]:hover {
9146
9146
  background: #026ac8;
9147
9147
  }
9148
- .table-action .guide-resize-handle.is-drag[data-v-c40eef9f] {
9148
+ .table-action .guide-resize-handle.is-drag[data-v-c49cd3d6] {
9149
9149
  display: none;
9150
9150
  }
9151
- .table-action .guide-resize-handle.col-resize-handle[data-v-c40eef9f] {
9151
+ .table-action .guide-resize-handle.col-resize-handle[data-v-c49cd3d6] {
9152
9152
  width: 2px;
9153
9153
  top: 100%;
9154
9154
  left: 100%;
9155
9155
  cursor: col-resize;
9156
9156
  }
9157
- .table-action .guide-resize-handle.row-resize-handle[data-v-c40eef9f] {
9157
+ .table-action .guide-resize-handle.row-resize-handle[data-v-c49cd3d6] {
9158
9158
  height: 2px;
9159
9159
  left: 100%;
9160
9160
  cursor: row-resize;
9161
9161
  }
9162
- .table-action .corner[data-v-c40eef9f] {
9162
+ .table-action .corner[data-v-c49cd3d6] {
9163
9163
  position: absolute;
9164
9164
  left: -10px;
9165
9165
  top: -10px;
@@ -9170,13 +9170,13 @@ textarea[data-v-2de31883]::placeholder {
9170
9170
  cursor: pointer;
9171
9171
  transition: background 0.2s;
9172
9172
  }
9173
- .table-action .corner[data-v-c40eef9f]:hover {
9173
+ .table-action .corner[data-v-c49cd3d6]:hover {
9174
9174
  background: #d4d4d4;
9175
9175
  }
9176
- .table-action .corner.active[data-v-c40eef9f] {
9176
+ .table-action .corner.active[data-v-c49cd3d6] {
9177
9177
  background: #026ac8;
9178
9178
  }
9179
- .table-action .corner .remove-all-btn[data-v-c40eef9f] {
9179
+ .table-action .corner .remove-all-btn[data-v-c49cd3d6] {
9180
9180
  position: absolute;
9181
9181
  border: 1px solid #dadada;
9182
9182
  width: 20px;
@@ -9191,37 +9191,37 @@ textarea[data-v-2de31883]::placeholder {
9191
9191
  top: -22px;
9192
9192
  left: -22px;
9193
9193
  }
9194
- .table-action .corner .remove-all-btn[data-v-c40eef9f]:hover {
9194
+ .table-action .corner .remove-all-btn[data-v-c49cd3d6]:hover {
9195
9195
  border-color: #ff4d4f;
9196
9196
  }
9197
- .table-action .corner .remove-all-btn[data-v-c40eef9f]:hover .gct-icon {
9197
+ .table-action .corner .remove-all-btn[data-v-c49cd3d6]:hover .gct-icon {
9198
9198
  color: #ff4d4f !important;
9199
9199
  }
9200
- .table-action .col-headers[data-v-c40eef9f],
9201
- .table-action .row-headers[data-v-c40eef9f] {
9200
+ .table-action .col-headers[data-v-c49cd3d6],
9201
+ .table-action .row-headers[data-v-c49cd3d6] {
9202
9202
  position: absolute;
9203
9203
  }
9204
- .table-action .header-handle[data-v-c40eef9f] {
9204
+ .table-action .header-handle[data-v-c49cd3d6] {
9205
9205
  background: #f0f0f0;
9206
9206
  cursor: pointer;
9207
9207
  transition: background 0.2s;
9208
9208
  box-sizing: border-box;
9209
9209
  }
9210
- .table-action .header-handle[data-v-c40eef9f]:hover {
9210
+ .table-action .header-handle[data-v-c49cd3d6]:hover {
9211
9211
  background: #d4d4d4;
9212
9212
  }
9213
- .table-action .header-handle.active[data-v-c40eef9f] {
9213
+ .table-action .header-handle.active[data-v-c49cd3d6] {
9214
9214
  background: #026ac8;
9215
9215
  }
9216
- .table-action .header-handle.active.is-remove-hover[data-v-c40eef9f] {
9216
+ .table-action .header-handle.active.is-remove-hover[data-v-c49cd3d6] {
9217
9217
  transition: background 0s;
9218
9218
  background: rgba(255, 77, 79, 0.6);
9219
9219
  }
9220
- .table-action .add-btn[data-v-c40eef9f] {
9220
+ .table-action .add-btn[data-v-c49cd3d6] {
9221
9221
  position: absolute;
9222
9222
  pointer-events: auto;
9223
9223
  }
9224
- .table-action .add-btn[data-v-c40eef9f] .gct-icon {
9224
+ .table-action .add-btn[data-v-c49cd3d6] .gct-icon {
9225
9225
  position: absolute;
9226
9226
  width: 20px;
9227
9227
  height: 20px;
@@ -9234,11 +9234,11 @@ textarea[data-v-2de31883]::placeholder {
9234
9234
  cursor: pointer;
9235
9235
  box-sizing: border-box;
9236
9236
  }
9237
- .table-action .add-btn[data-v-c40eef9f] .gct-icon:hover {
9237
+ .table-action .add-btn[data-v-c49cd3d6] .gct-icon:hover {
9238
9238
  border-color: #026ac8;
9239
9239
  color: #026ac8 !important;
9240
9240
  }
9241
- .table-action .remove-btn[data-v-c40eef9f] {
9241
+ .table-action .remove-btn[data-v-c49cd3d6] {
9242
9242
  position: absolute;
9243
9243
  border: 1px solid #dadada;
9244
9244
  width: 20px;
@@ -9251,20 +9251,20 @@ textarea[data-v-2de31883]::placeholder {
9251
9251
  box-sizing: border-box;
9252
9252
  cursor: pointer;
9253
9253
  }
9254
- .table-action .remove-btn[data-v-c40eef9f]:hover {
9254
+ .table-action .remove-btn[data-v-c49cd3d6]:hover {
9255
9255
  border-color: #ff4d4f;
9256
9256
  }
9257
- .table-action .remove-btn[data-v-c40eef9f]:hover .gct-icon {
9257
+ .table-action .remove-btn[data-v-c49cd3d6]:hover .gct-icon {
9258
9258
  color: #ff4d4f !important;
9259
9259
  }
9260
- .table-action .col-headers[data-v-c40eef9f] {
9260
+ .table-action .col-headers[data-v-c49cd3d6] {
9261
9261
  top: -10px;
9262
9262
  display: flex;
9263
9263
  }
9264
- .table-action .col-headers .col-header[data-v-c40eef9f] {
9264
+ .table-action .col-headers .col-header[data-v-c49cd3d6] {
9265
9265
  position: relative;
9266
9266
  }
9267
- .table-action .col-headers .col-header .col-header-handle[data-v-c40eef9f] {
9267
+ .table-action .col-headers .col-header .col-header-handle[data-v-c49cd3d6] {
9268
9268
  background: #f0f0f0;
9269
9269
  cursor: pointer;
9270
9270
  transition: background 0.2s;
@@ -9272,24 +9272,24 @@ textarea[data-v-2de31883]::placeholder {
9272
9272
  height: 10px;
9273
9273
  border-left: 1px solid #dadada;
9274
9274
  }
9275
- .table-action .col-headers .col-header .col-header-handle[data-v-c40eef9f]:hover {
9275
+ .table-action .col-headers .col-header .col-header-handle[data-v-c49cd3d6]:hover {
9276
9276
  background: #d4d4d4;
9277
9277
  }
9278
- .table-action .col-headers .col-header .col-header-handle.active[data-v-c40eef9f] {
9278
+ .table-action .col-headers .col-header .col-header-handle.active[data-v-c49cd3d6] {
9279
9279
  background: #026ac8;
9280
9280
  }
9281
- .table-action .col-headers .col-header .col-header-handle.active.is-remove-hover[data-v-c40eef9f] {
9281
+ .table-action .col-headers .col-header .col-header-handle.active.is-remove-hover[data-v-c49cd3d6] {
9282
9282
  transition: background 0s;
9283
9283
  background: rgba(255, 77, 79, 0.6);
9284
9284
  }
9285
- .table-action .col-headers .col-header .col-add-btn[data-v-c40eef9f] {
9285
+ .table-action .col-headers .col-header .col-add-btn[data-v-c49cd3d6] {
9286
9286
  position: absolute;
9287
9287
  pointer-events: auto;
9288
9288
  width: 100%;
9289
9289
  height: 24px;
9290
9290
  top: -24px;
9291
9291
  }
9292
- .table-action .col-headers .col-header .col-add-btn[data-v-c40eef9f] .gct-icon {
9292
+ .table-action .col-headers .col-header .col-add-btn[data-v-c49cd3d6] .gct-icon {
9293
9293
  position: absolute;
9294
9294
  width: 20px;
9295
9295
  height: 20px;
@@ -9302,18 +9302,18 @@ textarea[data-v-2de31883]::placeholder {
9302
9302
  cursor: pointer;
9303
9303
  box-sizing: border-box;
9304
9304
  }
9305
- .table-action .col-headers .col-header .col-add-btn[data-v-c40eef9f] .gct-icon:hover {
9305
+ .table-action .col-headers .col-header .col-add-btn[data-v-c49cd3d6] .gct-icon:hover {
9306
9306
  border-color: #026ac8;
9307
9307
  color: #026ac8 !important;
9308
9308
  }
9309
- .table-action .col-headers .col-header .col-add-btn[data-v-c40eef9f] .gct-icon.left {
9309
+ .table-action .col-headers .col-header .col-add-btn[data-v-c49cd3d6] .gct-icon.left {
9310
9310
  transform: translateX(-50%);
9311
9311
  }
9312
- .table-action .col-headers .col-header .col-add-btn[data-v-c40eef9f] .gct-icon.right {
9312
+ .table-action .col-headers .col-header .col-add-btn[data-v-c49cd3d6] .gct-icon.right {
9313
9313
  left: 100%;
9314
9314
  transform: translateX(-50%);
9315
9315
  }
9316
- .table-action .col-headers .col-header .col-remove-btn[data-v-c40eef9f] {
9316
+ .table-action .col-headers .col-header .col-remove-btn[data-v-c49cd3d6] {
9317
9317
  position: absolute;
9318
9318
  border: 1px solid #dadada;
9319
9319
  width: 20px;
@@ -9329,29 +9329,29 @@ textarea[data-v-2de31883]::placeholder {
9329
9329
  transform: translateX(-50%);
9330
9330
  left: 50%;
9331
9331
  }
9332
- .table-action .col-headers .col-header .col-remove-btn[data-v-c40eef9f]:hover {
9332
+ .table-action .col-headers .col-header .col-remove-btn[data-v-c49cd3d6]:hover {
9333
9333
  border-color: #ff4d4f;
9334
9334
  }
9335
- .table-action .col-headers .col-header .col-remove-btn[data-v-c40eef9f]:hover .gct-icon {
9335
+ .table-action .col-headers .col-header .col-remove-btn[data-v-c49cd3d6]:hover .gct-icon {
9336
9336
  color: #ff4d4f !important;
9337
9337
  }
9338
- .table-action .col-headers .col-header:first-child .col-add-btn[data-v-c40eef9f] .gct-icon.left {
9338
+ .table-action .col-headers .col-header:first-child .col-add-btn[data-v-c49cd3d6] .gct-icon.left {
9339
9339
  left: 0;
9340
9340
  transform: translateX(0);
9341
9341
  }
9342
- .table-action .col-headers .col-header:last-child .col-header-handle[data-v-c40eef9f] {
9342
+ .table-action .col-headers .col-header:last-child .col-header-handle[data-v-c49cd3d6] {
9343
9343
  border-top-right-radius: 6px;
9344
9344
  }
9345
- .table-action .col-headers .col-header:last-child .col-add-btn[data-v-c40eef9f] .gct-icon.right {
9345
+ .table-action .col-headers .col-header:last-child .col-add-btn[data-v-c49cd3d6] .gct-icon.right {
9346
9346
  transform: translateX(-100%);
9347
9347
  }
9348
- .table-action .row-headers[data-v-c40eef9f] {
9348
+ .table-action .row-headers[data-v-c49cd3d6] {
9349
9349
  left: -10px;
9350
9350
  }
9351
- .table-action .row-headers .row-header[data-v-c40eef9f] {
9351
+ .table-action .row-headers .row-header[data-v-c49cd3d6] {
9352
9352
  position: relative;
9353
9353
  }
9354
- .table-action .row-headers .row-header .row-header-handle[data-v-c40eef9f] {
9354
+ .table-action .row-headers .row-header .row-header-handle[data-v-c49cd3d6] {
9355
9355
  background: #f0f0f0;
9356
9356
  cursor: pointer;
9357
9357
  transition: background 0.2s;
@@ -9359,17 +9359,17 @@ textarea[data-v-2de31883]::placeholder {
9359
9359
  width: 10px;
9360
9360
  border-top: 1px solid #dadada;
9361
9361
  }
9362
- .table-action .row-headers .row-header .row-header-handle[data-v-c40eef9f]:hover {
9362
+ .table-action .row-headers .row-header .row-header-handle[data-v-c49cd3d6]:hover {
9363
9363
  background: #d4d4d4;
9364
9364
  }
9365
- .table-action .row-headers .row-header .row-header-handle.active[data-v-c40eef9f] {
9365
+ .table-action .row-headers .row-header .row-header-handle.active[data-v-c49cd3d6] {
9366
9366
  background: #026ac8;
9367
9367
  }
9368
- .table-action .row-headers .row-header .row-header-handle.active.is-remove-hover[data-v-c40eef9f] {
9368
+ .table-action .row-headers .row-header .row-header-handle.active.is-remove-hover[data-v-c49cd3d6] {
9369
9369
  transition: background 0s;
9370
9370
  background: rgba(255, 77, 79, 0.6);
9371
9371
  }
9372
- .table-action .row-headers .row-header .row-add-btn[data-v-c40eef9f] {
9372
+ .table-action .row-headers .row-header .row-add-btn[data-v-c49cd3d6] {
9373
9373
  position: absolute;
9374
9374
  pointer-events: auto;
9375
9375
  width: 24px;
@@ -9377,7 +9377,7 @@ textarea[data-v-2de31883]::placeholder {
9377
9377
  left: -24px;
9378
9378
  top: 0;
9379
9379
  }
9380
- .table-action .row-headers .row-header .row-add-btn[data-v-c40eef9f] .gct-icon {
9380
+ .table-action .row-headers .row-header .row-add-btn[data-v-c49cd3d6] .gct-icon {
9381
9381
  position: absolute;
9382
9382
  width: 20px;
9383
9383
  height: 20px;
@@ -9390,19 +9390,19 @@ textarea[data-v-2de31883]::placeholder {
9390
9390
  cursor: pointer;
9391
9391
  box-sizing: border-box;
9392
9392
  }
9393
- .table-action .row-headers .row-header .row-add-btn[data-v-c40eef9f] .gct-icon:hover {
9393
+ .table-action .row-headers .row-header .row-add-btn[data-v-c49cd3d6] .gct-icon:hover {
9394
9394
  border-color: #026ac8;
9395
9395
  color: #026ac8 !important;
9396
9396
  }
9397
- .table-action .row-headers .row-header .row-add-btn[data-v-c40eef9f] .gct-icon.top {
9397
+ .table-action .row-headers .row-header .row-add-btn[data-v-c49cd3d6] .gct-icon.top {
9398
9398
  top: 0;
9399
9399
  transform: translateY(-50%);
9400
9400
  }
9401
- .table-action .row-headers .row-header .row-add-btn[data-v-c40eef9f] .gct-icon.bottom {
9401
+ .table-action .row-headers .row-header .row-add-btn[data-v-c49cd3d6] .gct-icon.bottom {
9402
9402
  top: 100%;
9403
9403
  transform: translateY(-50%);
9404
9404
  }
9405
- .table-action .row-headers .row-header .row-remove-btn[data-v-c40eef9f] {
9405
+ .table-action .row-headers .row-header .row-remove-btn[data-v-c49cd3d6] {
9406
9406
  position: absolute;
9407
9407
  border: 1px solid #dadada;
9408
9408
  width: 20px;
@@ -9418,19 +9418,19 @@ textarea[data-v-2de31883]::placeholder {
9418
9418
  top: 50%;
9419
9419
  transform: translateY(-50%);
9420
9420
  }
9421
- .table-action .row-headers .row-header .row-remove-btn[data-v-c40eef9f]:hover {
9421
+ .table-action .row-headers .row-header .row-remove-btn[data-v-c49cd3d6]:hover {
9422
9422
  border-color: #ff4d4f;
9423
9423
  }
9424
- .table-action .row-headers .row-header .row-remove-btn[data-v-c40eef9f]:hover .gct-icon {
9424
+ .table-action .row-headers .row-header .row-remove-btn[data-v-c49cd3d6]:hover .gct-icon {
9425
9425
  color: #ff4d4f !important;
9426
9426
  }
9427
- .table-action .row-headers .row-header:first-child .row-add-btn[data-v-c40eef9f] .gct-icon.top {
9427
+ .table-action .row-headers .row-header:first-child .row-add-btn[data-v-c49cd3d6] .gct-icon.top {
9428
9428
  transform: translateY(0);
9429
9429
  }
9430
- .table-action .row-headers .row-header:last-child .row-header-handle[data-v-c40eef9f] {
9430
+ .table-action .row-headers .row-header:last-child .row-header-handle[data-v-c49cd3d6] {
9431
9431
  border-bottom-left-radius: 6px;
9432
9432
  }
9433
- .table-action .row-headers .row-header:last-child .row-add-btn[data-v-c40eef9f] .gct-icon.bottom {
9433
+ .table-action .row-headers .row-header:last-child .row-add-btn[data-v-c49cd3d6] .gct-icon.bottom {
9434
9434
  transform: translateY(-100%);
9435
9435
  }
9436
9436
  .sub-table-action-container[data-v-d4a2947b] {
@@ -9802,13 +9802,13 @@ textarea[data-v-2de31883]::placeholder {
9802
9802
  vertical-align: middle;
9803
9803
  flex-shrink: 0;
9804
9804
  }
9805
- .ribbon-tab-item[data-v-eed40e28] {
9805
+ .ribbon-tab-item[data-v-a6ebfeaa] {
9806
9806
  display: inline-flex;
9807
9807
  align-items: center;
9808
9808
  flex-shrink: 0;
9809
9809
  gap: 6px;
9810
9810
  }
9811
- .split-divider[data-v-eed40e28] {
9811
+ .split-divider[data-v-a6ebfeaa] {
9812
9812
  display: inline-block;
9813
9813
  width: 1px;
9814
9814
  height: 16px;
@@ -9816,7 +9816,7 @@ textarea[data-v-2de31883]::placeholder {
9816
9816
  flex-shrink: 0;
9817
9817
  margin: 0 6px;
9818
9818
  }
9819
- .option-svg-icon[data-v-eed40e28] {
9819
+ .option-svg-icon[data-v-a6ebfeaa] {
9820
9820
  display: inline-flex;
9821
9821
  width: 16px;
9822
9822
  height: 16px;
@@ -10471,7 +10471,7 @@ ul li .widget-icon[data-v-393cb2aa] {
10471
10471
  left: 0;
10472
10472
  height: 100%;
10473
10473
  }
10474
- .page-container[data-v-fcaa8330] {
10474
+ .page-container[data-v-855b01d5] {
10475
10475
  position: absolute;
10476
10476
  top: 0;
10477
10477
  left: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/word",
3
- "version": "0.1.72",
3
+ "version": "0.1.73-patch.2",
4
4
  "description": "GCT 在线 word",
5
5
  "keywords": [
6
6
  "vue",
@@ -41,10 +41,12 @@
41
41
  "build": "vite build --config vite.config.ts",
42
42
  "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx --fix",
43
43
  "publish:beta": "pnpm run version:beta && pnpm run build && npm publish --registry=https://registry.npmjs.org/ --access public --tag beta",
44
- "publish:prod": "pnpm run version:release && pnpm run build && npm publish --registry=https://registry.npmjs.org/ --access public",
44
+ "publish:patch": "pnpm run version:patch && pnpm run build && npm publish --registry=https://registry.npmjs.org/ --access public --tag patch && node ./scripts/git-commit-and-tag.mjs",
45
+ "publish:prod": "pnpm run version:release && pnpm run build && npm publish --registry=https://registry.npmjs.org/ --access public && node ./scripts/git-commit-and-tag.mjs",
45
46
  "test": "vitest run",
46
47
  "typecheck": "vue-tsc --noEmit -p tsconfig.app.json",
47
48
  "version:beta": "npm version prerelease --preid=beta --no-git-tag-version",
49
+ "version:patch": "node ./scripts/bump-customer-patch.mjs",
48
50
  "version:release": "npm version patch --no-git-tag-version"
49
51
  },
50
52
  "dependencies": {