diff --git a/es/components/application/detail/web.module.less b/es/components/application/detail/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/application/detail/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/application/detailForPlatform/web.module.less b/es/components/application/detailForPlatform/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/application/detailForPlatform/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/application/upsert/web.module.less b/es/components/application/upsert/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/application/upsert/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/changePassword/byMobile/web.module.less b/es/components/changePassword/byMobile/web.module.less deleted file mode 100644 index ecc82b27a..000000000 --- a/es/components/changePassword/byMobile/web.module.less +++ /dev/null @@ -1,32 +0,0 @@ -.box { - &-main { - height: 800px; - width: 600px; - display: flex; - flex: 1; - align-items: center; - flex-direction: column; - justify-content: center; - background: var(--oak-bg-color-container); - margin-top: 200px; - margin-bottom: 200px; - } - - // &-wrap { - // width: 400px; - // display: block; - // background: var(--oak-bg-color-container); - // border-radius: 4px; - // overflow: hidden; - // box-shadow: 0 2px 4px rgb(0 0 0 / 8%), 0 0 4px rgb(0 0 0 / 8%); - // } - - // &-hd { - // padding: 32px; - // } - - // &-bd { - // height: 310px; - // } - -} \ No newline at end of file diff --git a/es/components/changePassword/byPassword/web.module.less b/es/components/changePassword/byPassword/web.module.less deleted file mode 100644 index ecc82b27a..000000000 --- a/es/components/changePassword/byPassword/web.module.less +++ /dev/null @@ -1,32 +0,0 @@ -.box { - &-main { - height: 800px; - width: 600px; - display: flex; - flex: 1; - align-items: center; - flex-direction: column; - justify-content: center; - background: var(--oak-bg-color-container); - margin-top: 200px; - margin-bottom: 200px; - } - - // &-wrap { - // width: 400px; - // display: block; - // background: var(--oak-bg-color-container); - // border-radius: 4px; - // overflow: hidden; - // box-shadow: 0 2px 4px rgb(0 0 0 / 8%), 0 0 4px rgb(0 0 0 / 8%); - // } - - // &-hd { - // padding: 32px; - // } - - // &-bd { - // height: 310px; - // } - -} \ No newline at end of file diff --git a/es/components/changePassword/web.module.less b/es/components/changePassword/web.module.less deleted file mode 100644 index ecc82b27a..000000000 --- a/es/components/changePassword/web.module.less +++ /dev/null @@ -1,32 +0,0 @@ -.box { - &-main { - height: 800px; - width: 600px; - display: flex; - flex: 1; - align-items: center; - flex-direction: column; - justify-content: center; - background: var(--oak-bg-color-container); - margin-top: 200px; - margin-bottom: 200px; - } - - // &-wrap { - // width: 400px; - // display: block; - // background: var(--oak-bg-color-container); - // border-radius: 4px; - // overflow: hidden; - // box-shadow: 0 2px 4px rgb(0 0 0 / 8%), 0 0 4px rgb(0 0 0 / 8%); - // } - - // &-hd { - // padding: 32px; - // } - - // &-bd { - // height: 310px; - // } - -} \ No newline at end of file diff --git a/es/components/config/style/index.module.less b/es/components/config/style/index.module.less deleted file mode 100644 index 7c0f8675f..000000000 --- a/es/components/config/style/index.module.less +++ /dev/null @@ -1,5 +0,0 @@ - - -.box { - display: block; -} \ No newline at end of file diff --git a/es/components/domain/detail/web.module.less b/es/components/domain/detail/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/domain/detail/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/domain/list/web.module.less b/es/components/domain/list/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/domain/list/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/domain/upsert/web.module.less b/es/components/domain/upsert/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/domain/upsert/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/message/list/mobile.module.less b/es/components/message/list/mobile.module.less deleted file mode 100644 index 8c654001b..000000000 --- a/es/components/message/list/mobile.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - display: flex; - flex-direction: column; - flex: 1; - background-color: var(--oak-bg-color-page); -} \ No newline at end of file diff --git a/es/components/message/list/web.module.less b/es/components/message/list/web.module.less deleted file mode 100644 index b8e6934cf..000000000 --- a/es/components/message/list/web.module.less +++ /dev/null @@ -1,7 +0,0 @@ -/** index.wxss **/ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/message/web.module.less b/es/components/message/web.module.less deleted file mode 100644 index abde53a3a..000000000 --- a/es/components/message/web.module.less +++ /dev/null @@ -1,3 +0,0 @@ -.container { - display: flex; -} diff --git a/es/components/messageTypeTemplate/list/web.module.less b/es/components/messageTypeTemplate/list/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/messageTypeTemplate/list/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/paper/upsert/index.xml b/es/components/paper/upsert/index.xml deleted file mode 100644 index e65a4b8f0..000000000 --- a/es/components/paper/upsert/index.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/es/components/parasite/detail/web.module.less b/es/components/parasite/detail/web.module.less deleted file mode 100644 index 1903c799a..000000000 --- a/es/components/parasite/detail/web.module.less +++ /dev/null @@ -1,8 +0,0 @@ - - -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} diff --git a/es/components/parasite/list/web.module.less b/es/components/parasite/list/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/parasite/list/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/parasite/upsert/web.module.less b/es/components/parasite/upsert/web.module.less deleted file mode 100644 index 0dad10def..000000000 --- a/es/components/parasite/upsert/web.module.less +++ /dev/null @@ -1,8 +0,0 @@ - - -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/platform/detail/web.module.less b/es/components/platform/detail/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/platform/detail/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/platform/upsert/web.module.less b/es/components/platform/upsert/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/platform/upsert/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/subscription/config/upsert/web.module.less b/es/components/subscription/config/upsert/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/subscription/config/upsert/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/subscription/detail/web.module.less b/es/components/subscription/detail/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/subscription/detail/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/subscription/list/web.module.less b/es/components/subscription/list/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/subscription/list/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/subscription/upsert/web.module.less b/es/components/subscription/upsert/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/subscription/upsert/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/system/upsert/web.module.less b/es/components/system/upsert/web.module.less deleted file mode 100644 index 9f3d17c7f..000000000 --- a/es/components/system/upsert/web.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/user/manage/detail/web.module.less b/es/components/user/manage/detail/web.module.less deleted file mode 100644 index 0dad10def..000000000 --- a/es/components/user/manage/detail/web.module.less +++ /dev/null @@ -1,8 +0,0 @@ - - -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/user/manage/upsert/web.module.less b/es/components/user/manage/upsert/web.module.less deleted file mode 100644 index 0dad10def..000000000 --- a/es/components/user/manage/upsert/web.module.less +++ /dev/null @@ -1,8 +0,0 @@ - - -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/user/manage/web.module.less b/es/components/user/manage/web.module.less deleted file mode 100644 index 0dad10def..000000000 --- a/es/components/user/manage/web.module.less +++ /dev/null @@ -1,8 +0,0 @@ - - -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/userEntityGrant/share/mobile.module.less b/es/components/userEntityGrant/share/mobile.module.less deleted file mode 100644 index 07e0c4c2c..000000000 --- a/es/components/userEntityGrant/share/mobile.module.less +++ /dev/null @@ -1,7 +0,0 @@ - - -.container { - height: 100vh; - display: flex; - flex-direction: column; -} diff --git a/es/components/userEntityGrant/share/web.module.less b/es/components/userEntityGrant/share/web.module.less deleted file mode 100644 index 7b2bb6b59..000000000 --- a/es/components/userEntityGrant/share/web.module.less +++ /dev/null @@ -1,5 +0,0 @@ - - -.container { - background: var(--oak-bg-color-container); -} diff --git a/es/components/userRelation/onEntity/index.d.ts b/es/components/userRelation/onEntity/index.d.ts deleted file mode 100644 index 0438e1522..000000000 --- a/es/components/userRelation/onEntity/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// -declare const _default: (props: import("oak-frontend-base").ReactComponentProps) => import("react").ReactElement>; -export default _default; diff --git a/es/components/userRelation/onEntity/index.js b/es/components/userRelation/onEntity/index.js deleted file mode 100644 index 5ac066dd7..000000000 --- a/es/components/userRelation/onEntity/index.js +++ /dev/null @@ -1,48 +0,0 @@ -import { firstLetterUpperCase } from "oak-domain/lib/utils/string"; -export default OakComponent({ - isList: true, - formData({ data }) { - const { nameProperty, oakEntity } = this.props; - const entityStr = firstLetterUpperCase(oakEntity); - const rows = data?.map((ele) => { - const { id, [nameProperty]: name, [`user${entityStr}$${oakEntity}`]: userEntity, } = ele; - const relations = userEntity?.map((ele) => ele.relation); - const hasRelation = this.props.relations.map((ele2) => relations.includes(ele2)); - return { - id, - name, - hasRelation, - }; - }); - return { - rows, - }; - }, - properties: { - nameProperty: '', - user: {}, - relations: [], - oakEntity: '', - }, - methods: { - onChange(input) { - const { dataset, checked } = this.resolveInput(input, ['checked']); - const { id: entityId, relation, index, } = dataset; - const { oakEntity, user } = this.props; - const entityStr = firstLetterUpperCase(oakEntity); - // todo 需要修改为最新写法 - // this.toggleNode( - // { - // relation, - // userId: user.id, - // }, - // checked, - // `${index}.user${entityStr}$${oakEntity}` - // ); - }, - async confirm() { - await this.execute(); - await this.navigateBack(); - }, - }, -}); diff --git a/es/components/userRelation/onEntity/index.json b/es/components/userRelation/onEntity/index.json deleted file mode 100644 index 62951296f..000000000 --- a/es/components/userRelation/onEntity/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "修改权限", - "usingComponents": { - "t-divider": "@oak-frontend-base/miniprogram_npm/tdesign/divider/divider", - "t-button": "@oak-frontend-base/miniprogram_npm/tdesign/button/button", - "t-switch": "@oak-frontend-base/miniprogram_npm/tdesign/switch/switch" - } -} diff --git a/es/components/userRelation/onEntity/index.less b/es/components/userRelation/onEntity/index.less deleted file mode 100644 index 54fb4a961..000000000 --- a/es/components/userRelation/onEntity/index.less +++ /dev/null @@ -1,159 +0,0 @@ -/** index.wxss **/ -@import "../../../config/styles/mp/index.less"; -@import "../../../config/styles/mp/mixins.less"; - -page { - height: 100%; -} - -.container { - height: 100%; - display: flex; - flex: 1; - flex-direction: column; - box-sizing: border-box; - align-items: stretch; - padding: 0; - .safe-area-inset-bottom(); -} - -.primary-bg { - width: 100%; - height: 140rpx; - background-color: @primary-color; -} - -.img { - width: 180rpx; - height: 180rpx; - margin: 0 auto; - border-radius: 50%; - background-color: @bg-color-fade; -} - -.row-end { - display: flex; - justify-content: flex-end; -} - -.white-bg { - display: flex; - flex-direction: column; - padding: @spacer; -} - -.content { - display: flex; - flex-direction: column; - transform: translateY(-110rpx); -} - -.name { - margin: @spacer auto; - font-size: @font-size-base; - color: @text-level-2-color; -} - -.mobile { - margin: 0 auto; - font-size: @font-size-base; - color: @text-level-3-color; -} - -.tag-view { - display: flex; - justify-content: center; - flex-wrap: wrap; - margin-bottom: @spacer; -} - -.tag { - margin: 2rpx; -} - -.btn-view { - display: flex; - justify-content: center; -} - -.check-view { - width: 700rpx; - display: flex; - flex: 1; - flex-direction: column; - background-color: #fff; -} - -.col { - display: flex; - flex-direction: column; - flex: 1; -} - -.list { - flex: 1; - display: flex; - flex-direction: column; - align-items: center; -} - -.singleRelationItem { - display: flex; - padding: 18rpx; - flex-direction: row; - align-items: center; - width: 92%; - box-shadow: 0 4rpx 20rpx 0 rgba(212, 217, 223, 0.5); - border-radius: 4px; - - .name { - color: @text-level-3-color; - flex: 1; - margin-right: 10rpx; - } -} - -.multiRelationItem { - display: flex; - padding: 18rpx; - flex-direction: column; - align-items: stretch; - width: 92%; - box-shadow: 0 4rpx 20rpx 0 rgba(212, 217, 223, 0.5); - border-radius: 4px; - - .name { - color: @text-level-3-color; - } - - .relationList { - display: flex; - flex-direction: row; - - .relationItem { - display: flex; - flex-direction: column; - align-items: center; - padding: 10rpx; - - text { - color: @text-level-4-color; - font-size: @font-size-base; - } - } - } -} - -.btn-container { - position: fixed; - bottom: 0; - display: flex; - flex-direction: row; - width: 100%; - .btn { - flex: 1; - } - padding-left: 10rpx; - padding-right: 10rpx; - } - \ No newline at end of file diff --git a/es/components/userRelation/onEntity/index.xml b/es/components/userRelation/onEntity/index.xml deleted file mode 100644 index 838ec2202..000000000 --- a/es/components/userRelation/onEntity/index.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - {{user.name || user.nickname || '--'}} - {{user.mobile || '--'}} - - - - - {{item.name}} - - - - - - {{item.name}} - - - - {{relation}} - - - - - - - - - \ No newline at end of file diff --git a/es/components/userRelation/onEntity/web.d.ts b/es/components/userRelation/onEntity/web.d.ts deleted file mode 100644 index f4a1e98f8..000000000 --- a/es/components/userRelation/onEntity/web.d.ts +++ /dev/null @@ -1 +0,0 @@ -export default function render(this: any): import("react/jsx-runtime").JSX.Element; diff --git a/es/components/userRelation/onEntity/web.js b/es/components/userRelation/onEntity/web.js deleted file mode 100644 index 0723516ca..000000000 --- a/es/components/userRelation/onEntity/web.js +++ /dev/null @@ -1,5 +0,0 @@ -import { jsx as _jsx } from "react/jsx-runtime"; -export default function render() { - const { rows } = this.state; - return (_jsx("div", {})); -} diff --git a/es/components/userRelation/onEntity/web.module.less b/es/components/userRelation/onEntity/web.module.less deleted file mode 100644 index 07e0c4c2c..000000000 --- a/es/components/userRelation/onEntity/web.module.less +++ /dev/null @@ -1,7 +0,0 @@ - - -.container { - height: 100vh; - display: flex; - flex-direction: column; -} diff --git a/es/components/userRelation/upsert/byMobile/mobile.module.less b/es/components/userRelation/upsert/byMobile/mobile.module.less deleted file mode 100644 index 46f2181f4..000000000 --- a/es/components/userRelation/upsert/byMobile/mobile.module.less +++ /dev/null @@ -1,12 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} - -.btn-container { - width: 100%; - display: flex; - flex-direction: row; -} \ No newline at end of file diff --git a/es/components/userRelation/upsert/byUser/mobile.module.less b/es/components/userRelation/upsert/byUser/mobile.module.less deleted file mode 100644 index 75245c866..000000000 --- a/es/components/userRelation/upsert/byUser/mobile.module.less +++ /dev/null @@ -1,12 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} - -.btn-container { - width: 100%; - display: flex; - flex-direction: row; -} diff --git a/es/components/userRelation/upsert/byUser/web.module.less b/es/components/userRelation/upsert/byUser/web.module.less deleted file mode 100644 index 0dad10def..000000000 --- a/es/components/userRelation/upsert/byUser/web.module.less +++ /dev/null @@ -1,8 +0,0 @@ - - -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} \ No newline at end of file diff --git a/es/components/userRelation/upsert/onUser/mobile.module.less b/es/components/userRelation/upsert/onUser/mobile.module.less deleted file mode 100644 index 2ab973ffe..000000000 --- a/es/components/userRelation/upsert/onUser/mobile.module.less +++ /dev/null @@ -1,6 +0,0 @@ -.container { - background: var(--oak-bg-color-container); - // box-shadow: 0 2px 3px #0000001a; - // border-radius: 3px; - // padding: 30px 32px; -} diff --git a/es/components/userRelation/upsert/onUser/userRelation/mobile.module.less b/es/components/userRelation/upsert/onUser/userRelation/mobile.module.less deleted file mode 100644 index 539168574..000000000 --- a/es/components/userRelation/upsert/onUser/userRelation/mobile.module.less +++ /dev/null @@ -1,8 +0,0 @@ - - -.container { - background: var(--oak-bg-color-container); - // box-shadow: 0 2px 3px #0000001a; - // border-radius: 3px; - // padding: 30px 32px; -} diff --git a/es/components/userRelation/upsert/onUser/userRelation/web.module.less b/es/components/userRelation/upsert/onUser/userRelation/web.module.less deleted file mode 100644 index 539168574..000000000 --- a/es/components/userRelation/upsert/onUser/userRelation/web.module.less +++ /dev/null @@ -1,8 +0,0 @@ - - -.container { - background: var(--oak-bg-color-container); - // box-shadow: 0 2px 3px #0000001a; - // border-radius: 3px; - // padding: 30px 32px; -} diff --git a/es/components/userRelation/upsert/onUser/web.module.less b/es/components/userRelation/upsert/onUser/web.module.less deleted file mode 100644 index 07f277e56..000000000 --- a/es/components/userRelation/upsert/onUser/web.module.less +++ /dev/null @@ -1,15 +0,0 @@ - - -.container { - background: var(--oak-bg-color-container); - // box-shadow: 0 2px 3px #0000001a; - // border-radius: 3px; - // padding: 30px 32px; -} - - -.tip { - font-size: 12px; - line-height: 20px; - color: var(--oak-warning-color); -} \ No newline at end of file diff --git a/es/components/userWechatPublicTag/list/web.module.less b/es/components/userWechatPublicTag/list/web.module.less deleted file mode 100644 index 074fe28b2..000000000 --- a/es/components/userWechatPublicTag/list/web.module.less +++ /dev/null @@ -1,3 +0,0 @@ -.container { - width: 100%; -} \ No newline at end of file diff --git a/es/components/userWechatPublicTag/subscribedList/web.module.less b/es/components/userWechatPublicTag/subscribedList/web.module.less deleted file mode 100644 index 074fe28b2..000000000 --- a/es/components/userWechatPublicTag/subscribedList/web.module.less +++ /dev/null @@ -1,3 +0,0 @@ -.container { - width: 100%; -} \ No newline at end of file diff --git a/es/components/userWechatPublicTag/web.module.less b/es/components/userWechatPublicTag/web.module.less deleted file mode 100644 index 074fe28b2..000000000 --- a/es/components/userWechatPublicTag/web.module.less +++ /dev/null @@ -1,3 +0,0 @@ -.container { - width: 100%; -} \ No newline at end of file diff --git a/es/components/wechatPublicTag/list/web.module.less b/es/components/wechatPublicTag/list/web.module.less deleted file mode 100644 index c9848913a..000000000 --- a/es/components/wechatPublicTag/list/web.module.less +++ /dev/null @@ -1,7 +0,0 @@ - -.container { - background: var(--oak-bg-color-container); - box-shadow: 0 2px 3px #0000001a; - border-radius: 3px; - padding: 30px 32px; -} diff --git a/es/components/wechatPublicTag/upsert/web.module.less b/es/components/wechatPublicTag/upsert/web.module.less deleted file mode 100644 index e69de29bb..000000000 diff --git a/es/components/wechatUser/bindingList/web.module.less b/es/components/wechatUser/bindingList/web.module.less deleted file mode 100644 index 6662e4f74..000000000 --- a/es/components/wechatUser/bindingList/web.module.less +++ /dev/null @@ -1,3 +0,0 @@ -.container { - display: flex; -} \ No newline at end of file diff --git a/es/components/wechatUser/unbindBtn/web.module.less b/es/components/wechatUser/unbindBtn/web.module.less deleted file mode 100644 index 6662e4f74..000000000 --- a/es/components/wechatUser/unbindBtn/web.module.less +++ /dev/null @@ -1,3 +0,0 @@ -.container { - display: flex; -} \ No newline at end of file diff --git a/lib/checkers/index.d.ts b/lib/checkers/index.d.ts index 46b6c8266..1c141fe16 100644 --- a/lib/checkers/index.d.ts +++ b/lib/checkers/index.d.ts @@ -1,2 +1,2 @@ -declare const checkers: (import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker)[]; +declare const checkers: (import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker | import("oak-domain").Checker)[]; export default checkers; diff --git a/lib/triggers/index.d.ts b/lib/triggers/index.d.ts index c0354eb3f..bea53638e 100644 --- a/lib/triggers/index.d.ts +++ b/lib/triggers/index.d.ts @@ -1,2 +1,2 @@ -declare const _default: (import("oak-domain").Trigger | import("oak-domain").Trigger | import("oak-domain").Trigger | import("oak-domain").Trigger | import("oak-domain").Trigger | import("oak-domain").Trigger> | import("oak-domain").Trigger | import("oak-domain").Trigger | import("oak-domain").Trigger> | import("oak-domain").Trigger> | import("oak-domain").Trigger> | import("oak-domain").Trigger> | import("oak-domain").Trigger> | import("oak-domain").Trigger> | import("oak-domain").Trigger> | import("oak-domain").Trigger>)[]; +declare const _default: (import("oak-domain").Trigger> | import("oak-domain").Trigger | import("oak-domain").Trigger | import("oak-domain").Trigger | import("oak-domain").Trigger | import("oak-domain").Trigger | import("oak-domain").Trigger | import("oak-domain").Trigger> | import("oak-domain").Trigger | import("oak-domain").Trigger> | import("oak-domain").Trigger> | import("oak-domain").Trigger> | import("oak-domain").Trigger> | import("oak-domain").Trigger> | import("oak-domain").Trigger> | import("oak-domain").Trigger>)[]; export default _default; diff --git a/src/components/userRelation/onEntity/index.json b/src/components/userRelation/onEntity/index.json deleted file mode 100644 index 62951296f..000000000 --- a/src/components/userRelation/onEntity/index.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "navigationBarTitleText": "修改权限", - "usingComponents": { - "t-divider": "@oak-frontend-base/miniprogram_npm/tdesign/divider/divider", - "t-button": "@oak-frontend-base/miniprogram_npm/tdesign/button/button", - "t-switch": "@oak-frontend-base/miniprogram_npm/tdesign/switch/switch" - } -} diff --git a/src/components/userRelation/onEntity/index.less b/src/components/userRelation/onEntity/index.less deleted file mode 100644 index 54fb4a961..000000000 --- a/src/components/userRelation/onEntity/index.less +++ /dev/null @@ -1,159 +0,0 @@ -/** index.wxss **/ -@import "../../../config/styles/mp/index.less"; -@import "../../../config/styles/mp/mixins.less"; - -page { - height: 100%; -} - -.container { - height: 100%; - display: flex; - flex: 1; - flex-direction: column; - box-sizing: border-box; - align-items: stretch; - padding: 0; - .safe-area-inset-bottom(); -} - -.primary-bg { - width: 100%; - height: 140rpx; - background-color: @primary-color; -} - -.img { - width: 180rpx; - height: 180rpx; - margin: 0 auto; - border-radius: 50%; - background-color: @bg-color-fade; -} - -.row-end { - display: flex; - justify-content: flex-end; -} - -.white-bg { - display: flex; - flex-direction: column; - padding: @spacer; -} - -.content { - display: flex; - flex-direction: column; - transform: translateY(-110rpx); -} - -.name { - margin: @spacer auto; - font-size: @font-size-base; - color: @text-level-2-color; -} - -.mobile { - margin: 0 auto; - font-size: @font-size-base; - color: @text-level-3-color; -} - -.tag-view { - display: flex; - justify-content: center; - flex-wrap: wrap; - margin-bottom: @spacer; -} - -.tag { - margin: 2rpx; -} - -.btn-view { - display: flex; - justify-content: center; -} - -.check-view { - width: 700rpx; - display: flex; - flex: 1; - flex-direction: column; - background-color: #fff; -} - -.col { - display: flex; - flex-direction: column; - flex: 1; -} - -.list { - flex: 1; - display: flex; - flex-direction: column; - align-items: center; -} - -.singleRelationItem { - display: flex; - padding: 18rpx; - flex-direction: row; - align-items: center; - width: 92%; - box-shadow: 0 4rpx 20rpx 0 rgba(212, 217, 223, 0.5); - border-radius: 4px; - - .name { - color: @text-level-3-color; - flex: 1; - margin-right: 10rpx; - } -} - -.multiRelationItem { - display: flex; - padding: 18rpx; - flex-direction: column; - align-items: stretch; - width: 92%; - box-shadow: 0 4rpx 20rpx 0 rgba(212, 217, 223, 0.5); - border-radius: 4px; - - .name { - color: @text-level-3-color; - } - - .relationList { - display: flex; - flex-direction: row; - - .relationItem { - display: flex; - flex-direction: column; - align-items: center; - padding: 10rpx; - - text { - color: @text-level-4-color; - font-size: @font-size-base; - } - } - } -} - -.btn-container { - position: fixed; - bottom: 0; - display: flex; - flex-direction: row; - width: 100%; - .btn { - flex: 1; - } - padding-left: 10rpx; - padding-right: 10rpx; - } - \ No newline at end of file diff --git a/src/components/userRelation/onEntity/index.ts b/src/components/userRelation/onEntity/index.ts deleted file mode 100644 index bc751bf3f..000000000 --- a/src/components/userRelation/onEntity/index.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { firstLetterUpperCase } from "oak-domain/lib/utils/string"; -import { EntityDict } from "oak-domain/lib/types"; - -export default OakComponent({ - isList: true, - formData({ data }) { - const { nameProperty, oakEntity } = this.props; - const entityStr = firstLetterUpperCase(oakEntity! as string); - - const rows = data?.map((ele) => { - const { - id, - [nameProperty!]: name, - [`user${entityStr}$${oakEntity}`]: userEntity, - } = ele as any; - const relations = userEntity?.map((ele: any) => ele.relation); - const hasRelation: boolean[] = this.props.relations!.map((ele2: string) => - relations.includes(ele2) - ); - return { - id, - name, - hasRelation, - }; - }); - return { - rows, - }; - }, - properties: { - nameProperty: '', - user: {} as EntityDict['user']['Schema'], - relations: [] as string[], - oakEntity: '' as keyof EntityDict, - }, - methods: { - onChange(input: any) { - const { dataset, checked } = this.resolveInput(input, ['checked']); - const { - id: entityId, - relation, - index, - } = dataset as { - id: string; - relation: string; - index: number; - }; - const { oakEntity, user } = this.props; - const entityStr = firstLetterUpperCase(oakEntity! as string); - // todo 需要修改为最新写法 - // this.toggleNode( - // { - // relation, - // userId: user.id, - // }, - // checked, - // `${index}.user${entityStr}$${oakEntity}` - // ); - }, - async confirm() { - await this.execute(); - await this.navigateBack(); - }, - }, -}); diff --git a/src/components/userRelation/onEntity/index.xml b/src/components/userRelation/onEntity/index.xml deleted file mode 100644 index 838ec2202..000000000 --- a/src/components/userRelation/onEntity/index.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - {{user.name || user.nickname || '--'}} - {{user.mobile || '--'}} - - - - - {{item.name}} - - - - - - {{item.name}} - - - - {{relation}} - - - - - - - - - \ No newline at end of file diff --git a/src/components/userRelation/onEntity/web.module.less b/src/components/userRelation/onEntity/web.module.less deleted file mode 100644 index 07e0c4c2c..000000000 --- a/src/components/userRelation/onEntity/web.module.less +++ /dev/null @@ -1,7 +0,0 @@ - - -.container { - height: 100vh; - display: flex; - flex-direction: column; -} diff --git a/src/components/userRelation/onEntity/web.tsx b/src/components/userRelation/onEntity/web.tsx deleted file mode 100644 index 0413ca16b..000000000 --- a/src/components/userRelation/onEntity/web.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import React, { Component } from 'react'; - -export default function render(this: any) { - const { rows } = this.state; - - return ( -
- -
- ); -}