@longhongguo/form-create-ant-design-vue 3.4.87 → 3.4.89

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 (25) hide show
  1. package/dist/form-create.css +111 -0
  2. package/dist/form-create.esm.css +111 -0
  3. package/dist/form-create.esm.js +2 -2
  4. package/dist/form-create.esm.js.map +1 -1
  5. package/dist/form-create.js +2 -2
  6. package/dist/form-create.js.map +1 -1
  7. package/package.json +1 -1
  8. package/src/api/store.js +28 -0
  9. package/src/components/FcEditorWrapper.vue +137 -107
  10. package/src/components/businessComponent/ActivitySettingsInspectionBlock.vue +45 -2
  11. package/src/components/businessComponent/FcMultiImageUpload.vue +198 -45
  12. package/src/components/businessComponent/MaterialArrivalInspectionBlock.vue +80 -32
  13. package/src/components/businessComponent/PlatformOfflineUnbindProcessBlock.vue +87 -22
  14. package/src/components/businessComponent/ProductManagementInspectionBlock.vue +88 -1
  15. package/src/components/businessComponent/StoreBuildPlatformBrandUnbindApplyBlock.vue +1 -1
  16. package/src/components/businessComponent/StoreBuildPlatformOfflineFeedbackBlock.vue +55 -22
  17. package/src/components/businessComponent/StoreBusinessPreparationBlock.vue +477 -151
  18. package/src/components/businessComponent/StoreBusinessPreparationBlockShow.vue +590 -0
  19. package/src/components/businessComponent/StoreInvalidExpandApplyBlock.vue +25 -7
  20. package/src/components/businessComponent/StorePlatformQualificationChangeApplyBlock.vue +1309 -16
  21. package/src/components/businessComponent/StorePlatformQualificationChangeAuditBlock.vue +107 -2
  22. package/src/components/businessComponent/StoreSetupInspectionBlock.vue +62 -0
  23. package/src/core/manager.js +1 -1
  24. package/src/style/index.css +111 -0
  25. package/src/utils/readonlyHtmlImageToolbar.js +211 -0
@@ -294,6 +294,117 @@ textarea[readonly].ant-input {
294
294
  pointer-events: auto !important;
295
295
  }
296
296
 
