@fecp/designer 5.5.74 → 5.5.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- const version = "5.5.74";
1
+ const version = "5.5.76";
2
2
  const packageJson = {
3
3
  version
4
4
  };
package/es/designer.css CHANGED
@@ -6160,12 +6160,13 @@ body,
6160
6160
  display: flex;
6161
6161
  align-items: flex-end;
6162
6162
  }
6163
- .fec-el-main[data-v-0d3ae9b5] {
6163
+ .fec-el-main[data-v-a59457ae] {
6164
6164
  padding: 0;
6165
6165
  background-color: #fff;
6166
- display: flex;
6166
+ display: flex;
6167
+ overflow: hidden;
6167
6168
  }
6168
- [data-v-0d3ae9b5] .el-scrollbar__bar.is-horizontal {
6169
+ [data-v-a59457ae] .el-scrollbar__bar.is-horizontal {
6169
6170
  display: none !important;
6170
6171
  }
6171
6172
 
@@ -6184,11 +6185,11 @@ body,
6184
6185
  width: 80px;
6185
6186
  font-size: var(--el-font-size-extra-small);
6186
6187
  }
6187
- .fec-form-nav[data-v-fe427ccb] {
6188
+ .fec-form-nav[data-v-9a61a028] {
6188
6189
  background: #fff;
6189
6190
  padding: 0 20px;
6190
6191
  }
6191
- .fec-form-nav .fec-form-links[data-v-fe427ccb] {
6192
+ .fec-form-nav .fec-form-links[data-v-9a61a028] {
6192
6193
  display: flex;
6193
6194
  flex-wrap: wrap;
6194
6195
  padding: 6px 0;
@@ -6196,12 +6197,12 @@ body,
6196
6197
  flex-direction: row;
6197
6198
  border-bottom: 1px solid #e4e7ed;
6198
6199
  }
6199
- .fec-form-nav .fec-form-links .fec-form-link-item[data-v-fe427ccb] {
6200
+ .fec-form-nav .fec-form-links .fec-form-link-item[data-v-9a61a028] {
6200
6201
  padding: 0;
6201
6202
  text-decoration: none;
6202
6203
  flex-shrink: 0;
6203
6204
  }
6204
- .fec-form-nav .fec-form-links .fec-form-link-item .fec-form-link-content[data-v-fe427ccb] {
6205
+ .fec-form-nav .fec-form-links .fec-form-link-item .fec-form-link-content[data-v-9a61a028] {
6205
6206
  display: inline-flex;
6206
6207
  align-items: center;
6207
6208
  padding: 5px 12px;
@@ -6212,35 +6213,35 @@ body,
6212
6213
  cursor: pointer;
6213
6214
  white-space: nowrap;
6214
6215
  }
6215
- .fec-form-nav .fec-form-links .fec-form-link-item .fec-form-link-content[data-v-fe427ccb]:hover {
6216
+ .fec-form-nav .fec-form-links .fec-form-link-item .fec-form-link-content[data-v-9a61a028]:hover {
6216
6217
  color: #303133;
6217
6218
  }
6218
- .fec-form-nav .fec-form-links .fec-form-link-item .fec-form-link-content:hover .tab-count[data-v-fe427ccb] {
6219
+ .fec-form-nav .fec-form-links .fec-form-link-item .fec-form-link-content:hover .tab-count[data-v-9a61a028] {
6219
6220
  color: inherit;
6220
6221
  }
6221
- .fec-form-nav .fec-form-links .fec-form-link-item .tab-count[data-v-fe427ccb] {
6222
+ .fec-form-nav .fec-form-links .fec-form-link-item .tab-count[data-v-9a61a028] {
6222
6223
  margin-left: 2px;
6223
6224
  font-size: 12px;
6224
6225
  color: #c0c4cc;
6225
6226
  }
6226
- .fec-form-nav .fec-form-links .fec-form-link-item.is-active .fec-form-link-content[data-v-fe427ccb] {
6227
+ .fec-form-nav .fec-form-links .fec-form-link-item.is-active .fec-form-link-content[data-v-9a61a028] {
6227
6228
  color: var(--el-color-primary);
6228
6229
  background: #ecf5ff;
6229
6230
  font-weight: 500;
6230
6231
  }
6231
- .fec-form-nav .fec-form-links .fec-form-link-item.is-active .tab-count[data-v-fe427ccb] {
6232
+ .fec-form-nav .fec-form-links .fec-form-link-item.is-active .tab-count[data-v-9a61a028] {
6232
6233
  color: var(--el-color-primary);
6233
- }.el-anchor{--el-anchor-bg-color:var(--el-bg-color);--el-anchor-padding-indent:14px;--el-anchor-line-height:22px;--el-anchor-font-size:12px;--el-anchor-color:var(--el-text-color-secondary);--el-anchor-active-color:var(--el-color-primary);--el-anchor-hover-color:var(--el-text-color-regular);--el-anchor-marker-bg-color:var(--el-color-primary);background-color:var(--el-anchor-bg-color);position:relative}.el-anchor__marker{background-color:var(--el-anchor-marker-bg-color);opacity:0;z-index:0;border-radius:4px;position:absolute}.el-anchor.el-anchor--vertical .el-anchor__marker{width:4px;height:14px;transition:top .25s ease-in-out,opacity .25s;top:8px;left:0}.el-anchor.el-anchor--vertical .el-anchor__list{padding-left:var(--el-anchor-padding-indent)}.el-anchor.el-anchor--vertical.el-anchor--underline:before{content:"";background-color:#0505050f;width:2px;height:100%;position:absolute;left:0}.el-anchor.el-anchor--vertical.el-anchor--underline .el-anchor__marker{border-radius:unset;width:2px}.el-anchor.el-anchor--horizontal .el-anchor__marker{width:20px;height:2px;transition:left .25s ease-in-out,opacity .25s,width .25s;bottom:0}.el-anchor.el-anchor--horizontal .el-anchor__list{padding-bottom:4px;display:flex}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item{padding-left:16px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item:first-child{padding-left:0}.el-anchor.el-anchor--horizontal.el-anchor--underline:before{content:"";background-color:#0505050f;width:100%;height:2px;position:absolute;bottom:0}.el-anchor.el-anchor--horizontal.el-anchor--underline .el-anchor__marker{border-radius:unset;height:2px}.el-anchor__item{flex-direction:column;display:flex}.el-anchor__link{font-size:var(--el-anchor-font-size);line-height:var(--el-anchor-line-height);color:var(--el-anchor-color);transition:color var(--el-transition-duration);white-space:nowrap;text-overflow:ellipsis;cursor:pointer;outline:none;max-width:100%;padding:4px 0;text-decoration:none;overflow:hidden}.el-anchor__link:hover,.el-anchor__link:focus{color:var(--el-hover-color)}.el-anchor__link:focus-visible{border-radius:var(--el-border-radius-base);outline:2px solid var(--el-color-primary)}.el-anchor__link.is-active{color:var(--el-anchor-active-color)}.el-anchor .el-anchor__list .el-anchor__item a{display:inline-block}[data-v-8e0e370c] .el-anchor__link:focus {
6234
+ }.el-anchor{--el-anchor-bg-color:var(--el-bg-color);--el-anchor-padding-indent:14px;--el-anchor-line-height:22px;--el-anchor-font-size:12px;--el-anchor-color:var(--el-text-color-secondary);--el-anchor-active-color:var(--el-color-primary);--el-anchor-hover-color:var(--el-text-color-regular);--el-anchor-marker-bg-color:var(--el-color-primary);background-color:var(--el-anchor-bg-color);position:relative}.el-anchor__marker{background-color:var(--el-anchor-marker-bg-color);opacity:0;z-index:0;border-radius:4px;position:absolute}.el-anchor.el-anchor--vertical .el-anchor__marker{width:4px;height:14px;transition:top .25s ease-in-out,opacity .25s;top:8px;left:0}.el-anchor.el-anchor--vertical .el-anchor__list{padding-left:var(--el-anchor-padding-indent)}.el-anchor.el-anchor--vertical.el-anchor--underline:before{content:"";background-color:#0505050f;width:2px;height:100%;position:absolute;left:0}.el-anchor.el-anchor--vertical.el-anchor--underline .el-anchor__marker{border-radius:unset;width:2px}.el-anchor.el-anchor--horizontal .el-anchor__marker{width:20px;height:2px;transition:left .25s ease-in-out,opacity .25s,width .25s;bottom:0}.el-anchor.el-anchor--horizontal .el-anchor__list{padding-bottom:4px;display:flex}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item{padding-left:16px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item:first-child{padding-left:0}.el-anchor.el-anchor--horizontal.el-anchor--underline:before{content:"";background-color:#0505050f;width:100%;height:2px;position:absolute;bottom:0}.el-anchor.el-anchor--horizontal.el-anchor--underline .el-anchor__marker{border-radius:unset;height:2px}.el-anchor__item{flex-direction:column;display:flex}.el-anchor__link{font-size:var(--el-anchor-font-size);line-height:var(--el-anchor-line-height);color:var(--el-anchor-color);transition:color var(--el-transition-duration);white-space:nowrap;text-overflow:ellipsis;cursor:pointer;outline:none;max-width:100%;padding:4px 0;text-decoration:none;overflow:hidden}.el-anchor__link:hover,.el-anchor__link:focus{color:var(--el-hover-color)}.el-anchor__link:focus-visible{border-radius:var(--el-border-radius-base);outline:2px solid var(--el-color-primary)}.el-anchor__link.is-active{color:var(--el-anchor-active-color)}.el-anchor .el-anchor__list .el-anchor__item a{display:inline-block}[data-v-298a5455] .el-anchor__link:focus {
6234
6235
  color: #909399;
6235
6236
  }
6236
- [data-v-8e0e370c] .el-anchor__link:hover {
6237
+ [data-v-298a5455] .el-anchor__link:hover {
6237
6238
  color: #303133;
6238
6239
  }
6239
- [data-v-8e0e370c] .el-anchor__link.is-active {
6240
+ [data-v-298a5455] .el-anchor__link.is-active {
6240
6241
  /* color: var(--el-anchor-color); */
6241
6242
  color: var(--el-color-primary);
6242
6243
  }
6243
- .anchor-nav[data-v-8e0e370c] {
6244
+ .anchor-nav[data-v-298a5455] {
6244
6245
  background: #fff;
6245
6246
  border-radius: 4px;
6246
6247
  padding: 16px;
@@ -6248,7 +6249,7 @@ body,
6248
6249
  top: 0px;
6249
6250
  height: 100%;
6250
6251
  }
6251
- .label-line[data-v-8e0e370c] {
6252
+ .label-line[data-v-298a5455] {
6252
6253
  width: 4px;
6253
6254
  height: 16px;
6254
6255
  background-color: var(--el-color-primary);
@@ -6256,7 +6257,7 @@ body,
6256
6257
  margin-right: 10px;
6257
6258
  border-radius: 2px;
6258
6259
  }
6259
- .anchor-title[data-v-8e0e370c] {
6260
+ .anchor-title[data-v-298a5455] {
6260
6261
  font-size: 18px;
6261
6262
  font-weight: bold;
6262
6263
  color: #303133;
@@ -6266,14 +6267,15 @@ body,
6266
6267
  align-items: center;
6267
6268
  flex-wrap: nowrap;
6268
6269
  }
6269
- .fec-form[data-v-318c562a] {
6270
+ .fec-form[data-v-a795a882] {
6270
6271
  height: 100%;
6271
6272
  }
6272
- .fec-form.inMinApp[data-v-318c562a] {
6273
+ .fec-form.inMinApp[data-v-a795a882] {
6273
6274
  height: 0px;
6274
6275
  flex: 1;
6276
+ padding: 8px;
6275
6277
  }
6276
- .fec-form-col[data-v-318c562a] {
6278
+ .fec-form-col[data-v-a795a882] {
6277
6279
  padding: 0px !important;
6278
6280
  display: flex !important;
6279
6281
  flex-direction: column;
@@ -6282,22 +6284,22 @@ body,
6282
6284
  overflow: hidden;
6283
6285
  flex: auto !important;
6284
6286
  }
6285
- [data-v-318c562a] .vgl-layout {
6287
+ [data-v-a795a882] .vgl-layout {
6286
6288
  position: relative;
6287
6289
  }
6288
- [data-v-318c562a] .vgl-item {
6290
+ [data-v-a795a882] .vgl-item {
6289
6291
  transition: none;
6290
6292
  }
6291
- [data-v-318c562a] .vgl-item > .el-form-item {
6293
+ [data-v-a795a882] .vgl-item > .el-form-item {
6292
6294
  width: 100%;
6293
6295
  padding: 6px 8px 0 8px;
6294
6296
  height: calc(100% - 15px);
6295
6297
  display: flex;
6296
6298
  }
6297
- [data-v-318c562a] .vgl-item > .el-form-item.el-form-item--label-top {
6299
+ [data-v-a795a882] .vgl-item > .el-form-item.el-form-item--label-top {
6298
6300
  flex-direction: column;
6299
6301
  }
6300
- [data-v-318c562a] .vgl-item > .el-form-item .el-form-item__label {
6302
+ [data-v-a795a882] .vgl-item > .el-form-item .el-form-item__label {
6301
6303
  line-height: 20px;
6302
6304
  display: inline-flex;
6303
6305
  align-items: center;
@@ -6311,107 +6313,107 @@ body,
6311
6313
  flex-shrink: 0;
6312
6314
  min-height: 45px;
6313
6315
  }
6314
- [data-v-318c562a] .vgl-item > .el-form-item {
6316
+ [data-v-a795a882] .vgl-item > .el-form-item {
6315
6317
  /* .el-form-item__error {
6316
6318
  padding-top: 10px;
6317
6319
  } */
6318
6320
  }
6319
- [data-v-318c562a] .vgl-item > .el-form-item .el-input__wrapper {
6321
+ [data-v-a795a882] .vgl-item > .el-form-item .el-input__wrapper {
6320
6322
  padding: 1px 12px;
6321
6323
  }
6322
- [data-v-318c562a] .vgl-item > .el-container {
6324
+ [data-v-a795a882] .vgl-item > .el-container {
6323
6325
  height: auto !important;
6324
6326
  }
6325
6327
  @media (min-width: 1720px) {
6326
- [data-v-318c562a] .vgl-item .el-form-item__label {
6328
+ [data-v-a795a882] .vgl-item .el-form-item__label {
6327
6329
  max-width: 160px !important;
6328
6330
  }
6329
- [data-v-318c562a] .vgl-item .el-form-item {
6331
+ [data-v-a795a882] .vgl-item .el-form-item {
6330
6332
  padding: 6px 8px 0 8px !important;
6331
6333
  }
6332
- [data-v-318c562a] .vgl-item .el-form-item .el-input__wrapper {
6334
+ [data-v-a795a882] .vgl-item .el-form-item .el-input__wrapper {
6333
6335
  padding: 1px 12px;
6334
6336
  }
6335
- [data-v-318c562a] .vgl-item .el-form-item .el-select__wrapper {
6337
+ [data-v-a795a882] .vgl-item .el-form-item .el-select__wrapper {
6336
6338
  padding: 8px 12px;
6337
6339
  }
6338
- .fec-el-form[data-v-318c562a] {
6340
+ .fec-el-form[data-v-a795a882] {
6339
6341
  padding: 12px !important;
6340
6342
  }
6341
6343
  }
6342
6344
  /* 标准 PC(1200px ~ 1439px)*/
6343
6345
  @media (min-width: 1366px) and (max-width: 1719px) {
6344
- [data-v-318c562a] .vgl-item .el-form-item__label {
6346
+ [data-v-a795a882] .vgl-item .el-form-item__label {
6345
6347
  max-width: 130px !important;
6346
6348
  padding-right: 6px !important;
6347
6349
  }
6348
- [data-v-318c562a] .vgl-item .el-form-item {
6350
+ [data-v-a795a882] .vgl-item .el-form-item {
6349
6351
  padding: 6px 0 0 0 !important;
6350
6352
  }
6351
- [data-v-318c562a] .vgl-item .el-form-item .el-input__wrapper {
6353
+ [data-v-a795a882] .vgl-item .el-form-item .el-input__wrapper {
6352
6354
  padding: 1px 8px;
6353
6355
  }
6354
- [data-v-318c562a] .vgl-item .el-form-item .el-select__wrapper {
6356
+ [data-v-a795a882] .vgl-item .el-form-item .el-select__wrapper {
6355
6357
  padding: 8px 8px;
6356
6358
  }
6357
- .fec-el-form[data-v-318c562a] {
6359
+ .fec-el-form[data-v-a795a882] {
6358
6360
  padding: 8px !important;
6359
6361
  }
6360
6362
  }
6361
6363
  /* 2. 标准 PC 992px ~ 1199px */
6362
6364
  @media (min-width: 992px) and (max-width: 1365px) {
6363
- [data-v-318c562a] .vgl-item .el-form-item__label {
6365
+ [data-v-a795a882] .vgl-item .el-form-item__label {
6364
6366
  max-width: 125px !important;
6365
6367
  padding-right: 4px !important;
6366
6368
  }
6367
- [data-v-318c562a] .vgl-item .el-form-item {
6369
+ [data-v-a795a882] .vgl-item .el-form-item {
6368
6370
  padding: 0 !important;
6369
6371
  }
6370
- [data-v-318c562a] .vgl-item .el-form-item .el-input__wrapper {
6372
+ [data-v-a795a882] .vgl-item .el-form-item .el-input__wrapper {
6371
6373
  padding: 1px 6px;
6372
6374
  }
6373
- [data-v-318c562a] .vgl-item .el-form-item .el-select__wrapper {
6375
+ [data-v-a795a882] .vgl-item .el-form-item .el-select__wrapper {
6374
6376
  padding: 8px 6px;
6375
6377
  }
6376
- .fec-el-form[data-v-318c562a] {
6378
+ .fec-el-form[data-v-a795a882] {
6377
6379
  padding: 6px !important;
6378
6380
  }
6379
6381
  }
6380
6382
  /* 3. 小屏 PC / 窄窗口 <992px(最小到768px)*/
6381
6383
  @media (max-width: 991px) and (min-width: 768px) {
6382
- [data-v-318c562a] .vgl-item .el-form-item__label {
6384
+ [data-v-a795a882] .vgl-item .el-form-item__label {
6383
6385
  max-width: 100px !important;
6384
6386
  padding-right: 4px !important;
6385
6387
  }
6386
- [data-v-318c562a] .vgl-item .el-form-item {
6388
+ [data-v-a795a882] .vgl-item .el-form-item {
6387
6389
  padding: 0 !important;
6388
6390
  }
6389
- [data-v-318c562a] .vgl-item .el-form-item .el-input__wrapper {
6391
+ [data-v-a795a882] .vgl-item .el-form-item .el-input__wrapper {
6390
6392
  padding: 1px 4px;
6391
6393
  }
6392
- [data-v-318c562a] .vgl-item .el-form-item .el-select__wrapper {
6394
+ [data-v-a795a882] .vgl-item .el-form-item .el-select__wrapper {
6393
6395
  padding: 8px 4px;
6394
6396
  }
6395
- .fec-el-form[data-v-318c562a] {
6397
+ .fec-el-form[data-v-a795a882] {
6396
6398
  padding: 6px !important;
6397
6399
  }
6398
6400
  }
6399
6401
  /* 超小屏 <768px */
6400
6402
  @media (max-width: 767px) {
6401
- [data-v-318c562a] .vgl-item .el-form-item__label {
6403
+ [data-v-a795a882] .vgl-item .el-form-item__label {
6402
6404
  max-width: 80px !important;
6403
6405
  padding-right: 4px !important;
6404
6406
  }
6405
- [data-v-318c562a] .vgl-item .el-form-item {
6407
+ [data-v-a795a882] .vgl-item .el-form-item {
6406
6408
  padding: 0 !important;
6407
6409
  }
6408
- [data-v-318c562a] .vgl-item .el-form-item .el-input__wrapper {
6410
+ [data-v-a795a882] .vgl-item .el-form-item .el-input__wrapper {
6409
6411
  padding: 1px 2px;
6410
6412
  }
6411
- [data-v-318c562a] .vgl-item .el-form-item .el-select__wrapper {
6413
+ [data-v-a795a882] .vgl-item .el-form-item .el-select__wrapper {
6412
6414
  padding: 8px 2px;
6413
6415
  }
6414
- .fec-el-form[data-v-318c562a] {
6416
+ .fec-el-form[data-v-a795a882] {
6415
6417
  padding: 6px !important;
6416
6418
  }
6417
6419
  }.table-pagination[data-v-142fdd35] {
@@ -52,7 +52,7 @@ const _sfc_main = {
52
52
  };
53
53
  }
54
54
  };
55
- const component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0d3ae9b5"]]);
55
+ const component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a59457ae"]]);
56
56
  export {
57
57
  component as default
58
58
  };
@@ -1229,7 +1229,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1229
1229
  };
1230
1230
  }
1231
1231
  });
1232
- const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-318c562a"]]);
1232
+ const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a795a882"]]);
1233
1233
  export {
1234
1234
  _Form as default
1235
1235
  };
@@ -1,14 +1,10 @@
1
- import { watch, createElementBlock, createCommentVNode, openBlock, createElementVNode, Fragment, renderList, withModifiers, normalizeClass, createTextVNode, toDisplayString } from "vue";
1
+ import { ref, watch, createElementBlock, createCommentVNode, openBlock, createElementVNode, Fragment, renderList, withModifiers, normalizeClass, createTextVNode, toDisplayString } from "vue";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const _hoisted_1 = {
5
- key: 0,
6
- class: "fec-form-nav"
7
- };
8
- const _hoisted_2 = { class: "fec-form-links" };
9
- const _hoisted_3 = ["href", "onClick"];
10
- const _hoisted_4 = { class: "fec-form-link-content" };
11
- const _hoisted_5 = {
4
+ const _hoisted_1 = { class: "fec-form-links" };
5
+ const _hoisted_2 = ["href", "onClick"];
6
+ const _hoisted_3 = { class: "fec-form-link-content" };
7
+ const _hoisted_4 = {
12
8
  key: 0,
13
9
  class: "tab-count"
14
10
  };
@@ -31,6 +27,7 @@ const _sfc_main = {
31
27
  setup(__props, { emit: __emit }) {
32
28
  var _a;
33
29
  const props = __props;
30
+ const formAnchorRef = ref();
34
31
  const emit = __emit;
35
32
  watch(
36
33
  () => props.links,
@@ -43,10 +40,12 @@ const _sfc_main = {
43
40
  );
44
41
  let isClickScrolling = false;
45
42
  function handleClick(e, link) {
43
+ var _a2, _b;
46
44
  e.preventDefault();
47
45
  emit("update:modelValue", link.id);
48
46
  emit("change", link);
49
- const element = document.getElementById(`comp_${link.id}`);
47
+ const fecForm = (_b = (_a2 = formAnchorRef.value) == null ? void 0 : _a2.$el) == null ? void 0 : _b.closest(".fec-form");
48
+ const element = fecForm == null ? void 0 : fecForm.querySelector(`#comp_${link.id}`);
50
49
  if (element) {
51
50
  isClickScrolling = true;
52
51
  element.scrollIntoView({ behavior: "smooth", block: "start" });
@@ -83,8 +82,13 @@ const _sfc_main = {
83
82
  }
84
83
  }
85
84
  return (_ctx, _cache) => {
86
- return __props.links.length ? (openBlock(), createElementBlock("div", _hoisted_1, [
87
- createElementVNode("div", _hoisted_2, [
85
+ return __props.links.length ? (openBlock(), createElementBlock("div", {
86
+ key: 0,
87
+ class: "fec-form-nav",
88
+ ref_key: "formAnchorRef",
89
+ ref: formAnchorRef
90
+ }, [
91
+ createElementVNode("div", _hoisted_1, [
88
92
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.links, (link) => {
89
93
  return openBlock(), createElementBlock("a", {
90
94
  key: link.id,
@@ -92,18 +96,18 @@ const _sfc_main = {
92
96
  class: normalizeClass(["fec-form-link-item", { "is-active": __props.modelValue == link.id }]),
93
97
  onClick: withModifiers(($event) => handleClick($event, link), ["prevent"])
94
98
  }, [
95
- createElementVNode("span", _hoisted_4, [
99
+ createElementVNode("span", _hoisted_3, [
96
100
  createTextVNode(toDisplayString(link.title) + " ", 1),
97
- link.count ? (openBlock(), createElementBlock("span", _hoisted_5, "(" + toDisplayString(link.count) + ")", 1)) : createCommentVNode("", true)
101
+ link.count ? (openBlock(), createElementBlock("span", _hoisted_4, "(" + toDisplayString(link.count) + ")", 1)) : createCommentVNode("", true)
98
102
  ])
99
- ], 10, _hoisted_3);
103
+ ], 10, _hoisted_2);
100
104
  }), 128))
101
105
  ])
102
- ])) : createCommentVNode("", true);
106
+ ], 512)) : createCommentVNode("", true);
103
107
  };
104
108
  }
105
109
  };
106
- const FormAnchorNav = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fe427ccb"]]);
110
+ const FormAnchorNav = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9a61a028"]]);
107
111
  export {
108
112
  FormAnchorNav as default
109
113
  };
@@ -40,10 +40,12 @@ const _sfc_main = {
40
40
  );
41
41
  let isClickScrolling = false;
42
42
  function handleClick(e, link) {
43
+ var _a2, _b;
43
44
  e.preventDefault();
44
45
  emit("update:modelValue", link.id);
45
46
  emit("change", link);
46
- const element = document.getElementById(`comp_${link.id}`);
47
+ const fecForm = (_b = (_a2 = anchorRef.value) == null ? void 0 : _a2.$el) == null ? void 0 : _b.closest(".fec-form");
48
+ const element = fecForm == null ? void 0 : fecForm.querySelector(`#comp_${link.id}`);
47
49
  if (element) {
48
50
  isClickScrolling = true;
49
51
  element.scrollIntoView({ behavior: "smooth", block: "start" });
@@ -120,7 +122,7 @@ const _sfc_main = {
120
122
  };
121
123
  }
122
124
  };
123
- const RightAnchorNav = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8e0e370c"]]);
125
+ const RightAnchorNav = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-298a5455"]]);
124
126
  export {
125
127
  RightAnchorNav as default
126
128
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.5.74";
3
+ const version = "5.5.76";
4
4
  const packageJson = {
5
5
  version
6
6
  };
package/lib/designer.css CHANGED
@@ -6160,12 +6160,13 @@ body,
6160
6160
  display: flex;
6161
6161
  align-items: flex-end;
6162
6162
  }
6163
- .fec-el-main[data-v-0d3ae9b5] {
6163
+ .fec-el-main[data-v-a59457ae] {
6164
6164
  padding: 0;
6165
6165
  background-color: #fff;
6166
- display: flex;
6166
+ display: flex;
6167
+ overflow: hidden;
6167
6168
  }
6168
- [data-v-0d3ae9b5] .el-scrollbar__bar.is-horizontal {
6169
+ [data-v-a59457ae] .el-scrollbar__bar.is-horizontal {
6169
6170
  display: none !important;
6170
6171
  }
6171
6172
 
@@ -6184,11 +6185,11 @@ body,
6184
6185
  width: 80px;
6185
6186
  font-size: var(--el-font-size-extra-small);
6186
6187
  }
6187
- .fec-form-nav[data-v-fe427ccb] {
6188
+ .fec-form-nav[data-v-9a61a028] {
6188
6189
  background: #fff;
6189
6190
  padding: 0 20px;
6190
6191
  }
6191
- .fec-form-nav .fec-form-links[data-v-fe427ccb] {
6192
+ .fec-form-nav .fec-form-links[data-v-9a61a028] {
6192
6193
  display: flex;
6193
6194
  flex-wrap: wrap;
6194
6195
  padding: 6px 0;
@@ -6196,12 +6197,12 @@ body,
6196
6197
  flex-direction: row;
6197
6198
  border-bottom: 1px solid #e4e7ed;
6198
6199
  }
6199
- .fec-form-nav .fec-form-links .fec-form-link-item[data-v-fe427ccb] {
6200
+ .fec-form-nav .fec-form-links .fec-form-link-item[data-v-9a61a028] {
6200
6201
  padding: 0;
6201
6202
  text-decoration: none;
6202
6203
  flex-shrink: 0;
6203
6204
  }
6204
- .fec-form-nav .fec-form-links .fec-form-link-item .fec-form-link-content[data-v-fe427ccb] {
6205
+ .fec-form-nav .fec-form-links .fec-form-link-item .fec-form-link-content[data-v-9a61a028] {
6205
6206
  display: inline-flex;
6206
6207
  align-items: center;
6207
6208
  padding: 5px 12px;
@@ -6212,35 +6213,35 @@ body,
6212
6213
  cursor: pointer;
6213
6214
  white-space: nowrap;
6214
6215
  }
6215
- .fec-form-nav .fec-form-links .fec-form-link-item .fec-form-link-content[data-v-fe427ccb]:hover {
6216
+ .fec-form-nav .fec-form-links .fec-form-link-item .fec-form-link-content[data-v-9a61a028]:hover {
6216
6217
  color: #303133;
6217
6218
  }
6218
- .fec-form-nav .fec-form-links .fec-form-link-item .fec-form-link-content:hover .tab-count[data-v-fe427ccb] {
6219
+ .fec-form-nav .fec-form-links .fec-form-link-item .fec-form-link-content:hover .tab-count[data-v-9a61a028] {
6219
6220
  color: inherit;
6220
6221
  }
6221
- .fec-form-nav .fec-form-links .fec-form-link-item .tab-count[data-v-fe427ccb] {
6222
+ .fec-form-nav .fec-form-links .fec-form-link-item .tab-count[data-v-9a61a028] {
6222
6223
  margin-left: 2px;
6223
6224
  font-size: 12px;
6224
6225
  color: #c0c4cc;
6225
6226
  }
6226
- .fec-form-nav .fec-form-links .fec-form-link-item.is-active .fec-form-link-content[data-v-fe427ccb] {
6227
+ .fec-form-nav .fec-form-links .fec-form-link-item.is-active .fec-form-link-content[data-v-9a61a028] {
6227
6228
  color: var(--el-color-primary);
6228
6229
  background: #ecf5ff;
6229
6230
  font-weight: 500;
6230
6231
  }
6231
- .fec-form-nav .fec-form-links .fec-form-link-item.is-active .tab-count[data-v-fe427ccb] {
6232
+ .fec-form-nav .fec-form-links .fec-form-link-item.is-active .tab-count[data-v-9a61a028] {
6232
6233
  color: var(--el-color-primary);
6233
- }.el-anchor{--el-anchor-bg-color:var(--el-bg-color);--el-anchor-padding-indent:14px;--el-anchor-line-height:22px;--el-anchor-font-size:12px;--el-anchor-color:var(--el-text-color-secondary);--el-anchor-active-color:var(--el-color-primary);--el-anchor-hover-color:var(--el-text-color-regular);--el-anchor-marker-bg-color:var(--el-color-primary);background-color:var(--el-anchor-bg-color);position:relative}.el-anchor__marker{background-color:var(--el-anchor-marker-bg-color);opacity:0;z-index:0;border-radius:4px;position:absolute}.el-anchor.el-anchor--vertical .el-anchor__marker{width:4px;height:14px;transition:top .25s ease-in-out,opacity .25s;top:8px;left:0}.el-anchor.el-anchor--vertical .el-anchor__list{padding-left:var(--el-anchor-padding-indent)}.el-anchor.el-anchor--vertical.el-anchor--underline:before{content:"";background-color:#0505050f;width:2px;height:100%;position:absolute;left:0}.el-anchor.el-anchor--vertical.el-anchor--underline .el-anchor__marker{border-radius:unset;width:2px}.el-anchor.el-anchor--horizontal .el-anchor__marker{width:20px;height:2px;transition:left .25s ease-in-out,opacity .25s,width .25s;bottom:0}.el-anchor.el-anchor--horizontal .el-anchor__list{padding-bottom:4px;display:flex}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item{padding-left:16px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item:first-child{padding-left:0}.el-anchor.el-anchor--horizontal.el-anchor--underline:before{content:"";background-color:#0505050f;width:100%;height:2px;position:absolute;bottom:0}.el-anchor.el-anchor--horizontal.el-anchor--underline .el-anchor__marker{border-radius:unset;height:2px}.el-anchor__item{flex-direction:column;display:flex}.el-anchor__link{font-size:var(--el-anchor-font-size);line-height:var(--el-anchor-line-height);color:var(--el-anchor-color);transition:color var(--el-transition-duration);white-space:nowrap;text-overflow:ellipsis;cursor:pointer;outline:none;max-width:100%;padding:4px 0;text-decoration:none;overflow:hidden}.el-anchor__link:hover,.el-anchor__link:focus{color:var(--el-hover-color)}.el-anchor__link:focus-visible{border-radius:var(--el-border-radius-base);outline:2px solid var(--el-color-primary)}.el-anchor__link.is-active{color:var(--el-anchor-active-color)}.el-anchor .el-anchor__list .el-anchor__item a{display:inline-block}[data-v-8e0e370c] .el-anchor__link:focus {
6234
+ }.el-anchor{--el-anchor-bg-color:var(--el-bg-color);--el-anchor-padding-indent:14px;--el-anchor-line-height:22px;--el-anchor-font-size:12px;--el-anchor-color:var(--el-text-color-secondary);--el-anchor-active-color:var(--el-color-primary);--el-anchor-hover-color:var(--el-text-color-regular);--el-anchor-marker-bg-color:var(--el-color-primary);background-color:var(--el-anchor-bg-color);position:relative}.el-anchor__marker{background-color:var(--el-anchor-marker-bg-color);opacity:0;z-index:0;border-radius:4px;position:absolute}.el-anchor.el-anchor--vertical .el-anchor__marker{width:4px;height:14px;transition:top .25s ease-in-out,opacity .25s;top:8px;left:0}.el-anchor.el-anchor--vertical .el-anchor__list{padding-left:var(--el-anchor-padding-indent)}.el-anchor.el-anchor--vertical.el-anchor--underline:before{content:"";background-color:#0505050f;width:2px;height:100%;position:absolute;left:0}.el-anchor.el-anchor--vertical.el-anchor--underline .el-anchor__marker{border-radius:unset;width:2px}.el-anchor.el-anchor--horizontal .el-anchor__marker{width:20px;height:2px;transition:left .25s ease-in-out,opacity .25s,width .25s;bottom:0}.el-anchor.el-anchor--horizontal .el-anchor__list{padding-bottom:4px;display:flex}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item{padding-left:16px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item:first-child{padding-left:0}.el-anchor.el-anchor--horizontal.el-anchor--underline:before{content:"";background-color:#0505050f;width:100%;height:2px;position:absolute;bottom:0}.el-anchor.el-anchor--horizontal.el-anchor--underline .el-anchor__marker{border-radius:unset;height:2px}.el-anchor__item{flex-direction:column;display:flex}.el-anchor__link{font-size:var(--el-anchor-font-size);line-height:var(--el-anchor-line-height);color:var(--el-anchor-color);transition:color var(--el-transition-duration);white-space:nowrap;text-overflow:ellipsis;cursor:pointer;outline:none;max-width:100%;padding:4px 0;text-decoration:none;overflow:hidden}.el-anchor__link:hover,.el-anchor__link:focus{color:var(--el-hover-color)}.el-anchor__link:focus-visible{border-radius:var(--el-border-radius-base);outline:2px solid var(--el-color-primary)}.el-anchor__link.is-active{color:var(--el-anchor-active-color)}.el-anchor .el-anchor__list .el-anchor__item a{display:inline-block}[data-v-298a5455] .el-anchor__link:focus {
6234
6235
  color: #909399;
6235
6236
  }
6236
- [data-v-8e0e370c] .el-anchor__link:hover {
6237
+ [data-v-298a5455] .el-anchor__link:hover {
6237
6238
  color: #303133;
6238
6239
  }
6239
- [data-v-8e0e370c] .el-anchor__link.is-active {
6240
+ [data-v-298a5455] .el-anchor__link.is-active {
6240
6241
  /* color: var(--el-anchor-color); */
6241
6242
  color: var(--el-color-primary);
6242
6243
  }
6243
- .anchor-nav[data-v-8e0e370c] {
6244
+ .anchor-nav[data-v-298a5455] {
6244
6245
  background: #fff;
6245
6246
  border-radius: 4px;
6246
6247
  padding: 16px;
@@ -6248,7 +6249,7 @@ body,
6248
6249
  top: 0px;
6249
6250
  height: 100%;
6250
6251
  }
6251
- .label-line[data-v-8e0e370c] {
6252
+ .label-line[data-v-298a5455] {
6252
6253
  width: 4px;
6253
6254
  height: 16px;
6254
6255
  background-color: var(--el-color-primary);
@@ -6256,7 +6257,7 @@ body,
6256
6257
  margin-right: 10px;
6257
6258
  border-radius: 2px;
6258
6259
  }
6259
- .anchor-title[data-v-8e0e370c] {
6260
+ .anchor-title[data-v-298a5455] {
6260
6261
  font-size: 18px;
6261
6262
  font-weight: bold;
6262
6263
  color: #303133;
@@ -6266,14 +6267,15 @@ body,
6266
6267
  align-items: center;
6267
6268
  flex-wrap: nowrap;
6268
6269
  }
6269
- .fec-form[data-v-318c562a] {
6270
+ .fec-form[data-v-a795a882] {
6270
6271
  height: 100%;
6271
6272
  }
6272
- .fec-form.inMinApp[data-v-318c562a] {
6273
+ .fec-form.inMinApp[data-v-a795a882] {
6273
6274
  height: 0px;
6274
6275
  flex: 1;
6276
+ padding: 8px;
6275
6277
  }
6276
- .fec-form-col[data-v-318c562a] {
6278
+ .fec-form-col[data-v-a795a882] {
6277
6279
  padding: 0px !important;
6278
6280
  display: flex !important;
6279
6281
  flex-direction: column;
@@ -6282,22 +6284,22 @@ body,
6282
6284
  overflow: hidden;
6283
6285
  flex: auto !important;
6284
6286
  }
6285
- [data-v-318c562a] .vgl-layout {
6287
+ [data-v-a795a882] .vgl-layout {
6286
6288
  position: relative;
6287
6289
  }
6288
- [data-v-318c562a] .vgl-item {
6290
+ [data-v-a795a882] .vgl-item {
6289
6291
  transition: none;
6290
6292
  }
6291
- [data-v-318c562a] .vgl-item > .el-form-item {
6293
+ [data-v-a795a882] .vgl-item > .el-form-item {
6292
6294
  width: 100%;
6293
6295
  padding: 6px 8px 0 8px;
6294
6296
  height: calc(100% - 15px);
6295
6297
  display: flex;
6296
6298
  }
6297
- [data-v-318c562a] .vgl-item > .el-form-item.el-form-item--label-top {
6299
+ [data-v-a795a882] .vgl-item > .el-form-item.el-form-item--label-top {
6298
6300
  flex-direction: column;
6299
6301
  }
6300
- [data-v-318c562a] .vgl-item > .el-form-item .el-form-item__label {
6302
+ [data-v-a795a882] .vgl-item > .el-form-item .el-form-item__label {
6301
6303
  line-height: 20px;
6302
6304
  display: inline-flex;
6303
6305
  align-items: center;
@@ -6311,107 +6313,107 @@ body,
6311
6313
  flex-shrink: 0;
6312
6314
  min-height: 45px;
6313
6315
  }
6314
- [data-v-318c562a] .vgl-item > .el-form-item {
6316
+ [data-v-a795a882] .vgl-item > .el-form-item {
6315
6317
  /* .el-form-item__error {
6316
6318
  padding-top: 10px;
6317
6319
  } */
6318
6320
  }
6319
- [data-v-318c562a] .vgl-item > .el-form-item .el-input__wrapper {
6321
+ [data-v-a795a882] .vgl-item > .el-form-item .el-input__wrapper {
6320
6322
  padding: 1px 12px;
6321
6323
  }
6322
- [data-v-318c562a] .vgl-item > .el-container {
6324
+ [data-v-a795a882] .vgl-item > .el-container {
6323
6325
  height: auto !important;
6324
6326
  }
6325
6327
  @media (min-width: 1720px) {
6326
- [data-v-318c562a] .vgl-item .el-form-item__label {
6328
+ [data-v-a795a882] .vgl-item .el-form-item__label {
6327
6329
  max-width: 160px !important;
6328
6330
  }
6329
- [data-v-318c562a] .vgl-item .el-form-item {
6331
+ [data-v-a795a882] .vgl-item .el-form-item {
6330
6332
  padding: 6px 8px 0 8px !important;
6331
6333
  }
6332
- [data-v-318c562a] .vgl-item .el-form-item .el-input__wrapper {
6334
+ [data-v-a795a882] .vgl-item .el-form-item .el-input__wrapper {
6333
6335
  padding: 1px 12px;
6334
6336
  }
6335
- [data-v-318c562a] .vgl-item .el-form-item .el-select__wrapper {
6337
+ [data-v-a795a882] .vgl-item .el-form-item .el-select__wrapper {
6336
6338
  padding: 8px 12px;
6337
6339
  }
6338
- .fec-el-form[data-v-318c562a] {
6340
+ .fec-el-form[data-v-a795a882] {
6339
6341
  padding: 12px !important;
6340
6342
  }
6341
6343
  }
6342
6344
  /* 标准 PC(1200px ~ 1439px)*/
6343
6345
  @media (min-width: 1366px) and (max-width: 1719px) {
6344
- [data-v-318c562a] .vgl-item .el-form-item__label {
6346
+ [data-v-a795a882] .vgl-item .el-form-item__label {
6345
6347
  max-width: 130px !important;
6346
6348
  padding-right: 6px !important;
6347
6349
  }
6348
- [data-v-318c562a] .vgl-item .el-form-item {
6350
+ [data-v-a795a882] .vgl-item .el-form-item {
6349
6351
  padding: 6px 0 0 0 !important;
6350
6352
  }
6351
- [data-v-318c562a] .vgl-item .el-form-item .el-input__wrapper {
6353
+ [data-v-a795a882] .vgl-item .el-form-item .el-input__wrapper {
6352
6354
  padding: 1px 8px;
6353
6355
  }
6354
- [data-v-318c562a] .vgl-item .el-form-item .el-select__wrapper {
6356
+ [data-v-a795a882] .vgl-item .el-form-item .el-select__wrapper {
6355
6357
  padding: 8px 8px;
6356
6358
  }
6357
- .fec-el-form[data-v-318c562a] {
6359
+ .fec-el-form[data-v-a795a882] {
6358
6360
  padding: 8px !important;
6359
6361
  }
6360
6362
  }
6361
6363
  /* 2. 标准 PC 992px ~ 1199px */
6362
6364
  @media (min-width: 992px) and (max-width: 1365px) {
6363
- [data-v-318c562a] .vgl-item .el-form-item__label {
6365
+ [data-v-a795a882] .vgl-item .el-form-item__label {
6364
6366
  max-width: 125px !important;
6365
6367
  padding-right: 4px !important;
6366
6368
  }
6367
- [data-v-318c562a] .vgl-item .el-form-item {
6369
+ [data-v-a795a882] .vgl-item .el-form-item {
6368
6370
  padding: 0 !important;
6369
6371
  }
6370
- [data-v-318c562a] .vgl-item .el-form-item .el-input__wrapper {
6372
+ [data-v-a795a882] .vgl-item .el-form-item .el-input__wrapper {
6371
6373
  padding: 1px 6px;
6372
6374
  }
6373
- [data-v-318c562a] .vgl-item .el-form-item .el-select__wrapper {
6375
+ [data-v-a795a882] .vgl-item .el-form-item .el-select__wrapper {
6374
6376
  padding: 8px 6px;
6375
6377
  }
6376
- .fec-el-form[data-v-318c562a] {
6378
+ .fec-el-form[data-v-a795a882] {
6377
6379
  padding: 6px !important;
6378
6380
  }
6379
6381
  }
6380
6382
  /* 3. 小屏 PC / 窄窗口 <992px(最小到768px)*/
6381
6383
  @media (max-width: 991px) and (min-width: 768px) {
6382
- [data-v-318c562a] .vgl-item .el-form-item__label {
6384
+ [data-v-a795a882] .vgl-item .el-form-item__label {
6383
6385
  max-width: 100px !important;
6384
6386
  padding-right: 4px !important;
6385
6387
  }
6386
- [data-v-318c562a] .vgl-item .el-form-item {
6388
+ [data-v-a795a882] .vgl-item .el-form-item {
6387
6389
  padding: 0 !important;
6388
6390
  }
6389
- [data-v-318c562a] .vgl-item .el-form-item .el-input__wrapper {
6391
+ [data-v-a795a882] .vgl-item .el-form-item .el-input__wrapper {
6390
6392
  padding: 1px 4px;
6391
6393
  }
6392
- [data-v-318c562a] .vgl-item .el-form-item .el-select__wrapper {
6394
+ [data-v-a795a882] .vgl-item .el-form-item .el-select__wrapper {
6393
6395
  padding: 8px 4px;
6394
6396
  }
6395
- .fec-el-form[data-v-318c562a] {
6397
+ .fec-el-form[data-v-a795a882] {
6396
6398
  padding: 6px !important;
6397
6399
  }
6398
6400
  }
6399
6401
  /* 超小屏 <768px */
6400
6402
  @media (max-width: 767px) {
6401
- [data-v-318c562a] .vgl-item .el-form-item__label {
6403
+ [data-v-a795a882] .vgl-item .el-form-item__label {
6402
6404
  max-width: 80px !important;
6403
6405
  padding-right: 4px !important;
6404
6406
  }
6405
- [data-v-318c562a] .vgl-item .el-form-item {
6407
+ [data-v-a795a882] .vgl-item .el-form-item {
6406
6408
  padding: 0 !important;
6407
6409
  }
6408
- [data-v-318c562a] .vgl-item .el-form-item .el-input__wrapper {
6410
+ [data-v-a795a882] .vgl-item .el-form-item .el-input__wrapper {
6409
6411
  padding: 1px 2px;
6410
6412
  }
6411
- [data-v-318c562a] .vgl-item .el-form-item .el-select__wrapper {
6413
+ [data-v-a795a882] .vgl-item .el-form-item .el-select__wrapper {
6412
6414
  padding: 8px 2px;
6413
6415
  }
6414
- .fec-el-form[data-v-318c562a] {
6416
+ .fec-el-form[data-v-a795a882] {
6415
6417
  padding: 6px !important;
6416
6418
  }
6417
6419
  }.table-pagination[data-v-142fdd35] {
@@ -54,5 +54,5 @@ const _sfc_main = {
54
54
  };
55
55
  }
56
56
  };
57
- const component = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-0d3ae9b5"]]);
57
+ const component = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-a59457ae"]]);
58
58
  exports.default = component;
@@ -1231,5 +1231,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1231
1231
  };
1232
1232
  }
1233
1233
  });
1234
- const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-318c562a"]]);
1234
+ const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-a795a882"]]);
1235
1235
  exports.default = _Form;
@@ -3,14 +3,10 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const Vue = require("vue");
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
6
- const _hoisted_1 = {
7
- key: 0,
8
- class: "fec-form-nav"
9
- };
10
- const _hoisted_2 = { class: "fec-form-links" };
11
- const _hoisted_3 = ["href", "onClick"];
12
- const _hoisted_4 = { class: "fec-form-link-content" };
13
- const _hoisted_5 = {
6
+ const _hoisted_1 = { class: "fec-form-links" };
7
+ const _hoisted_2 = ["href", "onClick"];
8
+ const _hoisted_3 = { class: "fec-form-link-content" };
9
+ const _hoisted_4 = {
14
10
  key: 0,
15
11
  class: "tab-count"
16
12
  };
@@ -33,6 +29,7 @@ const _sfc_main = {
33
29
  setup(__props, { emit: __emit }) {
34
30
  var _a;
35
31
  const props = __props;
32
+ const formAnchorRef = Vue.ref();
36
33
  const emit = __emit;
37
34
  Vue.watch(
38
35
  () => props.links,
@@ -45,10 +42,12 @@ const _sfc_main = {
45
42
  );
46
43
  let isClickScrolling = false;
47
44
  function handleClick(e, link) {
45
+ var _a2, _b;
48
46
  e.preventDefault();
49
47
  emit("update:modelValue", link.id);
50
48
  emit("change", link);
51
- const element = document.getElementById(`comp_${link.id}`);
49
+ const fecForm = (_b = (_a2 = formAnchorRef.value) == null ? void 0 : _a2.$el) == null ? void 0 : _b.closest(".fec-form");
50
+ const element = fecForm == null ? void 0 : fecForm.querySelector(`#comp_${link.id}`);
52
51
  if (element) {
53
52
  isClickScrolling = true;
54
53
  element.scrollIntoView({ behavior: "smooth", block: "start" });
@@ -85,8 +84,13 @@ const _sfc_main = {
85
84
  }
86
85
  }
87
86
  return (_ctx, _cache) => {
88
- return __props.links.length ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
89
- Vue.createElementVNode("div", _hoisted_2, [
87
+ return __props.links.length ? (Vue.openBlock(), Vue.createElementBlock("div", {
88
+ key: 0,
89
+ class: "fec-form-nav",
90
+ ref_key: "formAnchorRef",
91
+ ref: formAnchorRef
92
+ }, [
93
+ Vue.createElementVNode("div", _hoisted_1, [
90
94
  (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(__props.links, (link) => {
91
95
  return Vue.openBlock(), Vue.createElementBlock("a", {
92
96
  key: link.id,
@@ -94,16 +98,16 @@ const _sfc_main = {
94
98
  class: Vue.normalizeClass(["fec-form-link-item", { "is-active": __props.modelValue == link.id }]),
95
99
  onClick: Vue.withModifiers(($event) => handleClick($event, link), ["prevent"])
96
100
  }, [
97
- Vue.createElementVNode("span", _hoisted_4, [
101
+ Vue.createElementVNode("span", _hoisted_3, [
98
102
  Vue.createTextVNode(Vue.toDisplayString(link.title) + " ", 1),
99
- link.count ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_5, "(" + Vue.toDisplayString(link.count) + ")", 1)) : Vue.createCommentVNode("", true)
103
+ link.count ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_4, "(" + Vue.toDisplayString(link.count) + ")", 1)) : Vue.createCommentVNode("", true)
100
104
  ])
101
- ], 10, _hoisted_3);
105
+ ], 10, _hoisted_2);
102
106
  }), 128))
103
107
  ])
104
- ])) : Vue.createCommentVNode("", true);
108
+ ], 512)) : Vue.createCommentVNode("", true);
105
109
  };
106
110
  }
107
111
  };
108
- const FormAnchorNav = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-fe427ccb"]]);
112
+ const FormAnchorNav = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-9a61a028"]]);
109
113
  exports.default = FormAnchorNav;
@@ -42,10 +42,12 @@ const _sfc_main = {
42
42
  );
43
43
  let isClickScrolling = false;
44
44
  function handleClick(e, link) {
45
+ var _a2, _b;
45
46
  e.preventDefault();
46
47
  emit("update:modelValue", link.id);
47
48
  emit("change", link);
48
- const element = document.getElementById(`comp_${link.id}`);
49
+ const fecForm = (_b = (_a2 = anchorRef.value) == null ? void 0 : _a2.$el) == null ? void 0 : _b.closest(".fec-form");
50
+ const element = fecForm == null ? void 0 : fecForm.querySelector(`#comp_${link.id}`);
49
51
  if (element) {
50
52
  isClickScrolling = true;
51
53
  element.scrollIntoView({ behavior: "smooth", block: "start" });
@@ -122,5 +124,5 @@ const _sfc_main = {
122
124
  };
123
125
  }
124
126
  };
125
- const RightAnchorNav = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-8e0e370c"]]);
127
+ const RightAnchorNav = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-298a5455"]]);
126
128
  exports.default = RightAnchorNav;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.5.74",
3
+ "version": "5.5.76",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [