iking-web-ui-pro 0.2.52 → 0.2.53
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/IKExpandCollapse/ik.index.es.js +3 -3
- package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
- package/dist/IKExpandCollapse/style.css +1 -1
- package/dist/IKHorizontalStepBar/ik.index.es.js +93 -93
- package/dist/IKHorizontalStepBar/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +2098 -2017
- package/dist/IKPreviewFile/ik.index.umd.js +49 -49
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IKSearch/ik.index.es.js +1035 -1035
- package/dist/IKSearch/ik.index.umd.js +2 -2
- package/dist/IKVerticalStepBar/ik.index.es.js +3 -3
- package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
- package/dist/IKVerticalStepBar/style.css +1 -1
- package/dist/{IKApprovalProcess → IkApprovalProcess}/ik.index.es.js +853 -853
- package/dist/IkApprovalProcess/ik.index.umd.js +1 -0
- package/dist/{IKApprovalProcess → IkApprovalProcess}/style.css +1 -1
- package/dist/{IKApprovalProcessDetail → IkApprovalProcessDetail}/ik.index.es.js +2794 -2713
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +226 -0
- package/dist/IkApprovalProcessDetail/style.css +1 -0
- package/dist/IkBaseDialog/ik.index.es.js +4 -4
- package/dist/IkBaseDialog/ik.index.umd.js +1 -1
- package/dist/IkBaseDialog/style.css +1 -1
- package/dist/IkBottomOperate/ik.index.es.js +60 -60
- package/dist/IkBottomOperate/ik.index.umd.js +1 -1
- package/dist/IkBottomOperate/style.css +1 -1
- package/dist/IkBtnContent/style.css +1 -1
- package/dist/IkBtnSetting/ik.index.es.js +111 -111
- package/dist/IkBtnSetting/ik.index.umd.js +1 -1
- package/dist/IkBtnSetting/style.css +1 -1
- package/dist/{IKCalendar → IkCalendar}/ik.index.es.js +2372 -2355
- package/dist/IkCalendar/ik.index.umd.js +1 -0
- package/dist/{IKCalendar → IkCalendar}/style.css +1 -1
- package/dist/IkCollapseCard/ik.index.es.js +4 -4
- package/dist/IkCollapseCard/ik.index.umd.js +1 -1
- package/dist/IkCollapseCard/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +2016 -1935
- package/dist/IkDescription/ik.index.umd.js +49 -49
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +2317 -2236
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +50 -50
- package/dist/IkDetailPreviewFiles/style.css +1 -1
- package/dist/IkFileIcon/ik.index.es.js +394 -394
- package/dist/IkFileIcon/ik.index.umd.js +1 -1
- package/dist/IkFullCalendar/ik.index.es.js +601 -584
- package/dist/IkFullCalendar/ik.index.umd.js +1 -1
- package/dist/IkIconPicker/ik.index.es.js +3 -3
- package/dist/IkIconPicker/ik.index.umd.js +1 -1
- package/dist/IkIconPicker/style.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +30 -30
- package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
- package/dist/IkMonacoEditor/style.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +1467 -1467
- package/dist/IkPageFull/ik.index.umd.js +3 -3
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPickerUser/ik.index.es.js +839 -839
- package/dist/IkPickerUser/ik.index.umd.js +1 -1
- package/dist/IkPlayer/ik.index.es.js +1062 -981
- package/dist/IkPlayer/ik.index.umd.js +52 -52
- package/dist/IkPreviewFileDialog/ik.index.es.js +791 -710
- package/dist/IkPreviewFileDialog/ik.index.umd.js +50 -50
- package/dist/IkPreviewFileDialog/style.css +1 -1
- package/dist/IkRadioGroup/ik.index.es.js +5 -5
- package/dist/IkRadioGroup/ik.index.umd.js +1 -1
- package/dist/IkRadioGroup/style.css +1 -1
- package/dist/IkSchedule/ik.index.es.js +1553 -1536
- package/dist/IkSchedule/ik.index.umd.js +1 -1
- package/dist/IkSchedule/style.css +1 -1
- package/dist/IkSideText/ik.index.es.js +29 -29
- package/dist/IkSideText/ik.index.umd.js +1 -1
- package/dist/IkSideText/style.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +9 -9
- package/dist/IkSvgIcon/ik.index.umd.js +1 -1
- package/dist/IkSvgIcon/style.css +1 -1
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +108 -108
- package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
- package/dist/IkTinymce/ik.index.es.js +26332 -26791
- package/dist/IkTinymce/ik.index.umd.js +61 -61
- package/dist/IkUploadFile/ik.index.es.js +1341 -1260
- package/dist/IkUploadFile/ik.index.umd.js +50 -50
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +278 -278
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/style.css +1 -1
- package/dist/index.es.js +37603 -37964
- package/dist/index.umd.js +133 -133
- package/dist/src/components/IKExpandCollapse/index.d.ts +5 -5
- package/dist/src/components/IKExpandCollapse/src/IKExpandCollapse.vue.d.ts +5 -5
- package/dist/src/components/IKHorizontalStepBar/index.d.ts +30 -90
- package/dist/src/components/IKHorizontalStepBar/src/IKHorizontalStepBar.vue.d.ts +7 -7
- package/dist/src/components/IKPreviewFile/index.d.ts +13 -101
- package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +7 -7
- package/dist/src/components/IKSearch/index.d.ts +24 -84
- package/dist/src/components/IKSearch/src/IKSearch.vue.d.ts +10 -10
- package/dist/src/components/IKSearch/src/IkSearchAuto.d.ts +5 -5
- package/dist/src/components/IKSearchHead/index.d.ts +5 -5
- package/dist/src/components/IKSearchHead/src/IKSearchHead.vue.d.ts +5 -5
- package/dist/src/components/IKVerticalStepBar/index.d.ts +5 -5
- package/dist/src/components/IKVerticalStepBar/src/IKVerticalStepBar.vue.d.ts +5 -5
- package/dist/src/components/IkApprovalProcess/index.d.ts +7 -7
- package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +7 -7
- package/dist/src/components/IkApprovalProcessDetail/index.d.ts +5 -5
- package/dist/src/components/IkApprovalProcessDetail/src/IKApprovalProcessDetail.vue.d.ts +5 -5
- package/dist/src/components/IkAutoCard/index.d.ts +6 -12
- package/dist/src/components/IkAutoCard/src/IkAutoCard.vue.d.ts +4 -4
- package/dist/src/components/IkBaseDialog/index.d.ts +6 -35
- package/dist/src/components/IkBaseDialog/src/CloseIcon.vue.d.ts +4 -4
- package/dist/src/components/IkBaseDialog/src/IkBaseDialog.vue.d.ts +4 -4
- package/dist/src/components/IkBottomOperate/index.d.ts +15 -43
- package/dist/src/components/IkBottomOperate/src/IkBottomOperate.vue.d.ts +7 -7
- package/dist/src/components/IkBtnContent/index.d.ts +7 -5
- package/dist/src/components/IkBtnContent/src/index.d.ts +7 -5
- package/dist/src/components/IkBtnSetting/index.d.ts +5 -5
- package/dist/src/components/IkBtnSetting/src/IkBtnSetting.vue.d.ts +5 -5
- package/dist/src/components/IkCalendar/index.d.ts +5 -5
- package/dist/src/components/IkCalendar/src/IKCalendar.vue.d.ts +5 -5
- package/dist/src/components/IkCollapseCard/index.d.ts +6 -12
- package/dist/src/components/IkCollapseCard/src/index.vue.d.ts +4 -4
- package/dist/src/components/IkCurrencyInput/index.d.ts +5 -5
- package/dist/src/components/IkCurrencyInput/src/IkCurrencyInput.vue.d.ts +5 -5
- package/dist/src/components/IkDescription/index.d.ts +6 -39
- package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +4 -4
- package/dist/src/components/IkDetailPreviewFiles/index.d.ts +4 -4
- package/dist/src/components/IkDetailPreviewFiles/src/IkDetailPreviewFiles.vue.d.ts +4 -4
- package/dist/src/components/IkDragList/index.d.ts +13 -130
- package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +6 -6
- package/dist/src/components/IkEmpty/index.d.ts +6 -19
- package/dist/src/components/IkEmpty/src/index.vue.d.ts +4 -4
- package/dist/src/components/IkFileIcon/index.d.ts +4 -4
- package/dist/src/components/IkFileIcon/src/IkFileIcon.vue.d.ts +4 -4
- package/dist/src/components/IkFullCalendar/index.d.ts +6 -6
- package/dist/src/components/IkIconPicker/index.d.ts +4 -4
- package/dist/src/components/IkIconPicker/src/index.vue.d.ts +4 -4
- package/dist/src/components/IkMonacoEditor/index.d.ts +167 -10
- package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +167 -10
- package/dist/src/components/IkOnlyOffice/index.d.ts +4 -4
- package/dist/src/components/IkOnlyOffice/src/IkOnlyOffice.vue.d.ts +4 -4
- package/dist/src/components/IkPageFull/index.d.ts +54 -143
- package/dist/src/components/IkPageFull/src/IkDialog.d.ts +369 -5
- package/dist/src/components/IkPageFull/src/IkPage.vue.d.ts +5 -5
- package/dist/src/components/IkPageFull/src/IkPageHead.vue.d.ts +5 -5
- package/dist/src/components/IkPageFull/src/IkPageTable.vue.d.ts +8 -8
- package/dist/src/components/IkPageFull/src/IkSearchAuto.d.ts +6 -6
- package/dist/src/components/IkPageFull/src/index.vue.d.ts +20 -14
- package/dist/src/components/IkPageTabs/index.d.ts +13 -38
- package/dist/src/components/IkPageTabs/src/IkPageTabs.vue.d.ts +6 -6
- package/dist/src/components/IkPickerUser/index.d.ts +10 -10
- package/dist/src/components/IkPickerUser/src/avatar/Avatar.vue.d.ts +4 -4
- package/dist/src/components/IkPickerUser/src/list/GroupList.vue.d.ts +6 -6
- package/dist/src/components/IkPickerUser/src/list/PostList.vue.d.ts +6 -6
- package/dist/src/components/IkPickerUser/src/list/RoleList.vue.d.ts +6 -6
- package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +10 -10
- package/dist/src/components/IkPickerUser/src/svg/close_svg.vue.d.ts +1 -1
- package/dist/src/components/IkPickerUser/src/svg/group_svg.vue.d.ts +1 -1
- package/dist/src/components/IkPickerUser/src/svg/post_svg.vue.d.ts +1 -1
- package/dist/src/components/IkPickerUser/src/svg/role_svg.vue.d.ts +1 -1
- package/dist/src/components/IkPickerUser/src/svg/search_svg.vue.d.ts +1 -1
- package/dist/src/components/IkPickerUser/src/use-picker-data.d.ts +1 -1
- package/dist/src/components/IkPlayer/index.d.ts +10 -26
- package/dist/src/components/IkPlayer/src/Player.vue.d.ts +5 -5
- package/dist/src/components/IkPreviewFileDialog/index.d.ts +4 -4
- package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +4 -4
- package/dist/src/components/IkPrintConfig/index.d.ts +5 -5
- package/dist/src/components/IkPrintView/index.d.ts +5 -5
- package/dist/src/components/IkRadioGroup/index.d.ts +4 -4
- package/dist/src/components/IkRadioGroup/src/index.vue.d.ts +4 -4
- package/dist/src/components/IkSchedule/index.d.ts +17 -48
- package/dist/src/components/IkSelectTag/index.d.ts +10 -25
- package/dist/src/components/IkSelectTag/src/index.vue.d.ts +5 -5
- package/dist/src/components/IkSideText/IkLinearIcon.vue.d.ts +4 -4
- package/dist/src/components/IkSideText/IkSideText.vue.d.ts +4 -4
- package/dist/src/components/IkSideText/index.d.ts +4 -4
- package/dist/src/components/IkStatu/index.d.ts +5 -5
- package/dist/src/components/IkStatu/src/index.vue.d.ts +5 -5
- package/dist/src/components/IkStatuOver/index.d.ts +5 -5
- package/dist/src/components/IkStatuOver/src/index.vue.d.ts +5 -5
- package/dist/src/components/IkSvgIcon/index.d.ts +12 -12
- package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +4 -4
- package/dist/src/components/IkTemplateOfficeConfig/index.d.ts +6 -6
- package/dist/src/components/IkTinymce/index.d.ts +5 -5
- package/dist/src/components/IkTinymce/src/index.vue.d.ts +5 -5
- package/dist/src/components/IkTooltip/index.d.ts +6 -19
- package/dist/src/components/IkTooltip/src/index.vue.d.ts +4 -4
- package/dist/src/components/IkTree/IkTree.vue.d.ts +807 -127
- package/dist/src/components/IkTree/index.d.ts +2630 -611
- package/dist/src/components/IkUploadFile/index.d.ts +14 -135
- package/dist/src/components/IkUploadFile/src/index.vue.d.ts +7 -7
- package/dist/src/components/IkUploadImage/index.d.ts +10 -79
- package/dist/src/components/IkUploadImage/src/index.vue.d.ts +5 -5
- package/dist/src/components/IkUploadImage/src/loading.vue.d.ts +1 -1
- package/dist/src/components/Provider/ProviderConfig.vue.d.ts +4 -4
- package/dist/src/components/Provider/index.d.ts +6 -27
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/IKApprovalProcess/ik.index.umd.js +0 -1
- package/dist/IKApprovalProcessDetail/ik.index.umd.js +0 -226
- package/dist/IKApprovalProcessDetail/style.css +0 -1
- package/dist/IKCalendar/ik.index.umd.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-v-f0925ff8]{padding:0;margin:0}.demo-app[data-v-f0925ff8]{width:70%;margin:auto}.icon[data-v-f0925ff8]{width:10%!important;text-align:center}.icon svg[data-v-f0925ff8]{width:25px;height:25px;vertical-align:middle}.to[data-v-f0925ff8]{width:4%!important;display:inline-block;margin:auto;text-align:center}[data-v-f0925ff8] .fc-event{width:calc(100% - 4px);padding:0 4px}[data-v-f0925ff8] .fc-button{color:var(--el-color-white);border-color:var(--el-color-primary);background-color:var(--el-color-primary)}[data-v-f0925ff8] .fc-button:hover{color:var(--el-color-white);border-color:var(--el-color-primary-light-3);background-color:var(--el-color-primary-light-3);outline:none}[data-v-f0925ff8] .fc-button-primary:disabled{background-color:var(--el-color-primary-light-5);border-color:var(--el-color-primary-light-5);color:var(--el-color-white)}[data-v-f0925ff8] .fc-button-active{background-color:var(--el-color-primary-dark-2)!important;border-color:var(--el-color-primary-dark-2)!important;color:var(--el-color-white)!important;box-shadow:none!important}[data-v-f0925ff8] .fc .fc-button-primary:not(:disabled):active{background-color:var(--el-color-primary-dark-2)!important;border-color:var(--el-color-primary-dark-2)!important;color:var(--el-color-white)!important;box-shadow:none!important}[data-v-f0925ff8] .fc .fc-button-primary:focus{box-shadow:none!important}[data-v-f0925ff8] .fc .fc-h-event{background-color:inherit;border:none}[data-v-f0925ff8] .fc .fc-view table.fc-scrollgrid thead{line-height:40px}.title-line[data-v-f0925ff8]{width:100%;display:flex;justify-content:space-between;align-items:center;color:var(--el-color-primary-dark-2)}.title-line .title[data-v-f0925ff8]{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ik-full-calendar[data-v-f0925ff8]{width:100%;height:100%}.event-title[data-v-f0925ff8]{display:flex;align-items:center;color:var(--ik-text-color)}[data-v-f0925ff8] .fc .fc-timeGridWeek-view .fc-v-event .event-title,[data-v-f0925ff8] .fc .fc-timeGridDay-view .fc-v-event .event-title{color:var(--el-color-white)}.event-title[data-v-f0925ff8]:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px}.allday[data-v-f0925ff8]:before{background-color:var(--ik-success)}.no-allday[data-v-f0925ff8]:before{background-color:var(--ik-error)}.event-title-time[data-v-f0925ff8]{color:var(--ik-vice-text-color)}[data-v-f0925ff8] .fc .fc-timeGridWeek-view .fc-v-event .event-title .event-title-time,[data-v-f0925ff8] .fc .fc-timeGridDay-view .fc-v-event .event-title .event-title-time{color:var(--el-color-info-light-8)}.event-title-text[data-v-f0925ff8]{margin-left:4px}.row-title[data-v-
|
|
1
|
+
[data-v-f0925ff8]{padding:0;margin:0}.demo-app[data-v-f0925ff8]{width:70%;margin:auto}.icon[data-v-f0925ff8]{width:10%!important;text-align:center}.icon svg[data-v-f0925ff8]{width:25px;height:25px;vertical-align:middle}.to[data-v-f0925ff8]{width:4%!important;display:inline-block;margin:auto;text-align:center}[data-v-f0925ff8] .fc-event{width:calc(100% - 4px);padding:0 4px}[data-v-f0925ff8] .fc-button{color:var(--el-color-white);border-color:var(--el-color-primary);background-color:var(--el-color-primary)}[data-v-f0925ff8] .fc-button:hover{color:var(--el-color-white);border-color:var(--el-color-primary-light-3);background-color:var(--el-color-primary-light-3);outline:none}[data-v-f0925ff8] .fc-button-primary:disabled{background-color:var(--el-color-primary-light-5);border-color:var(--el-color-primary-light-5);color:var(--el-color-white)}[data-v-f0925ff8] .fc-button-active{background-color:var(--el-color-primary-dark-2)!important;border-color:var(--el-color-primary-dark-2)!important;color:var(--el-color-white)!important;box-shadow:none!important}[data-v-f0925ff8] .fc .fc-button-primary:not(:disabled):active{background-color:var(--el-color-primary-dark-2)!important;border-color:var(--el-color-primary-dark-2)!important;color:var(--el-color-white)!important;box-shadow:none!important}[data-v-f0925ff8] .fc .fc-button-primary:focus{box-shadow:none!important}[data-v-f0925ff8] .fc .fc-h-event{background-color:inherit;border:none}[data-v-f0925ff8] .fc .fc-view table.fc-scrollgrid thead{line-height:40px}.title-line[data-v-f0925ff8]{width:100%;display:flex;justify-content:space-between;align-items:center;color:var(--el-color-primary-dark-2)}.title-line .title[data-v-f0925ff8]{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ik-full-calendar[data-v-f0925ff8]{width:100%;height:100%}.event-title[data-v-f0925ff8]{display:flex;align-items:center;color:var(--ik-text-color)}[data-v-f0925ff8] .fc .fc-timeGridWeek-view .fc-v-event .event-title,[data-v-f0925ff8] .fc .fc-timeGridDay-view .fc-v-event .event-title{color:var(--el-color-white)}.event-title[data-v-f0925ff8]:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px}.allday[data-v-f0925ff8]:before{background-color:var(--ik-success)}.no-allday[data-v-f0925ff8]:before{background-color:var(--ik-error)}.event-title-time[data-v-f0925ff8]{color:var(--ik-vice-text-color)}[data-v-f0925ff8] .fc .fc-timeGridWeek-view .fc-v-event .event-title .event-title-time,[data-v-f0925ff8] .fc .fc-timeGridDay-view .fc-v-event .event-title .event-title-time{color:var(--el-color-info-light-8)}.event-title-text[data-v-f0925ff8]{margin-left:4px}.row-title[data-v-e29a45f8]{display:flex}.ik-svg-icon.ik-icon-span[data-v-e29a45f8]:not(:first-child){margin-left:var(--ik-margin-s-12)}.ik-schedule[data-v-e308f501]{width:100%;height:100%;display:flex}.ik-schedule__left[data-v-e308f501]{height:100%;display:flex;flex-direction:column;flex-grow:1;flex-shrink:0}.ik-schedule__header[data-v-e308f501]{flex-shrink:0;flex-grow:0;text-align:left;display:flex}.ik-schedule__title[data-v-e308f501]{font-family:Arial-BoldMT,Arial Bold,Arial,sans-serif;font-weight:700;flex-shrink:0}.ik-schedule__body[data-v-e308f501]{flex-grow:1;margin-top:16px;height:calc(100% - 56px)}.ik-schedule__header-right[data-v-e308f501]{display:flex;justify-content:space-between;flex-grow:1}.ik-schedule__header-right-item[data-v-e308f501]{border-left:4px solid;line-height:32px}.ik-schedule__right-title[data-v-e308f501]{text-align:left;line-height:32px}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as k, computed as p, resolveComponent as f, openBlock as n, createElementBlock as
|
|
1
|
+
import { defineComponent as k, computed as p, resolveComponent as f, openBlock as n, createElementBlock as i, normalizeClass as v, normalizeStyle as c, createCommentVNode as d, createElementVNode as u, createBlock as g, withCtx as m, createTextVNode as x, toDisplayString as y, useCssVars as $, unref as I, ref as T, Fragment as C, createVNode as L } from "vue";
|
|
2
2
|
import { ikColor as z } from "iking-utils-pro";
|
|
3
3
|
const S = (t, o) => {
|
|
4
4
|
if (t.install = (e) => {
|
|
@@ -10,8 +10,8 @@ const S = (t, o) => {
|
|
|
10
10
|
return t;
|
|
11
11
|
}, _ = (t, o) => {
|
|
12
12
|
const e = t.__vccOpts || t;
|
|
13
|
-
for (const [l,
|
|
14
|
-
e[l] =
|
|
13
|
+
for (const [l, s] of o)
|
|
14
|
+
e[l] = s;
|
|
15
15
|
return e;
|
|
16
16
|
}, N = {
|
|
17
17
|
key: 0,
|
|
@@ -54,7 +54,7 @@ const S = (t, o) => {
|
|
|
54
54
|
const o = t, e = p(() => o), l = p(() => {
|
|
55
55
|
const { name: a } = e.value;
|
|
56
56
|
return /^http?:\/\//.test(a) ? "img" : /i-[^:]+:[^:]+/.test(a) ? "unocss" : a != null && a.startsWith("iksig") ? "iksig" : a != null && a.includes(":") ? "iconify" : a != null && a.startsWith("iksvg") ? "svg" : "i";
|
|
57
|
-
}),
|
|
57
|
+
}), s = p(() => {
|
|
58
58
|
const a = [];
|
|
59
59
|
if (e.value.flip)
|
|
60
60
|
switch (e.value.flip) {
|
|
@@ -76,16 +76,16 @@ const S = (t, o) => {
|
|
|
76
76
|
...a.length && { transform: a.join(" ") },
|
|
77
77
|
padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
|
|
78
78
|
...e.value.color && l.value !== "iksig" ? {
|
|
79
|
-
"--ik-
|
|
80
|
-
"--ik-
|
|
79
|
+
"--ik-icon-deep-color": e.value.color,
|
|
80
|
+
"--ik-icon-shallow-color": e.value.colorLight || z.setOpacity(e.value.color, e.value.opacity)
|
|
81
81
|
} : {}
|
|
82
82
|
};
|
|
83
83
|
return e.value.width && (r.width = r.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), r;
|
|
84
84
|
});
|
|
85
85
|
return (a, r) => {
|
|
86
86
|
const b = f("el-tooltip"), h = f("el-button");
|
|
87
|
-
return e.value.tableIconType === "icon" || !e.value.tableIconType ? (n(),
|
|
88
|
-
e.value.notip || !e.value.title ? (n(),
|
|
87
|
+
return e.value.tableIconType === "icon" || !e.value.tableIconType ? (n(), i("span", N, [
|
|
88
|
+
e.value.notip || !e.value.title ? (n(), i(
|
|
89
89
|
"i",
|
|
90
90
|
{
|
|
91
91
|
key: 0,
|
|
@@ -102,34 +102,34 @@ const S = (t, o) => {
|
|
|
102
102
|
active: e.value.active,
|
|
103
103
|
disabled: e.value.disabled
|
|
104
104
|
}]),
|
|
105
|
-
style: c(
|
|
105
|
+
style: c(s.value)
|
|
106
106
|
},
|
|
107
107
|
[
|
|
108
108
|
d(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
109
|
-
l.value === "iksig" ? (n(),
|
|
109
|
+
l.value === "iksig" ? (n(), i(
|
|
110
110
|
"i",
|
|
111
111
|
{
|
|
112
112
|
key: 0,
|
|
113
113
|
class: v(`iksig ${e.value.name}`),
|
|
114
|
-
style: c(
|
|
114
|
+
style: c(s.value)
|
|
115
115
|
},
|
|
116
116
|
null,
|
|
117
117
|
6
|
|
118
118
|
/* CLASS, STYLE */
|
|
119
|
-
)) : l.value === "svg" ? (n(),
|
|
119
|
+
)) : l.value === "svg" ? (n(), i("svg", j, [
|
|
120
120
|
u("use", {
|
|
121
121
|
"xlink:href": `#${e.value.name}`
|
|
122
122
|
}, null, 8, E)
|
|
123
|
-
])) : l.value === "img" ? (n(),
|
|
123
|
+
])) : l.value === "img" ? (n(), i("img", {
|
|
124
124
|
key: 2,
|
|
125
125
|
src: e.value.name,
|
|
126
126
|
class: "h-[1em] w-[1em]"
|
|
127
|
-
}, null, 8, V)) : (n(),
|
|
127
|
+
}, null, 8, V)) : (n(), i(
|
|
128
128
|
"i",
|
|
129
129
|
{
|
|
130
130
|
key: 3,
|
|
131
131
|
class: v(e.value.name),
|
|
132
|
-
style: c(
|
|
132
|
+
style: c(s.value)
|
|
133
133
|
},
|
|
134
134
|
null,
|
|
135
135
|
6
|
|
@@ -159,33 +159,33 @@ const S = (t, o) => {
|
|
|
159
159
|
error: e.value.error || e.value.type === "error",
|
|
160
160
|
active: e.value.active
|
|
161
161
|
}]),
|
|
162
|
-
style: c(
|
|
162
|
+
style: c(s.value)
|
|
163
163
|
},
|
|
164
164
|
[
|
|
165
|
-
l.value === "iksig" ? (n(),
|
|
165
|
+
l.value === "iksig" ? (n(), i(
|
|
166
166
|
"i",
|
|
167
167
|
{
|
|
168
168
|
key: 0,
|
|
169
169
|
class: v(`iksig ${e.value.name}`),
|
|
170
|
-
style: c(
|
|
170
|
+
style: c(s.value)
|
|
171
171
|
},
|
|
172
172
|
null,
|
|
173
173
|
6
|
|
174
174
|
/* CLASS, STYLE */
|
|
175
|
-
)) : l.value === "svg" ? (n(),
|
|
175
|
+
)) : l.value === "svg" ? (n(), i("svg", G, [
|
|
176
176
|
u("use", {
|
|
177
177
|
"xlink:href": `#${e.value.name}`
|
|
178
178
|
}, null, 8, O)
|
|
179
|
-
])) : l.value === "img" ? (n(),
|
|
179
|
+
])) : l.value === "img" ? (n(), i("img", {
|
|
180
180
|
key: 2,
|
|
181
181
|
src: e.value.name,
|
|
182
182
|
class: "h-[1em] w-[1em]"
|
|
183
|
-
}, null, 8, U)) : (n(),
|
|
183
|
+
}, null, 8, U)) : (n(), i(
|
|
184
184
|
"i",
|
|
185
185
|
{
|
|
186
186
|
key: 3,
|
|
187
187
|
class: v(e.value.name),
|
|
188
|
-
style: c(
|
|
188
|
+
style: c(s.value)
|
|
189
189
|
},
|
|
190
190
|
null,
|
|
191
191
|
6
|
|
@@ -216,7 +216,7 @@ const S = (t, o) => {
|
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
218
|
});
|
|
219
|
-
const F = /* @__PURE__ */ _(W, [["__scopeId", "data-v-
|
|
219
|
+
const F = /* @__PURE__ */ _(W, [["__scopeId", "data-v-e29a45f8"]]), X = S(F), Y = () => ({
|
|
220
220
|
getLinearGradient: (o) => {
|
|
221
221
|
const e = z.hexToRGB(o).replace(/[^\d,]/g, "").split(",").map(Number);
|
|
222
222
|
return `linear-gradient(to top, ${o} 4%, rgb(${e[0]},${e[1] + 50},${e[2]}) 88%)`;
|
|
@@ -238,11 +238,11 @@ const F = /* @__PURE__ */ _(W, [["__scopeId", "data-v-52806adf"]]), X = S(F), Y
|
|
|
238
238
|
}
|
|
239
239
|
},
|
|
240
240
|
setup(t) {
|
|
241
|
-
$((
|
|
241
|
+
$((s) => ({
|
|
242
242
|
"435077c3": l.value
|
|
243
243
|
}));
|
|
244
244
|
const o = t, { getLinearGradient: e } = Y(), l = p(() => `${o.size}px`);
|
|
245
|
-
return (
|
|
245
|
+
return (s, a) => (n(), i(
|
|
246
246
|
"div",
|
|
247
247
|
{
|
|
248
248
|
class: "form-icon",
|
|
@@ -322,13 +322,13 @@ const D = /* @__PURE__ */ _(q, [["__scopeId", "data-v-0bc5a180"]]), R = { class:
|
|
|
322
322
|
}
|
|
323
323
|
},
|
|
324
324
|
setup(t) {
|
|
325
|
-
const o = t, e = (r) => r ? r.startsWith("http") ? r : `${o.loadUrl}${r}` : "", l = p(() => e(o.avatar)),
|
|
326
|
-
|
|
325
|
+
const o = t, e = (r) => r ? r.startsWith("http") ? r : `${o.loadUrl}${r}` : "", l = p(() => e(o.avatar)), s = T(!!o.avatar), a = () => {
|
|
326
|
+
s.value = !1;
|
|
327
327
|
};
|
|
328
328
|
return (r, b) => {
|
|
329
329
|
var w;
|
|
330
330
|
const h = f("el-avatar"), B = f("el-tooltip");
|
|
331
|
-
return n(),
|
|
331
|
+
return n(), i("div", R, [
|
|
332
332
|
u("div", A, [
|
|
333
333
|
t.avatarType === "url" ? (n(), g(h, {
|
|
334
334
|
key: 0,
|
|
@@ -340,7 +340,7 @@ const D = /* @__PURE__ */ _(q, [["__scopeId", "data-v-0bc5a180"]]), R = { class:
|
|
|
340
340
|
onError: a
|
|
341
341
|
}, {
|
|
342
342
|
default: m(() => [
|
|
343
|
-
|
|
343
|
+
s.value ? d("v-if", !0) : (n(), i(
|
|
344
344
|
C,
|
|
345
345
|
{ key: 0 },
|
|
346
346
|
[
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(c,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("iking-utils-pro")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro"],e):(c=typeof globalThis<"u"?globalThis:c||self,e(c.index={},c.vue,c["iking-utils-pro"]))})(this,function(c,e,
|
|
1
|
+
(function(c,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("iking-utils-pro")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro"],e):(c=typeof globalThis<"u"?globalThis:c||self,e(c.index={},c.vue,c["iking-utils-pro"]))})(this,function(c,e,p){"use strict";const u=(l,n)=>{if(l.install=t=>{for(const a of[l,...Object.values(n??{})])t.component(a.name,a)},n)for(const[t,a]of Object.entries(n))l[t]=a;return l},r=(l,n)=>{const t=l.__vccOpts||l;for(const[a,i]of n)t[a]=i;return t},g={key:0,class:"ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"},k={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},h=["xlink:href"],v=["src"],_={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},B=["xlink:href"],b=["src"],x=e.defineComponent({name:"IkSvgIcon",__name:"index",props:{active:{type:Boolean,default:!1},bg:{type:Boolean,default:!1},color:{},colorLight:{},disabled:{type:Boolean,default:!1},error:{type:Boolean},flip:{},name:{},notip:{type:Boolean,default:!1},opacity:{default:.5},padding:{default:"6px"},primary:{type:Boolean},rotate:{},showBg:{type:Boolean,default:!1},size:{default:""},success:{type:Boolean},tableIconType:{},title:{},type:{},warning:{type:Boolean},width:{}},setup(l){const n=l,t=e.computed(()=>n),a=e.computed(()=>{const{name:o}=t.value;return/^http?:\/\//.test(o)?"img":/i-[^:]+:[^:]+/.test(o)?"unocss":o!=null&&o.startsWith("iksig")?"iksig":o!=null&&o.includes(":")?"iconify":o!=null&&o.startsWith("iksvg")?"svg":"i"}),i=e.computed(()=>{const o=[];if(t.value.flip)switch(t.value.flip){case"horizontal":o.push("rotateY(180deg)");break;case"vertical":o.push("rotateX(180deg)");break;case"both":o.push("rotateX(180deg)"),o.push("rotateY(180deg)");break}t.value.rotate&&o.push(`rotate(${t.value.rotate%360}deg)`);const s={pointerEvents:t.value.disabled?"none":"auto",...t.value.color&&{color:t.value.color},...t.value.size&&{fontSize:typeof t.value.size=="number"?`${t.value.size}px`:t.value.size},...o.length&&{transform:o.join(" ")},padding:t.value.showBg||t.value.bg?t.value.padding:0,...t.value.color&&a.value!=="iksig"?{"--ik-icon-deep-color":t.value.color,"--ik-icon-shallow-color":t.value.colorLight||p.ikColor.setOpacity(t.value.color,t.value.opacity)}:{}};return t.value.width&&(s.width=s.height=typeof t.value.width=="number"?`${t.value.width}px`:t.value.width),s});return(o,s)=>{const y=e.resolveComponent("el-tooltip"),d=e.resolveComponent("el-button");return t.value.tableIconType==="icon"||!t.value.tableIconType?(e.openBlock(),e.createElementBlock("span",g,[t.value.notip||!t.value.title?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[o.name]:a.value==="unocss","show-bg":t.value.showBg||t.value.bg,default:t.value.size==="default",small:t.value.size==="small",big:t.value.size==="big",warning:t.value.warning||t.value.type==="warning",primary:t.value.primary||t.value.type==="primary",success:o.success||t.value.type==="success",error:t.value.error||t.value.type==="error",active:t.value.active,disabled:t.value.disabled}]),style:e.normalizeStyle(i.value)},[e.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),a.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${t.value.name}`),style:e.normalizeStyle(i.value)},null,6)):a.value==="svg"?(e.openBlock(),e.createElementBlock("svg",k,[e.createElementVNode("use",{"xlink:href":`#${t.value.name}`},null,8,h)])):a.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:t.value.name,class:"h-[1em] w-[1em]"},null,8,v)):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(t.value.name),style:e.normalizeStyle(i.value)},null,6))],6)):(e.openBlock(),e.createBlock(y,{key:1,content:t.value.title,placement:"top"},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[o.name]:a.value==="unocss","show-bg":t.value.showBg||t.value.bg,default:t.value.size==="default",small:t.value.size==="small",big:t.value.size==="big",warning:t.value.warning||t.value.type==="warning",primary:o.primary||t.value.type==="primary",success:o.success||t.value.type==="success",error:t.value.error||t.value.type==="error",active:t.value.active}]),style:e.normalizeStyle(i.value)},[a.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${t.value.name}`),style:e.normalizeStyle(i.value)},null,6)):a.value==="svg"?(e.openBlock(),e.createElementBlock("svg",_,[e.createElementVNode("use",{"xlink:href":`#${t.value.name}`},null,8,B)])):a.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:t.value.name,class:"h-[1em] w-[1em]"},null,8,b)):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(t.value.name),style:e.normalizeStyle(i.value)},null,6))],6)]),_:1},8,["content"]))])):(e.openBlock(),e.createBlock(d,{key:1,type:["warning","error"].includes(t.value.type)?"danger":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value.title),1)]),_:1},8,["type"]))}}}),j="",w=u(r(x,[["__scopeId","data-v-e29a45f8"]])),z=()=>({getLinearGradient:n=>{const t=p.ikColor.hexToRGB(n).replace(/[^\d,]/g,"").split(",").map(Number);return`linear-gradient(to top, ${n} 4%, rgb(${t[0]},${t[1]+50},${t[2]}) 88%)`}}),S=e.defineComponent({__name:"IkLinearIcon",props:{icon:{type:String,default:""},backgroundColor:{type:String,default:""},size:{type:Number,default:40}},setup(l){e.useCssVars(i=>({"435077c3":a.value}));const n=l,{getLinearGradient:t}=z(),a=e.computed(()=>`${n.size}px`);return(i,o)=>(e.openBlock(),e.createElementBlock("div",{class:"form-icon",style:e.normalizeStyle({backgroundImage:e.unref(t)(l.backgroundColor||"#28b8a4")})},[e.createElementVNode("i",{class:e.normalizeClass(`ikflow ${l.icon}`)},null,2)],4))}}),D="",C=r(S,[["__scopeId","data-v-0bc5a180"]]),I={class:"side-text items-center"},T={class:"side-left flex items-center"},E={class:"side-right"},$={class:"text-over-line"},N={class:"text-over-line"},V=e.defineComponent({__name:"IkSideText",props:{name:{type:String,default:""},avatar:{type:String,default:""},avatarType:{type:String,default:"url"},showIconBg:{type:Boolean,default:!1},iconType:{type:String,default:"info"},iconBackgroundColor:{type:String,default:""},text:{type:String,default:""},subText:{type:String,default:""},shape:{type:String,default:"square"},size:{type:Number,default:50},iconSize:{type:String||Number,default:"small"},loadUrl:{type:String,default:""}},setup(l){const n=l,t=s=>s?s.startsWith("http")?s:`${n.loadUrl}${s}`:"",a=e.computed(()=>t(n.avatar)),i=e.ref(!!n.avatar),o=()=>{i.value=!1};return(s,y)=>{var f;const d=e.resolveComponent("el-avatar"),L=e.resolveComponent("el-tooltip");return e.openBlock(),e.createElementBlock("div",I,[e.createElementVNode("div",T,[l.avatarType==="url"?(e.openBlock(),e.createBlock(d,{key:0,style:{"--el-avatar-bg-color":"var(--ik-color-primary)"},size:l.size,shape:l.shape,src:a.value,fit:"contain",onError:o},{default:e.withCtx(()=>[i.value?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.name.slice(-2)),1)],64))]),_:1},8,["size","shape","src"])):e.createCommentVNode("v-if",!0),l.avatarType==="icon"?(e.openBlock(),e.createBlock(e.unref(w),{key:1,name:`iksvg_${(f=l.avatar)==null?void 0:f.replace("iksvg_","")}`,"show-bg":l.showIconBg,type:l.iconType,style:e.normalizeStyle({fontSize:l.showIconBg?"34px":"50px"}),size:l.iconSize},null,8,["name","show-bg","type","style","size"])):e.createCommentVNode("v-if",!0),l.avatarType==="linearIcon"?(e.openBlock(),e.createBlock(C,{key:2,icon:l.avatar,"background-color":l.iconBackgroundColor},null,8,["icon","background-color"])):e.createCommentVNode("v-if",!0)]),e.createElementVNode("div",E,[e.createElementVNode("p",$,e.toDisplayString(l.text),1),e.createVNode(L,{content:l.subText},{default:e.withCtx(()=>[e.createElementVNode("p",N,e.toDisplayString(l.subText),1)]),_:1},8,["content"])])])}}}),G="",m=u(r(V,[["__scopeId","data-v-75852e7e"]]));c.IkSideText=m,c.default=m,Object.defineProperties(c,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.row-title[data-v-
|
|
1
|
+
.row-title[data-v-e29a45f8]{display:flex}.ik-svg-icon.ik-icon-span[data-v-e29a45f8]:not(:first-child){margin-left:var(--ik-margin-s-12)}.form-icon[data-v-0bc5a180]{--ik-color-white: #fff;display:flex;align-items:center;justify-content:center;width:var(--435077c3);height:var(--435077c3);border-radius:4px}.form-icon i[data-v-0bc5a180]{font-size:27px;color:var(--ik-color-white)}.side-text[data-v-75852e7e]{display:flex}.side-text .side-left[data-v-75852e7e]{margin-right:12px}.side-text .side-right[data-v-75852e7e]{display:inline-flex;flex-direction:column;justify-content:center;overflow:hidden;text-overflow:ellipsis}.side-text .side-right p[data-v-75852e7e]{overflow:hidden;text-overflow:ellipsis}.side-text .side-right p[data-v-75852e7e]:last-child{color:#b5b5c3}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as h, computed as v, resolveComponent as
|
|
2
|
-
import { ikColor as
|
|
1
|
+
import { defineComponent as h, computed as v, resolveComponent as y, openBlock as a, createElementBlock as s, normalizeClass as u, normalizeStyle as r, createCommentVNode as k, createElementVNode as p, createBlock as d, withCtx as g, createTextVNode as _, toDisplayString as w } from "vue";
|
|
2
|
+
import { ikColor as b } from "iking-utils-pro";
|
|
3
3
|
const B = (o, n) => {
|
|
4
4
|
if (o.install = (e) => {
|
|
5
5
|
for (const t of [o, ...Object.values(n ?? {})])
|
|
@@ -71,14 +71,14 @@ const B = (o, n) => {
|
|
|
71
71
|
...l.length && { transform: l.join(" ") },
|
|
72
72
|
padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
|
|
73
73
|
...e.value.color && t.value !== "iksig" ? {
|
|
74
|
-
"--ik-
|
|
75
|
-
"--ik-
|
|
74
|
+
"--ik-icon-deep-color": e.value.color,
|
|
75
|
+
"--ik-icon-shallow-color": e.value.colorLight || b.setOpacity(e.value.color, e.value.opacity)
|
|
76
76
|
} : {}
|
|
77
77
|
};
|
|
78
78
|
return e.value.width && (c.width = c.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), c;
|
|
79
79
|
});
|
|
80
80
|
return (l, c) => {
|
|
81
|
-
const f =
|
|
81
|
+
const f = y("el-tooltip"), m = y("el-button");
|
|
82
82
|
return e.value.tableIconType === "icon" || !e.value.tableIconType ? (a(), s("span", z, [
|
|
83
83
|
e.value.notip || !e.value.title ? (a(), s(
|
|
84
84
|
"i",
|
|
@@ -133,7 +133,7 @@ const B = (o, n) => {
|
|
|
133
133
|
],
|
|
134
134
|
6
|
|
135
135
|
/* CLASS, STYLE */
|
|
136
|
-
)) : (a(),
|
|
136
|
+
)) : (a(), d(f, {
|
|
137
137
|
key: 1,
|
|
138
138
|
content: e.value.title,
|
|
139
139
|
placement: "top"
|
|
@@ -194,13 +194,13 @@ const B = (o, n) => {
|
|
|
194
194
|
_: 1
|
|
195
195
|
/* STABLE */
|
|
196
196
|
}, 8, ["content"]))
|
|
197
|
-
])) : (a(),
|
|
197
|
+
])) : (a(), d(m, {
|
|
198
198
|
key: 1,
|
|
199
199
|
type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
|
|
200
200
|
}, {
|
|
201
201
|
default: g(() => [
|
|
202
202
|
_(
|
|
203
|
-
|
|
203
|
+
w(e.value.title),
|
|
204
204
|
1
|
|
205
205
|
/* TEXT */
|
|
206
206
|
)
|
|
@@ -216,7 +216,7 @@ const O = (o, n) => {
|
|
|
216
216
|
for (const [t, i] of n)
|
|
217
217
|
e[t] = i;
|
|
218
218
|
return e;
|
|
219
|
-
}, E = /* @__PURE__ */ O(T, [["__scopeId", "data-v-
|
|
219
|
+
}, E = /* @__PURE__ */ O(T, [["__scopeId", "data-v-e29a45f8"]]), L = B(E);
|
|
220
220
|
export {
|
|
221
221
|
L as IkSvgIcon,
|
|
222
222
|
L as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue"),require("iking-utils-pro")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro"],l):(a=typeof globalThis<"u"?globalThis:a||self,l(a.index={},a.vue,a["iking-utils-pro"]))})(this,function(a,l,u){"use strict";const p=(n,s)=>{if(n.install=e=>{for(const o of[n,...Object.values(s??{})])e.component(o.name,o)},s)for(const[e,o]of Object.entries(s))n[e]=o;return n},
|
|
1
|
+
(function(a,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue"),require("iking-utils-pro")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro"],l):(a=typeof globalThis<"u"?globalThis:a||self,l(a.index={},a.vue,a["iking-utils-pro"]))})(this,function(a,l,u){"use strict";const p=(n,s)=>{if(n.install=e=>{for(const o of[n,...Object.values(s??{})])e.component(o.name,o)},s)for(const[e,o]of Object.entries(s))n[e]=o;return n},m={key:0,class:"ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"},d={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},y=["xlink:href"],f=["src"],g={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},k=["xlink:href"],v=["src"],h=l.defineComponent({name:"IkSvgIcon",__name:"index",props:{active:{type:Boolean,default:!1},bg:{type:Boolean,default:!1},color:{},colorLight:{},disabled:{type:Boolean,default:!1},error:{type:Boolean},flip:{},name:{},notip:{type:Boolean,default:!1},opacity:{default:.5},padding:{default:"6px"},primary:{type:Boolean},rotate:{},showBg:{type:Boolean,default:!1},size:{default:""},success:{type:Boolean},tableIconType:{},title:{},type:{},warning:{type:Boolean},width:{}},setup(n){const s=n,e=l.computed(()=>s),o=l.computed(()=>{const{name:t}=e.value;return/^http?:\/\//.test(t)?"img":/i-[^:]+:[^:]+/.test(t)?"unocss":t!=null&&t.startsWith("iksig")?"iksig":t!=null&&t.includes(":")?"iconify":t!=null&&t.startsWith("iksvg")?"svg":"i"}),i=l.computed(()=>{const t=[];if(e.value.flip)switch(e.value.flip){case"horizontal":t.push("rotateY(180deg)");break;case"vertical":t.push("rotateX(180deg)");break;case"both":t.push("rotateX(180deg)"),t.push("rotateY(180deg)");break}e.value.rotate&&t.push(`rotate(${e.value.rotate%360}deg)`);const r={pointerEvents:e.value.disabled?"none":"auto",...e.value.color&&{color:e.value.color},...e.value.size&&{fontSize:typeof e.value.size=="number"?`${e.value.size}px`:e.value.size},...t.length&&{transform:t.join(" ")},padding:e.value.showBg||e.value.bg?e.value.padding:0,...e.value.color&&o.value!=="iksig"?{"--ik-icon-deep-color":e.value.color,"--ik-icon-shallow-color":e.value.colorLight||u.ikColor.setOpacity(e.value.color,e.value.opacity)}:{}};return e.value.width&&(r.width=r.height=typeof e.value.width=="number"?`${e.value.width}px`:e.value.width),r});return(t,r)=>{const _=l.resolveComponent("el-tooltip"),B=l.resolveComponent("el-button");return e.value.tableIconType==="icon"||!e.value.tableIconType?(l.openBlock(),l.createElementBlock("span",m,[e.value.notip||!e.value.title?(l.openBlock(),l.createElementBlock("i",{key:0,class:l.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[t.name]:o.value==="unocss","show-bg":e.value.showBg||e.value.bg,default:e.value.size==="default",small:e.value.size==="small",big:e.value.size==="big",warning:e.value.warning||e.value.type==="warning",primary:e.value.primary||e.value.type==="primary",success:t.success||e.value.type==="success",error:e.value.error||e.value.type==="error",active:e.value.active,disabled:e.value.disabled}]),style:l.normalizeStyle(i.value)},[l.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),o.value==="iksig"?(l.openBlock(),l.createElementBlock("i",{key:0,class:l.normalizeClass(`iksig ${e.value.name}`),style:l.normalizeStyle(i.value)},null,6)):o.value==="svg"?(l.openBlock(),l.createElementBlock("svg",d,[l.createElementVNode("use",{"xlink:href":`#${e.value.name}`},null,8,y)])):o.value==="img"?(l.openBlock(),l.createElementBlock("img",{key:2,src:e.value.name,class:"h-[1em] w-[1em]"},null,8,f)):(l.openBlock(),l.createElementBlock("i",{key:3,class:l.normalizeClass(e.value.name),style:l.normalizeStyle(i.value)},null,6))],6)):(l.openBlock(),l.createBlock(_,{key:1,content:e.value.title,placement:"top"},{default:l.withCtx(()=>[l.createElementVNode("i",{class:l.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[t.name]:o.value==="unocss","show-bg":e.value.showBg||e.value.bg,default:e.value.size==="default",small:e.value.size==="small",big:e.value.size==="big",warning:e.value.warning||e.value.type==="warning",primary:t.primary||e.value.type==="primary",success:t.success||e.value.type==="success",error:e.value.error||e.value.type==="error",active:e.value.active}]),style:l.normalizeStyle(i.value)},[o.value==="iksig"?(l.openBlock(),l.createElementBlock("i",{key:0,class:l.normalizeClass(`iksig ${e.value.name}`),style:l.normalizeStyle(i.value)},null,6)):o.value==="svg"?(l.openBlock(),l.createElementBlock("svg",g,[l.createElementVNode("use",{"xlink:href":`#${e.value.name}`},null,8,k)])):o.value==="img"?(l.openBlock(),l.createElementBlock("img",{key:2,src:e.value.name,class:"h-[1em] w-[1em]"},null,8,v)):(l.openBlock(),l.createElementBlock("i",{key:3,class:l.normalizeClass(e.value.name),style:l.normalizeStyle(i.value)},null,6))],6)]),_:1},8,["content"]))])):(l.openBlock(),l.createBlock(B,{key:1,type:["warning","error"].includes(e.value.type)?"danger":""},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(e.value.title),1)]),_:1},8,["type"]))}}}),w="",c=p(((n,s)=>{const e=n.__vccOpts||n;for(const[o,i]of s)e[o]=i;return e})(h,[["__scopeId","data-v-e29a45f8"]]));a.IkSvgIcon=c,a.default=c,Object.defineProperties(a,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/dist/IkSvgIcon/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.row-title[data-v-
|
|
1
|
+
.row-title[data-v-e29a45f8]{display:flex}.ik-svg-icon.ik-icon-span[data-v-e29a45f8]:not(:first-child){margin-left:var(--ik-margin-s-12)}
|