297
+ /* FcEditorWrapper 只读富文本:v-html 内图片 hover 条、复制按钮等(与 .is-preview 全局 pointer-events: none 对齐白名单) */
298
+ .form-create.is-preview .fc-editor-readonly,
299
+ .form-create.is-preview .fc-editor-readonly * {
300
+ pointer-events: auto !important;
301
+ }
302
+
303
+ .form-create.is-preview .fc-editor-readonly-lightbox,
304
+ .form-create.is-preview .fc-editor-readonly-lightbox * {
305
+ pointer-events: auto !important;
306
+ }
307
+
308
+ /* 资质变更等业务:只读备注 v-html 内图片可点、悬浮工具条 */
309
+ .form-create.is-preview .fc-spqca-remark-html,
310
+ .form-create.is-preview .fc-spqca-remark-html *,
311
+ .form-create.is-preview .fc-spqca-audit-remark-html,
312
+ .form-create.is-preview .fc-spqca-audit-remark-html *,
313
+ .form-create.is-preview .fc-readonly-vhtml-img-toolbar-host,
314
+ .form-create.is-preview .fc-readonly-vhtml-img-toolbar-host * {
315
+ pointer-events: auto !important;
316
+ }
317
+
318
+ .form-create.is-preview .fc-readonly-html-lightbox,
319
+ .form-create.is-preview .fc-readonly-html-lightbox * {
320
+ pointer-events: auto !important;
321
+ }
322
+
323
+ /* 只读 v-html 内图片悬浮工具条(v-html 子节点无 Vue scoped,需全局样式) */
324
+ .fc-readonly-vhtml-img-toolbar-host .fc-editor-img-wrap {
325
+ position: relative;
326
+ display: inline-block;
327
+ max-width: 100%;
328
+ vertical-align: bottom;
329
+ }
330
+ .fc-readonly-vhtml-img-toolbar-host .fc-editor-img-wrap img {
331
+ cursor: pointer;
332
+ display: block;
333
+ max-width: 100%;
334
+ height: auto;
335
+ pointer-events: auto !important;
336
+ }
337
+ .fc-readonly-vhtml-img-toolbar-host .fc-editor-img-actions {
338
+ position: absolute;
339
+ inset: 0;
340
+ display: flex;
341
+ align-items: center;
342
+ justify-content: center;
343
+ gap: 10px;
344
+ box-sizing: border-box;
345
+ padding: 8px;
346
+ background: rgba(0, 0, 0, 0.38);
347
+ opacity: 0;
348
+ transition: opacity 0.15s ease;
349
+ pointer-events: none;
350
+ }
351
+ .fc-readonly-vhtml-img-toolbar-host .fc-editor-img-wrap:hover .fc-editor-img-actions {
352
+ opacity: 1;
353
+ pointer-events: auto;
354
+ }
355
+ .fc-readonly-vhtml-img-toolbar-host .fc-editor-img-btn {
356
+ box-sizing: border-box;
357
+ display: inline-flex;
358
+ align-items: center;
359
+ justify-content: center;
360
+ width: 36px;
361
+ height: 36px;
362
+ padding: 0;
363
+ border: none;
364
+ border-radius: 6px;
365
+ background: rgba(255, 255, 255, 0.96);
366
+ color: rgba(0, 0, 0, 0.75);
367
+ cursor: pointer;
368
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
369
+ pointer-events: auto;
370
+ }
371
+ .fc-readonly-vhtml-img-toolbar-host .fc-editor-img-btn:hover {
372
+ color: #1890ff;
373
+ }
374
+
375
+ /* 业务块备注等非 FcEditorWrapper 的只读大图预览 */
376
+ .fc-readonly-html-lightbox {
377
+ position: fixed;
378
+ inset: 0;
379
+ z-index: 10050;
380
+ display: flex;
381
+ align-items: center;
382
+ justify-content: center;
383
+ background: rgba(0, 0, 0, 0.72);
384
+ }
385
+ .fc-readonly-html-lightbox-close {
386
+ position: absolute;
387
+ top: 16px;
388
+ right: 20px;
389
+ z-index: 1;
390
+ width: 40px;
391
+ height: 40px;
392
+ border: none;
393
+ border-radius: 8px;
394
+ background: rgba(255, 255, 255, 0.12);
395
+ color: #fff;
396
+ font-size: 28px;
397
+ line-height: 1;
398
+ cursor: pointer;
399
+ }
400
+ .fc-readonly-html-lightbox-img {
401
+ max-width: min(96vw, 1200px);
402
+ max-height: 90vh;
403
+ object-fit: contain;
404
+ border-radius: 4px;
405
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
406
+ }
407
+
297
408
  /* 业务组件:商家运营分析 MerchantOperationAnalysisBlock(预览下门店分析 Tab、多平台展开收起、关闭等需可点) */
298
409
  .form-create.is-preview .fc-moa-root,
