index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834
  1. <template>
  2. <div class="header-actions" v-if="getActionList.length != 0">
  3. <div class="overflow-box">
  4. <el-button
  5. v-for="(item, index) in getActionList"
  6. :key="index"
  7. :type="item.type || 'primary'"
  8. :plain="item.plain || false"
  9. v-bind="getHeaderActions(item)"
  10. @click="item.action"
  11. :disabled="item.disabled || false"
  12. >
  13. {{ item.text }}
  14. </el-button>
  15. </div>
  16. </div>
  17. <!-- statWarpHeight > 200 && -->
  18. <div
  19. class="stat-warp"
  20. v-if="statConfig.length != 0"
  21. :class="isMore ? 'show-more' : ''"
  22. >
  23. <div class="title">
  24. <select
  25. v-model="statSelectVal"
  26. v-if="statConfig.length > 1"
  27. @change="changeStatData"
  28. >
  29. <option :value="index" v-for="(i, index) in statConfig" :key="index">
  30. {{ i.label }}
  31. </option>
  32. </select>
  33. <div v-if="statConfig.length === 1">{{ statConfig[0].label }}</div>
  34. </div>
  35. <!-- v-if="statWarpHeight > 200" -->
  36. <div class="more-btn" @click="isMore = !isMore" >
  37. <span>
  38. <i v-if="!isMore" class="iconfont icon-btn_xiala22"></i>
  39. <i v-else class="iconfont icon-btn_shouqi22"></i>
  40. </span>
  41. </div>
  42. <ul id="statWarp">
  43. <li
  44. v-show="!i.data"
  45. :class="'theme' + i.type"
  46. v-for="(i, index) in statConfig[statSelectVal].data"
  47. :key="index"
  48. @click="i.click ? i.click(i, index) : ''"
  49. :style="i.click ? 'cursor: pointer' : ''"
  50. >
  51. <div class="label">{{ i.label }}</div>
  52. <div class="num">{{ i.num }}</div>
  53. </li>
  54. <li
  55. v-show="i.data"
  56. v-for="(i, index) in statConfig[statSelectVal].data"
  57. :key="index"
  58. class="multi-data"
  59. :class="'theme' + i.type"
  60. @click="i.click ? i.click(i, index) : ''"
  61. :style="i.click ? 'cursor: pointer' : ''"
  62. >
  63. <div class="label">{{ i.label }}</div>
  64. <div class="num-warp">
  65. <div class="num-box" v-for="(j, jindex) in i.data" :key="jindex">
  66. <div class="num-small" :style="'color:' + j.color">
  67. {{ j.num }}
  68. </div>
  69. <div class="label-small">{{ j.label }}</div>
  70. </div>
  71. </div>
  72. </li>
  73. </ul>
  74. </div>
  75. <div class="table-list-container by-table" v-loading="loading">
  76. <!-- v-if="!hideHeader" -->
  77. <header v-if="false" class="header">
  78. <h2>{{ title }}</h2>
  79. </header>
  80. <div class="by-search" v-if="!hideSearch">
  81. <div style="display: flex">
  82. <div
  83. class="by-dropdown"
  84. v-for="(i, index) in selectConfigCopy"
  85. :key="i.prop"
  86. style="margin-right: 10px"
  87. >
  88. <div class="by-dropdown-title">
  89. {{
  90. pagination[i.prop]
  91. ? i.data.find((j) => j.value === pagination[i.prop])
  92. ? i.data.find((j) => j.value === pagination[i.prop]).label
  93. : i.label
  94. : i.labelCopy
  95. }}
  96. <!-- {{ i.label || i.labelCopy }} -->
  97. <i style="margin-left: 5px" class="iconfont icon-iconm_xialan1"></i>
  98. </div>
  99. <ul class="by-dropdown-lists">
  100. <li
  101. @click="searchItemSelct('all', i, index)"
  102. v-if="i.isShowAll === false ? i.isShowAll : true"
  103. style=""
  104. >
  105. {{ $t("common.all") }}
  106. </li>
  107. <li
  108. v-for="j in i.data"
  109. :key="j.value"
  110. @click="searchItemSelct(j, i)"
  111. style=""
  112. >
  113. {{ j.label }}
  114. </li>
  115. </ul>
  116. </div>
  117. </div>
  118. <div style="display: flex">
  119. <el-input
  120. :placeholder="$t('common.pleaseEnterKeywords')"
  121. suffix-icon="search"
  122. size="mini"
  123. v-model="pagination.keyword"
  124. @keyup.enter="searchFn"
  125. >
  126. </el-input>
  127. <el-button
  128. type="primary"
  129. style="margin-left: 10px"
  130. size="default"
  131. v-no-double-click="searchFn"
  132. >{{ $t("common.search") }}</el-button
  133. >
  134. <div
  135. class="more-icon"
  136. @click="retrievalModalFn"
  137. v-if="$attrs.onMoreSearch"
  138. >
  139. <i class="iconfont icon-iconx_saixuan"></i>
  140. </div>
  141. </div>
  142. </div>
  143. <component :is="containerTag">
  144. <div class="filter-form-container">
  145. <slot />
  146. </div>
  147. <el-table
  148. ref="hocElTable"
  149. :data="source"
  150. v-if="!hideTable"
  151. style="width: 100%"
  152. v-bind="$attrs"
  153. v-on="tableEvents"
  154. row-key="id"
  155. lazy
  156. :load="load"
  157. :tree-props="{
  158. children: 'children',
  159. hasChildren: 'hasChildren',
  160. }"
  161. :height="tableHeight"
  162. >
  163. <el-table-column
  164. v-for="(item, index) in config"
  165. :key="index"
  166. v-bind="getAttrsValue(item)"
  167. :type="item.type || ''"
  168. :selectable="
  169. (rowData, rowIndex) => isSelectable(rowData, rowIndex, item)
  170. "
  171. >
  172. <template #default="scope" v-if="!item.type">
  173. <slot
  174. :name="item.attrs.slot"
  175. :item="scope.row"
  176. v-if="item.attrs.slot"
  177. >
  178. 插槽占位符
  179. </slot>
  180. <div v-else-if="isFunction(getValue(scope, item))">
  181. <component
  182. :is="renderTypeList[getMatchRenderFunction(item)].target"
  183. :cell-list="getValue(scope, item)()"
  184. :row="scope.row"
  185. :parent="getParent"
  186. @click="
  187. ($event) => {
  188. handleNativeClick(getAttrsValue(item), $event, item);
  189. }
  190. "
  191. />
  192. </div>
  193. <div v-else>
  194. {{ getValue(scope, item) }}
  195. </div>
  196. </template>
  197. </el-table-column>
  198. </el-table>
  199. <el-row
  200. v-if="!hidePagination"
  201. class="table-pagination"
  202. justify="end"
  203. type="flex"
  204. >
  205. <el-pagination
  206. background
  207. layout="total, sizes, prev, pager, next, jumper"
  208. :current-page="getPagination.pageNum"
  209. :page-size="getPagination.pageSize"
  210. :total="getPagination.total"
  211. @size-change="handleSizeChange"
  212. @current-change="handlePageChange"
  213. />
  214. </el-row>
  215. </component>
  216. </div>
  217. </template>
  218. <script>
  219. import { isFunction as isFn, isBoolean } from "./type";
  220. import ElementsMapping from "./ElementsMapping";
  221. import ComponentsMapping from "./ComponentsMapping";
  222. import { computed, defineComponent, getCurrentInstance, ref, watch } from "vue";
  223. import expand from "./expand";
  224. import Sortable from "sortablejs";
  225. export default defineComponent({
  226. name: "Table",
  227. components: {
  228. ElementsMapping,
  229. ComponentsMapping,
  230. },
  231. props: {
  232. hideSearch: {
  233. type: Boolean,
  234. default: false,
  235. },
  236. hideTable: {
  237. type: Boolean,
  238. default: false,
  239. },
  240. //顶部搜索下拉配置
  241. selectConfig: {
  242. type: Array,
  243. default() {
  244. return [];
  245. },
  246. },
  247. // 获取表格元数据时携带的参数
  248. filterParams: {
  249. type: Object,
  250. default() {
  251. return {};
  252. },
  253. },
  254. // 表格加载 loading
  255. loading: {
  256. type: Boolean,
  257. default: false,
  258. },
  259. // 表格名称
  260. title: {
  261. type: String,
  262. default: "",
  263. },
  264. // 表格元数据
  265. source: {
  266. type: Array,
  267. required: true,
  268. default() {
  269. return [];
  270. },
  271. },
  272. tableHeight: {
  273. type: Number,
  274. required: false,
  275. },
  276. searchConfig: {
  277. type: Object,
  278. default() {
  279. return {
  280. keyword: "",
  281. };
  282. },
  283. },
  284. statConfig: {
  285. type: Array,
  286. default() {
  287. return [];
  288. },
  289. },
  290. // 指定外层容器的渲染组件
  291. containerTag: {
  292. type: String,
  293. default: "div",
  294. },
  295. // 是否隐藏表头
  296. hideHeader: {
  297. type: Boolean,
  298. default: false,
  299. },
  300. // 是否隐藏分页
  301. hidePagination: {
  302. type: Boolean,
  303. default: false,
  304. },
  305. // 分页配置
  306. pagination: {
  307. type: Object,
  308. default() {
  309. return {};
  310. },
  311. },
  312. // 表格配置文件
  313. config: {
  314. type: Array,
  315. default() {
  316. return [];
  317. },
  318. },
  319. // 表头右上方的按钮组
  320. actionList: {
  321. type: Array,
  322. default() {
  323. return [{ text: "", action: () => {} }];
  324. },
  325. },
  326. // element table 原生事件
  327. tableEvents: {
  328. type: Object,
  329. default() {
  330. return {};
  331. },
  332. },
  333. searchKey: {
  334. type: String,
  335. default: "keyword",
  336. },
  337. // 是否显示过滤的全部选项
  338. // isShowAll: {
  339. // type: Boolean,
  340. // default: true,
  341. // },
  342. },
  343. setup(props) {
  344. const { proxy } = getCurrentInstance();
  345. const selectConfigCopy = computed(() => {
  346. return props.selectConfig.map((item) => {
  347. if (!item.labelCopy) item.labelCopy = { ...item }.label;
  348. return item;
  349. });
  350. });
  351. let isMore = ref(false);
  352. const changeStatData = () => {
  353. statWarpHeight.value = document.getElementById("statWarp").offsetHeight;
  354. };
  355. let statWarpHeight = ref(0);
  356. watch(
  357. proxy.statConfig,
  358. (newValue, oldValue) => {
  359. setTimeout(() => {
  360. //获取statWarp的height
  361. statWarpHeight.value =
  362. document.getElementById("statWarp").offsetHeight;
  363. }, 500);
  364. },
  365. { immediate: true }
  366. );
  367. let statSelectVal = ref(0);
  368. const retrievalModal = ref(false);
  369. const getAttrsValue = (item) => {
  370. const { attrs } = item;
  371. const result = {
  372. ...attrs,
  373. };
  374. delete result.prop;
  375. return result;
  376. };
  377. const renderTypeList = ref({
  378. render: {},
  379. renderHTML: {
  380. target: "elements-mapping",
  381. },
  382. renderComponent: {
  383. target: "components-mapping",
  384. },
  385. renderMoreBtn: {
  386. target: "more-btn",
  387. },
  388. });
  389. const getParent = computed(() => {
  390. return proxy.$parent;
  391. });
  392. const getPagination = computed(() => {
  393. const params = {
  394. pageNum: 1,
  395. pageSize: 10,
  396. total: 0,
  397. };
  398. return Object.assign({}, params, props.pagination);
  399. });
  400. const getActionList = computed(() => {
  401. return props.actionList
  402. .slice()
  403. .reverse()
  404. .filter((it) => it.text);
  405. });
  406. const getValue = (scope, configItem) => {
  407. const prop = configItem.attrs.prop;
  408. const renderName = getMatchRenderFunction(configItem);
  409. const renderObj = renderTypeList.value[renderName];
  410. if (renderObj && isFunction(configItem[renderName])) {
  411. return renderObj.target
  412. ? getRenderValue(scope, configItem, {
  413. name: renderName,
  414. type: "bind",
  415. })
  416. : getRenderValue(scope, configItem);
  417. }
  418. return scope.row[prop];
  419. };
  420. const getRenderValue = (
  421. scope,
  422. item,
  423. fn = { name: "render", type: "call" }
  424. ) => {
  425. const prop = item.attrs.prop;
  426. const propValue = prop && scope.row[prop];
  427. scope.row.$index = scope.$index;
  428. const args = propValue !== undefined ? propValue : scope.row;
  429. return item[fn.name][fn.type](getParent.value, args);
  430. };
  431. // 匹配 render 开头的函数
  432. const getMatchRenderFunction = (obj) => {
  433. return Object.keys(obj).find((key) => {
  434. const matchRender = key.match(/^render.*/);
  435. return matchRender && matchRender[0];
  436. });
  437. };
  438. const isFunction = (fn) => {
  439. return isFn(fn);
  440. };
  441. const searchFn = (val) => {
  442. if(props.loading) return;
  443. proxy.$emit(
  444. "getList",
  445. Object.assign(props.filterParams, {
  446. [props.searchKey]: props.pagination.keyword,
  447. })
  448. );
  449. };
  450. const retrievalModalFn = () => {
  451. proxy.$emit("moreSearch", "");
  452. //获取父组件定义的moreSearch方法
  453. };
  454. const handlePageChange = (val) => {
  455. proxy.$emit(
  456. "getList",
  457. Object.assign(props.filterParams, { pageNum: val })
  458. );
  459. };
  460. const handleSizeChange = (val) => {
  461. proxy.$emit(
  462. "getList",
  463. Object.assign(props.filterParams, { pageSize: val })
  464. );
  465. };
  466. const getHeaderActions = (item) => {
  467. return {
  468. ...item.attrs,
  469. };
  470. };
  471. const stopBubbles = (e) => {
  472. const event = e || window.event;
  473. if (event && event.stopPropagation) {
  474. event.stopPropagation();
  475. } else {
  476. event.cancelBubble = true;
  477. }
  478. };
  479. const handleNativeClick = ({ isBubble }, e, item) => {
  480. // 考虑到单元格内渲染了组件,并且组件自身可能含有点击事件,故添加了阻止冒泡机制
  481. // 若指定 isBubble 为 false,则当前单元格恢复冒泡机制
  482. if (isBoolean(isBubble) && !isBubble) return;
  483. stopBubbles(e);
  484. };
  485. //下拉搜索相关
  486. const searchItemSelct = (item, i, index) => {
  487. if (item == "all") {
  488. i.label = { ...props.selectConfig[index] }.labelCopy;
  489. proxy.$emit(
  490. "getList",
  491. Object.assign(props.filterParams, { [i.prop]: "" })
  492. );
  493. return;
  494. }
  495. i.label = item.label;
  496. proxy.$emit(
  497. "getList",
  498. Object.assign(props.filterParams, { [i.prop]: item.value })
  499. );
  500. };
  501. const isSelectable = (row, index, item) => {
  502. if (item.type === "selection") {
  503. if (item.attrs && item.attrs.checkAtt) {
  504. if (row[item.attrs.checkAtt]) {
  505. return row[item.attrs.checkAtt];
  506. }
  507. } else {
  508. return true;
  509. }
  510. }
  511. };
  512. const hocElTable = ref();
  513. return {
  514. getParent,
  515. getPagination,
  516. renderTypeList,
  517. getActionList,
  518. getAttrsValue,
  519. getValue,
  520. getRenderValue,
  521. getMatchRenderFunction,
  522. isFunction,
  523. handlePageChange,
  524. handleSizeChange,
  525. getHeaderActions,
  526. stopBubbles,
  527. handleNativeClick,
  528. searchFn,
  529. searchItemSelct,
  530. selectConfigCopy,
  531. isSelectable,
  532. retrievalModal,
  533. retrievalModalFn,
  534. statSelectVal,
  535. statWarpHeight,
  536. isMore,
  537. changeStatData,
  538. hocElTable,
  539. };
  540. },
  541. });
  542. </script>
  543. <style>
  544. .table-list-container th {
  545. color: #333 !important;
  546. }
  547. .by-table td .el-button + .el-button {
  548. margin-left: 0 !important;
  549. }
  550. .by-table td .el-button {
  551. background: none !important;
  552. margin: 0 !important;
  553. padding: 8px 6px !important;
  554. }
  555. .el-checkbox__input.is-disabled .el-checkbox__inner {
  556. background-color: #dee1e6;
  557. border-color: #b2b4b9;
  558. }
  559. .el-table .cell {
  560. line-height: 34px;
  561. }
  562. </style>
  563. <style lang="scss" scoped>
  564. .sortableActive {
  565. background: #f5f7fa !important;
  566. }
  567. .show-more {
  568. height: auto !important;
  569. }
  570. .stat-warp {
  571. margin-bottom: 20px;
  572. background: #fff;
  573. padding: 0 20px;
  574. height: 200px;
  575. overflow: hidden;
  576. position: relative;
  577. .more-btn {
  578. position: absolute;
  579. right: 0;
  580. bottom: 0;
  581. left: 0;
  582. height: 40px;
  583. cursor: pointer;
  584. font-size: 12px;
  585. line-height: 30px;
  586. text-align: center;
  587. background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 100%);
  588. i{
  589. color:#999;
  590. }
  591. }
  592. .title {
  593. height: 60px;
  594. select {
  595. height: 60px;
  596. border: none;
  597. outline: none;
  598. -webkit-appearance: none;
  599. appearance: none;
  600. font-size: 14px;
  601. font-weight: bold;
  602. background: url("@/assets/images/sanjiao.png") no-repeat right center;
  603. padding-right: 20px;
  604. }
  605. div {
  606. height: 60px;
  607. font-size: 14px;
  608. font-weight: bold;
  609. line-height: 60px;
  610. }
  611. }
  612. ul {
  613. padding: 0;
  614. overflow: hidden;
  615. margin: 0;
  616. li {
  617. list-style: none;
  618. min-width: 285px;
  619. box-sizing: border-box;
  620. margin: 0 20px 20px 0;
  621. background: #eff6ff;
  622. float: left;
  623. overflow: hidden;
  624. padding: 20px;
  625. color: #333333;
  626. border-radius: 10px;
  627. .label {
  628. font-size: 14px;
  629. }
  630. .label::before {
  631. width: 10px;
  632. height: 10px;
  633. content: "";
  634. border-radius: 50%;
  635. background: #0084ff;
  636. display: inline-block;
  637. margin-right: 10px;
  638. }
  639. .num {
  640. margin-top: 10px;
  641. font-size: 24px;
  642. font-weight: bold;
  643. }
  644. }
  645. //#F5F3FF #9E64ED
  646. .theme2 {
  647. background: #f5f3ff;
  648. .label::before {
  649. background: #9e64ed;
  650. }
  651. }
  652. //#FFF1E1 #FF9315
  653. .theme3 {
  654. background: #fff1e1;
  655. .label::before {
  656. background: #ff9315;
  657. }
  658. }
  659. //#E2FBE8 #39C55A
  660. .theme4 {
  661. background: #e2fbe8;
  662. .label::before {
  663. background: #39c55a;
  664. }
  665. }
  666. .theme5 {
  667. background: #ffebe9;
  668. .label::before {
  669. background: #f94539;
  670. }
  671. }
  672. .theme6 {
  673. background: #e4f9f9;
  674. .label::before {
  675. background: #53cbcb;
  676. }
  677. }
  678. .multi-data {
  679. .label::before {
  680. display: none;
  681. }
  682. .label {
  683. font-size: 14px;
  684. font-weight: bold;
  685. color: #333;
  686. margin-bottom: 8px;
  687. }
  688. .num-warp {
  689. overflow: hidden;
  690. .num-box {
  691. float: left;
  692. min-width: 80px;
  693. margin-right: 20px;
  694. .num-small {
  695. font-size: 16px;
  696. font-weight: bold;
  697. margin-bottom: 8px;
  698. }
  699. .label-small {
  700. color: #666;
  701. font-size: 14px;
  702. }
  703. }
  704. }
  705. }
  706. }
  707. }
  708. .by-search {
  709. display: flex;
  710. justify-content: space-between;
  711. margin-bottom: 10px;
  712. .more-icon {
  713. float: right;
  714. cursor: pointer;
  715. line-height: 32px;
  716. text-align: center;
  717. margin-left: 5px;
  718. }
  719. }
  720. .by-dropdown {
  721. position: relative;
  722. text-align: left;
  723. height: 32px;
  724. z-index: 1010;
  725. padding: 0 10px;
  726. transition: all 0.5s ease;
  727. cursor: pointer;
  728. line-height: 32px;
  729. .by-dropdown-title {
  730. font-size: 14px;
  731. background-color: #fff;
  732. }
  733. ul {
  734. position: absolute;
  735. left: 0;
  736. top: 32px;
  737. padding: 0;
  738. margin: 0;
  739. z-index: 100;
  740. display: none;
  741. white-space: nowrap;
  742. min-width: 100%;
  743. li {
  744. list-style: none;
  745. font-size: 12px;
  746. height: 30px;
  747. padding: 0 10px;
  748. text-align: left;
  749. line-height: 30px;
  750. }
  751. li:hover {
  752. background-color: #eff6ff;
  753. color: #0084ff;
  754. }
  755. }
  756. }
  757. .by-dropdown::before {
  758. display: block;
  759. width: 1px;
  760. content: " ";
  761. position: absolute;
  762. height: 14px;
  763. top: 8px;
  764. background-color: #ddd;
  765. right: 0;
  766. z-index: 1011;
  767. }
  768. .by-dropdown:hover {
  769. background: #ffffff;
  770. border-radius: 2px 2px 2px 2px;
  771. opacity: 1;
  772. ul {
  773. background: #ffffff;
  774. box-shadow: 0px 2px 16px 1px rgba(0, 0, 0, 0.06);
  775. border-radius: 2px 2px 2px 2px;
  776. opacity: 1;
  777. display: block;
  778. text-align: left;
  779. }
  780. }
  781. .header-actions {
  782. flex: 1;
  783. overflow-x: auto;
  784. padding: 20px;
  785. background: #fff;
  786. margin-bottom: 20px;
  787. .overflow-box {
  788. :deep() .el-button:nth-child(1) {
  789. margin-left: 10px;
  790. }
  791. }
  792. }
  793. .table-list-container {
  794. background: #fff;
  795. padding: 13px 20px 20px;
  796. .table-pagination {
  797. padding-top: 20px;
  798. }
  799. .header {
  800. display: flex;
  801. padding-bottom: 20px;
  802. }
  803. .el-table {
  804. :deep() th {
  805. font-size: 14px;
  806. }
  807. :deep() td {
  808. font-size: 14px;
  809. }
  810. }
  811. }
  812. .by-dropdown-lists {
  813. max-height: 50vh;
  814. overflow-y: auto;
  815. line-height: 1;
  816. }
  817. </style>