Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ title: TreeSelect 树形选择器
# TreeSelect 树形选择器

结合了 BaseSelect 和 Tree 组件的选择器,用于从一个下拉树中选择一个或多个选项。

Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ title: TreeSelect
# TreeSelect

A selector that combines the BaseSelect and Tree components to select one or more options from a drop-down tree.

126 changes: 126 additions & 0 deletions examples/sites/demos/pc/app/icon/advance-icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,3 +284,129 @@ export const advanceIcons = [
'IconZoomIn',
'IconZoomOut'
]

export const batch3Icons = [
'IconAbnormalCheckIn',
'IconAnalyse',
'IconApproval',
'IconAskForLeave',
'IconBank',
'IconCancellationApplication',
'IconCheckProperties',
'IconComputingJob',
'IconConfirmPayrollProfile',
'IconCrossOrganizationWarehousingList',
'IconCustomSclearance',
'IconCustomsDeclarationList',
'IconDefinitionOfProcessRoles',
'IconDemandOrderList',
'IconDetailedList',
'IconDetailsPage',
'IconDigitalassistant',
'IconEmployeeInformation',
'IconEquipment',
'IconExchangerate',
'IconFastCode',
'IconGeneralAi',
'IconGeneralPageIndigo',
'IconIndicatorArtifactConfiguration',
'IconInspectionPlan',
'IconInterviewsList',
'IconInventoryLlist',
'IconInventoryOrganization',
'IconInventoryPlanList',
'IconInventoryPlanningRequirementsRequestChecklist',
'IconInventoryRequestChecklist',
'IconInventoryTransaction',
'IconListOfCandidates',
'IconListOfPermissionsToTransferGoods',
'IconListPage',
'IconMailboxConfiguration',
'IconMaintainPayrollProfile',
'IconMaterialAbcGroupingRules',
'IconMatter',
'IconMessageReleaseSuspension',
'IconMessageTemplate',
'IconMetaerpHelpDocumentManagement',
'IconMetaitHelpDocumentManagement',
'IconMiscellaneousList',
'IconMultidimensionalChangeList',
'IconMyApplication',
'IconMyAttendance',
'IconNumberMatchingRule',
'IconOnboarding',
'IconOrder',
'IconOutOfWarehouse',
'IconParameter',
'IconPay',
'IconPayrollApplication',
'IconPayrollApproval',
'IconPayrollElementCalculation',
'IconPayrollElementMaintenance',
'IconPeography',
'IconPersonalInformation',
'IconPickingRules',
'IconPirplane',
'IconPlanningDocument',
'IconPlanningEngine',
'IconPlanView',
'IconPnventoryDiscrepancyAdjustmentList',
'IconPositionManagement',
'IconPrivacyCreation',
'IconPrivacyStatement',
'IconProcessPersonnelAssignment',
'IconProcessRules',
'IconProduce',
'IconProductionorder',
'IconProjectActualCost',
'IconProjectBudgetCost',
'IconProjectContract',
'IconProjectExpenses',
'IconProjectForecast',
'IconProjectIncome',
'IconProjectInvoice',
'IconProjectProjectplan',
'IconProjectProperty',
'IconProjectStructureTree',
'IconProjectTemplate',
'IconPromotion',
'IconPurchaseContract',
'IconPutInWarehouse',
'IconQualifiedSupplierSpecification',
'IconQualityInspectionSheet',
'IconReceivable',
'IconRecruitmentServices',
'IconRegularization',
'IconReport',
'IconRepository',
'IconRequestPlan',
'IconSalaryForm',
'IconSalesOrder',
'IconServiceSubscription',
'IconServiceTenantServiceActivation',
'IconShippingDocuments',
'IconShippingOrder',
'IconSideHustleEnd',
'IconSideHustleStart',
'IconStaticIndex',
'IconSupplier',
'IconSupplierPerformance',
'IconSupplierPriceAgreement',
'IconSupplierQualification',
'IconSupplierQuotaAgreement',
'IconSupplierSourcing',
'IconTalentPoolList',
'IconTaxation',
'IconTeam',
'IconTender',
'IconTermination',
'IconTimezone',
'IconTrain',
'IconTransfer',
'IconTransferInventoryList',
'IconTransferringInventoryListsAcrossOrganizations',
'IconTransportation',
'IconTruck',
'IconWaybill',
'IconWorkOvertime'
]
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,35 @@
<span class="svgs-text" :title="name">{{ name }}</span>
</div>
</div>
<hr />
<div class="svgs-wrapper">
<div
v-for="name in batch3Icons"
:key="name"
:class="{
'svg-visible': searchName === '' || name.toLowerCase().includes(searchName.toLowerCase()),
'svgs-item': true
}"
@click="click(name)"
>
<component
:is="Svgs[name] && Svgs[name]()"
class="svgs-icon"
:first-color="firstColor"
:second-color="secondColor"
:shape="shape"
:underlay="isUnderlay ? underlay : null"
></component>
<span class="svgs-text" :title="name">{{ name }}</span>
</div>
</div>
</div>
</template>

<script setup lang="js">
import Svgs from '@opentiny/vue-icon'
import { TinyForm, TinyFormItem, TinyModal, TinyInput, TinyRadioGroup, TinyRadio, TinySwitch } from '@opentiny/vue'
import { advanceIcons } from './advance-icons.js'
import { advanceIcons, batch3Icons } from './advance-icons.js'
import { getCurrentInstance, ref, watch } from 'vue'

const searchName = ref('')
Expand Down
25 changes: 24 additions & 1 deletion examples/sites/demos/pc/app/icon/advance-usage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,28 @@
<span class="svgs-text" :title="name">{{ name }}</span>
</div>
</div>
<hr />
<div class="svgs-wrapper">
<div
v-for="name in batch3Icons"
:key="name"
:class="{
'svg-visible': searchName === '' || name.toLowerCase().includes(searchName.toLowerCase()),
'svgs-item': true
}"
@click="click(name)"
>
<component
:is="Svgs[name] && Svgs[name]()"
class="svgs-icon"
:first-color="firstColor"
:second-color="secondColor"
:shape="shape"
:underlay="isUnderlay ? underlay : null"
></component>
<span class="svgs-text" :title="name">{{ name }}</span>
</div>
</div>
</div>
</template>

Expand All @@ -65,7 +87,7 @@ import {
TinyColorPicker,
TinySwitch
} from '@opentiny/vue'
import { advanceIcons } from './advance-icons.js'
import { advanceIcons, batch3Icons } from './advance-icons.js'

export default {
components: {
Expand All @@ -81,6 +103,7 @@ export default {
return {
Svgs,
advanceIcons,
batch3Icons,
searchName: '',
shape: 'line',
firstColor: '#0067D1',
Expand Down
1 change: 1 addition & 0 deletions packages/renderless/src/grid/utils/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export const getColumnList = ($table, columns, options = {}, level = 0) => {
columnIndex: isLeaf ? $table.markColumnIndex++ : null
})

// eslint-disable-next-line prefer-spread
result.push.apply(result, hasChildren ? getColumnList($table, column.children, options, level + 1) : [column])
})

Expand Down
4 changes: 4 additions & 0 deletions packages/theme-saas/src/svgs-raw/IconAbnormalCheckIn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions packages/theme-saas/src/svgs-raw/IconAcceptance.svg

This file was deleted.

4 changes: 0 additions & 4 deletions packages/theme-saas/src/svgs-raw/IconAcceptanceFilled.svg

This file was deleted.

Loading
Loading