@gct-paas/word 0.1.7 → 0.1.9

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 (64) hide show
  1. package/dist/base/image-upload/index.d.ts +1 -0
  2. package/dist/base/image-upload/src/image-upload.type.d.ts +8 -0
  3. package/dist/base/image-upload/src/image-upload.vue.d.ts +16 -0
  4. package/dist/base/index.d.ts +1 -0
  5. package/dist/capabilities/model-field-runtime/types/paper-widget.d.ts +10 -0
  6. package/dist/capabilities/paper-widget-manifest/index.d.ts +3 -0
  7. package/dist/capabilities/paper-widget-manifest/registry.d.ts +7 -0
  8. package/dist/capabilities/paper-widget-manifest/service.d.ts +9 -0
  9. package/dist/capabilities/paper-widget-manifest/types.d.ts +21 -0
  10. package/dist/core/command/commands/{InsertWidget.d.ts → InsertPaperWidget.d.ts} +3 -3
  11. package/dist/core/command/types.d.ts +2 -2
  12. package/dist/core/interaction/useInteraction.d.ts +0 -1
  13. package/dist/core/model/base/ModelNode.d.ts +1 -1
  14. package/dist/core/model/document/WrImage.d.ts +25 -61
  15. package/dist/core/model/document/Wtbl.d.ts +3 -18
  16. package/dist/core/model/logic/BoundedRegion.d.ts +13 -9
  17. package/dist/core/model/logic/RepeatingRegion.d.ts +10 -8
  18. package/dist/core/sdk/DocPubApiContext.d.ts +3 -0
  19. package/dist/core/sdk/types/public-types.d.ts +48 -0
  20. package/dist/domain/active/active-types.d.ts +0 -1
  21. package/dist/domain/constants/enum.d.ts +26 -0
  22. package/dist/{suites/edhr/panel-schema/widget/widget.type.d.ts → domain/paper-widget/paper-widget-type.d.ts} +17 -17
  23. package/dist/domain/widget/component-type.d.ts +1 -1
  24. package/dist/index.es.js +21869 -20938
  25. package/dist/runtime/_register_/composables/panel/useActivePanel.d.ts +0 -1
  26. package/dist/runtime/_register_/context/DesignSuiteContext.d.ts +4 -0
  27. package/dist/runtime/_register_/runtime/SuiteRuntime.d.ts +3 -0
  28. package/dist/runtime/canvas/table/utils/useTableSelection.d.ts +0 -1
  29. package/dist/runtime/designer/panel/panel.vue.d.ts +1 -1
  30. package/dist/runtime/factories/createPaperWidgetToWidgetFactory.d.ts +13 -0
  31. package/dist/runtime/factories/useRenderData.d.ts +11 -6
  32. package/dist/runtime/interface/computed.d.ts +8 -1
  33. package/dist/runtime/interface/data.d.ts +32 -0
  34. package/dist/runtime/interface/render.d.ts +2 -1
  35. package/dist/runtime/interface/utils.d.ts +2 -0
  36. package/dist/runtime/interface/validate.d.ts +4 -0
  37. package/dist/runtime/renderer/dropdowns/components/dropdown-container.vue.d.ts +2 -2
  38. package/dist/runtime/renderer/dropdowns/components/tables/composables/useTableDropdown.d.ts +3 -0
  39. package/dist/runtime/renderer/dropdowns/components/tables/strategy/selectStrategy.d.ts +14 -1
  40. package/dist/suites/edhr/panel-schema/index.d.ts +1 -1
  41. package/dist/suites/edhr/panel-schema/{widget/widget-qrcode.vue.d.ts → paper-widget/widgets/barcode.vue.d.ts} +1 -1
  42. package/dist/suites/edhr/panel-schema/{widget/widget-diagonal.vue.d.ts → paper-widget/widgets/diagonal.vue.d.ts} +1 -1
  43. package/dist/suites/edhr/panel-schema/{widget → paper-widget/widgets}/editors/diagonal-name-editor.vue.d.ts +1 -1
  44. package/dist/suites/edhr/panel-schema/{widget → paper-widget/widgets}/editors/value-editor.vue.d.ts +4 -4
  45. package/dist/suites/edhr/panel-schema/{widget/widget-image.vue.d.ts → paper-widget/widgets/image.vue.d.ts} +1 -2
  46. package/dist/suites/edhr/panel-schema/{widget/widget-barcode.vue.d.ts → paper-widget/widgets/qrcode.vue.d.ts} +1 -1
  47. package/dist/suites/edhr/panel-schema/{widget/widget-serialnumber.vue.d.ts → paper-widget/widgets/serialnumber.vue.d.ts} +1 -1
  48. package/dist/suites/edhr/paper-widget-manifest/basic/barcode-manifest.d.ts +2 -0
  49. package/dist/suites/edhr/paper-widget-manifest/basic/diagonal-manifest.d.ts +2 -0
  50. package/dist/suites/edhr/paper-widget-manifest/basic/image-manifest.d.ts +2 -0
  51. package/dist/suites/edhr/paper-widget-manifest/basic/qrcode-manifest.d.ts +2 -0
  52. package/dist/suites/edhr/paper-widget-manifest/basic/serialnumber-manifest.d.ts +2 -0
  53. package/dist/suites/edhr/paper-widget-manifest/index.d.ts +2 -0
  54. package/dist/utils/func/core.d.ts +2 -0
  55. package/dist/utils/func/dragdrop.d.ts +6 -6
  56. package/dist/utils/symbol/contextKey.d.ts +1 -0
  57. package/dist/word.css +174 -119
  58. package/package.json +1 -1
  59. package/dist/runtime/factories/createWidgetToWidgetFactory.d.ts +0 -14
  60. /package/dist/suites/edhr/panel-schema/{widget/WidgetPanel.vue.d.ts → paper-widget/PaperWidgetPanel.vue.d.ts} +0 -0
  61. /package/dist/suites/edhr/panel-schema/{widget/widget.basic.d.ts → paper-widget/paper-widget.basic.d.ts} +0 -0
  62. /package/dist/suites/edhr/panel-schema/{widget → paper-widget/widgets}/editors/align-editor.vue.d.ts +0 -0
  63. /package/dist/suites/edhr/panel-schema/{widget → paper-widget/widgets}/editors/img-parser.d.ts +0 -0
  64. /package/dist/suites/edhr/panel-schema/{widget → paper-widget/widgets}/editors/size-editor.vue.d.ts +0 -0
