Skip to content

Commit 473df05

Browse files
authored
fix(icon-saas): add icons of batch4 (#3955)
* fix(icon-saas): remove batch3 icons * fix(icon-saas): add batch4 icons * fix(icon-saas): 为所有的AI图标,添加共同的ai 前缀 * fix(icon-saas): 重命名几个重名的图标。 radio是保留原来的,只增fill图标 * fix(icon-saas): 复制新图标到svgs目录 * fix(icon-saas): 构建编译后的icon js文件 * fix(icon-saas): 修改错误的颜色, 补充demo * fix(icon-saas): remove fill='none' * fix(icon-saas): 手工修改radio图标 * fix(icon-saas): 移除拷贝后的fill=none
1 parent 78a8eb0 commit 473df05

File tree

747 files changed

+2631
-1074
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

747 files changed

+2631
-1074
lines changed

examples/sites/demos/pc/app/icon/advance-icons.js

Lines changed: 103 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,11 +402,113 @@ export const batch3Icons = [
402402
'IconTermination',
403403
'IconTimezone',
404404
'IconTrain',
405-
'IconTransfer',
406405
'IconTransferInventoryList',
407406
'IconTransferringInventoryListsAcrossOrganizations',
408407
'IconTransportation',
409408
'IconTruck',
410409
'IconWaybill',
411410
'IconWorkOvertime'
412411
]
412+
413+
export const batch4Icons = [
414+
'IconAIAbout',
415+
'IconAIApplication',
416+
'IconAIBrowsingHistory',
417+
'IconAICalendar',
418+
'IconAIComputingPowerAIPolicy',
419+
'IconAIConferenceManagement',
420+
'IconAIDocument',
421+
'IconAIDocumentQA',
422+
'IconAIExternalKnowledgeAnswer',
423+
'IconAIFindRecords',
424+
'IconAIFollowUp',
425+
'IconAIGCPainting',
426+
'IconAIImageBasedTextRecognition',
427+
'IconAIInformation',
428+
'IconAIInternalKnowledgeAnswers',
429+
'IconAIITServiceQA',
430+
'IconAILabelExtraction',
431+
'IconAIMemorySpace',
432+
'IconAIOfficeDataSearch',
433+
'IconAIOrganization',
434+
'IconAIPosting',
435+
'IconAIProcessQA',
436+
'IconAIQuestion',
437+
'IconAIReading',
438+
'IconAISearch',
439+
'IconAISearchPeople',
440+
'IconAISearchQA',
441+
'IconAISmartLookup',
442+
'IconAISmartNotes',
443+
'IconAISmartTranslation',
444+
'IconAITakingPhotos',
445+
'IconAITechnicalInsightsQA',
446+
'IconAITerminologyQA',
447+
'IconAITranslation',
448+
'IconAIUCDSearch',
449+
'IconAIWebQA',
450+
'IconAIWrite',
451+
'IconAIWriting',
452+
'IconAnalysisTypeContainer',
453+
'IconAnchor',
454+
'IconApprovalFlow',
455+
'IconAvatar',
456+
'IconBadge',
457+
'IconButtonBar',
458+
'IconCalendarView',
459+
'IconCardGroup',
460+
'IconCardTemplate',
461+
'IconCarousel',
462+
'IconCascader',
463+
'IconChart',
464+
'IconCheckbox',
465+
'IconChooser',
466+
'IconCreatePage',
467+
'IconDetailsTemplatePage',
468+
'IconDialogSelect',
469+
'IconFilterView',
470+
'IconFloating',
471+
'IconFlowchart',
472+
'IconFoldingPanelContainers',
473+
'IconForm',
474+
'IconGeneralPage',
475+
'IconGrid',
476+
'IconImage',
477+
'IconInput',
478+
'IconListSheet',
479+
'IconMetAlert',
480+
'IconMultiColumnContainer',
481+
'IconMultipleContainerGroups',
482+
'IconNavigationContainer',
483+
'IconNumber',
484+
'IconNumeric',
485+
'IconObjectInfo',
486+
'IconPageLoader',
487+
'IconPager',
488+
'IconProcessOverview',
489+
'IconProgress',
490+
'IconRadio',
491+
'IconRecord',
492+
'IconRuleBuilder',
493+
'IconSelection',
494+
'IconSelectView',
495+
'IconShortcut',
496+
'IconSlider',
497+
'IconSliderButton',
498+
'IconSplitPanelContainer',
499+
'IconSpreadGrid',
500+
'IconStandardList',
501+
'IconSteps',
502+
'IconSwitch',
503+
'IconSwitchCard',
504+
'IconTabContainer',
505+
'IconTabs',
506+
'IconTag',
507+
'IconTagGroup',
508+
'IconTimeLine',
509+
'IconTimePicker',
510+
'IconTitleContainer',
511+
'IconTransfer',
512+
'IconTree',
513+
'IconTreeMenuContainer'
514+
]

examples/sites/demos/pc/app/icon/advance-usage-composition-api.vue

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,35 @@
7272
<span class="svgs-text" :title="name">{{ name }}</span>
7373
</div>
7474
</div>
75+
<hr />
76+
<div class="svgs-wrapper">
77+
<div
78+
v-for="name in batch4Icons"
79+
:key="name"
80+
:class="{
81+
'svg-visible': searchName === '' || name.toLowerCase().includes(searchName.toLowerCase()),
82+
'svgs-item': true
83+
}"
84+
@click="click(name)"
85+
>
86+
<component
87+
:is="Svgs[name] && Svgs[name]()"
88+
class="svgs-icon"
89+
:first-color="firstColor"
90+
:second-color="secondColor"
91+
:shape="shape"
92+
:underlay="isUnderlay ? underlay : null"
93+
></component>
94+
<span class="svgs-text" :title="name">{{ name }}</span>
95+
</div>
96+
</div>
7597
</div>
7698
</template>
7799