299
410
  .form-create.is-preview .fc-moa-root * {
@@ -294,6 +294,117 @@ textarea[readonly].ant-input {
294
294
  pointer-events: auto !important;
295
295
  }
296
296
 
297
+ /* FcEditorWrapper 只读富文本:v-html 内图片 hover 条、复制按钮等(与 .is-preview 全局 pointer-events: none 对齐白名单) */
298
+ .form-create.is-preview .fc-editor-readonly,
299
+ .form-create.is-preview .fc-editor-readonly * {
300
+ pointer-events: auto !important;
301
+ }
302
+
303
+ .form-create.is-preview .fc-editor-readonly-lightbox,
304
+ .form-create.is-preview .fc-editor-readonly-lightbox * {
305
+ pointer-events: auto !important;
306
+ }
307
+
308
+ /* 资质变更等业务:只读备注 v-html 内图片可点、悬浮工具条 */
309
+ .form-create.is-preview .fc-spqca-remark-html,
310
+ .form-create.is-preview .fc-spqca-remark-html *,
311
+ .form-create.is-preview .fc-spqca-audit-remark-html,
312
+ .form-create.is-preview .fc-spqca-audit-remark-html *,
313
+ .form-create.is-preview .fc-readonly-vhtml-img-toolbar-host,
314
+ .form-create.is-preview .fc-readonly-vhtml-img-toolbar-host * {
315
+ pointer-events: auto !important;
316
+ }
317
+
318
+ .form-create.is-preview .fc-readonly-html-lightbox,
319
+ .form-create.is-preview .fc-readonly-html-lightbox * {
320
+ pointer-events: auto !important;
321
+ }
322
+
323
+ /* 只读 v-html 内图片悬浮工具条(v-html 子节点无 Vue scoped,需全局样式) */
324
+ .fc-readonly-vhtml-img-toolbar-host .fc-editor-img-wrap {
325
+ position: relative;
326
+ display: inline-block;
327
+ max-width: 100%;
328
+ vertical-align: bottom;
329
+ }
330
+ .fc-readonly-vhtml-img-toolbar-host .fc-editor-img-wrap img {
331
+ cursor: pointer;
332
+ display: block;
333
+ max-width: 100%;
334
+ height: auto;
335
+ pointer-events: auto !important;
336
+ }
337
+ .fc-readonly-vhtml-img-toolbar-host .fc-editor-img-actions {
338
+ position: absolute;
339
+ inset: 0;
340
+ display: flex;
341
+ align-items: center;
342
+ justify-content: center;
343
+ gap: 10px;
344
+ box-sizing: border-box;
345
+ padding: 8px;
346
+ background: rgba(0, 0, 0, 0.38);
347
+ opacity: 0;
348
+ transition: opacity 0.15s ease;
349
+ pointer-events: none;
350
+ }
351
+ .fc-readonly-vhtml-img-toolbar-host .fc-editor-img-wrap:hover .fc-editor-img-actions {
352
+ opacity: 1;
353
+ pointer-events: auto;
354
+ }
355
+ .fc-readonly-vhtml-img-toolbar-host .fc-editor-img-btn {
356
+ box-sizing: border-box;
357
+ display: inline-flex;
358
+ align-items: center;
359
+ justify-content: center;
360
+ width: 36px;
361
+ height: 36px;
362
+ padding: 0;
363
+ border: none;
364
+ border-radius: 6px;
365
+ background: rgba(255, 255, 255, 0.96);
366
+ color: rgba(0, 0, 0, 0.75);
367
+ cursor: pointer;
368
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
369
+ pointer-events: auto;
370
+ }
371
+ .fc-readonly-vhtml-img-toolbar-host .fc-editor-img-btn:hover {
372
+ color: #1890ff;
373
+ }
374
+
375
+ /* 业务块备注等非 FcEditorWrapper 的只读大图预览 */
376
+ .fc-readonly-html-lightbox {
377
+ position: fixed;
378
+ inset: 0;
379
+ z-index: 10050;
380
+ display: flex;
381
+ align-items: center;
382
+ justify-content: center;
383
+ background: rgba(0, 0, 0, 0.72);
384
+ }
385
+ .fc-readonly-html-lightbox-close {
386
+ position: absolute;
387
+ top: 16px;
388
+ right: 20px;
389
+ z-index: 1;
390
+ width: 40px;
391
+ height: 40px;
392
+ border: none;
393
+ border-radius: 8px;
394
+ background: rgba(255, 255, 255, 0.12);
395
+ color: #fff;
396
+ font-size: 28px;
397
+ line-height: 1;
398
+ cursor: pointer;
399
+ }
400
+ .fc-readonly-html-lightbox-img {
401
+ max-width: min(96vw, 1200px);
402
+ max-height: 90vh;
403
+ object-fit: contain;
404
+ border-radius: 4px;
405
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
406
+ }
407
+
297
408
  /* 业务组件:商家运营分析 MerchantOperationAnalysisBlock(预览下门店分析 Tab、多平台展开收起、关闭等需可点) */
298
409
  .form-create.is-preview .fc-moa-root,
299
410
  .form-create.is-preview .fc-moa-root * {