package/dist/word.css CHANGED
@@ -871,6 +871,92 @@
871
871
  .gct-icon > i[data-v-284f2b34] {
872
872
  font-size: var(--size, '16px');
873
873
  }
874
+ .gct-image-upload[data-v-9a7a9e28] {
875
+ position: relative;
876
+ z-index: 1;
877
+ border: 2px dashed #d9d9d9;
878
+ border-radius: 4px;
879
+ cursor: pointer;
880
+ user-select: none;
881
+ }
882
+ .gct-image-upload[data-v-9a7a9e28]:hover {
883
+ background-color: #fafafa;
884
+ }
885
+ .gct-image-upload .upload-tip[data-v-9a7a9e28] {
886
+ display: flex;
887
+ justify-content: center;
888
+ align-items: center;
889
+ width: 100%;
890
+ height: 100%;
891
+ color: #999;
892
+ text-align: center;
893
+ }
894
+ .gct-image-upload .upload-tip .iconfont[data-v-9a7a9e28] {
895
+ font-size: 32px;
896
+ }
897
+ .gct-image-upload .upload-tip .tip-text[data-v-9a7a9e28] {
898
+ margin-top: 8px;
899
+ }
900
+ .gct-image-upload .upload-img-container[data-v-9a7a9e28] {
901
+ position: absolute;
902
+ z-index: 10;
903
+ inset: 0;
904
+ display: flex;
905
+ justify-content: center;
906
+ align-items: center;
907
+ }
908
+ .gct-image-upload .upload-img-container .upload-img[data-v-9a7a9e28] {
909
+ max-width: 100%;
910
+ max-height: 100%;
911
+ }
912
+ .gct-image-upload .upload-img-container .upload-img-mask[data-v-9a7a9e28] {
913
+ display: flex;
914
+ justify-content: center;
915
+ align-items: center;
916
+ position: absolute;
917
+ z-index: 10;
918
+ inset: 0;
919
+ opacity: 0;
920
+ color: rgba(255, 255, 255, 0.75);
921
+ background-color: rgba(0, 0, 0, 0.4);
922
+ }
923
+ .gct-image-upload .upload-img-container .upload-img-mask .iconfont[data-v-9a7a9e28] {
924
+ font-size: 20px;
925
+ margin: 0 8px;
926
+ }
927
+ .gct-image-upload .upload-img-container .upload-img-mask .iconfont[data-v-9a7a9e28]:hover {
928
+ color: #fff;
929
+ }
930
+ .gct-image-upload .upload-img-container:hover .upload-img-mask[data-v-9a7a9e28] {
931
+ opacity: 1;
932
+ transition: opacity 0.2s;
933
+ }
934
+ .gct-image-upload .upload-loading[data-v-9a7a9e28] {
935
+ position: absolute;
936
+ z-index: 10;
937
+ inset: 0;
938
+ background-color: #fafafa;
939
+ display: flex;
940
+ justify-content: center;
941
+ align-items: center;
942
+ color: #999;
943
+ }
944
+ .gct-upload-hidden-input[data-v-9a7a9e28] {
945
+ display: none;
946
+ }
947
+ .preview-mask[data-v-9a7a9e28] {
948
+ position: fixed;
949
+ inset: 0;
950
+ background: rgba(0, 0, 0, 0.4);
951
+ display: flex;
952
+ align-items: center;
953
+ justify-content: center;
954
+ z-index: 9999;
955
+ }
956
+ .preview-mask img[data-v-9a7a9e28] {
957
+ max-width: 80%;
958
+ max-height: 80%;
959
+ }
874
960
  .gct-input-wrapper[data-v-79e18665] {
875
961
  position: relative;
876
962
  display: inline-flex;
@@ -2023,11 +2109,11 @@ input[data-v-2deda526]::placeholder {
2023
2109
  height: 0;
2024
2110
  pointer-events: all;
2025
2111
  }
2026
- .dropdown-container[data-v-b698550f] {
2112
+ .dropdown-container[data-v-730f825e] {
2027
2113
  width: 100%;
2028
2114
  background-color: #fff;
2029
2115
  }
2030
- .dropdown-container .dropdown-suspense-fallback[data-v-b698550f] {
2116
+ .dropdown-container .dropdown-suspense-fallback[data-v-730f825e] {
2031
2117
  display: flex;
2032
2118
  align-items: center;
2033
2119
  justify-content: center;
@@ -2040,7 +2126,7 @@ input[data-v-2deda526]::placeholder {
2040
2126
  width: 100%;
2041
2127
  height: 100%;
2042
2128
  }
2043
- .widget-container-action[data-v-dbb8b01e] {
2129
+ .widget-container-action[data-v-90700338] {
2044
2130
  position: absolute;
2045
2131
  inset: 0;
2046
2132
  z-index: 999;
@@ -2048,7 +2134,7 @@ input[data-v-2deda526]::placeholder {
2048
2134
  height: 0;
2049
2135
  pointer-events: all;
2050
2136
  }
2051
- .picker-trigger[data-v-dbb8b01e] {
2137
+ .picker-trigger[data-v-90700338] {
2052
2138
  width: 100%;
2053
2139
  height: 100%;
2054
2140
  display: flex;
@@ -3036,21 +3122,21 @@ input[data-v-2deda526]::placeholder {
3036
3122
  color: #c3c3c3;
3037
3123
  font-size: 12px;
3038
3124
  }
3039
- .toolkit-content-widgets[data-v-865269f2] {
3125
+ .toolkit-content-widgets[data-v-95297f21] {
3040
3126
  padding: 12px;
3041
3127
  }
3042
- ul[data-v-865269f2],
3043
- li[data-v-865269f2] {
3128
+ ul[data-v-95297f21],
3129
+ li[data-v-95297f21] {
3044
3130
  list-style: none;
3045
3131
  padding: 0;
3046
3132
  margin: 0;
3047
3133
  }
3048
- ul[data-v-865269f2] {
3134
+ ul[data-v-95297f21] {
3049
3135
  display: grid;
3050
3136
  grid-gap: 8px;
3051
3137
  grid-template-columns: repeat(2, 1fr);
3052
3138
  }
3053
- ul li[data-v-865269f2] {
3139
+ ul li[data-v-95297f21] {
3054
3140
  height: 34px;
3055
3141
  border-radius: 4px;
3056
3142
  border: 1px solid #e8ebf0;
@@ -3062,7 +3148,7 @@ ul li[data-v-865269f2] {
3062
3148
  font-size: 12px;
3063
3149
  cursor: pointer;
3064
3150
  }
3065
- ul li .widget-icon[data-v-865269f2] {
3151
+ ul li .widget-icon[data-v-95297f21] {
3066
3152
  margin-right: 6px;
3067
3153
  }
3068
3154
  .designer_toolkit-wrapper[data-v-510444a4] {
@@ -3082,7 +3168,7 @@ ul li .widget-icon[data-v-865269f2] {
3082
3168
  background-color: #e0e0e0;
3083
3169
  right: 0;
3084
3170
  }
3085
- .designer_panel-wrapper[data-v-300c9ce1] {
3171
+ .designer_panel-wrapper[data-v-729bab8d] {
3086
3172
  position: relative;
3087
3173
  display: flex;
3088
3174
  flex-direction: column;
@@ -3090,35 +3176,35 @@ ul li .widget-icon[data-v-865269f2] {
3090
3176
  flex: 1;
3091
3177
  overflow: hidden;
3092
3178
  }
3093
- .designer_panel-wrapper .panel-breadcrumb[data-v-300c9ce1] {
3179
+ .designer_panel-wrapper .panel-breadcrumb[data-v-729bab8d] {
3094
3180
  position: relative;
3095
3181
  -webkit-box-flex: 0;
3096
3182
  -ms-flex: none;
3097
3183
  -webkit-flex: none;
3098
3184
  flex: none;
3099
3185
  }
3100
- .designer_panel-wrapper .panel-breadcrumb .breadcrumb[data-v-300c9ce1] {
3186
+ .designer_panel-wrapper .panel-breadcrumb .breadcrumb[data-v-729bab8d] {
3101
3187
  padding: 9px 12px;
3102
3188
  font-size: 13px;
3103
3189
  line-height: 22px;
3104
3190
  }
3105
- .designer_panel-wrapper .panel-breadcrumb .breadcrumb[data-v-300c9ce1] .gct-breadcrumb-item .gct-breadcrumb-link {
3191
+ .designer_panel-wrapper .panel-breadcrumb .breadcrumb[data-v-729bab8d] .gct-breadcrumb-item .gct-breadcrumb-link {
3106
3192
  color: rgba(0, 0, 0, 0.45);
3107
3193
  }
3108
- .designer_panel-wrapper .panel-breadcrumb .breadcrumb[data-v-300c9ce1] .gct-breadcrumb-item .gct-breadcrumb-link:hover {
3194
+ .designer_panel-wrapper .panel-breadcrumb .breadcrumb[data-v-729bab8d] .gct-breadcrumb-item .gct-breadcrumb-link:hover {
3109
3195
  color: rgba(0, 0, 0, 0.7);
3110
3196
  }
3111
- .designer_panel-wrapper .panel-breadcrumb .breadcrumb[data-v-300c9ce1] .gct-breadcrumb-item:last-child .gct-breadcrumb-link {
3197
+ .designer_panel-wrapper .panel-breadcrumb .breadcrumb[data-v-729bab8d] .gct-breadcrumb-item:last-child .gct-breadcrumb-link {
3112
3198
  color: #212528;
3113
3199
  }
3114
- .designer_panel-wrapper .panel-breadcrumb .title[data-v-300c9ce1] {
3200
+ .designer_panel-wrapper .panel-breadcrumb .title[data-v-729bab8d] {
3115
3201
  padding: 9px 12px;
3116
3202
  font-size: 14px;
3117
3203
  font-weight: 500;
3118
3204
  line-height: 22px;
3119
3205
  color: #212528;
3120
3206
  }
3121
- .designer_panel-wrapper .panel-breadcrumb[data-v-300c9ce1]::before {
3207
+ .designer_panel-wrapper .panel-breadcrumb[data-v-729bab8d]::before {
3122
3208
  content: '';
3123
3209
  position: absolute;
3124
3210
  width: 100%;
@@ -3127,23 +3213,23 @@ ul li .widget-icon[data-v-865269f2] {
3127
3213
  bottom: 0;
3128
3214
  left: 0;
3129
3215
  }
3130
- .designer_panel-wrapper .panel-container[data-v-300c9ce1] {
3216
+ .designer_panel-wrapper .panel-container[data-v-729bab8d] {
3131
3217
  -webkit-box-flex: 1;
3132
3218
  -ms-flex: 1 1 0%;
3133
3219
  -webkit-flex: 1 1 0%;
3134
3220
  flex: 1 1 0%;
3135
3221
  overflow: hidden;
3136
3222
  }
3137
- .designer_panel-wrapper .panel-container .panel-scrollbar[data-v-300c9ce1] {
3223
+ .designer_panel-wrapper .panel-container .panel-scrollbar[data-v-729bab8d] {
3138
3224
  position: relative;
3139
3225
  }
3140
- .designer_panel-wrapper .panel-container .panel-scrollbar .container[data-v-300c9ce1] {
3226
+ .designer_panel-wrapper .panel-container .panel-scrollbar .container[data-v-729bab8d] {
3141
3227
  padding: 12px;
3142
3228
  }
3143
- [data-v-300c9ce1] .collapse.panel-collapse.is-first .collapse-header::before {
3229
+ [data-v-729bab8d] .collapse.panel-collapse.is-first .collapse-header::before {
3144
3230
  display: none;
3145
3231
  }
3146
- [data-v-300c9ce1] .collapse.panel-collapse .collapse-header {
3232
+ [data-v-729bab8d] .collapse.panel-collapse .collapse-header {
3147
3233
  background: #f7f7f7;
3148
3234
  padding: 8px 12px;
3149
3235
  color: #212528;
@@ -3198,7 +3284,7 @@ ul li .widget-icon[data-v-865269f2] {
3198
3284
  width: fit-content;
3199
3285
  pointer-events: none;
3200
3286
  }
3201
- .render-container[data-v-5c9b2ca1] {
3287
+ .render-container[data-v-c6d7e50a] {
3202
3288
  overflow-y: auto;
3203
3289
  overflow-x: auto;
3204
3290
  white-space: normal;
@@ -3442,10 +3528,10 @@ svg.portrait-icon[data-v-8bdb451e] {
3442
3528
  line-height: 22px;
3443
3529
  border-radius: 4px;
3444
3530
  }
3445
- .table-setting-module[data-v-86063266] {
3531
+ .table-setting-module[data-v-2a044650] {
3446
3532
  position: relative;
3447
3533
  }
3448
- .table-setting-module .table-setting-container[data-v-86063266] {
3534
+ .table-setting-module .table-setting-container[data-v-2a044650] {
3449
3535
  padding: 4px 6px 4px 4px;
3450
3536
  background: #f2f4f7;
3451
3537
  border-radius: 4px;
@@ -3454,16 +3540,16 @@ svg.portrait-icon[data-v-8bdb451e] {
3454
3540
  flex-direction: column;
3455
3541
  gap: 6px;
3456
3542
  }
3457
- .table-setting-module .table-setting-container.is-show-link .header[data-v-86063266],
3458
- .table-setting-module .table-setting-container.is-show-link .body[data-v-86063266] {
3543
+ .table-setting-module .table-setting-container.is-show-link .header[data-v-2a044650],
3544
+ .table-setting-module .table-setting-container.is-show-link .body[data-v-2a044650] {
3459
3545
  padding-left: 20px;
3460
3546
  }
3461
- .table-setting-module .table-setting-container > div[data-v-86063266] {
3547
+ .table-setting-module .table-setting-container > div[data-v-2a044650] {
3462
3548
  display: flex;
3463
3549
  align-items: center;
3464
3550
  }
3465
- .table-setting-module .table-setting-container .header .title[data-v-86063266],
3466
- .table-setting-module .table-setting-container .body .title[data-v-86063266] {
3551
+ .table-setting-module .table-setting-container .header .title[data-v-2a044650],
3552
+ .table-setting-module .table-setting-container .body .title[data-v-2a044650] {
3467
3553
  height: 26px;
3468
3554
  background: #ffffff;
3469
3555
  border-radius: 4px;
@@ -3480,17 +3566,17 @@ svg.portrait-icon[data-v-8bdb451e] {
3480
3566
  line-height: 26px;
3481
3567
  font-size: 12px;
3482
3568
  }
3483
- .table-setting-module .table-setting-container .header .icon[data-v-86063266],
3484
- .table-setting-module .table-setting-container .body .icon[data-v-86063266] {
3569
+ .table-setting-module .table-setting-container .header .icon[data-v-2a044650],
3570
+ .table-setting-module .table-setting-container .body .icon[data-v-2a044650] {
3485
3571
  flex: none;
3486
3572
  cursor: pointer;
3487
3573
  margin-left: 5px;
3488
3574
  }
3489
- .table-setting-module .table-setting-container .header .icon[data-v-86063266]:hover,
3490
- .table-setting-module .table-setting-container .body .icon[data-v-86063266]:hover {
3575
+ .table-setting-module .table-setting-container .header .icon[data-v-2a044650]:hover,
3576
+ .table-setting-module .table-setting-container .body .icon[data-v-2a044650]:hover {
3491
3577
  color: #ff4d4f;
3492
3578
  }
3493
- .table-setting-module .table-setting-container .link[data-v-86063266] {
3579
+ .table-setting-module .table-setting-container .link[data-v-2a044650] {
3494
3580
  height: 36px;
3495
3581
  width: 16px;
3496
3582
  position: absolute;
@@ -3500,8 +3586,8 @@ svg.portrait-icon[data-v-8bdb451e] {
3500
3586
  transform: translateY(-50%);
3501
3587
  left: 8px;
3502
3588
  }
3503
- .table-setting-module .table-setting-container .link[data-v-86063266]::before,
3504
- .table-setting-module .table-setting-container .link[data-v-86063266]::after {
3589
+ .table-setting-module .table-setting-container .link[data-v-2a044650]::before,
3590
+ .table-setting-module .table-setting-container .link[data-v-2a044650]::after {
3505
3591
  display: block;
3506
3592
  content: '';
3507
3593
  width: 11px;
@@ -3510,35 +3596,35 @@ svg.portrait-icon[data-v-8bdb451e] {
3510
3596
  right: 0;
3511
3597
  position: absolute;
3512
3598
  }
3513
- .table-setting-module .table-setting-container .link[data-v-86063266]::before {
3599
+ .table-setting-module .table-setting-container .link[data-v-2a044650]::before {
3514
3600
  border-top: 1px solid #c3c3c3;
3515
3601
  top: 0;
3516
3602
  }
3517
- .table-setting-module .table-setting-container .link[data-v-86063266]::after {
3603
+ .table-setting-module .table-setting-container .link[data-v-2a044650]::after {
3518
3604
  border-bottom: 1px solid #c3c3c3;
3519
3605
  bottom: 0;
3520
3606
  }
3521
- .table-setting-module .table-setting-container .link .icon[data-v-86063266] {
3607
+ .table-setting-module .table-setting-container .link .icon[data-v-2a044650] {
3522
3608
  display: block;
3523
3609
  transform: rotate(-45deg);
3524
3610
  position: relative;
3525
3611
  left: -4px;
3526
3612
  color: #c3c3c3;
3527
3613
  }
3528
- .table-setting-module .table-setting-empty[data-v-86063266] {
3614
+ .table-setting-module .table-setting-empty[data-v-2a044650] {
3529
3615
  display: flex;
3530
3616
  align-items: center;
3531
3617
  justify-content: center;
3532
3618
  height: 36px;
3533
3619
  color: #bebdc7;
3534
3620
  }
3535
- .panel-paper[data-v-a9472693] {
3621
+ .panel-paper[data-v-0d516b7e] {
3536
3622
  position: relative;
3537
3623
  }
3538
- .panel-paper .container[data-v-a9472693] {
3624
+ .panel-paper .container[data-v-0d516b7e] {
3539
3625
  padding: 16px;
3540
3626
  }
3541
- .panel-paper .content[data-v-a9472693] {
3627
+ .panel-paper .content[data-v-0d516b7e] {
3542
3628
  width: 100%;
3543
3629
  display: flex;
3544
3630
  line-height: 22px;
@@ -3832,63 +3918,21 @@ svg.portrait-icon[data-v-8bdb451e] {
3832
3918
  .panel-field[data-v-b2870f0e] .widget-breadcrumb-link.gct-breadcrumb .gct-breadcrumb-item:last-child .gct-breadcrumb-link {
3833
3919
  color: rgba(0, 0, 0, 0.85);
3834
3920
  }
3835
- .row[data-v-67009282] {
3921
+ .row[data-v-04ee7f53] {
3836
3922
  display: flex;
3837
3923
  align-items: center;
3924
+ margin-top: 6px;
3838
3925
  }
3839
- .row > div[data-v-67009282] {
3926
+ .row .label[data-v-04ee7f53] {
3840
3927
  width: 48px;
3841
3928
  font-size: 12px;
3842
3929
  color: #212528;
3843
3930
  }
3844
- [data-v-68d94a0b] .uploader > span {
3845
- padding: 0 !important;
3846
- }
3847
- .uploader__inner[data-v-68d94a0b] {
3848
- display: flex;
3849
- align-items: center;
3850
- justify-content: center;
3851
- flex-direction: column;
3852
- height: 112px;
3853
- background-color: #f7f8fa;
3854
- color: #c3c3c3;
3855
- font-size: 12px;
3856
- }
3857
- .img-box[data-v-68d94a0b] {
3858
- height: 100%;
3859
- width: 100%;
3860
- position: relative;
3861
- }
3862
- .img-box img[data-v-68d94a0b] {
3863
- height: 100%;
3864
- width: 100%;
3865
- object-fit: contain;
3866
- }
3867
- .img-box:hover .img-box__mask[data-v-68d94a0b] {
3868
- opacity: 1;
3869
- }
3870
- .img-box__mask[data-v-68d94a0b] {
3871
- position: absolute;
3872
- top: 0;
3873
- left: 0;
3874
- height: 100%;
3875
- width: 100%;
3876
- display: flex;
3877
- opacity: 0;
3878
- background: rgba(0, 0, 0, 0.5);
3879
- color: #fff;
3880
- align-items: center;
3881
- justify-content: center;
3882
- transition: all 0.3s;
3883
- }
3884
- .img-box__mask > .iconfont[data-v-68d94a0b]:not(:last-child) {
3885
- margin-right: 16px;
3886
- }
3887
- .img-size-mode[data-v-68d94a0b] {
3888
- margin-bottom: 6px;
3931
+ .row .gct-input-wrapper[data-v-04ee7f53] {
3932
+ margin-right: 4px;
3889
3933
  }
3890
- .img-size-mode[data-v-68d94a0b] .ant-radio-wrapper {
3891
- font-size: 12px;
3934
+ .size-mode-group[data-v-632dcd2c] {
3935
+ margin-top: 6px;
3892
3936
  }
3893
3937
  .ant-form.expression-form .ant-form-item {
3894
3938
  margin-bottom: 20px;
@@ -3899,7 +3943,7 @@ svg.portrait-icon[data-v-8bdb451e] {
3899
3943
  }
3900
3944
 
3901
3945
  .icon-box {
3902
- &[data-v-a7d06995] {
3946
+ &[data-v-2fb534d0] {
3903
3947
  flex: 1;
3904
3948
  height: 22px;
3905
3949
  line-height: 22px;
@@ -3907,22 +3951,22 @@ svg.portrait-icon[data-v-8bdb451e] {
3907
3951
  cursor: pointer;
3908
3952
  border-radius: 2px;
3909
3953
  }
3910
- .iconfont[data-v-a7d06995] {
3954
+ .iconfont[data-v-2fb534d0] {
3911
3955
  padding: 3px 4px;
3912
3956
  border-radius: 2px;
3913
3957
  }
3914
3958
  &:not(&.selected) {
3915
3959
  .iconfont {
3916
- &[data-v-a7d06995]:hover {
3960
+ &[data-v-2fb534d0]:hover {
3917
3961
  background-color: #e6e9ef;
3918
3962
  }
3919
3963
  }
3920
3964
  }
3921
3965
  }
3922
- .selected[data-v-a7d06995] {
3966
+ .selected[data-v-2fb534d0] {
3923
3967
  background-color: #ffffff;
3924
3968
  }
3925
- .align-group-box[data-v-a7d06995] {
3969
+ .align-group-box[data-v-2fb534d0] {
3926
3970
  display: flex;
3927
3971
  align-items: center;
3928
3972
  justify-content: space-around;
@@ -3931,19 +3975,19 @@ svg.portrait-icon[data-v-8bdb451e] {
3931
3975
  border-radius: 4px;
3932
3976
  padding: 2px;
3933
3977
  }
3934
- .diagonal-name-editor[data-v-52458f66] {
3978
+ .diagonal-name-editor[data-v-49563869] {
3935
3979
  height: getCssVar(diagonal-name-editor, height);
3936
3980
  }
3937
- .diagonal-name-editor .switch-text[data-v-52458f66] {
3981
+ .diagonal-name-editor .switch-text[data-v-49563869] {
3938
3982
  margin-right: 8px;
3939
3983
  font-weight: 400;
3940
3984
  font-size: 12px;
3941
3985
  color: #919398;
3942
3986
  line-height: 18px;
3943
- }.panel-widget[data-v-264ccad8] {
3987
+ }.panel-widget[data-v-606000a1] {
3944
3988
  position: relative;
3945
3989
  }
3946
- .panel-widget .container[data-v-264ccad8] {
3990
+ .panel-widget .container[data-v-606000a1] {
3947
3991
  padding: 16px;
3948
3992
  }
3949
3993
  .content[data-v-baf107a1] {
@@ -9248,23 +9292,23 @@ svg.portrait-icon[data-v-8bdb451e] {
9248
9292
  display: inline-flex;
9249
9293
  align-items: center;
9250
9294
  }
9251
- .tree-dropdown[data-v-b8969d2c] {
9295
+ .tree-dropdown[data-v-f39cf75d] {
9252
9296
  position: relative;
9253
9297
  width: 100%;
9254
9298
  height: 100%;
9255
9299
  min-width: 200px;
9256
9300
  max-width: 300px;
9257
9301
  }
9258
- .tree-dropdown .tree-dropdown-scrollbar[data-v-b8969d2c] {
9302
+ .tree-dropdown .tree-dropdown-scrollbar[data-v-f39cf75d] {
9259
9303
  position: relative;
9260
9304
  padding: 4px;
9261
9305
  }
9262
- .tree-dropdown .tree-dropdown-scrollbar .tree-dropdown-container[data-v-b8969d2c] {
9306
+ .tree-dropdown .tree-dropdown-scrollbar .tree-dropdown-container[data-v-f39cf75d] {
9263
9307
  position: relative;
9264
9308
  width: 100%;
9265
9309
  max-height: 300px;
9266
9310
  }
9267
- .tree-dropdown .tree-dropdown-scrollbar .empty[data-v-b8969d2c] {
9311
+ .tree-dropdown .tree-dropdown-scrollbar .empty[data-v-f39cf75d] {
9268
9312
  width: 100%;
9269
9313
  height: 90px;
9270
9314
  display: flex;
@@ -9273,14 +9317,14 @@ svg.portrait-icon[data-v-8bdb451e] {
9273
9317
  color: #c3c3c3;
9274
9318
  font-size: 13px;
9275
9319
  }
9276
- .tree-dropdown .options-footer[data-v-b8969d2c] {
9320
+ .tree-dropdown .options-footer[data-v-f39cf75d] {
9277
9321
  display: flex;
9278
9322
  justify-content: space-between;
9279
9323
  align-items: center;
9280
9324
  padding: 8px 8px;
9281
9325
  border-top: 1px solid #f0f0f0;
9282
9326
  }
9283
- .tree-dropdown .options-footer .btn-item[data-v-b8969d2c] {
9327
+ .tree-dropdown .options-footer .btn-item[data-v-f39cf75d] {
9284
9328
  width: 36px;
9285
9329
  height: 22px;
9286
9330
  line-height: 22px;
@@ -9290,10 +9334,10 @@ svg.portrait-icon[data-v-8bdb451e] {
9290
9334
  cursor: pointer;
9291
9335
  color: #026ac8;
9292
9336
  }
9293
- .gct-datetime-dropdown[data-v-f2c865be] {
9337
+ .gct-datetime-dropdown[data-v-3527e4d6] {
9294
9338
  width: 100%;
9295
9339
  }
9296
- .gct-timer-dropdown[data-v-5e5fb336] {
9340
+ .gct-timer-dropdown[data-v-9b5b7b53] {
9297
9341
  width: 100%;
9298
9342
  height: 248px;
9299
9343
  }
@@ -9355,6 +9399,17 @@ svg.portrait-icon[data-v-8bdb451e] {
9355
9399
  gap: 12px;
9356
9400
  padding-bottom: 12px;
9357
9401
  }
9402
+ .table-dropdown .table-message {
9403
+ display: flex;
9404
+ align-items: center;
9405
+ gap: 10px;
9406
+ background-color: #fff2f0;
9407
+ border: 1px solid #ffccc7;
9408
+ color: rgba(0, 0, 0, 0.88);
9409
+ padding: 8px 12px;
9410
+ border-radius: 4px;
9411
+ margin-bottom: 12px;
9412
+ }
9358
9413
  .rdo-table-dropdown {
9359
9414
  padding: 12px;
9360
9415
  }
@@ -9488,38 +9543,38 @@ svg.portrait-icon[data-v-8bdb451e] {
9488
9543
  width: 100%;
9489
9544
  height: 100%;
9490
9545
  }
9491
- .signature-form .form-row[data-v-b244172e] {
9546
+ .signature-form .form-row[data-v-992afeae] {
9492
9547
  display: flex;
9493
9548
  align-items: center;
9494
9549
  margin-bottom: 24px;
9495
9550
  gap: 16px;
9496
9551
  padding-right: 24px;
9497
9552
  }
9498
- .signature-form .form-footer[data-v-b244172e] {
9553
+ .signature-form .form-footer[data-v-992afeae] {
9499
9554
  display: flex;
9500
9555
  justify-content: flex-end;
9501
9556
  gap: 24px;
9502
9557
  font-size: 14px;
9503
9558
  padding-right: 24px;
9504
9559
  }
9505
- .signature-form .form-footer .form-button[data-v-b244172e] {
9560
+ .signature-form .form-footer .form-button[data-v-992afeae] {
9506
9561
  color: #0b57d0;
9507
9562
  cursor: pointer;
9508
9563
  }
9509
- .signature-form .label[data-v-b244172e] {
9564
+ .signature-form .label[data-v-992afeae] {
9510
9565
  width: 100px;
9511
9566
  text-align: right;
9512
9567
  line-height: 32px;
9513
9568
  color: rgba(0, 0, 0, 0.85);
9514
9569
  font-size: 13px;
9515
9570
  }
9516
- .signature-form .label[data-v-b244172e]:after {
9571
+ .signature-form .label[data-v-992afeae]:after {
9517
9572
  content: ':';
9518
9573
  margin: 0 2px 0 2px;
9519
9574
  position: relative;
9520
9575
  top: -0.5px;
9521
9576
  }
9522
- .signature-form .label.required[data-v-b244172e]::before {
9577
+ .signature-form .label.required[data-v-992afeae]::before {
9523
9578
  color: #ff4d4f;
9524
9579
  content: '*';
9525
9580
  display: inline-block;
@@ -9528,13 +9583,13 @@ svg.portrait-icon[data-v-8bdb451e] {
9528
9583
  line-height: 1;
9529
9584
  margin-right: 4px;
9530
9585
  }
9531
- .signature-form .control[data-v-b244172e] {
9586
+ .signature-form .control[data-v-992afeae] {
9532
9587
  flex: 1;
9533
9588
  display: flex;
9534
9589
  align-items: center;
9535
9590
  position: relative;
9536
9591
  }
9537
- .signature-form .error[data-v-b244172e] {
9592
+ .signature-form .error[data-v-992afeae] {
9538
9593
  color: #ff4d4f;
9539
9594
  font-size: 12px;
9540
9595
  position: absolute;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/word",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "GCT 在线 word",
5
5
  "keywords": [
6
6
  "vue",
@@ -1,14 +0,0 @@
1
- import { WidgetMeta } from '../../core';
2
- export interface CreateWidgetFromFieldOptions {
3
- /** 主从关联字段 key */
4
- parentFieldKey?: string;
5
- /** 插入来源 */
6
- source?: 'palette';
7
- /** 覆盖默认 props */
8
- overrideProps?: Record<string, any>;
9
- }
10
- export declare function createDesignWidgetToWidgetFactory(): (widget: {
11
- type: string;
12
- icon: string;
13
- name: string;
14
- }, opts?: CreateWidgetFromFieldOptions) => WidgetMeta;