78100
<script setup lang="js">
79101
import Svgs from '@opentiny/vue-icon'
80102
import { TinyForm, TinyFormItem, TinyModal, TinyInput, TinyRadioGroup, TinyRadio, TinySwitch } from '@opentiny/vue'
81-
import { advanceIcons, batch3Icons } from './advance-icons.js'
103+
import { advanceIcons, batch3Icons, batch4Icons } from './advance-icons.js'
82104
import { getCurrentInstance, ref, watch } from 'vue'
83105
84106
const searchName = ref('')

examples/sites/demos/pc/app/icon/advance-usage.vue

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,28 @@
7272
<span class="svgs-text" :title="name">{{ name }}</span>
7373
</div>
7474
</div>
75+
<hr />
76+
<div class="svgs-wrapper">
77+
<div
78+
v-for="name in batch4Icons"
79+
:key="name"
80+
:class="{
81+
'svg-visible': searchName === '' || name.toLowerCase().includes(searchName.toLowerCase()),
82+
'svgs-item': true
83+
}"
84+
@click="click(name)"
85+
>
86+
<component
87+
:is="Svgs[name] && Svgs[name]()"
88+
class="svgs-icon"
89+
:first-color="firstColor"
90+
:second-color="secondColor"
91+
:shape="shape"
92+
:underlay="isUnderlay ? underlay : null"
93+
></component>
94+
<span class="svgs-text" :title="name">{{ name }}</span>
95+
</div>
96+
</div>
7597
</div>
7698
</template>
7799

@@ -87,7 +109,7 @@ import {
87109
TinyColorPicker,
88110
TinySwitch
89111
} from '@opentiny/vue'
90-
import { advanceIcons, batch3Icons } from './advance-icons.js'
112+
import { advanceIcons, batch3Icons, batch4Icons } from './advance-icons.js'
91113
92114
export default {
93115
components: {
@@ -104,6 +126,7 @@ export default {
104126
Svgs,
105127
advanceIcons,
106128
batch3Icons,
129+
batch4Icons,
107130
searchName: '',
108131
shape: 'line',
109132
firstColor: '#0067D1',
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)