@jt-home/mfe-components 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/JtAttachmentPreview/style.css +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2120 -1632
- package/dist/style.css +1 -1
- package/dist/types/components/form/item/JtCascader/cascaderProps.d.ts +11 -0
- package/dist/types/components/form/item/JtCascader/index.vue.d.ts +4 -6
- package/dist/types/components/form/item/JtSelect/index.vue.d.ts +4 -4
- package/dist/types/components/globalInfo/components/GlobalInfoGroup.vue.d.ts +8 -1
- package/dist/types/components/globalInfo/components/GlobalInfoProvider.vue.d.ts +2 -8
- package/dist/types/components/globalInfo/components/GlobalInfoSectionBlock.vue.d.ts +8 -1
- package/dist/types/components/globalInfo/components/GlobalInfoSectionOutlet.vue.d.ts +3 -1
- package/dist/types/components/globalInfo/components/GlobalInfoSections.vue.d.ts +5 -1
- package/dist/types/components/globalInfo/controller/controllerFieldOptions.d.ts +11 -0
- package/dist/types/components/globalInfo/controller/controllerIdentity.d.ts +10 -0
- package/dist/types/components/globalInfo/controller/controllerRequests.d.ts +37 -0
- package/dist/types/components/globalInfo/controller/controllerSectionStore.d.ts +21 -0
- package/dist/types/components/globalInfo/controller/controllerStatus.d.ts +2 -0
- package/dist/types/components/globalInfo/controller/useGlobalInfoController.d.ts +2 -1
- package/dist/types/components/globalInfo/index.d.ts +1 -1
- package/dist/types/components/globalInfo/model/fieldUtils.d.ts +14 -2
- package/dist/types/components/globalInfo/model/types.d.ts +135 -3
- package/dist/types/components/globalInfo/renderers/GlobalInfoAutoRenderer.vue.d.ts +2 -1
- package/dist/types/components/globalInfo/renderers/GlobalInfoFormRenderer.vue.d.ts +2 -1
- package/dist/types/components/globalInfo/renderers/GlobalInfoTableRenderer.vue.d.ts +4 -3
- package/dist/types/components/globalInfo/renderers/optionPreload.d.ts +4 -0
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/components/table/JtCrudTable.vue.d.ts +12 -12
- package/dist/types/components/table/JtFilterBar.vue.d.ts +2 -2
- package/dist/types/main.d.ts +1 -1
- package/package.json +87 -87
- package/readme.md +663 -663
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.jt-attachment-preview-service-lock{overflow:hidden}.jt-attachment-preview-service{--jt-attachment-preview-service-image-fit: contain;position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:5vh 5vw;background:#00000080;color:#333}.jt-attachment-preview-service__modal{display:flex;flex-direction:column;width:90vw;height:90vh;overflow:hidden;border-radius:6px;background:#f7f7f7;box-shadow:0 2px 8px #1f232914}.jt-attachment-preview-service__header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;height:50px;border-bottom:1px solid #f5f5f5;background:#fff}.jt-attachment-preview-service__filename{position:relative;min-width:0;max-width:calc(90vw - 190px);padding-left:29px;overflow:hidden;font-size:16px;font-weight:500;line-height:50px;text-overflow:ellipsis;white-space:nowrap;color:#333}.jt-attachment-preview-service__filename:before{content:"";position:absolute;left:20px;top:50%;width:3px;height:10px;border-radius:1px;background:#e60000;transform:translateY(-50%)}.jt-attachment-preview-service__header-actions{display:flex;align-items:center;flex-shrink:0;height:100%}.jt-attachment-preview-service__top-download,.jt-attachment-preview-service__close{display:inline-flex;align-items:center;justify-content:center;height:100%;border:0;background:#fff;color:#0009;text-decoration:none;cursor:pointer}.jt-attachment-preview-service__top-download{gap:4px;min-width:72px;height:36px;padding:0 12px;font-size:16px;line-height:1;vertical-align:top}.jt-attachment-preview-service__close{width:42px;padding:0;font-size:22px;font-weight:400;line-height:1}.jt-attachment-preview-service__top-download:hover,.jt-attachment-preview-service__close:hover{background:#f9f9f9;color:#333}.jt-attachment-preview-service__download-icon{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:18px;height:18px;font-size:18px;line-height:1;transform:translateY(1px)}.jt-attachment-preview-service__download-icon svg{display:block}.jt-attachment-preview-service__download-text{display:inline-flex;align-items:center;height:18px;line-height:1}.jt-attachment-preview-service__body{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;overflow:hidden;background:#f7f7f7}.jt-attachment-preview-service__media,.jt-attachment-preview-service__iframe{display:block;width:100%;height:100%;border:0}.jt-attachment-preview-service__image-viewer{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden}.jt-attachment-preview-service__image{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:var(--jt-attachment-preview-service-image-fit);transform-origin:center center;transition:transform .16s ease;user-select:none;will-change:transform;-webkit-user-drag:none}.jt-attachment-preview-service__image--draggable{cursor:grab;touch-action:none}.jt-attachment-preview-service__image--dragging{cursor:grabbing;transition:none}.jt-attachment-preview-service__image-toolbar{position:absolute;left:50%;bottom:18px;z-index:2;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 8px;border-radius:4px;background:#000000a8;color:#fff;box-shadow:0 2px 8px #1f23291f;transform:translate(-50%)}.jt-attachment-preview-service__image-tool{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:4px;background:transparent;color:#fff;font-size:16px;line-height:1;cursor:pointer}.jt-attachment-preview-service__image-tool:hover{background:#ffffff29}.jt-attachment-preview-service__image-scale{min-width:42px;color:#fff;font-size:12px;line-height:1;text-align:center}.jt-attachment-preview-service__audio{width:min(520px,100% - 32px)}.jt-attachment-preview-service__pdf-viewer{position:relative;width:100%;height:100%;overflow:hidden;background:#f7f7f7}.jt-attachment-preview-service__pdf-layout{display:flex;width:100%;height:100%;min-height:0}.jt-attachment-preview-service__pdf-layout--hidden{visibility:hidden}.jt-attachment-preview-service__pdf-outline{flex:0 0 220px;width:220px;height:100%;overflow:hidden;border-right:1px solid #f5f5f5;background:#fff}.jt-attachment-preview-service__pdf-outline-title{height:36px;padding:0 12px;border-bottom:1px solid #f5f5f5;color:#333;font-size:13px;font-weight:500;line-height:36px}.jt-attachment-preview-service__pdf-outline-list{height:calc(100% - 36px);overflow:auto;padding:8px 0}.jt-attachment-preview-service__pdf-outline-item{display:block;width:100%;height:32px;padding-right:10px;border:0;background:transparent;color:#0009;font-size:12px;line-height:32px;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.jt-attachment-preview-service__pdf-outline-item:hover{background:#f9f9f9;color:#e60000}.jt-attachment-preview-service__pdf-outline-item:disabled{color:#00000080;cursor:not-allowed}.jt-attachment-preview-service__pdf-pages{display:flex;flex:1;flex-direction:column;align-items:center;gap:16px;min-width:0;min-height:100%;overflow:auto;padding:20px}.jt-attachment-preview-service__pdf-page{display:block;max-width:100%;background:#fff;box-shadow:0 2px 10px #1f232924}.jt-attachment-preview-service__pdf-state{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px;color:#333;font-size:12px;text-align:center}.jt-attachment-preview-service__pdf-error{max-width:min(520px,90vw - 48px);color:#0009;font-size:11px;line-height:1.5}.jt-attachment-preview-service__detecting{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#333;text-align:center}.jt-attachment-preview-service__detecting-spinner{width:28px;height:28px;margin-bottom:14px;border:2px solid #d9d9d9;border-top-color:#e60000;border-radius:50%;animation:jt-attachment-preview-service-spin .8s linear infinite}.jt-attachment-preview-service__detecting-title{font-size:12px;font-weight:500}.jt-attachment-preview-service__detecting-desc{margin-top:6px;color:#0009;font-size:10px}@keyframes jt-attachment-preview-service-spin{to{transform:rotate(360deg)}}.jt-attachment-preview-service__pdf-fallback-tip{position:absolute;left:50%;bottom:16px;z-index:2;display:flex;align-items:center;gap:10px;max-width:calc(100% - 32px);padding:8px 12px;border-radius:4px;background:#000000b8;color:#fff;font-size:12px;transform:translate(-50%)}.jt-attachment-preview-service__fallback-download{border:0;background:transparent;flex-shrink:0;color:#fff;font-size:12px;text-decoration:underline;cursor:pointer}.jt-attachment-preview-service__empty,.jt-attachment-preview-service__unsupported{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:16px;text-align:center}.jt-attachment-preview-service__empty{color:#0009;font-size:14px}.jt-attachment-preview-service__file-card{display:flex;flex-direction:column;align-items:center;justify-content:center;width:auto;max-width:calc(90vw - 48px);min-height:0}.jt-attachment-preview-service__preview-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;min-height:0}.jt-attachment-preview-service__preview-fallback-icon{display:block;width:72px;height:72px;object-fit:contain}.jt-attachment-preview-service__file-icon{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:44px;padding:0 6px;border-radius:4px;background:#2563eb;color:#fff;font-size:20px;font-weight:600;line-height:1}.jt-attachment-preview-service__unsupported-text{margin-top:12px;font-size:16px;color:#333;font-weight:500}.jt-attachment-preview-service__file-name{max-width:min(360px,90vw - 48px);margin-top:6px;overflow:hidden;color:#666;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.jt-attachment-preview-service__primary-download{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:34px;height:22px;margin-top:14px;padding:0 10px;border:0;border-radius:4px;background:#e60000;color:#fff;font-size:12px;text-decoration:none;cursor:pointer}.jt-attachment-preview-service__primary-download:hover{background:#e51e1b}:root{--color-primary: #e60000;--color-primary-light: #ff3a3a;--color-primary-hover: #e51e1b;--color-primary-bg-light: #ffe5e5;--color-primary-bg-lighter: #fdf7f7;--color-primary-bg-subtle: rgba(230, 0, 0, .05);--color-primary-bg-subtle-2: rgba(230, 0, 0, .1);--color-primary-tint-1: #ffecec;--color-primary-tint-2: #ffd1d1;--color-primary-tint-3: #f7b2b2;--color-bg-page: #f9f9f9;--color-bg-card: #ffffff;--color-bg-input: #f9fafb;--color-bg-table-header: #f6f3f3;--color-bg-elevated: #fbf9f9;--color-text-primary: #333333;--color-text-regular: rgba(0, 0, 0, .8);--color-text-secondary: rgba(0, 0, 0, .6);--color-text-tertiary: rgba(0, 0, 0, .4);--color-text-disabled: rgba(0, 0, 0, .2);--color-border-default: #e5e5e5;--color-border-light: #f5f5f5;--color-border-medium: #d9d9d9;--color-border-dark: #999999;--color-border-strong: #666666;--color-border-primary: #e60000;--color-link: #0066ff;--color-error: #e60000;--color-icon-gray: #a6a6a6;--gradient-primary-button: linear-gradient(90deg, #e60000 0%, #ff3a3a 100%);--gradient-secondary-button: linear-gradient(90deg, #ff3a3a 0%, #e60000 100%);--gradient-bg-soft: linear-gradient(90deg, #f9f9f9 0%, #ffecec 100%);--font-family-primary: "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;--font-family-secondary: "Source Han Sans", "PingFang SC", sans-serif;--font-size-title-lg: 20px;--font-size-title: 16px;--font-size-body: 16px;--font-size-body-sm: 14px;--font-size-caption: 12px;--font-size-caption-sm: 10px;--font-size-ui: 13px;--font-weight-regular: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--spacing-1: 2px;--spacing-2: 4px;--spacing-3: 8px;--spacing-4: 10px;--spacing-5: 12px;--spacing-6: 16px;--spacing-8: 20px;--spacing-10: 32px;--spacing-12: 50px;--spacing-16: 80px;--spacing-20: 160px;--radius-none: 0;--radius-xs: 2px;--radius-sm: 4px;--radius-md: 6px;--radius-base: 12px;--radius-lg: 14px;--radius-xl: 16px;--radius-pill: 50px;--shadow-card: 0px 2px 8px 0px rgba(0, 0, 0, .05);--shadow-dropdown: 0px 4px 4px 0px rgba(0, 0, 0, .1);--el-color-primary: #e60000;--el-color-primary-light-3: #f04d4d;--el-color-primary-light-5: #f38080;--el-color-primary-light-7: #f8b3b3;--el-color-primary-light-8: #facccc;--el-color-primary-light-9: #fde6e6;--el-color-primary-dark-2: #b80000;--el-border-color: #e5e5e5;--el-border-color-light: #e5e5e5;--el-border-color-lighter: #e5e5e5;--el-border-color-extra-light: #e5e5e5;--el-border-color-dark: #e5e5e5;--el-border-color-darker: #e5e5e5}[class^=jt-],[class*=" jt-"],[class^=jt-] *,[class*=" jt-"] *{box-sizing:border-box}.jt-button.el-button[data-v-fbcdce34]{--jt-button-icon-size: 14px;--el-button-hover-text-color: #333333;--el-button-hover-border-color: #e5e5e5;--el-button-hover-bg-color: #ffffff;--el-button-active-text-color: #333333;--el-button-active-border-color: #e5e5e5;--el-button-active-bg-color: #ffffff;height:28px;border-radius:4px;border:1px solid #e5e5e5;background:#fff;padding-left:14px;padding-right:14px;font-size:12px;font-weight:400;color:#333}.jt-button.el-button+.jt-button.el-button[data-v-fbcdce34]{margin-left:10px}.jt-button.el-button[data-v-fbcdce34] .jt-button__icon{width:var(--jt-button-icon-size);height:var(--jt-button-icon-size);margin-right:4px;font-size:var(--jt-button-icon-size)}.jt-button.el-button[data-v-fbcdce34] .jt-button__icon svg,.jt-button.el-button[data-v-fbcdce34] .jt-button__icon img{width:var(--jt-button-icon-size);height:var(--jt-button-icon-size)}.jt-button.el-button[data-v-fbcdce34] .jt-button__icon img{display:block}.jt-button.el-button[data-v-fbcdce34] .jt-button__icon+span{margin-left:0}.jt-button.el-button[data-v-fbcdce34]:hover,.jt-button.el-button[data-v-fbcdce34]:focus,.jt-button.el-button[data-v-fbcdce34]:active{border-color:#e5e5e5;background:#fff;color:#333}.jt-button.el-button--primary[data-v-fbcdce34]{border:none;background:linear-gradient(90deg,#e60000,#ff3a3a);color:#fff}.jt-button.el-button--primary[data-v-fbcdce34]:hover,.jt-button.el-button--primary[data-v-fbcdce34]:focus{background:linear-gradient(90deg,#e60000,#ff3a3a);color:#fff}.jt-button.el-button--primary[data-v-fbcdce34] .el-icon{color:#fff}.jt-cascader[data-v-9164edeb]{width:100%;--jt-cascader-text-color: #333333;--jt-cascader-placeholder-color: #999999;--jt-cascader-border-color: #e5e5e5;--jt-cascader-hover-border-color: #cccccc;--jt-cascader-focus-border-color: #e60000;--el-input-text-color: var(--jt-cascader-text-color);--el-input-placeholder-color: var(--jt-cascader-placeholder-color);--el-input-border-color: var(--jt-cascader-border-color);--el-input-hover-border-color: var(--jt-cascader-hover-border-color);--el-color-primary: var(--jt-cascader-focus-border-color)}[data-v-2aaf2264] .jt-date-picker.el-date-editor{--el-date-editor-width: 100%;--jt-date-picker-text-color: #333333;--jt-date-picker-placeholder-color: #999999;--jt-date-picker-border-color: #e5e5e5;--jt-date-picker-hover-border-color: #cccccc;--jt-date-picker-focus-border-color: #e60000;--el-input-text-color: var(--jt-date-picker-text-color);--el-input-placeholder-color: var(--jt-date-picker-placeholder-color);--el-input-border-color: var(--jt-date-picker-border-color);--el-input-hover-border-color: var(--jt-date-picker-hover-border-color);--el-input-focus-border-color: var(--jt-date-picker-focus-border-color);--el-input-focus-border: var(--jt-date-picker-focus-border-color);--el-color-primary: var(--jt-date-picker-focus-border-color)}.jt-input[data-v-c4e9cb3f]{--jt-input-text-color: #333333;--jt-input-placeholder-color: #999999;--jt-input-border-color: #e5e5e5;--jt-input-hover-border-color: #cccccc;--jt-input-focus-border-color: #e60000;--el-input-text-color: var(--jt-input-text-color);--el-input-placeholder-color: var(--jt-input-placeholder-color);--el-input-border-color: var(--jt-input-border-color);--el-input-hover-border-color: var(--jt-input-hover-border-color);--el-input-focus-border-color: var(--jt-input-focus-border-color)}.jt-select[data-v-abce8e44]{--jt-select-text-color: #333333;--jt-select-placeholder-color: #999999;--jt-select-border-color: #e5e5e5;--jt-select-hover-border-color: #cccccc;--jt-select-focus-border-color: #e60000;--el-input-text-color: var(--jt-select-text-color);--el-input-placeholder-color: var(--jt-select-placeholder-color);--el-input-border-color: var(--jt-select-border-color);--el-input-hover-border-color: var(--jt-select-hover-border-color);--el-color-primary: var(--jt-select-focus-border-color)}.jt-form-items[data-v-002c0b17]{--jt-form-columns: 4;--jt-form-gap: 16px;width:100%;display:grid;grid-template-columns:repeat(var(--jt-form-columns),minmax(0,1fr));column-gap:var(--jt-form-gap);row-gap:var(--jt-form-gap)}.jt-form-items__item[data-v-002c0b17]{margin:0;width:100%}.jt-form-items__actions[data-v-002c0b17]{margin:0;width:100%;align-self:end}.jt-form-items__item[data-v-002c0b17] .el-form-item__content{width:100%;min-width:0}.jt-form-items__actions[data-v-002c0b17] .el-form-item__content{display:flex;justify-content:flex-end;align-items:center;width:100%;min-width:0}.jt-form-items__item[data-v-002c0b17] .el-date-editor.el-input,.jt-form-items__item[data-v-002c0b17] .el-date-editor--daterange,.jt-form-items__item[data-v-002c0b17] .el-date-editor .el-input__wrapper,.jt-form-items__item[data-v-002c0b17] .el-cascader{width:100%;min-width:0}.jt-filter-bar[data-v-94909b80]{padding-left:12px;padding-right:12px}.jt-filter-bar__form[data-v-94909b80]{width:100%;display:contents}.jt-filter-bar__btns[data-v-94909b80]{display:flex;justify-content:flex-end;align-items:center;width:100%;height:32px;min-width:0;text-align:right}.jt-filter-bar__icon-arrow[data-v-94909b80]{transition:transform .2s ease}.jt-filter-bar__icon-arrow.is-collapsed[data-v-94909b80]{transform:rotate(180deg)}.jt-table[data-v-2f881a67]{flex:1;min-height:0;--el-table-border-color: transparent;--el-table-bg-color: #fff;--el-table-tr-bg-color: #fff;--el-table-header-bg-color: #f6f3f3;--el-table-header-text-color: #333333;--el-table-text-color: #333333;--el-table-row-hover-bg-color: transparent;--el-color-primary: #e60000;background:#fff}.jt-table[data-v-2f881a67] .el-table__inner-wrapper:before{height:0}.jt-table[data-v-2f881a67] .el-table__header-wrapper{border-radius:12px;overflow:hidden}.jt-table[data-v-2f881a67] th.el-table__cell{background:#f6f3f3;font-size:14px;font-weight:400;color:#333;padding:12px 0;border:none}.jt-table[data-v-2f881a67] th.el-table__cell:first-child{border-radius:12px 0 0 12px}.jt-table[data-v-2f881a67] th.el-table__cell:last-child{border-radius:0 12px 12px 0}.jt-table[data-v-2f881a67] th.el-table__cell .cell{padding:0 10px}.jt-table[data-v-2f881a67] td.el-table__cell{font-size:14px;font-weight:500;color:#333;padding:12px 0;border:none}.jt-table[data-v-2f881a67] td.el-table__cell .cell{padding:0 10px}.jt-table[data-v-2f881a67] .el-table__row:nth-child(odd) td{background:#fff}.jt-table[data-v-2f881a67] .el-table__row:nth-child(2n) td{background:#fbf9f9}.jt-table[data-v-2f881a67] .el-table__row td:first-child{border-radius:12px 0 0 12px}.jt-table[data-v-2f881a67] .el-table__row td:last-child{border-radius:0 12px 12px 0}.jt-table[data-v-2f881a67] .el-table__empty-block{min-height:200px}.jt-pagination[data-v-19ef6db6]{display:flex;justify-content:center;align-items:center;gap:10px;background:#fff}.jt-pagination[data-v-19ef6db6] .el-pagination{--el-pagination-button-width: 24px;--el-pagination-button-height: 24px;--el-pagination-font-size: 12px;gap:4px}.jt-pagination[data-v-19ef6db6] .el-pager li{width:24px;height:24px;min-width:24px;border-radius:4px;border:1px solid #e1e4e7;font-size:12px;font-weight:400;color:#333;line-height:22px;padding:0;margin:0 2px;background:transparent}.jt-pagination[data-v-19ef6db6] .el-pager li.is-active{background:#e60000;border-color:#e60000;color:#fff}.jt-pagination[data-v-19ef6db6] .btn-prev,.jt-pagination[data-v-19ef6db6] .btn-next{width:24px;height:24px;min-width:24px;border-radius:4px;border:1px solid #e1e4e7;padding:0;margin:0 2px;background:transparent}.jt-pagination[data-v-19ef6db6] .el-pagination__jump{font-size:12px;color:#333;margin-left:4px}.jt-pagination[data-v-19ef6db6] .el-pagination__jump .el-input{width:56px}.jt-pagination[data-v-19ef6db6] .el-pagination__jump .el-input__wrapper{height:24px;border-radius:4px;border:1px solid #e1e4e7;box-shadow:none!important;padding:0 4px}.jt-pagination__count[data-v-19ef6db6]{font-size:14px;font-weight:400;color:#333}.jt-crud-table[data-v-6df082c6]{width:100%;flex:1;min-height:0;display:flex;flex-direction:column;gap:16px;background:#fff}.jt-crud-table[data-v-6df082c6] .jt-pagination{margin-top:auto;flex-shrink:0}.jt-crud-table__toolbar[data-v-6df082c6]{display:flex;justify-content:flex-end;align-items:center;min-width:0}.jt-page-header[data-v-9fe9e823]{--jt-page-header-bg-color: #f9f9f9;--jt-page-header-height: 44px;--jt-page-header-padding-x: 12px;--jt-page-header-border-radius: 6px;--jt-page-header-title-font-size: 16px;--jt-page-header-title-marker-width: 4px;--jt-page-header-title-marker-height: 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:var(--jt-page-header-height);padding-left:var(--jt-page-header-padding-x);padding-right:var(--jt-page-header-padding-x);background-color:var(--jt-page-header-bg-color);border-radius:var(--jt-page-header-border-radius)}.jt-page-header .jt-page-header__title[data-v-9fe9e823]{display:flex;align-items:center;font-size:var(--jt-page-header-title-font-size);font-weight:600;color:#333}.jt-page-header .jt-page-header__title[data-v-9fe9e823]:before{content:"";display:block;width:var(--jt-page-header-title-marker-width);height:var(--jt-page-header-title-marker-height);margin-right:6px;background-color:#e60000;border-radius:1px}.jt-page-header--subsection[data-v-9fe9e823]{--jt-page-header-bg-color: #fff;--jt-page-header-height: 32px;--jt-page-header-padding-x: 0;--jt-page-header-title-font-size: 14px;--jt-page-header-title-marker-width: 3px;--jt-page-header-title-marker-height: 10px}.jt-page-header__title[data-v-9fe9e823],.jt-page-header__operates[data-v-9fe9e823]{min-width:0}.jt-page-header__operates[data-v-9fe9e823]{display:flex;align-items:center;justify-content:flex-end;flex-shrink:0}.global-info-field-control[data-v-ba86a0ae]{--global-info-control-height: 32px;--global-info-control-border: #d9d9d9;--global-info-control-disabled-bg: #f9fafb;--global-info-control-radius: 4px;width:100%;height:var(--global-info-control-height);min-width:0;font-size:13px;box-sizing:border-box}.global-info-field-control[data-v-ba86a0ae] *,.global-info-field-control[data-v-ba86a0ae] *:before,.global-info-field-control[data-v-ba86a0ae] *:after{box-sizing:border-box}.global-info-field-control.el-input[data-v-ba86a0ae],.global-info-field-control.el-input-number[data-v-ba86a0ae],.global-info-field-control.el-date-editor[data-v-ba86a0ae],.global-info-field-control.el-select[data-v-ba86a0ae]{width:100%;min-width:0;height:var(--global-info-control-height);line-height:var(--global-info-control-height)}.global-info-field-control.el-date-editor[data-v-ba86a0ae]{--el-date-editor-width: 100%}.global-info-field-control.el-date-editor.el-input[data-v-ba86a0ae],.global-info-field-control.el-date-editor.el-input__wrapper[data-v-ba86a0ae]{width:100%;min-width:0;height:var(--global-info-control-height)}.global-info-field-control[data-v-ba86a0ae] .el-input,.global-info-field-control[data-v-ba86a0ae] .el-input-number,.global-info-field-control[data-v-ba86a0ae] .el-date-editor,.global-info-field-control[data-v-ba86a0ae] .el-select{width:100%;min-width:0;height:var(--global-info-control-height);line-height:var(--global-info-control-height)}.global-info-field-control[data-v-ba86a0ae] .el-input__wrapper,.global-info-field-control[data-v-ba86a0ae] .el-select__wrapper,.global-info-field-control[data-v-ba86a0ae] .el-input-number__wrapper,.global-info-field-control[data-v-ba86a0ae] .el-date-editor.el-input__wrapper,.global-info-field-control.el-date-editor.el-input__wrapper[data-v-ba86a0ae]{width:100%;min-width:0;min-height:var(--global-info-control-height);height:var(--global-info-control-height);border-radius:var(--global-info-control-radius);background:#fff;box-shadow:0 0 0 1px var(--global-info-control-border) inset}.global-info-field-control[data-v-ba86a0ae] .el-input__inner,.global-info-field-control[data-v-ba86a0ae] .el-select__selection,.global-info-field-control[data-v-ba86a0ae] .el-input-number .el-input__inner,.global-info-field-control[data-v-ba86a0ae] .el-date-editor .el-input__inner,.global-info-field-control.el-date-editor[data-v-ba86a0ae] .el-input__inner{height:var(--global-info-control-height);line-height:var(--global-info-control-height)}.global-info-field-control[data-v-ba86a0ae] .el-input__prefix,.global-info-field-control[data-v-ba86a0ae] .el-input__suffix,.global-info-field-control[data-v-ba86a0ae] .el-select__prefix,.global-info-field-control[data-v-ba86a0ae] .el-select__suffix{height:var(--global-info-control-height)}.global-info-field-control[data-v-ba86a0ae] .el-select__wrapper{padding-top:0;padding-bottom:0}.global-info-field-control[data-v-ba86a0ae] .el-input__wrapper.is-disabled,.global-info-field-control[data-v-ba86a0ae] .el-select__wrapper.is-disabled,.global-info-field-control[data-v-ba86a0ae] .el-textarea__inner:disabled,.global-info-field-control[data-v-ba86a0ae] .el-input-number.is-disabled .el-input__wrapper,.global-info-field-control.el-date-editor.is-disabled.el-input__wrapper[data-v-ba86a0ae]{background-color:var(--global-info-control-disabled-bg);box-shadow:0 0 0 1px #e5e5e5 inset}.global-info-field-control[data-v-ba86a0ae] .el-input-number__decrease,.global-info-field-control[data-v-ba86a0ae] .el-input-number__increase{height:calc(var(--global-info-control-height) / 2);line-height:calc(var(--global-info-control-height) / 2)}.global-info-field-control[data-v-ba86a0ae] .el-textarea__inner{min-height:72px;border-color:#d9d9d9;border-radius:var(--global-info-control-radius);font-size:13px}.global-info-field-control--switch[data-v-ba86a0ae]{display:inline-flex;height:var(--global-info-control-height);align-items:center}.global-info-field-control--file[data-v-ba86a0ae]{--global-info-control-height: 36px;display:flex;height:var(--global-info-control-height);min-width:0;align-items:center;justify-content:center;border:1px solid #e60000;border-radius:var(--global-info-control-radius);background:#fdebeb;color:#e60000;cursor:pointer;line-height:var(--global-info-control-height)}.global-info-field-control--file.is-filled[data-v-ba86a0ae]{border-color:#e5e5e5;background:#fff}.global-info-field-control--file.is-disabled[data-v-ba86a0ae]{background:var(--global-info-control-disabled-bg);color:#0003;cursor:not-allowed}.global-info-field-control__file-input[data-v-ba86a0ae]{display:none}.global-info-field-control__file-text[data-v-ba86a0ae],.global-info-field-control__file-upload[data-v-ba86a0ae]{min-width:0;overflow:hidden;font-size:14px;line-height:24px;text-overflow:ellipsis;white-space:nowrap}.global-info-field-control--code[data-v-ba86a0ae] .el-textarea__inner{font-family:Consolas,Monaco,Courier New,monospace}.global-info-field-value[data-v-aa0d493d]{display:inline-block;min-height:32px;color:#333;line-height:32px;word-break:break-word}.global-info-field-value--html[data-v-aa0d493d],.global-info-field-value--multi-row[data-v-aa0d493d],.global-info-field-value--code[data-v-aa0d493d]{white-space:pre-wrap}.global-info-field-value--code[data-v-aa0d493d]{width:100%;margin:0;padding:8px 10px;border:1px solid #e5e5e5;border-radius:4px;background:#f9fafb;color:#333;font-family:Consolas,Monaco,Courier New,monospace;line-height:20px}.global-info-field-value--file[data-v-aa0d493d]{color:#e60000;text-decoration:underline;text-underline-offset:3px}.global-info-form-renderer[data-v-9dcd2ba9]{width:100%}.global-info-form-renderer__label[data-v-9dcd2ba9]{display:inline-flex;align-items:center;gap:2px}.global-info-form-renderer__required[data-v-9dcd2ba9]{color:#e60000}.global-info-form-renderer[data-v-9dcd2ba9] .el-form-item{margin-bottom:18px}.global-info-form-renderer[data-v-9dcd2ba9] .el-form-item__label{min-height:20px;margin-bottom:6px;color:#0009;font-size:13px;line-height:20px}.global-info-form-renderer[data-v-9dcd2ba9] .el-input-number,.global-info-form-renderer[data-v-9dcd2ba9] .el-date-editor,.global-info-form-renderer[data-v-9dcd2ba9] .el-select{width:100%}.global-info-delete-confirm{min-width:240px;padding:12px;border:1px solid #ebeef5;border-radius:6px;box-shadow:0 4px 12px #1f232924}.global-info-delete-confirm .el-popconfirm__main{color:#1f2329;font-size:13px;line-height:20px}.global-info-delete-confirm .el-popconfirm__action{margin-top:12px}.global-info-delete-confirm .el-button--primary{border-color:#e60000;background:#e60000}.global-info-table-renderer[data-v-2fa29438]{width:100%}.global-info-table-renderer__table-scroll[data-v-2fa29438]{width:100%;overflow-x:auto;border-radius:12px;background:#f9f9f9}.global-info-table-renderer__table[data-v-2fa29438]{min-width:100%;background:#f9f9f9;color:#222;font-family:PingFang SC,-apple-system,BlinkMacSystemFont,sans-serif;font-size:14px;line-height:24px;--el-table-bg-color: #f9f9f9;--el-table-tr-bg-color: #f9f9f9;--el-table-header-bg-color: #f9f9f9;--el-table-row-hover-bg-color: #f9f9f9;--el-table-border-color: transparent;--el-table-text-color: #222222;--el-table-header-text-color: #333333}.global-info-table-renderer__header[data-v-2fa29438]{display:inline-flex;align-items:center;justify-content:center;gap:2px;color:#333;font-size:14px;font-weight:400;line-height:24px;white-space:nowrap}.global-info-table-renderer__required[data-v-2fa29438],.global-info-table-renderer__delete[data-v-2fa29438]{color:#e60000}.global-info-table-renderer__delete[data-v-2fa29438]{display:inline-flex;align-items:center;gap:4px;font-size:14px;line-height:24px}.global-info-table-renderer__delete-icon[data-v-2fa29438]{font-size:14px}.global-info-table-renderer[data-v-2fa29438] .el-table__inner-wrapper:before,.global-info-table-renderer[data-v-2fa29438] .el-table__border-left-patch,.global-info-table-renderer[data-v-2fa29438] .el-table__border-bottom-patch{display:none}.global-info-table-renderer[data-v-2fa29438] .el-table__header-wrapper th.el-table__cell,.global-info-table-renderer[data-v-2fa29438] .el-table__body-wrapper td.el-table__cell{padding:4px 0;border-bottom:0;background:#f9f9f9}.global-info-table-renderer[data-v-2fa29438] .el-table__header .cell,.global-info-table-renderer[data-v-2fa29438] .el-table__body .cell{min-height:24px;padding:0 12px;color:#222;font-size:14px;font-weight:400;line-height:24px;text-align:center;white-space:nowrap}.global-info-table-renderer[data-v-2fa29438] .el-table__body .cell>.global-info-field-control,.global-info-table-renderer[data-v-2fa29438] .el-table__body .cell .global-info-field-control,.global-info-table-renderer[data-v-2fa29438] .el-table__body .cell .el-input,.global-info-table-renderer[data-v-2fa29438] .el-table__body .cell .el-input-number,.global-info-table-renderer[data-v-2fa29438] .el-table__body .cell .el-select,.global-info-table-renderer[data-v-2fa29438] .el-table__body .cell .el-date-editor{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.global-info-table-renderer[data-v-2fa29438] .el-table__body .cell .el-input__wrapper,.global-info-table-renderer[data-v-2fa29438] .el-table__body .cell .el-select__wrapper,.global-info-table-renderer[data-v-2fa29438] .el-table__body .cell .el-input-number__wrapper,.global-info-table-renderer[data-v-2fa29438] .el-table__body .cell .el-date-editor.el-input__wrapper{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.global-info-table-renderer[data-v-2fa29438] .el-table__header .cell{color:#333}.global-info-table-renderer[data-v-2fa29438] .el-table__fixed-right{background:#f9f9f9}.global-info-section-block[data-v-0d8ae722]{width:100%;min-width:0;padding:0;background:transparent;border:0;border-radius:0}.global-info-section-block__header[data-v-0d8ae722],.global-info-section-block__title-wrap[data-v-0d8ae722],.global-info-section-block__actions[data-v-0d8ae722]{display:flex;align-items:center}.global-info-section-block__header[data-v-0d8ae722]{justify-content:space-between;gap:16px;margin-bottom:12px}.global-info-section-block__title-wrap[data-v-0d8ae722]{min-width:0;gap:8px}.global-info-section-block__marker[data-v-0d8ae722]{width:4px;height:4px;flex:0 0 auto;background:#e60000;border-radius:50%}.global-info-section-block__title[data-v-0d8ae722]{margin:0;overflow:hidden;color:#333;font-size:14px;font-weight:600;line-height:24px;text-overflow:ellipsis;white-space:nowrap}.global-info-section-block__actions[data-v-0d8ae722]{flex:0 0 auto;gap:8px}.global-info-section-block__edit[data-v-0d8ae722],.global-info-section-block__cancel[data-v-0d8ae722],.global-info-section-block__add[data-v-0d8ae722],.global-info-section-block__confirm[data-v-0d8ae722]{min-width:48px;height:24px;padding:0 12px;color:#e60000;background:#ffecec;border-radius:12px;font-size:12px;line-height:24px}.global-info-section-block__confirm[data-v-0d8ae722]{color:#fff;background:#e60000}.global-info-section-block__body[data-v-0d8ae722]{min-width:0}.global-info-section-block__status[data-v-0d8ae722]{min-height:80px;display:flex;align-items:center;justify-content:center;color:#0006;font-size:14px}.global-info-group[data-v-778e227f]{width:100%;min-width:0;padding:16px 20px 20px;background:#fff;border:1px solid #e5e5e5;border-radius:12px}.global-info-group__header[data-v-778e227f]{display:flex;min-width:0;align-items:center;gap:8px;margin-bottom:16px}.global-info-group__marker[data-v-778e227f]{width:3px;height:12px;flex:0 0 auto;background:#e60000;border-radius:2px}.global-info-group__title[data-v-778e227f]{min-width:0;margin:0;overflow:hidden;color:#333;font-size:16px;font-weight:600;line-height:24px;text-overflow:ellipsis;white-space:nowrap}.global-info-group__body[data-v-778e227f]{min-width:0}.global-info-group__section[data-v-778e227f]{min-width:0;padding-bottom:20px;border-bottom:1px solid #e5e5e5}.global-info-group__section+.global-info-group__section[data-v-778e227f]{margin-top:20px}.global-info-group__section[data-v-778e227f]:last-child{padding-bottom:0;border-bottom:0}.global-info-group__empty[data-v-778e227f]{min-height:80px;display:flex;align-items:center;justify-content:center;color:#0006;font-size:14px}.global-info-sections[data-v-f15cf0fb]{display:flex;min-width:0;flex-direction:column;gap:12px}
|
|
1
|
+
.jt-attachment-preview-service-lock{overflow:hidden}.jt-attachment-preview-service{--jt-attachment-preview-service-image-fit: contain;position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:5vh 5vw;background:#00000080;color:#333}.jt-attachment-preview-service__modal{display:flex;flex-direction:column;width:90vw;height:90vh;overflow:hidden;border-radius:.375rem;background:#f7f7f7;box-shadow:0 .125rem .5rem #1f232914}.jt-attachment-preview-service__header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;height:3.125rem;border-bottom:.0625rem solid #f5f5f5;background:#fff}.jt-attachment-preview-service__filename{position:relative;min-width:0;max-width:calc(90vw - 11.875rem);padding-left:1.8125rem;overflow:hidden;font-size:1rem;font-weight:500;line-height:3.125rem;text-overflow:ellipsis;white-space:nowrap;color:#333}.jt-attachment-preview-service__filename:before{content:"";position:absolute;left:1.25rem;top:50%;width:.1875rem;height:.625rem;border-radius:.0625rem;background:#e60000;transform:translateY(-50%)}.jt-attachment-preview-service__header-actions{display:flex;align-items:center;flex-shrink:0;height:100%}.jt-attachment-preview-service__top-download,.jt-attachment-preview-service__close{display:inline-flex;align-items:center;justify-content:center;height:100%;border:0;background:#fff;color:#0009;text-decoration:none;cursor:pointer}.jt-attachment-preview-service__top-download{gap:.25rem;min-width:4.5rem;height:2.25rem;padding:0 .75rem;font-size:1rem;line-height:1;vertical-align:top}.jt-attachment-preview-service__close{width:2.625rem;padding:0;font-size:1.375rem;font-weight:400;line-height:1}.jt-attachment-preview-service__top-download:hover,.jt-attachment-preview-service__close:hover{background:#f9f9f9;color:#333}.jt-attachment-preview-service__download-icon{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:1.125rem;height:1.125rem;font-size:1.125rem;line-height:1;transform:translateY(.0625rem)}.jt-attachment-preview-service__download-icon svg{display:block}.jt-attachment-preview-service__download-text{display:inline-flex;align-items:center;height:1.125rem;line-height:1}.jt-attachment-preview-service__body{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;overflow:hidden;background:#f7f7f7}.jt-attachment-preview-service__media,.jt-attachment-preview-service__iframe{display:block;width:100%;height:100%;border:0}.jt-attachment-preview-service__image-viewer{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden}.jt-attachment-preview-service__image{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:var(--jt-attachment-preview-service-image-fit);transform-origin:center center;transition:transform .16s ease;user-select:none;will-change:transform;-webkit-user-drag:none}.jt-attachment-preview-service__image--draggable{cursor:grab;touch-action:none}.jt-attachment-preview-service__image--dragging{cursor:grabbing;transition:none}.jt-attachment-preview-service__image-toolbar{position:absolute;left:50%;bottom:1.125rem;z-index:2;display:inline-flex;align-items:center;gap:.375rem;height:2.25rem;padding:0 .5rem;border-radius:.25rem;background:#000000a8;color:#fff;box-shadow:0 .125rem .5rem #1f23291f;transform:translate(-50%)}.jt-attachment-preview-service__image-tool{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;padding:0;border:0;border-radius:.25rem;background:transparent;color:#fff;font-size:1rem;line-height:1;cursor:pointer}.jt-attachment-preview-service__image-tool:hover{background:#ffffff29}.jt-attachment-preview-service__image-scale{min-width:2.625rem;color:#fff;font-size:.75rem;line-height:1;text-align:center}.jt-attachment-preview-service__audio{width:min(32.5rem,100% - 2rem)}.jt-attachment-preview-service__pdf-viewer{position:relative;width:100%;height:100%;overflow:hidden;background:#f7f7f7}.jt-attachment-preview-service__pdf-layout{display:flex;width:100%;height:100%;min-height:0}.jt-attachment-preview-service__pdf-layout--hidden{visibility:hidden}.jt-attachment-preview-service__pdf-outline{flex:0 0 13.75rem;width:13.75rem;height:100%;overflow:hidden;border-right:.0625rem solid #f5f5f5;background:#fff}.jt-attachment-preview-service__pdf-outline-title{height:2.25rem;padding:0 .75rem;border-bottom:.0625rem solid #f5f5f5;color:#333;font-size:.8125rem;font-weight:500;line-height:2.25rem}.jt-attachment-preview-service__pdf-outline-list{height:calc(100% - 2.25rem);overflow:auto;padding:.5rem 0}.jt-attachment-preview-service__pdf-outline-item{display:block;width:100%;height:2rem;padding-right:.625rem;border:0;background:transparent;color:#0009;font-size:.75rem;line-height:2rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.jt-attachment-preview-service__pdf-outline-item:hover{background:#f9f9f9;color:#e60000}.jt-attachment-preview-service__pdf-outline-item:disabled{color:#00000080;cursor:not-allowed}.jt-attachment-preview-service__pdf-pages{display:flex;flex:1;flex-direction:column;align-items:center;gap:1rem;min-width:0;min-height:100%;overflow:auto;padding:1.25rem}.jt-attachment-preview-service__pdf-page{display:block;max-width:100%;background:#fff;box-shadow:0 .125rem .625rem #1f232924}.jt-attachment-preview-service__pdf-state{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.625rem;padding:1rem;color:#333;font-size:.75rem;text-align:center}.jt-attachment-preview-service__pdf-error{max-width:min(32.5rem,90vw - 3rem);color:#0009;font-size:.6875rem;line-height:1.5}.jt-attachment-preview-service__detecting{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#333;text-align:center}.jt-attachment-preview-service__detecting-spinner{width:1.75rem;height:1.75rem;margin-bottom:.875rem;border:.125rem solid #d9d9d9;border-top-color:#e60000;border-radius:50%;animation:jt-attachment-preview-service-spin .8s linear infinite}.jt-attachment-preview-service__detecting-title{font-size:.75rem;font-weight:500}.jt-attachment-preview-service__detecting-desc{margin-top:.375rem;color:#0009;font-size:.625rem}@keyframes jt-attachment-preview-service-spin{to{transform:rotate(360deg)}}.jt-attachment-preview-service__pdf-fallback-tip{position:absolute;left:50%;bottom:1rem;z-index:2;display:flex;align-items:center;gap:.625rem;max-width:calc(100% - 2rem);padding:.5rem .75rem;border-radius:.25rem;background:#000000b8;color:#fff;font-size:.75rem;transform:translate(-50%)}.jt-attachment-preview-service__fallback-download{border:0;background:transparent;flex-shrink:0;color:#fff;font-size:.75rem;text-decoration:underline;cursor:pointer}.jt-attachment-preview-service__empty,.jt-attachment-preview-service__unsupported{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:1rem;text-align:center}.jt-attachment-preview-service__empty{color:#0009;font-size:.875rem}.jt-attachment-preview-service__file-card{display:flex;flex-direction:column;align-items:center;justify-content:center;width:auto;max-width:calc(90vw - 3rem);min-height:0}.jt-attachment-preview-service__preview-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;min-height:0}.jt-attachment-preview-service__preview-fallback-icon{display:block;width:4.5rem;height:4.5rem;object-fit:contain}.jt-attachment-preview-service__file-icon{display:inline-flex;align-items:center;justify-content:center;min-width:2.5rem;height:2.75rem;padding:0 .375rem;border-radius:.25rem;background:#2563eb;color:#fff;font-size:1.25rem;font-weight:600;line-height:1}.jt-attachment-preview-service__unsupported-text{margin-top:.75rem;font-size:1rem;color:#333;font-weight:500}.jt-attachment-preview-service__file-name{max-width:min(22.5rem,90vw - 3rem);margin-top:.375rem;overflow:hidden;color:#666;font-size:.75rem;text-overflow:ellipsis;white-space:nowrap}.jt-attachment-preview-service__primary-download{display:inline-flex;align-items:center;justify-content:center;gap:.25rem;min-width:2.125rem;height:1.375rem;margin-top:.875rem;padding:0 .625rem;border:0;border-radius:.25rem;background:#e60000;color:#fff;font-size:.75rem;text-decoration:none;cursor:pointer}.jt-attachment-preview-service__primary-download:hover{background:#e51e1b}:root{--color-primary: #e60000;--color-primary-light: #ff3a3a;--color-primary-hover: #e51e1b;--color-primary-bg-light: #ffe5e5;--color-primary-bg-lighter: #fdf7f7;--color-primary-bg-subtle: rgba(230, 0, 0, .05);--color-primary-bg-subtle-2: rgba(230, 0, 0, .1);--color-primary-tint-1: #ffecec;--color-primary-tint-2: #ffd1d1;--color-primary-tint-3: #f7b2b2;--color-bg-page: #f9f9f9;--color-bg-card: #ffffff;--color-bg-input: #f9fafb;--color-bg-table-header: #f6f3f3;--color-bg-elevated: #fbf9f9;--color-text-primary: #333333;--color-text-regular: rgba(0, 0, 0, .8);--color-text-secondary: rgba(0, 0, 0, .6);--color-text-tertiary: rgba(0, 0, 0, .4);--color-text-disabled: rgba(0, 0, 0, .2);--color-border-default: #e5e5e5;--color-border-light: #f5f5f5;--color-border-medium: #d9d9d9;--color-border-dark: #999999;--color-border-strong: #666666;--color-border-primary: #e60000;--color-link: #0066ff;--color-error: #e60000;--color-icon-gray: #a6a6a6;--gradient-primary-button: linear-gradient(90deg, #e60000 0%, #ff3a3a 100%);--gradient-secondary-button: linear-gradient(90deg, #ff3a3a 0%, #e60000 100%);--gradient-bg-soft: linear-gradient(90deg, #f9f9f9 0%, #ffecec 100%);--font-family-primary: "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;--font-family-secondary: "Source Han Sans", "PingFang SC", sans-serif;--font-size-title-lg: 1.25rem;--font-size-title: 1rem;--font-size-body: 1rem;--font-size-body-sm: .875rem;--font-size-caption: .75rem;--font-size-caption-sm: .625rem;--font-size-ui: .8125rem;--font-weight-regular: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--spacing-1: .125rem;--spacing-2: .25rem;--spacing-3: .5rem;--spacing-4: .625rem;--spacing-5: .75rem;--spacing-6: 1rem;--spacing-8: 1.25rem;--spacing-10: 2rem;--spacing-12: 3.125rem;--spacing-16: 5rem;--spacing-20: 10rem;--radius-none: 0;--radius-xs: .125rem;--radius-sm: .25rem;--radius-md: .375rem;--radius-base: .75rem;--radius-lg: .875rem;--radius-xl: 1rem;--radius-pill: 3.125rem;--shadow-card: 0 .125rem .5rem 0 rgba(0, 0, 0, .05);--shadow-dropdown: 0 .25rem .25rem 0 rgba(0, 0, 0, .1);--el-color-primary: #e60000;--el-color-primary-light-3: #f04d4d;--el-color-primary-light-5: #f38080;--el-color-primary-light-7: #f8b3b3;--el-color-primary-light-8: #facccc;--el-color-primary-light-9: #fde6e6;--el-color-primary-dark-2: #b80000;--el-border-color: #e5e5e5;--el-border-color-light: #e5e5e5;--el-border-color-lighter: #e5e5e5;--el-border-color-extra-light: #e5e5e5;--el-border-color-dark: #e5e5e5;--el-border-color-darker: #e5e5e5}[class^=jt-],[class*=" jt-"],[class^=jt-] *,[class*=" jt-"] *{box-sizing:border-box}.jt-button.el-button[data-v-a8344276]{--jt-button-icon-size: .875rem;--el-button-hover-text-color: #333333;--el-button-hover-border-color: #e5e5e5;--el-button-hover-bg-color: #ffffff;--el-button-active-text-color: #333333;--el-button-active-border-color: #e5e5e5;--el-button-active-bg-color: #ffffff;height:1.75rem;border-radius:.25rem;border:.0625rem solid #e5e5e5;background:#fff;padding-left:.875rem;padding-right:.875rem;font-size:.75rem;font-weight:400;color:#333}.jt-button.el-button+.jt-button.el-button[data-v-a8344276]{margin-left:.625rem}.jt-button.el-button[data-v-a8344276] .jt-button__icon{width:var(--jt-button-icon-size);height:var(--jt-button-icon-size);margin-right:.25rem;font-size:var(--jt-button-icon-size)}.jt-button.el-button[data-v-a8344276] .jt-button__icon svg,.jt-button.el-button[data-v-a8344276] .jt-button__icon img{width:var(--jt-button-icon-size);height:var(--jt-button-icon-size)}.jt-button.el-button[data-v-a8344276] .jt-button__icon img{display:block}.jt-button.el-button[data-v-a8344276] .jt-button__icon+span{margin-left:0}.jt-button.el-button[data-v-a8344276]:hover,.jt-button.el-button[data-v-a8344276]:focus,.jt-button.el-button[data-v-a8344276]:active{border-color:#e5e5e5;background:#fff;color:#333}.jt-button.el-button--primary[data-v-a8344276]{border:none;background:linear-gradient(90deg,#e60000,#ff3a3a);color:#fff}.jt-button.el-button--primary[data-v-a8344276]:hover,.jt-button.el-button--primary[data-v-a8344276]:focus{background:linear-gradient(90deg,#e60000,#ff3a3a);color:#fff}.jt-button.el-button--primary[data-v-a8344276] .el-icon{color:#fff}.jt-cascader{width:100%;--jt-cascader-text-color: #333333;--jt-cascader-placeholder-color: #999999;--jt-cascader-border-color: #e5e5e5;--jt-cascader-hover-border-color: #cccccc;--jt-cascader-focus-border-color: #e60000;--el-input-text-color: var(--jt-cascader-text-color);--el-input-placeholder-color: var(--jt-cascader-placeholder-color);--el-input-border-color: var(--jt-cascader-border-color);--el-input-hover-border-color: var(--jt-cascader-hover-border-color);--el-color-primary: var(--jt-cascader-focus-border-color);--jt-cascader-control-height: var(--el-component-size)}.jt-cascader.el-cascader--large{--jt-cascader-control-height: var(--el-component-size-large)}.jt-cascader.el-cascader--small{--jt-cascader-control-height: var(--el-component-size-small)}.jt-cascader .el-input,.jt-cascader .el-input__wrapper{height:var(--jt-cascader-control-height);min-height:var(--jt-cascader-control-height)}.jt-cascader .el-cascader__tags{height:var(--jt-cascader-control-height);max-height:var(--jt-cascader-control-height);align-items:center;flex-wrap:nowrap;overflow:hidden}.jt-cascader .el-cascader__tags .el-tag{flex:0 1 auto;min-width:0}.jt-cascader .el-cascader__tags .el-tag+.el-tag{flex:0 0 auto}.jt-cascader .el-cascader__search-input{width:0;min-width:0;flex:1 1 0}[data-v-7aa4706e] .jt-date-picker.el-date-editor{--el-date-editor-width: 100%;--jt-date-picker-text-color: #333333;--jt-date-picker-placeholder-color: #999999;--jt-date-picker-border-color: #e5e5e5;--jt-date-picker-hover-border-color: #cccccc;--jt-date-picker-focus-border-color: #e60000;--el-input-text-color: var(--jt-date-picker-text-color);--el-input-placeholder-color: var(--jt-date-picker-placeholder-color);--el-input-border-color: var(--jt-date-picker-border-color);--el-input-hover-border-color: var(--jt-date-picker-hover-border-color);--el-input-focus-border-color: var(--jt-date-picker-focus-border-color);--el-input-focus-border: var(--jt-date-picker-focus-border-color);--el-color-primary: var(--jt-date-picker-focus-border-color)}.jt-input[data-v-031428a1]{--jt-input-text-color: #333333;--jt-input-placeholder-color: #999999;--jt-input-border-color: #e5e5e5;--jt-input-hover-border-color: #cccccc;--jt-input-focus-border-color: #e60000;--el-input-text-color: var(--jt-input-text-color);--el-input-placeholder-color: var(--jt-input-placeholder-color);--el-input-border-color: var(--jt-input-border-color);--el-input-hover-border-color: var(--jt-input-hover-border-color);--el-input-focus-border-color: var(--jt-input-focus-border-color)}.jt-select[data-v-c67cfa84]{--jt-select-text-color: #333333;--jt-select-placeholder-color: #999999;--jt-select-border-color: #e5e5e5;--jt-select-hover-border-color: #cccccc;--jt-select-focus-border-color: #e60000;--el-input-text-color: var(--jt-select-text-color);--el-input-placeholder-color: var(--jt-select-placeholder-color);--el-input-border-color: var(--jt-select-border-color);--el-input-hover-border-color: var(--jt-select-hover-border-color);--el-color-primary: var(--jt-select-focus-border-color)}.jt-form-items[data-v-cb82fcfc]{--jt-form-columns: 4;--jt-form-gap: 1rem;width:100%;display:grid;grid-template-columns:repeat(var(--jt-form-columns),minmax(0,1fr));column-gap:var(--jt-form-gap);row-gap:var(--jt-form-gap)}.jt-form-items__item[data-v-cb82fcfc]{margin:0;width:100%}.jt-form-items__actions[data-v-cb82fcfc]{margin:0;width:100%;align-self:end}.jt-form-items__item[data-v-cb82fcfc] .el-form-item__content{width:100%;min-width:0}.jt-form-items__actions[data-v-cb82fcfc] .el-form-item__content{display:flex;justify-content:flex-end;align-items:center;width:100%;min-width:0}.jt-form-items__item[data-v-cb82fcfc] .el-input,.jt-form-items__item[data-v-cb82fcfc] .el-select,.jt-form-items__item[data-v-cb82fcfc] .el-cascader,.jt-form-items__item[data-v-cb82fcfc] .el-date-editor,.jt-form-items__item[data-v-cb82fcfc] .el-date-editor.el-input,.jt-form-items__item[data-v-cb82fcfc] .el-date-editor--daterange,.jt-form-items__item[data-v-cb82fcfc] .el-input__wrapper,.jt-form-items__item[data-v-cb82fcfc] .el-select__wrapper,.jt-form-items__item[data-v-cb82fcfc] .el-date-editor .el-input__wrapper{box-sizing:border-box;width:100%;min-width:0}.jt-filter-bar[data-v-1f6fdc4e]{padding-left:.75rem;padding-right:.75rem}.jt-filter-bar__form[data-v-1f6fdc4e]{width:100%;display:contents}.jt-filter-bar[data-v-1f6fdc4e] .jt-form-items{grid-template-columns:repeat(var(--jt-filter-field-columns),minmax(0,1fr));column-gap:var(--jt-filter-column-gap);row-gap:var(--jt-filter-row-gap)}.jt-filter-bar[data-v-1f6fdc4e] .jt-form-items__actions{grid-column:1/-1!important;width:100%;min-width:0;justify-self:end}.jt-filter-bar.is-single-filter[data-v-1f6fdc4e] .jt-form-items__actions{grid-column:var(--jt-filter-actions-start)/-1!important}.jt-filter-bar[data-v-1f6fdc4e] .jt-form-items__actions .el-form-item__content{width:100%;min-width:0}.jt-filter-bar__btns[data-v-1f6fdc4e]{display:flex;justify-content:flex-end;align-items:center;width:var(--jt-filter-btns-width);height:2rem;min-width:var(--jt-filter-btns-width);flex:0 0 var(--jt-filter-btns-width);text-align:right}.jt-filter-bar__icon-arrow[data-v-1f6fdc4e]{transition:transform .2s ease}.jt-filter-bar__icon-arrow.is-collapsed[data-v-1f6fdc4e]{transform:rotate(180deg)}.jt-table[data-v-513fa12d]{flex:1;min-height:0;--el-table-border-color: transparent;--el-table-bg-color: #fff;--el-table-tr-bg-color: #fff;--el-table-header-bg-color: #f6f3f3;--el-table-header-text-color: #333333;--el-table-text-color: #333333;--el-table-row-hover-bg-color: transparent;--el-color-primary: #e60000;background:#fff}.jt-table[data-v-513fa12d] .el-table__inner-wrapper:before{height:0}.jt-table[data-v-513fa12d] .el-table__header-wrapper{border-radius:.75rem;overflow:hidden}.jt-table[data-v-513fa12d] th.el-table__cell{background:#f6f3f3;font-size:.875rem;font-weight:400;color:#333;padding:.75rem 0;border:none}.jt-table[data-v-513fa12d] th.el-table__cell:first-child{border-radius:.75rem 0 0 .75rem}.jt-table[data-v-513fa12d] th.el-table__cell:last-child{border-radius:0 .75rem .75rem 0}.jt-table[data-v-513fa12d] th.el-table__cell .cell{padding:0 .625rem}.jt-table[data-v-513fa12d] td.el-table__cell{font-size:.875rem;font-weight:500;color:#333;padding:.75rem 0;border:none}.jt-table[data-v-513fa12d] td.el-table__cell .cell{padding:0 .625rem}.jt-table[data-v-513fa12d] .el-table__row:nth-child(odd) td{background:#fff}.jt-table[data-v-513fa12d] .el-table__row:nth-child(2n) td{background:#fbf9f9}.jt-table[data-v-513fa12d] .el-table__row td:first-child{border-radius:.75rem 0 0 .75rem}.jt-table[data-v-513fa12d] .el-table__row td:last-child{border-radius:0 .75rem .75rem 0}.jt-table[data-v-513fa12d] .el-table__empty-block{min-height:12.5rem}.jt-pagination[data-v-746af6aa]{display:flex;justify-content:center;align-items:center;gap:.625rem;background:#fff}.jt-pagination[data-v-746af6aa] .el-pagination{--el-pagination-button-width: 1.5rem;--el-pagination-button-height: 1.5rem;--el-pagination-font-size: .75rem;gap:.25rem}.jt-pagination[data-v-746af6aa] .el-pager li{width:1.5rem;height:1.5rem;min-width:1.5rem;border-radius:.25rem;border:.0625rem solid #e1e4e7;font-size:.75rem;font-weight:400;color:#333;line-height:1.375rem;padding:0;margin:0 .125rem;background:transparent}.jt-pagination[data-v-746af6aa] .el-pager li.is-active{background:#e60000;border-color:#e60000;color:#fff}.jt-pagination[data-v-746af6aa] .btn-prev,.jt-pagination[data-v-746af6aa] .btn-next{width:1.5rem;height:1.5rem;min-width:1.5rem;border-radius:.25rem;border:.0625rem solid #e1e4e7;padding:0;margin:0 .125rem;background:transparent}.jt-pagination[data-v-746af6aa] .el-pagination__jump{font-size:.75rem;color:#333;margin-left:.25rem}.jt-pagination[data-v-746af6aa] .el-pagination__jump .el-input{width:3.5rem}.jt-pagination[data-v-746af6aa] .el-pagination__jump .el-input__wrapper{height:1.5rem;border-radius:.25rem;border:.0625rem solid #e1e4e7;box-shadow:none!important;padding:0 .25rem}.jt-pagination__count[data-v-746af6aa]{font-size:.875rem;font-weight:400;color:#333}.jt-crud-table[data-v-ad466273]{width:100%;flex:1;min-height:0;display:flex;flex-direction:column;gap:1rem;background:#fff}.jt-crud-table[data-v-ad466273] .jt-pagination{margin-top:auto;flex-shrink:0}.jt-crud-table__toolbar[data-v-ad466273]{display:flex;justify-content:flex-end;align-items:center;min-width:0}.jt-page-header[data-v-9e6bb356]{--jt-page-header-bg-color: #f9f9f9;--jt-page-header-height: 2.75rem;--jt-page-header-padding-x: .75rem;--jt-page-header-border-radius: .375rem;--jt-page-header-title-font-size: 1rem;--jt-page-header-title-marker-width: .25rem;--jt-page-header-title-marker-height: .75rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;height:var(--jt-page-header-height);padding-left:var(--jt-page-header-padding-x);padding-right:var(--jt-page-header-padding-x);background-color:var(--jt-page-header-bg-color);border-radius:var(--jt-page-header-border-radius)}.jt-page-header .jt-page-header__title[data-v-9e6bb356]{display:flex;align-items:center;font-size:var(--jt-page-header-title-font-size);font-weight:600;color:#333}.jt-page-header .jt-page-header__title[data-v-9e6bb356]:before{content:"";display:block;width:var(--jt-page-header-title-marker-width);height:var(--jt-page-header-title-marker-height);margin-right:.375rem;background-color:#e60000;border-radius:.0625rem}.jt-page-header--subsection[data-v-9e6bb356]{--jt-page-header-bg-color: #fff;--jt-page-header-height: 2rem;--jt-page-header-padding-x: 0;--jt-page-header-title-font-size: .875rem;--jt-page-header-title-marker-width: .1875rem;--jt-page-header-title-marker-height: .625rem}.jt-page-header__title[data-v-9e6bb356],.jt-page-header__operates[data-v-9e6bb356]{min-width:0}.jt-page-header__operates[data-v-9e6bb356]{display:flex;align-items:center;justify-content:flex-end;flex-shrink:0}.global-info-field-control[data-v-cc5c8aa9]{--global-info-control-height: 2rem;--global-info-control-border: #d9d9d9;--global-info-control-disabled-bg: #f9fafb;--global-info-control-radius: .25rem;width:100%;height:var(--global-info-control-height);min-width:0;font-size:.8125rem;box-sizing:border-box}.global-info-field-control[data-v-cc5c8aa9] *,.global-info-field-control[data-v-cc5c8aa9] *:before,.global-info-field-control[data-v-cc5c8aa9] *:after{box-sizing:border-box}.global-info-field-control.el-input[data-v-cc5c8aa9],.global-info-field-control.el-input-number[data-v-cc5c8aa9],.global-info-field-control.el-date-editor[data-v-cc5c8aa9],.global-info-field-control.el-select[data-v-cc5c8aa9]{width:100%;min-width:0;height:var(--global-info-control-height);line-height:var(--global-info-control-height)}.global-info-field-control.el-date-editor[data-v-cc5c8aa9]{--el-date-editor-width: 100%}.global-info-field-control.el-date-editor.el-input[data-v-cc5c8aa9],.global-info-field-control.el-date-editor.el-input__wrapper[data-v-cc5c8aa9]{width:100%;min-width:0;height:var(--global-info-control-height)}.global-info-field-control[data-v-cc5c8aa9] .el-input,.global-info-field-control[data-v-cc5c8aa9] .el-input-number,.global-info-field-control[data-v-cc5c8aa9] .el-date-editor,.global-info-field-control[data-v-cc5c8aa9] .el-select{width:100%;min-width:0;height:var(--global-info-control-height);line-height:var(--global-info-control-height)}.global-info-field-control[data-v-cc5c8aa9] .el-input__wrapper,.global-info-field-control[data-v-cc5c8aa9] .el-select__wrapper,.global-info-field-control[data-v-cc5c8aa9] .el-input-number__wrapper,.global-info-field-control[data-v-cc5c8aa9] .el-date-editor.el-input__wrapper,.global-info-field-control.el-date-editor.el-input__wrapper[data-v-cc5c8aa9]{width:100%;min-width:0;min-height:var(--global-info-control-height);height:var(--global-info-control-height);border-radius:var(--global-info-control-radius);background:#fff;box-shadow:0 0 0 .0625rem var(--global-info-control-border) inset}.global-info-field-control[data-v-cc5c8aa9] .el-input__inner,.global-info-field-control[data-v-cc5c8aa9] .el-select__selection,.global-info-field-control[data-v-cc5c8aa9] .el-input-number .el-input__inner,.global-info-field-control[data-v-cc5c8aa9] .el-date-editor .el-input__inner,.global-info-field-control.el-date-editor[data-v-cc5c8aa9] .el-input__inner{height:var(--global-info-control-height);line-height:var(--global-info-control-height)}.global-info-field-control[data-v-cc5c8aa9] .el-input__prefix,.global-info-field-control[data-v-cc5c8aa9] .el-input__suffix,.global-info-field-control[data-v-cc5c8aa9] .el-select__prefix,.global-info-field-control[data-v-cc5c8aa9] .el-select__suffix{height:var(--global-info-control-height)}.global-info-field-control[data-v-cc5c8aa9] .el-select__wrapper{padding-top:0;padding-bottom:0}.global-info-field-control[data-v-cc5c8aa9] .el-input__wrapper.is-disabled,.global-info-field-control[data-v-cc5c8aa9] .el-select__wrapper.is-disabled,.global-info-field-control[data-v-cc5c8aa9] .el-textarea__inner:disabled,.global-info-field-control[data-v-cc5c8aa9] .el-input-number.is-disabled .el-input__wrapper,.global-info-field-control.el-date-editor.is-disabled.el-input__wrapper[data-v-cc5c8aa9]{background-color:var(--global-info-control-disabled-bg);box-shadow:0 0 0 .0625rem #e5e5e5 inset}.global-info-field-control[data-v-cc5c8aa9] .el-input-number__decrease,.global-info-field-control[data-v-cc5c8aa9] .el-input-number__increase{height:calc(var(--global-info-control-height) / 2);line-height:calc(var(--global-info-control-height) / 2)}.global-info-field-control[data-v-cc5c8aa9] .el-textarea__inner{min-height:4.5rem;border-color:#d9d9d9;border-radius:var(--global-info-control-radius);font-size:.8125rem}.global-info-field-control--switch[data-v-cc5c8aa9]{display:inline-flex;height:var(--global-info-control-height);align-items:center}.global-info-field-control--file[data-v-cc5c8aa9]{--global-info-control-height: 2.25rem;display:flex;height:var(--global-info-control-height);min-width:0;align-items:center;justify-content:center;border:.0625rem solid #e60000;border-radius:var(--global-info-control-radius);background:#fdebeb;color:#e60000;cursor:pointer;line-height:var(--global-info-control-height)}.global-info-field-control--file.is-filled[data-v-cc5c8aa9]{border-color:#e5e5e5;background:#fff}.global-info-field-control--file.is-disabled[data-v-cc5c8aa9]{background:var(--global-info-control-disabled-bg);color:#0003;cursor:not-allowed}.global-info-field-control__file-input[data-v-cc5c8aa9]{display:none}.global-info-field-control__file-text[data-v-cc5c8aa9],.global-info-field-control__file-upload[data-v-cc5c8aa9]{min-width:0;overflow:hidden;font-size:.875rem;line-height:1.5rem;text-overflow:ellipsis;white-space:nowrap}.global-info-field-control--code[data-v-cc5c8aa9] .el-textarea__inner{font-family:Consolas,Monaco,Courier New,monospace}.global-info-field-value[data-v-08b37e58]{display:inline-block;min-height:2rem;color:#333;line-height:2rem;word-break:break-word}.global-info-field-value--html[data-v-08b37e58],.global-info-field-value--multi-row[data-v-08b37e58],.global-info-field-value--code[data-v-08b37e58]{white-space:pre-wrap}.global-info-field-value--code[data-v-08b37e58]{width:100%;margin:0;padding:.5rem .625rem;border:.0625rem solid #e5e5e5;border-radius:.25rem;background:#f9fafb;color:#333;font-family:Consolas,Monaco,Courier New,monospace;line-height:1.25rem}.global-info-field-value--file[data-v-08b37e58]{color:#e60000;text-decoration:underline;text-underline-offset:.1875rem}.global-info-form-renderer[data-v-b049423d]{width:100%}.global-info-form-renderer__label[data-v-b049423d]{display:inline-flex;align-items:center;gap:.125rem}.global-info-form-renderer__required[data-v-b049423d]{color:#e60000}.global-info-form-renderer[data-v-b049423d] .el-form-item{margin-bottom:1.125rem}.global-info-form-renderer[data-v-b049423d] .el-form-item__label{min-height:1.25rem;margin-bottom:.375rem;color:#0009;font-size:.8125rem;line-height:1.25rem}.global-info-form-renderer[data-v-b049423d] .el-input-number,.global-info-form-renderer[data-v-b049423d] .el-date-editor,.global-info-form-renderer[data-v-b049423d] .el-select{width:100%}.global-info-delete-confirm{min-width:15rem;padding:.75rem;border:.0625rem solid #ebeef5;border-radius:.375rem;box-shadow:0 .25rem .75rem #1f232924}.global-info-delete-confirm .el-popconfirm__main{color:#1f2329;font-size:.8125rem;line-height:1.25rem}.global-info-delete-confirm .el-popconfirm__action{margin-top:.75rem}.global-info-delete-confirm .el-button--primary{border-color:#e60000;background:#e60000}.global-info-table-renderer[data-v-5a2ec852]{width:100%}.global-info-table-renderer__table-scroll[data-v-5a2ec852]{width:100%;overflow-x:auto;border-radius:.75rem;background:#f9f9f9}.global-info-table-renderer__table[data-v-5a2ec852]{min-width:100%;background:#f9f9f9;color:#222;font-family:PingFang SC,-apple-system,BlinkMacSystemFont,sans-serif;font-size:.875rem;line-height:1.5rem;--el-table-bg-color: #f9f9f9;--el-table-tr-bg-color: #f9f9f9;--el-table-header-bg-color: #f9f9f9;--el-table-row-hover-bg-color: #f9f9f9;--el-table-border-color: transparent;--el-table-text-color: #222222;--el-table-header-text-color: #333333}.global-info-table-renderer__header[data-v-5a2ec852]{display:inline-flex;align-items:center;justify-content:center;gap:.125rem;color:#333;font-size:.875rem;font-weight:400;line-height:1.5rem;white-space:nowrap}.global-info-table-renderer__required[data-v-5a2ec852],.global-info-table-renderer__delete[data-v-5a2ec852]{color:#e60000}.global-info-table-renderer__delete[data-v-5a2ec852]{display:inline-flex;align-items:center;gap:.25rem;font-size:.875rem;line-height:1.5rem}.global-info-table-renderer__delete-icon[data-v-5a2ec852]{font-size:.875rem}.global-info-table-renderer[data-v-5a2ec852] .el-table__inner-wrapper:before,.global-info-table-renderer[data-v-5a2ec852] .el-table__border-left-patch,.global-info-table-renderer[data-v-5a2ec852] .el-table__border-bottom-patch{display:none}.global-info-table-renderer[data-v-5a2ec852] .el-table__header-wrapper th.el-table__cell,.global-info-table-renderer[data-v-5a2ec852] .el-table__body-wrapper td.el-table__cell{padding:.25rem 0;border-bottom:0;background:#f9f9f9}.global-info-table-renderer[data-v-5a2ec852] .el-table__header .cell,.global-info-table-renderer[data-v-5a2ec852] .el-table__body .cell{min-height:1.5rem;padding:0 .75rem;color:#222;font-size:.875rem;font-weight:400;line-height:1.5rem;text-align:center;white-space:nowrap}.global-info-table-renderer[data-v-5a2ec852] .el-table__body .cell>.global-info-field-control,.global-info-table-renderer[data-v-5a2ec852] .el-table__body .cell .global-info-field-control,.global-info-table-renderer[data-v-5a2ec852] .el-table__body .cell .el-input,.global-info-table-renderer[data-v-5a2ec852] .el-table__body .cell .el-input-number,.global-info-table-renderer[data-v-5a2ec852] .el-table__body .cell .el-select,.global-info-table-renderer[data-v-5a2ec852] .el-table__body .cell .el-date-editor{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.global-info-table-renderer[data-v-5a2ec852] .el-table__body .cell .el-input__wrapper,.global-info-table-renderer[data-v-5a2ec852] .el-table__body .cell .el-select__wrapper,.global-info-table-renderer[data-v-5a2ec852] .el-table__body .cell .el-input-number__wrapper,.global-info-table-renderer[data-v-5a2ec852] .el-table__body .cell .el-date-editor.el-input__wrapper{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.global-info-table-renderer--editing[data-v-5a2ec852] .el-table__body .cell{overflow:visible;text-overflow:initial}.global-info-table-renderer--editing[data-v-5a2ec852] .el-table__body .cell>.global-info-field-control,.global-info-table-renderer--editing[data-v-5a2ec852] .el-table__body .cell .global-info-field-control,.global-info-table-renderer--editing[data-v-5a2ec852] .el-table__body .cell .el-input,.global-info-table-renderer--editing[data-v-5a2ec852] .el-table__body .cell .el-input-number,.global-info-table-renderer--editing[data-v-5a2ec852] .el-table__body .cell .el-select,.global-info-table-renderer--editing[data-v-5a2ec852] .el-table__body .cell .el-date-editor,.global-info-table-renderer--editing[data-v-5a2ec852] .el-table__body .cell .el-input__wrapper,.global-info-table-renderer--editing[data-v-5a2ec852] .el-table__body .cell .el-select__wrapper,.global-info-table-renderer--editing[data-v-5a2ec852] .el-table__body .cell .el-input-number__wrapper,.global-info-table-renderer--editing[data-v-5a2ec852] .el-table__body .cell .el-date-editor.el-input__wrapper{min-width:7.5rem}.global-info-table-renderer[data-v-5a2ec852] .el-table__header .cell{color:#333}.global-info-table-renderer[data-v-5a2ec852] .el-table__fixed-right{background:#f9f9f9}.global-info-section-block[data-v-6c47a274]{width:100%;min-width:0;padding:0;background:transparent;border:0;border-radius:0}.global-info-section-block__header[data-v-6c47a274],.global-info-section-block__title-wrap[data-v-6c47a274],.global-info-section-block__actions[data-v-6c47a274]{display:flex;align-items:center}.global-info-section-block__header[data-v-6c47a274]{justify-content:space-between;gap:1rem;margin-bottom:.75rem}.global-info-section-block__title-wrap[data-v-6c47a274]{min-width:0;gap:.5rem}.global-info-section-block__marker[data-v-6c47a274]{width:.25rem;height:.25rem;flex:0 0 auto;background:#e60000;border-radius:50%}.global-info-section-block__title[data-v-6c47a274]{margin:0;overflow:hidden;color:#333;font-size:.875rem;font-weight:600;line-height:1.5rem;text-overflow:ellipsis;white-space:nowrap}.global-info-section-block__actions[data-v-6c47a274]{flex:0 0 auto;gap:.5rem}.global-info-section-block__edit[data-v-6c47a274],.global-info-section-block__cancel[data-v-6c47a274],.global-info-section-block__add[data-v-6c47a274],.global-info-section-block__confirm[data-v-6c47a274]{display:inline-flex;align-items:center;justify-content:center;gap:.25rem;min-width:3rem;height:1.5rem;padding:0 .75rem;border:.0625rem solid transparent;border-radius:.75rem;font-size:.75rem;font-weight:400;line-height:1.5rem;transition:color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease}.global-info-section-block__edit[data-v-6c47a274],.global-info-section-block__add[data-v-6c47a274]{color:#e60000;background:#fff;border-color:#ffd1d1}.global-info-section-block__edit[data-v-6c47a274]{gap:0}.global-info-section-block__cancel[data-v-6c47a274]{color:#0009;background:#f5f5f5;border-color:#e5e5e5}.global-info-section-block__edit[data-v-6c47a274]:hover,.global-info-section-block__edit[data-v-6c47a274]:focus,.global-info-section-block__add[data-v-6c47a274]:hover,.global-info-section-block__add[data-v-6c47a274]:focus{color:#e51e1b;background:#fdf7f7;border-color:#f7b2b2}.global-info-section-block__cancel[data-v-6c47a274]:hover,.global-info-section-block__cancel[data-v-6c47a274]:focus{color:#333;background:#e5e5e5}.global-info-section-block__confirm[data-v-6c47a274]{--el-button-text-color: #ffffff;--el-button-bg-color: #e60000;--el-button-border-color: #e60000;--el-button-hover-text-color: #ffffff;--el-button-hover-bg-color: #e51e1b;--el-button-hover-border-color: #e51e1b;--el-button-active-text-color: #ffffff;--el-button-active-bg-color: #e51e1b;--el-button-active-border-color: #e51e1b;color:#fff;background:#e60000;border-color:#e60000;box-shadow:0 .25rem .5rem #e6000029}.global-info-section-block__confirm[data-v-6c47a274]:hover,.global-info-section-block__confirm[data-v-6c47a274]:focus{color:#fff;background:#e51e1b;border-color:#e51e1b}.global-info-section-block__edit.is-disabled[data-v-6c47a274],.global-info-section-block__cancel.is-disabled[data-v-6c47a274],.global-info-section-block__add.is-disabled[data-v-6c47a274],.global-info-section-block__confirm.is-disabled[data-v-6c47a274]{color:#0003;background:#f5f5f5;border-color:transparent;box-shadow:none}.global-info-section-block__edit-icon[data-v-6c47a274]{width:.75rem;height:.75rem;flex:0 0 auto;display:block}.global-info-section-block__body[data-v-6c47a274]{min-width:0}.global-info-section-block__status[data-v-6c47a274]{min-height:5rem;display:flex;align-items:center;justify-content:center;color:#0006;font-size:.875rem}.global-info-group[data-v-c90b8de0]{width:100%;min-width:0;padding:1rem 1.25rem 1.25rem;background:#fff;border:.0625rem solid #e5e5e5;border-radius:.75rem}.global-info-group__header[data-v-c90b8de0]{display:flex;min-width:0;align-items:center;gap:.5rem;margin-bottom:1rem}.global-info-group__marker[data-v-c90b8de0]{width:.1875rem;height:.75rem;flex:0 0 auto;background:#e60000;border-radius:.125rem}.global-info-group__title[data-v-c90b8de0]{min-width:0;margin:0;overflow:hidden;color:#333;font-size:1rem;font-weight:600;line-height:1.5rem;text-overflow:ellipsis;white-space:nowrap}.global-info-group__body[data-v-c90b8de0]{min-width:0}.global-info-group__section[data-v-c90b8de0]{min-width:0;padding-bottom:1.25rem;border-bottom:.0625rem solid #e5e5e5}.global-info-group__section+.global-info-group__section[data-v-c90b8de0]{margin-top:1.25rem}.global-info-group__section[data-v-c90b8de0]:last-child{padding-bottom:0;border-bottom:0}.global-info-group__empty[data-v-c90b8de0]{min-height:5rem;display:flex;align-items:center;justify-content:center;color:#0006;font-size:.875rem}.global-info-sections[data-v-c0d12f5e]{display:flex;min-width:0;flex-direction:column;gap:.75rem}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CascaderComponentProps } from "element-plus";
|
|
2
|
+
export type JtCascaderProps = Omit<Partial<CascaderComponentProps>, "options"> & {
|
|
3
|
+
options?: any[];
|
|
4
|
+
};
|
|
5
|
+
export declare const jtCascaderDefaults: {
|
|
6
|
+
options: () => never[];
|
|
7
|
+
placeholder: string;
|
|
8
|
+
clearable: boolean;
|
|
9
|
+
persistent: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare function normalizeJtCascaderProps(props: JtCascaderProps): JtCascaderProps;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
3
|
-
options?: any[];
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<ElCascaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1
|
+
import { type JtCascaderProps } from "./cascaderProps";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<JtCascaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
3
|
clear: () => void;
|
|
7
4
|
"update:modelValue": (value: import("element-plus").CascaderValue | null | undefined) => void;
|
|
8
5
|
change: (value: import("element-plus").CascaderValue | null | undefined) => void;
|
|
@@ -11,7 +8,7 @@ declare const __VLS_export: import("vue").DefineComponent<ElCascaderProps, {}, {
|
|
|
11
8
|
visibleChange: (val: boolean) => void;
|
|
12
9
|
expandChange: (val: import("element-plus").CascaderValue) => void;
|
|
13
10
|
removeTag: (val: import("element-plus").CascaderNodeValue | import("element-plus").CascaderNodePathValue) => void;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<JtCascaderProps> & Readonly<{
|
|
15
12
|
onClear?: (() => any) | undefined;
|
|
16
13
|
"onUpdate:modelValue"?: ((value: import("element-plus").CascaderValue | null | undefined) => any) | undefined;
|
|
17
14
|
onChange?: ((value: import("element-plus").CascaderValue | null | undefined) => any) | undefined;
|
|
@@ -24,6 +21,7 @@ declare const __VLS_export: import("vue").DefineComponent<ElCascaderProps, {}, {
|
|
|
24
21
|
options: any[];
|
|
25
22
|
placeholder: string;
|
|
26
23
|
clearable: boolean;
|
|
24
|
+
persistent: boolean;
|
|
27
25
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
26
|
declare const _default: typeof __VLS_export;
|
|
29
27
|
export default _default;
|
|
@@ -5,26 +5,26 @@ declare const __VLS_export: import("vue").DefineComponent<JtSelectProps, {}, {},
|
|
|
5
5
|
change: (val: any) => void;
|
|
6
6
|
focus: (evt: FocusEvent) => void;
|
|
7
7
|
blur: (evt: FocusEvent) => void;
|
|
8
|
+
"visible-change": (visible: boolean) => void;
|
|
9
|
+
"remove-tag": (val: unknown) => void;
|
|
8
10
|
"popup-scroll": (args_0: {
|
|
9
11
|
scrollTop: number;
|
|
10
12
|
scrollLeft: number;
|
|
11
13
|
}) => void;
|
|
12
14
|
"end-reached": (direction: import("element-plus").ScrollbarDirection) => void;
|
|
13
|
-
"remove-tag": (val: unknown) => void;
|
|
14
|
-
"visible-change": (visible: boolean) => void;
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<JtSelectProps> & Readonly<{
|
|
16
16
|
onClear?: (() => any) | undefined;
|
|
17
17
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
18
18
|
onChange?: ((val: any) => any) | undefined;
|
|
19
19
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
20
20
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
21
|
+
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
22
|
+
"onRemove-tag"?: ((val: unknown) => any) | undefined;
|
|
21
23
|
"onPopup-scroll"?: ((args_0: {
|
|
22
24
|
scrollTop: number;
|
|
23
25
|
scrollLeft: number;
|
|
24
26
|
}) => any) | undefined;
|
|
25
27
|
"onEnd-reached"?: ((direction: import("element-plus").ScrollbarDirection) => any) | undefined;
|
|
26
|
-
"onRemove-tag"?: ((val: unknown) => any) | undefined;
|
|
27
|
-
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
29
|
placeholder: string;
|
|
30
30
|
clearable: boolean;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import type { GlobalInfoActions, GlobalInfoNode, GlobalInfoState } from '../model/types';
|
|
1
|
+
import type { GlobalInfoActions, GlobalInfoNode, GlobalInfoRenderConfig, GlobalInfoState } from '../model/types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
group: GlobalInfoNode;
|
|
4
4
|
children: GlobalInfoNode[];
|
|
5
5
|
state: GlobalInfoState;
|
|
6
6
|
actions: GlobalInfoActions;
|
|
7
7
|
index?: number;
|
|
8
|
+
renderConfig?: GlobalInfoRenderConfig;
|
|
8
9
|
};
|
|
9
10
|
declare var __VLS_1: {
|
|
10
11
|
group: GlobalInfoNode;
|
|
11
12
|
children: GlobalInfoNode[];
|
|
12
13
|
state: GlobalInfoState;
|
|
13
14
|
actions: GlobalInfoActions;
|
|
15
|
+
renderConfig: GlobalInfoRenderConfig | undefined;
|
|
14
16
|
title: string;
|
|
15
17
|
index: number | undefined;
|
|
16
18
|
isEmpty: boolean;
|
|
@@ -19,6 +21,7 @@ declare var __VLS_1: {
|
|
|
19
21
|
children: GlobalInfoNode[];
|
|
20
22
|
state: GlobalInfoState;
|
|
21
23
|
actions: GlobalInfoActions;
|
|
24
|
+
renderConfig: GlobalInfoRenderConfig | undefined;
|
|
22
25
|
index: number | undefined;
|
|
23
26
|
isEmpty: boolean;
|
|
24
27
|
}, __VLS_6: string, __VLS_7: {
|
|
@@ -29,6 +32,7 @@ declare var __VLS_1: {
|
|
|
29
32
|
sectionView: import("../index.ts").GlobalInfoSection | null;
|
|
30
33
|
state: GlobalInfoState;
|
|
31
34
|
actions: GlobalInfoActions;
|
|
35
|
+
renderConfig: GlobalInfoRenderConfig | undefined;
|
|
32
36
|
index: number;
|
|
33
37
|
editing: boolean;
|
|
34
38
|
sectionStatus: import("../index.ts").GlobalInfoSectionStatus;
|
|
@@ -44,6 +48,7 @@ declare var __VLS_1: {
|
|
|
44
48
|
sectionView: import("../index.ts").GlobalInfoSection | null;
|
|
45
49
|
state: GlobalInfoState;
|
|
46
50
|
actions: GlobalInfoActions;
|
|
51
|
+
renderConfig: GlobalInfoRenderConfig | undefined;
|
|
47
52
|
index: number;
|
|
48
53
|
editing: boolean;
|
|
49
54
|
sectionStatus: import("../index.ts").GlobalInfoSectionStatus;
|
|
@@ -59,6 +64,7 @@ declare var __VLS_1: {
|
|
|
59
64
|
isEmpty: boolean;
|
|
60
65
|
empty: boolean;
|
|
61
66
|
fields: import("../index.ts").GlobalInfoField[];
|
|
67
|
+
renderConfig: GlobalInfoRenderConfig | undefined;
|
|
62
68
|
state: GlobalInfoState;
|
|
63
69
|
actions: GlobalInfoActions;
|
|
64
70
|
viewModel?: import("../index.ts").GlobalInfoViewModel;
|
|
@@ -80,6 +86,7 @@ declare var __VLS_1: {
|
|
|
80
86
|
state: GlobalInfoState;
|
|
81
87
|
actions: GlobalInfoActions;
|
|
82
88
|
index: number;
|
|
89
|
+
renderConfig: GlobalInfoRenderConfig | undefined;
|
|
83
90
|
};
|
|
84
91
|
type __VLS_Slots = {} & {
|
|
85
92
|
[K in NonNullable<typeof __VLS_6>]?: (props: typeof __VLS_7) => any;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
type __VLS_Props =
|
|
3
|
-
service: GlobalInfoService;
|
|
4
|
-
adaptScene?: string;
|
|
5
|
-
emplid?: string | number;
|
|
6
|
-
autoLoad?: boolean;
|
|
7
|
-
initialActiveNodeKey?: string;
|
|
8
|
-
};
|
|
1
|
+
import type { GlobalInfoProps, GlobalInfoProviderSlotProps } from '../model/types';
|
|
2
|
+
type __VLS_Props = GlobalInfoProps;
|
|
9
3
|
type __VLS_Slots = {
|
|
10
4
|
default?: (props: GlobalInfoProviderSlotProps) => unknown;
|
|
11
5
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import type { GlobalInfoActions, GlobalInfoNode, GlobalInfoSection, GlobalInfoState } from '../model/types';
|
|
1
|
+
import type { GlobalInfoActions, GlobalInfoNode, GlobalInfoRenderConfig, GlobalInfoSection, GlobalInfoState } from '../model/types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
node: GlobalInfoNode;
|
|
4
4
|
state: GlobalInfoState;
|
|
5
5
|
actions: GlobalInfoActions;
|
|
6
6
|
hideHeader?: boolean;
|
|
7
|
+
renderConfig?: GlobalInfoRenderConfig;
|
|
7
8
|
onEdit?: (section: GlobalInfoSection, node: GlobalInfoNode) => void | Promise<void>;
|
|
8
9
|
onCancel?: (section: GlobalInfoSection, node: GlobalInfoNode) => void | Promise<void>;
|
|
9
10
|
onSave?: (section: GlobalInfoSection, node: GlobalInfoNode) => unknown | Promise<unknown>;
|
|
@@ -13,6 +14,7 @@ declare var __VLS_1: {
|
|
|
13
14
|
sectionView?: GlobalInfoSection | null;
|
|
14
15
|
node?: GlobalInfoNode | null;
|
|
15
16
|
fields?: import("../index.ts").GlobalInfoField[];
|
|
17
|
+
renderConfig?: GlobalInfoRenderConfig;
|
|
16
18
|
viewModel?: import("../index.ts").GlobalInfoViewModel;
|
|
17
19
|
title?: string;
|
|
18
20
|
editing: boolean;
|
|
@@ -35,6 +37,7 @@ declare var __VLS_1: {
|
|
|
35
37
|
sectionView?: GlobalInfoSection | null;
|
|
36
38
|
node?: GlobalInfoNode | null;
|
|
37
39
|
fields?: import("../index.ts").GlobalInfoField[];
|
|
40
|
+
renderConfig?: GlobalInfoRenderConfig;
|
|
38
41
|
viewModel?: import("../index.ts").GlobalInfoViewModel;
|
|
39
42
|
title?: string;
|
|
40
43
|
editing: boolean;
|
|
@@ -57,6 +60,7 @@ declare var __VLS_1: {
|
|
|
57
60
|
sectionView?: GlobalInfoSection | null;
|
|
58
61
|
node?: GlobalInfoNode | null;
|
|
59
62
|
fields?: import("../index.ts").GlobalInfoField[];
|
|
63
|
+
renderConfig?: GlobalInfoRenderConfig;
|
|
60
64
|
viewModel?: import("../index.ts").GlobalInfoViewModel;
|
|
61
65
|
title?: string;
|
|
62
66
|
editing: boolean;
|
|
@@ -79,6 +83,7 @@ declare var __VLS_1: {
|
|
|
79
83
|
sectionView?: GlobalInfoSection | null;
|
|
80
84
|
node?: GlobalInfoNode | null;
|
|
81
85
|
fields?: import("../index.ts").GlobalInfoField[];
|
|
86
|
+
renderConfig?: GlobalInfoRenderConfig;
|
|
82
87
|
viewModel?: import("../index.ts").GlobalInfoViewModel;
|
|
83
88
|
title?: string;
|
|
84
89
|
editing: boolean;
|
|
@@ -104,6 +109,7 @@ declare var __VLS_1: {
|
|
|
104
109
|
isEmpty: boolean;
|
|
105
110
|
empty: boolean;
|
|
106
111
|
fields: import("../index.ts").GlobalInfoField[];
|
|
112
|
+
renderConfig: GlobalInfoRenderConfig | undefined;
|
|
107
113
|
state: GlobalInfoState;
|
|
108
114
|
actions: GlobalInfoActions;
|
|
109
115
|
viewModel?: import("../index.ts").GlobalInfoViewModel;
|
|
@@ -123,6 +129,7 @@ declare var __VLS_1: {
|
|
|
123
129
|
sectionView?: GlobalInfoSection | null;
|
|
124
130
|
node?: GlobalInfoNode | null;
|
|
125
131
|
fields?: import("../index.ts").GlobalInfoField[];
|
|
132
|
+
renderConfig?: GlobalInfoRenderConfig;
|
|
126
133
|
viewModel?: import("../index.ts").GlobalInfoViewModel;
|
|
127
134
|
title?: string;
|
|
128
135
|
editing: boolean;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type { GlobalInfoActions, GlobalInfoNode, GlobalInfoSection, GlobalInfoState } from '../model/types';
|
|
1
|
+
import type { GlobalInfoActions, GlobalInfoNode, GlobalInfoRenderConfig, GlobalInfoSection, GlobalInfoState } from '../model/types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
section: GlobalInfoSection;
|
|
4
4
|
node?: GlobalInfoNode | null;
|
|
5
5
|
editing?: boolean;
|
|
6
6
|
state: GlobalInfoState;
|
|
7
7
|
actions: GlobalInfoActions;
|
|
8
|
+
renderConfig?: GlobalInfoRenderConfig;
|
|
8
9
|
};
|
|
9
10
|
declare var __VLS_2: string, __VLS_3: {
|
|
10
11
|
section: GlobalInfoSection;
|
|
@@ -14,6 +15,7 @@ declare var __VLS_2: string, __VLS_3: {
|
|
|
14
15
|
isEmpty: boolean;
|
|
15
16
|
empty: boolean;
|
|
16
17
|
fields: import("../index.ts").GlobalInfoField[];
|
|
18
|
+
renderConfig: GlobalInfoRenderConfig | undefined;
|
|
17
19
|
state: GlobalInfoState;
|
|
18
20
|
actions: GlobalInfoActions;
|
|
19
21
|
};
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import type { GlobalInfoActions, GlobalInfoNode, GlobalInfoState } from '../model/types';
|
|
1
|
+
import type { GlobalInfoActions, GlobalInfoNode, GlobalInfoRenderConfig, GlobalInfoState } from '../model/types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
nodes: GlobalInfoNode[];
|
|
4
4
|
state: GlobalInfoState;
|
|
5
5
|
actions: GlobalInfoActions;
|
|
6
|
+
renderConfig?: GlobalInfoRenderConfig;
|
|
6
7
|
};
|
|
7
8
|
declare var __VLS_2: string, __VLS_3: {
|
|
8
9
|
group: GlobalInfoNode;
|
|
9
10
|
children: GlobalInfoNode[];
|
|
10
11
|
state: GlobalInfoState;
|
|
11
12
|
actions: GlobalInfoActions;
|
|
13
|
+
renderConfig: GlobalInfoRenderConfig | undefined;
|
|
12
14
|
index: number;
|
|
13
15
|
isEmpty: boolean;
|
|
14
16
|
}, __VLS_5: {
|
|
@@ -16,6 +18,7 @@ declare var __VLS_2: string, __VLS_3: {
|
|
|
16
18
|
children: GlobalInfoNode[];
|
|
17
19
|
state: GlobalInfoState;
|
|
18
20
|
actions: GlobalInfoActions;
|
|
21
|
+
renderConfig: GlobalInfoRenderConfig | undefined;
|
|
19
22
|
index: number;
|
|
20
23
|
isEmpty: boolean;
|
|
21
24
|
}, __VLS_15: string, __VLS_16: {
|
|
@@ -26,6 +29,7 @@ declare var __VLS_2: string, __VLS_3: {
|
|
|
26
29
|
isEmpty: boolean;
|
|
27
30
|
empty: boolean;
|
|
28
31
|
fields: import("../index.ts").GlobalInfoField[];
|
|
32
|
+
renderConfig: GlobalInfoRenderConfig | undefined;
|
|
29
33
|
state: GlobalInfoState;
|
|
30
34
|
actions: GlobalInfoActions;
|
|
31
35
|
viewModel?: import("../index.ts").GlobalInfoViewModel;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { GlobalInfoField, GlobalInfoFieldOption, GlobalInfoRawRecord, GlobalInfoSection } from '../model/types';
|
|
2
|
+
export interface ResolveFieldOptionsTargetResult {
|
|
3
|
+
fieldKey: string;
|
|
4
|
+
currentField?: GlobalInfoField;
|
|
5
|
+
sourceModel: GlobalInfoRawRecord;
|
|
6
|
+
sourceRow?: GlobalInfoRawRecord;
|
|
7
|
+
missingDependField: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function resolveFieldOptionsTarget(section: GlobalInfoSection, field: GlobalInfoField | string, model?: GlobalInfoRawRecord): ResolveFieldOptionsTargetResult;
|
|
10
|
+
export declare function shouldReuseFieldOptions(field?: GlobalInfoField): boolean;
|
|
11
|
+
export declare function normalizeFieldOptionsResponse(response: unknown): GlobalInfoFieldOption[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { GlobalInfoField, GlobalInfoNode, GlobalInfoSection, GlobalInfoSectionTarget } from '../model/types';
|
|
2
|
+
export declare const getFieldKey: (field: GlobalInfoField) => string;
|
|
3
|
+
export declare const getSectionKey: (section: GlobalInfoSection) => string;
|
|
4
|
+
export declare const normalizeIdentityKey: (value: unknown) => string;
|
|
5
|
+
export declare const compactIdentityKeys: (values: unknown[]) => string[];
|
|
6
|
+
export declare const isGlobalInfoNodeTarget: (value: GlobalInfoSectionTarget) => value is GlobalInfoNode;
|
|
7
|
+
export declare const getNodeIdentityKeys: (node: GlobalInfoNode | null) => string[];
|
|
8
|
+
export declare const getSectionIdentityKeys: (section: GlobalInfoSection) => string[];
|
|
9
|
+
export declare function matchesNodeSection(section: GlobalInfoSection, node: GlobalInfoNode | null, targetKey?: string): boolean;
|
|
10
|
+
export declare function filterNodeSections(sections: GlobalInfoSection[], node: GlobalInfoNode | null, targetKey?: string): GlobalInfoSection[];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { GlobalInfoApiOperation, GlobalInfoExternalOperationParamsFormatter, GlobalInfoField, GlobalInfoNode, GlobalInfoRawRecord, GlobalInfoRequestSource, GlobalInfoRequestType, GlobalInfoSection, GlobalInfoService, GlobalInfoViewModel } from '../model/types';
|
|
2
|
+
type OperationContext = Parameters<NonNullable<GlobalInfoService['requestOperation']>>[1];
|
|
3
|
+
export declare const toRecord: (value: unknown) => GlobalInfoRawRecord;
|
|
4
|
+
export declare const isOperation: (value: unknown) => value is GlobalInfoApiOperation;
|
|
5
|
+
export declare function getOpenOperation(node: GlobalInfoNode): GlobalInfoApiOperation | undefined;
|
|
6
|
+
export declare function getQueryOperation(section: GlobalInfoSection | null, node: GlobalInfoNode | null, infSetId?: string): GlobalInfoApiOperation | undefined;
|
|
7
|
+
export declare function getEditOperation(section: GlobalInfoSection): GlobalInfoApiOperation | undefined;
|
|
8
|
+
export interface FormatInnerRequestParamsInput {
|
|
9
|
+
formatter?: GlobalInfoExternalOperationParamsFormatter;
|
|
10
|
+
params?: GlobalInfoRawRecord;
|
|
11
|
+
operation: GlobalInfoApiOperation;
|
|
12
|
+
type?: GlobalInfoRequestType;
|
|
13
|
+
requestSource?: GlobalInfoRequestSource;
|
|
14
|
+
tagId?: string | number | null;
|
|
15
|
+
section?: GlobalInfoSection | null;
|
|
16
|
+
field?: GlobalInfoField | null;
|
|
17
|
+
model?: GlobalInfoRawRecord;
|
|
18
|
+
row?: GlobalInfoRawRecord;
|
|
19
|
+
node?: GlobalInfoNode | null;
|
|
20
|
+
viewModel?: GlobalInfoViewModel | null;
|
|
21
|
+
sections?: GlobalInfoSection[];
|
|
22
|
+
activeNode?: GlobalInfoNode | null;
|
|
23
|
+
activeSection?: GlobalInfoSection | null;
|
|
24
|
+
}
|
|
25
|
+
export declare function formatInnerRequestParams(input: FormatInnerRequestParamsInput): Promise<GlobalInfoRawRecord | undefined>;
|
|
26
|
+
export interface RequestOperationWithFormattedParamsInput {
|
|
27
|
+
service: GlobalInfoService;
|
|
28
|
+
formatter?: GlobalInfoExternalOperationParamsFormatter;
|
|
29
|
+
operation: GlobalInfoApiOperation;
|
|
30
|
+
context: OperationContext;
|
|
31
|
+
viewModel?: GlobalInfoViewModel | null;
|
|
32
|
+
sections?: GlobalInfoSection[];
|
|
33
|
+
activeNode?: GlobalInfoNode | null;
|
|
34
|
+
activeSection?: GlobalInfoSection | null;
|
|
35
|
+
}
|
|
36
|
+
export declare function requestOperationWithFormattedParams(input: RequestOperationWithFormattedParamsInput): Promise<unknown>;
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { GlobalInfoNode, GlobalInfoSection, GlobalInfoSectionStatus, GlobalInfoViewModel } from '../model/types';
|
|
2
|
+
export interface MergeSectionsIntoStoreInput {
|
|
3
|
+
currentMap: Record<string, GlobalInfoSection>;
|
|
4
|
+
currentAliasMap: Record<string, string>;
|
|
5
|
+
currentOrder: string[];
|
|
6
|
+
currentStatusMap: Record<string, GlobalInfoSectionStatus>;
|
|
7
|
+
editingSectionKeys: string[];
|
|
8
|
+
nextViewModel: GlobalInfoViewModel;
|
|
9
|
+
node: GlobalInfoNode | null;
|
|
10
|
+
targetKey?: string;
|
|
11
|
+
activeSection?: GlobalInfoSection | null;
|
|
12
|
+
}
|
|
13
|
+
export interface MergeSectionsIntoStoreResult {
|
|
14
|
+
sectionMap: Record<string, GlobalInfoSection>;
|
|
15
|
+
sectionAliasMap: Record<string, string>;
|
|
16
|
+
sectionOrder: string[];
|
|
17
|
+
sectionStatusMap: Record<string, GlobalInfoSectionStatus>;
|
|
18
|
+
matchedSection: GlobalInfoSection | null;
|
|
19
|
+
targetSections: GlobalInfoSection[];
|
|
20
|
+
}
|
|
21
|
+
export declare function mergeSectionsIntoStore(input: MergeSectionsIntoStoreInput): MergeSectionsIntoStoreResult;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type { GlobalInfoActions, GlobalInfoNode, GlobalInfoSection, GlobalInfoSectionStatus, GlobalInfoService, GlobalInfoState, GlobalInfoViewModel } from '../model/types';
|
|
1
|
+
import type { GlobalInfoActions, GlobalInfoExternalOperationParamsFormatter, GlobalInfoNode, GlobalInfoSection, GlobalInfoSectionStatus, GlobalInfoService, GlobalInfoState, GlobalInfoViewModel } from '../model/types';
|
|
2
2
|
export interface UseGlobalInfoControllerOptions<TService extends GlobalInfoService = GlobalInfoService> {
|
|
3
3
|
service: TService;
|
|
4
4
|
adaptScene?: string;
|
|
5
5
|
emplid?: string | number;
|
|
6
6
|
autoLoad?: boolean;
|
|
7
7
|
initialActiveNodeKey?: string;
|
|
8
|
+
formatOperationParams?: GlobalInfoExternalOperationParamsFormatter;
|
|
8
9
|
}
|
|
9
10
|
export declare const useGlobalInfoController: <TService extends GlobalInfoService = GlobalInfoService>(options: UseGlobalInfoControllerOptions<TService>) => {
|
|
10
11
|
viewModel: import("vue").ShallowRef<GlobalInfoViewModel | null, GlobalInfoViewModel | null>;
|
|
@@ -11,4 +11,4 @@ export { default as GlobalInfoFieldValue } from './renderers/GlobalInfoFieldValu
|
|
|
11
11
|
export { default as GlobalInfoDeleteConfirm } from './renderers/GlobalInfoDeleteConfirm.vue';
|
|
12
12
|
export { useGlobalInfoController } from './controller/useGlobalInfoController';
|
|
13
13
|
export { buildGlobalInfoUpdatePayload, createEmptyGlobalInfoViewModel, isGlobalInfoNode, mergeGlobalInfoChildren, normalizeGlobalInfoDetail, normalizeGlobalInfoTree, resolveGlobalInfoRenderType, } from './model/adapter';
|
|
14
|
-
export type { GlobalInfoActions, GlobalInfoApiOperation, GlobalInfoDetailParams, GlobalInfoField, GlobalInfoFieldOption, GlobalInfoInfoSet, GlobalInfoNode, GlobalInfoOperationContext, GlobalInfoOpenTreeParams, GlobalInfoProviderSlotProps, GlobalInfoRawRecord, GlobalInfoRenderType, GlobalInfoScheme, GlobalInfoSection, GlobalInfoSectionLoadTarget, GlobalInfoSectionSlotScope, GlobalInfoSectionStatus, GlobalInfoSectionTarget, GlobalInfoService, GlobalInfoSetMark, GlobalInfoState, GlobalInfoTemplateTreeParams, GlobalInfoUpdateParams, GlobalInfoViewModel, } from './model/types';
|
|
14
|
+
export type { GlobalInfoActions, GlobalInfoApiOperation, GlobalInfoDetailParams, GlobalInfoExternalOperationParamsFormatter, GlobalInfoExternalOperationParamsFormatterContext, GlobalInfoField, GlobalInfoFieldBusinessChangeContext, GlobalInfoFieldBusinessChangeHandler, GlobalInfoFieldHiddenContext, GlobalInfoFieldHiddenRule, GlobalInfoFieldOption, GlobalInfoInfoSet, GlobalInfoNode, GlobalInfoOperationContext, GlobalInfoOpenTreeParams, GlobalInfoProviderSlotProps, GlobalInfoRawRecord, GlobalInfoRequestSource, GlobalInfoRequestType, GlobalInfoRenderConfig, GlobalInfoRenderType, GlobalInfoScheme, GlobalInfoSection, GlobalInfoSectionLoadTarget, GlobalInfoSectionSlotScope, GlobalInfoSectionStatus, GlobalInfoSectionTarget, GlobalInfoService, GlobalInfoSetMark, GlobalInfoState, GlobalInfoTemplateTreeParams, GlobalInfoUpdateParams, GlobalInfoViewModel, } from './model/types';
|
|
@@ -1,11 +1,23 @@
|
|
|
1
|
-
import type { GlobalInfoField, GlobalInfoFieldValue } from './types';
|
|
1
|
+
import type { GlobalInfoField, GlobalInfoFieldValue, GlobalInfoRawRecord, GlobalInfoRenderConfig, GlobalInfoSection } from './types';
|
|
2
2
|
export type GlobalInfoFieldControlKind = 'text' | 'textarea' | 'select' | 'date' | 'number' | 'switch' | 'file' | 'html' | 'code' | 'multi-row' | 'empty';
|
|
3
3
|
export type GlobalInfoFieldDisplayKind = 'text' | 'select' | 'switch' | 'file' | 'html' | 'code' | 'multi-row' | 'empty';
|
|
4
|
-
type GlobalInfoFieldKindSource = Pick<GlobalInfoField, 'type' | 'renderType'> & Partial<Pick<GlobalInfoField, 'fieldType'>>;
|
|
4
|
+
type GlobalInfoFieldKindSource = Pick<GlobalInfoField, 'type' | 'renderType'> & Partial<Pick<GlobalInfoField, 'fieldType' | 'frontInputType'>>;
|
|
5
|
+
export interface GlobalInfoFieldVisibilityRuntime {
|
|
6
|
+
/** 表单场景传当前 model;表格场景可传当前行或兜底行。 */
|
|
7
|
+
values?: GlobalInfoRawRecord;
|
|
8
|
+
/** 表格场景传完整 rows,动态隐藏规则会逐行判断。 */
|
|
9
|
+
rows?: GlobalInfoRawRecord[];
|
|
10
|
+
}
|
|
5
11
|
export declare function resolveGlobalInfoFieldControlKind(field: GlobalInfoFieldKindSource): GlobalInfoFieldControlKind;
|
|
6
12
|
export declare function resolveGlobalInfoFieldDisplayKind(field: GlobalInfoFieldKindSource): GlobalInfoFieldDisplayKind;
|
|
7
13
|
export declare function isEmptyGlobalInfoFieldValue(value: GlobalInfoFieldValue): boolean;
|
|
8
14
|
export declare function isGlobalInfoErrorValue(value: unknown): boolean;
|
|
9
15
|
export declare function formatGlobalInfoFieldValue(field: GlobalInfoField, value: GlobalInfoFieldValue, emptyText?: string): string;
|
|
16
|
+
export declare function normalizeGlobalInfoSelectValues(field: GlobalInfoField, value: GlobalInfoFieldValue): GlobalInfoFieldValue[];
|
|
17
|
+
export declare function toGlobalInfoSelectModelValue(field: GlobalInfoField, value: GlobalInfoFieldValue): GlobalInfoFieldValue;
|
|
18
|
+
export declare function fromGlobalInfoSelectModelValue(field: GlobalInfoField, value: GlobalInfoFieldValue): GlobalInfoFieldValue;
|
|
10
19
|
export declare function toGlobalInfoBooleanValue(value: GlobalInfoFieldValue): boolean;
|
|
20
|
+
export declare function resolveGlobalInfoVisibleFields(fields: GlobalInfoField[], section?: GlobalInfoSection | null, config?: GlobalInfoRenderConfig, runtime?: GlobalInfoFieldVisibilityRuntime): GlobalInfoField[];
|
|
21
|
+
export declare function isGlobalInfoSequenceField(field: GlobalInfoField): boolean;
|
|
22
|
+
export declare function isGlobalInfoSeqNoField(field: GlobalInfoField): boolean;
|
|
11
23
|
export {};
|