mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 07:30:12 +01:00
Improve adaptive width for Attributes View (#9280)
* 🎨 Attrs View adaptive width * 🎨 Add CSS class `av__body` * 🎨 add margins for attribute view * 🎨 add max-width for attribute view * Squashed commit of the following: commit642d041513Author: Daniel <845765@qq.com> Date: Tue Oct 3 13:36:25 2023 +0800 🔖 Release v2.10.8 commit43e53672b0Merge:6b0f8e00a0e3b78020Author: Vanessa <lly219@gmail.com> Date: Tue Oct 3 13:28:32 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit6b0f8e00a8Author: Vanessa <lly219@gmail.com> Date: Tue Oct 3 13:28:08 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9334 commit0e3b780201Author: Daniel <845765@qq.com> Date: Tue Oct 3 13:03:48 2023 +0800 📝 Update changelogs commitcc3b4e320eAuthor: Daniel <845765@qq.com> Date: Tue Oct 3 13:01:11 2023 +0800 🎨 Database template column support using values from other columns https://github.com/siyuan-note/siyuan/issues/9327 commit29f34fe8b8Author: Daniel <845765@qq.com> Date: Tue Oct 3 12:56:13 2023 +0800 🎨 Database template column support using values from other columns https://github.com/siyuan-note/siyuan/issues/9327 commit7556d1c3a2Author: Daniel <845765@qq.com> Date: Tue Oct 3 11:49:12 2023 +0800 🎨 Database template column support using values from other columns https://github.com/siyuan-note/siyuan/issues/9327 commit558422c407Author: Daniel <845765@qq.com> Date: Tue Oct 3 11:46:25 2023 +0800 🎨 Database template column support using values from other columns https://github.com/siyuan-note/siyuan/issues/9327 commit433cb91d75Author: Daniel <845765@qq.com> Date: Tue Oct 3 10:33:41 2023 +0800 ⬆️ Upgrade kernel deps commitc5a25fe88fAuthor: Daniel <845765@qq.com> Date: Tue Oct 3 08:52:33 2023 +0800 🐛 Database render deleted block https://ld246.com/article/1695790906050/comment/1696234209062?r=88250#comments commitf6a8ca20cdAuthor: Vanessa <lly219@gmail.com> Date: Tue Oct 3 08:39:36 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/8766 commit11cc108893Author: Daniel <845765@qq.com> Date: Tue Oct 3 07:57:36 2023 +0800 🐛 Create doc with ref Fix https://github.com/siyuan-note/siyuan/issues/9329 commitd869aef346Author: Daniel <845765@qq.com> Date: Mon Oct 2 22:46:36 2023 +0800 🎨 The access authorization code command line parameter must be set when deploying via Docker https://github.com/siyuan-note/siyuan/issues/9328 commit3d7bf2eb0fAuthor: Daniel <845765@qq.com> Date: Mon Oct 2 22:39:08 2023 +0800 🎨 Remove the access authorization code setting item on the browser-end https://github.com/siyuan-note/siyuan/issues/9331 commit279e17e8b5Author: Daniel <845765@qq.com> Date: Mon Oct 2 22:15:33 2023 +0800 🎨 The access authorization code command line parameter must be set when deploying via Docker https://github.com/siyuan-note/siyuan/issues/9328 commitd2356754ddAuthor: Daniel <845765@qq.com> Date: Sun Oct 1 18:41:51 2023 +0800 📝 Update changelogs commit4fdd0ddef0Author: Daniel <845765@qq.com> Date: Sun Oct 1 18:37:39 2023 +0800 🎨 Add template type column to Attribute View https://github.com/siyuan-note/siyuan/issues/8766 commitb4bded40e3Author: Daniel <845765@qq.com> Date: Sun Oct 1 18:24:16 2023 +0800 🎨 Add template type column to Attribute View https://github.com/siyuan-note/siyuan/issues/8766 commitbfd27a62d1Author: Daniel <845765@qq.com> Date: Sun Oct 1 18:22:39 2023 +0800 🎨 Add template type column to Attribute View https://github.com/siyuan-note/siyuan/issues/8766 commit0aa61fe5b7Author: Daniel <845765@qq.com> Date: Sun Oct 1 18:14:31 2023 +0800 🎨 Add template type column to Attribute View https://github.com/siyuan-note/siyuan/issues/8766 commit7d1e1bf2e5Author: Daniel <845765@qq.com> Date: Sun Oct 1 18:02:31 2023 +0800 🎨 Add template type column to Attribute View https://github.com/siyuan-note/siyuan/issues/8766 commit8c31eb0eacAuthor: Vanessa <lly219@gmail.com> Date: Sun Oct 1 17:59:16 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/8766 commit37892e786bAuthor: Vanessa <lly219@gmail.com> Date: Sun Oct 1 17:58:48 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/8766 commitf965ef0945Merge:b709c8458b2f5ab570Author: Vanessa <lly219@gmail.com> Date: Sun Oct 1 17:41:15 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commitb709c84585Author: Vanessa <lly219@gmail.com> Date: Sun Oct 1 17:41:00 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/8766 commitb2f5ab5700Author: Daniel <845765@qq.com> Date: Sun Oct 1 17:36:22 2023 +0800 🎨 Add template type column to Attribute View https://github.com/siyuan-note/siyuan/issues/8766 commitb833087cb6Author: Daniel <845765@qq.com> Date: Sun Oct 1 17:33:53 2023 +0800 🎨 Add template type column to Attribute View https://github.com/siyuan-note/siyuan/issues/8766 commitdbdddd7ff3Author: Daniel <845765@qq.com> Date: Sun Oct 1 17:16:08 2023 +0800 🎨 Add template type column to Attribute View https://github.com/siyuan-note/siyuan/issues/8766 commitb981fa08a0Author: Vanessa <lly219@gmail.com> Date: Sun Oct 1 17:05:06 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/8766 commit6e475e1857Author: Daniel <845765@qq.com> Date: Sun Oct 1 11:05:24 2023 +0800 📝 Update changelogs commitdf38f89f40Merge:465375422b69e8d335Author: Vanessa <lly219@gmail.com> Date: Sun Oct 1 11:02:11 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit4653754221Author: Vanessa <lly219@gmail.com> Date: Sun Oct 1 11:01:57 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9291 commitb69e8d3357Author: Daniel <845765@qq.com> Date: Sun Oct 1 10:58:46 2023 +0800 🎨 Add template type column to Attribute View https://github.com/siyuan-note/siyuan/issues/8766 commitdf487a7c6aAuthor: Vanessa <lly219@gmail.com> Date: Sun Oct 1 10:49:52 2023 +0800 🐛 flash card zoomin status commitc0424caf67Author: Daniel <845765@qq.com> Date: Sun Oct 1 10:42:12 2023 +0800 🎨 Add template type column to Attribute View https://github.com/siyuan-note/siyuan/issues/8766 commite8359edebcAuthor: Vanessa <lly219@gmail.com> Date: Sun Oct 1 10:27:07 2023 +0800 🚨 commitc3212235b7Merge:64900706b702926430Author: Vanessa <lly219@gmail.com> Date: Sun Oct 1 10:26:51 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit64900706b2Author: Vanessa <lly219@gmail.com> Date: Sun Oct 1 10:26:31 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9313 commit7029264300Author: Daniel <845765@qq.com> Date: Sun Oct 1 10:03:07 2023 +0800 📝 Update changelogs commit29d155d0cdAuthor: Daniel <845765@qq.com> Date: Sun Oct 1 09:37:46 2023 +0800 🎨 Improve missing line breaks when exporting RTF Fix https://github.com/siyuan-note/siyuan/issues/9325 commit05cfcf7c2bAuthor: Vanessa <lly219@gmail.com> Date: Sat Sep 30 20:46:00 2023 +0800 🎨 https://ld246.com/article/1695361968294 commit67e0dad0a7Merge:856445a6efee908d01Author: Vanessa <lly219@gmail.com> Date: Sat Sep 30 20:30:21 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit856445a6efAuthor: Vanessa <lly219@gmail.com> Date: Sat Sep 30 20:30:06 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9323 commitfee908d01eAuthor: Daniel <845765@qq.com> Date: Sat Sep 30 20:19:26 2023 +0800 🐛 The image does not display after pasting some PDF rectangular annotations Fix https://github.com/siyuan-note/siyuan/issues/9321 commit11d2f7c580Author: Daniel <845765@qq.com> Date: Sat Sep 30 20:18:27 2023 +0800 🐛 The image does not display after pasting some PDF rectangular annotations Fix https://github.com/siyuan-note/siyuan/issues/9321 commit83dce4f3e6Merge:1f2faecf449d92538dAuthor: Vanessa <lly219@gmail.com> Date: Sat Sep 30 19:55:15 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit1f2faecf4dAuthor: Vanessa <lly219@gmail.com> Date: Sat Sep 30 19:55:01 2023 +0800 ⚡ breadcrumb commit49d92538dfAuthor: Daniel <845765@qq.com> Date: Sat Sep 30 19:52:26 2023 +0800 🐛 The subdoc creation path is unstable when a parent doc with the same name exists Fix https://github.com/siyuan-note/siyuan/issues/9322 commit17dd264479Author: Daniel <845765@qq.com> Date: Sat Sep 30 19:34:28 2023 +0800 🎨 Improve handling of copy block ref when including images https://github.com/siyuan-note/siyuan/issues/9317 commite74733b4e1Author: Daniel <845765@qq.com> Date: Sat Sep 30 17:57:23 2023 +0800 ♻️ Refactor create doc by hpath commitf608da26a5Merge:6b2a4ff0a121d33e74Author: Vanessa <lly219@gmail.com> Date: Sat Sep 30 19:25:39 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit6b2a4ff0aaAuthor: Vanessa <lly219@gmail.com> Date: Sat Sep 30 19:25:20 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9317 commit121d33e74dAuthor: Daniel <845765@qq.com> Date: Sat Sep 30 17:56:47 2023 +0800 🎨 Improve handling of copy block ref when including images https://github.com/siyuan-note/siyuan/issues/9317 commit82bed847e6Author: Vanessa <lly219@gmail.com> Date: Sat Sep 30 14:40:45 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9320 commitf8b272d596Merge:2dae1200bca855c1faAuthor: Vanessa <lly219@gmail.com> Date: Sat Sep 30 13:57:55 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit2dae1200b4Author: Vanessa <lly219@gmail.com> Date: Sat Sep 30 13:57:40 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9316 commitca855c1fa5Author: Daniel <845765@qq.com> Date: Sat Sep 30 11:57:37 2023 +0800 🎨 Attribute Panel - Database sort attributes by view column order https://github.com/siyuan-note/siyuan/issues/9319 commit1063f50375Author: Vanessa <lly219@gmail.com> Date: Sat Sep 30 11:21:46 2023 +0800 💄 https://github.com/siyuan-note/siyuan/issues/9318 commit1f899aaf3cAuthor: Vanessa <lly219@gmail.com> Date: Fri Sep 29 21:41:14 2023 +0800 💄 fix https://github.com/siyuan-note/siyuan/issues/9281 commit2b9bec8e8bAuthor: Daniel <845765@qq.com> Date: Fri Sep 29 17:33:18 2023 +0800 🎨 Ctrl+N should follow notebook create save path https://ld246.com/article/1695965429553 commit41e35ea795Author: Vanessa <lly219@gmail.com> Date: Thu Sep 28 23:45:23 2023 +0800 🚨 commit6a37b86613Author: Vanessa <lly219@gmail.com> Date: Thu Sep 28 23:41:44 2023 +0800 🚨 commit4c6b695daeMerge:df3f444e4dc03a5cf3Author: Vanessa <lly219@gmail.com> Date: Thu Sep 28 23:41:18 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commitdf3f444e48Author: Vanessa <lly219@gmail.com> Date: Thu Sep 28 23:40:44 2023 +0800 ♻️ https://github.com/siyuan-note/siyuan/pull/9300 commitdc03a5cf38Author: Daniel <845765@qq.com> Date: Thu Sep 28 22:46:29 2023 +0800 ⬆️ Upgrade kernel deps commit172b7ed018Author: Daniel <845765@qq.com> Date: Thu Sep 28 22:39:12 2023 +0800 🎨 Apply result optimized by FSRS optimizer https://github.com/siyuan-note/siyuan/issues/9309 commit6354d04e4bAuthor: Daniel <845765@qq.com> Date: Thu Sep 28 22:22:17 2023 +0800 🎨 Apply result optimized by FSRS optimizer https://github.com/siyuan-note/siyuan/issues/9309 commitb2a27bb54cAuthor: Yingyi / 颖逸 <49649786+Zuoqiu-Yingyi@users.noreply.github.com> Date: Thu Sep 28 22:38:49 2023 +0800 Refactor code language and ts types (#9300) * 🎨 Code block language list adds custom languages * Update index.d.ts * 🎨 Improve global variable type definition * 🎨 Improve global variable type definition * 🎨 Add constant `EXTRA_CODE_LANGUAGES` commit17d2a16a94Author: Vanessa <lly219@gmail.com> Date: Thu Sep 28 22:31:33 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9264 commitceb9aef1d6Author: Vanessa <lly219@gmail.com> Date: Thu Sep 28 17:25:18 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9303 * 🎨 Improve the width of image in attribute view cell * 🎨 Adjust the style of rows' gutter * Merge tag 'v2.10.9-dev2' into feat/attrs-view-adaptive-width * 🎨 Improve the style of rows' gutter * 🐛 Improve the style of icon in attribute view * 🎨 Improve preview text fields * Revert Merge tag 'v2.10.9-dev2' into feat/attrs-view-adaptive-width * 🎨 Improve the style of image in attribute view cell * 🎨 Improve the style of firstcol * 🐛 Fix check icon click event handle * Merge tag 'v2.10.9-dev3' into feat/attrs-view-adaptive-width * Merge tag 'v2.10.9' into feat/attrs-view-adaptive-width * Merge tag 'v2.10.10' into feat/attrs-view-adaptive-width * Squashed commit of the following: commitc8924e37aeAuthor: Vanessa <lly219@gmail.com> Date: Sat Oct 14 12:14:12 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9409 commit879fdd827dAuthor: Vanessa <lly219@gmail.com> Date: Sat Oct 14 11:56:16 2023 +0800 💄 dragover commit9978827389Author: Vanessa <lly219@gmail.com> Date: Sat Oct 14 11:34:42 2023 +0800 🎨 数据库块适配外观和宽度调整 commita20ffeb12bAuthor: Vanessa <lly219@gmail.com> Date: Sat Oct 14 11:20:17 2023 +0800 💄 fix https://github.com/siyuan-note/siyuan/issues/9412 commitf2075fafacAuthor: Vanessa <lly219@gmail.com> Date: Sat Oct 14 11:04:23 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9419 commit5e2910a4e6Author: Vanessa <lly219@gmail.com> Date: Sat Oct 14 11:00:46 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9419 commitac7f8d36dfMerge:9ae8400b4d78a0205fAuthor: Vanessa <lly219@gmail.com> Date: Sat Oct 14 10:56:40 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit9ae8400b47Author: Vanessa <lly219@gmail.com> Date: Sat Oct 14 10:56:21 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9419 commitd78a0205f5Author: Daniel <845765@qq.com> Date: Sat Oct 14 10:51:46 2023 +0800 🎨 Database table view breadcrumb commit6b1a2925c9Merge:25109b9069766020b8Author: Vanessa <lly219@gmail.com> Date: Sat Oct 14 10:49:46 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit25109b906fAuthor: Vanessa <lly219@gmail.com> Date: Sat Oct 14 10:49:35 2023 +0800 🎨 数据库块适配外观和宽度调整 commit9766020b89Author: Daniel <845765@qq.com> Date: Sat Oct 14 10:08:57 2023 +0800 🎨 Update text commitab67389650Merge:7d6f9bb0d39c5744f2Author: Vanessa <lly219@gmail.com> Date: Sat Oct 14 10:01:57 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit7d6f9bb0dfAuthor: Vanessa <lly219@gmail.com> Date: Sat Oct 14 10:01:42 2023 +0800 🎨 数据库不能设置布局 commit39c5744f2fAuthor: Daniel <845765@qq.com> Date: Sat Oct 14 09:46:29 2023 +0800 🐛 Database table view export does not display select content Fix https://github.com/siyuan-note/siyuan/issues/9428 commit87ecb7f24aAuthor: Daniel <845765@qq.com> Date: Sat Oct 14 09:37:47 2023 +0800 🎨 Update text commit69d8c93c98Merge:623f30b5ff6780c126Author: Vanessa <lly219@gmail.com> Date: Sat Oct 14 09:21:54 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit623f30b5fcAuthor: Vanessa <lly219@gmail.com> Date: Sat Oct 14 09:21:44 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9419 commitf6780c126aAuthor: Daniel <845765@qq.com> Date: Sat Oct 14 09:20:51 2023 +0800 🎨 Supports searching database view content https://github.com/siyuan-note/siyuan/issues/9419 commitfd94e9df0cAuthor: Vanessa <lly219@gmail.com> Date: Sat Oct 14 00:04:16 2023 +0800 🎨 commit51f66879ccAuthor: Vanessa <lly219@gmail.com> Date: Fri Oct 13 23:50:31 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9419 commit49305b8911Merge:2f0f563e18399aba10Author: Vanessa <lly219@gmail.com> Date: Fri Oct 13 23:26:15 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit2f0f563e12Author: Vanessa <lly219@gmail.com> Date: Fri Oct 13 23:25:58 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9419 commit8399aba10bAuthor: Daniel <845765@qq.com> Date: Fri Oct 13 23:22:17 2023 +0800 🎨 Supports searching database view content https://github.com/siyuan-note/siyuan/issues/9419 commit22efb3d523Merge:f95084e96c3d1c04afAuthor: Vanessa <lly219@gmail.com> Date: Fri Oct 13 23:07:13 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commitf95084e96aAuthor: Vanessa <lly219@gmail.com> Date: Fri Oct 13 23:06:53 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9419 commitc3d1c04af4Author: Daniel <845765@qq.com> Date: Fri Oct 13 22:50:11 2023 +0800 🎨 Supports searching database view content https://github.com/siyuan-note/siyuan/issues/9419 commita11ea9c347Author: Vanessa <lly219@gmail.com> Date: Fri Oct 13 22:37:15 2023 +0800 💄 commit99ec5c10a4Author: Vanessa <lly219@gmail.com> Date: Fri Oct 13 22:32:17 2023 +0800 🎨 showHiddenFiles commit49426ac916Author: Vanessa <lly219@gmail.com> Date: Fri Oct 13 22:15:20 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9425 commitd445c5401fAuthor: Vanessa <lly219@gmail.com> Date: Fri Oct 13 21:54:35 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9421 commit0c4aee7388Merge:c34d84ce2daa9ddfd5Author: Vanessa <lly219@gmail.com> Date: Fri Oct 13 21:50:28 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commitc34d84ce29Author: Vanessa <lly219@gmail.com> Date: Fri Oct 13 21:50:14 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9421 commitdaa9ddfd50Author: Daniel <845765@qq.com> Date: Fri Oct 13 14:43:43 2023 +0800 🎨 Don't load plugin when the user hasn't agreed to trust bazaar content yet Fix https://github.com/siyuan-note/siyuan/issues/9426 commit01b19ea2c8Author: Daniel <845765@qq.com> Date: Fri Oct 13 14:03:41 2023 +0800 🎨 Fix database table view loading https://ld246.com/article/1697168944677 commit7a9a85ea32Author: Vanessa <lly219@gmail.com> Date: Fri Oct 13 13:55:27 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9417 commit1815ec1b39Merge:73edee57a00ed190adAuthor: Vanessa <lly219@gmail.com> Date: Fri Oct 13 13:37:45 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit73edee57a4Author: Vanessa <lly219@gmail.com> Date: Fri Oct 13 13:37:32 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9417 commit00ed190ad7Author: Daniel <845765@qq.com> Date: Fri Oct 13 13:21:53 2023 +0800 🎨 Fix database table view loading https://ld246.com/article/1697168944677 commit48e871c75eAuthor: Vanessa <lly219@gmail.com> Date: Fri Oct 13 12:33:29 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9417 commit3554333da9Author: Vanessa <lly219@gmail.com> Date: Fri Oct 13 11:55:51 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9417 commitaf810b279dAuthor: Vanessa <lly219@gmail.com> Date: Fri Oct 13 11:34:19 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9423 commit673c952f07Author: Vanessa <lly219@gmail.com> Date: Fri Oct 13 11:30:44 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9423 commit3b87a0d9edMerge:ed31305d13de7781b1Author: Vanessa <lly219@gmail.com> Date: Fri Oct 13 11:09:07 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commited31305d1dAuthor: Vanessa <lly219@gmail.com> Date: Fri Oct 13 11:08:56 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9421 commit3de7781b1cAuthor: Daniel <845765@qq.com> Date: Fri Oct 13 10:44:29 2023 +0800 🎨 Supports searching database view content https://github.com/siyuan-note/siyuan/issues/9419 commit2304921feeAuthor: Daniel <845765@qq.com> Date: Fri Oct 13 10:42:51 2023 +0800 🎨 Update flashcard user guide commit55fb8b19abAuthor: Vanessa <lly219@gmail.com> Date: Fri Oct 13 10:14:11 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9420 commit8998de9d81Merge:5b38e79bedf9b55c71Author: Vanessa <lly219@gmail.com> Date: Fri Oct 13 09:37:35 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit5b38e79be7Author: Vanessa <lly219@gmail.com> Date: Fri Oct 13 09:37:24 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9420 commitdf9b55c71bAuthor: Daniel <845765@qq.com> Date: Fri Oct 13 08:46:29 2023 +0800 🎨 Database template columns support sort commit3da9f0f1e1Author: Vanessa <lly219@gmail.com> Date: Thu Oct 12 20:40:09 2023 +0800 🐛 新增行后弹出的输入框 commit79a88dfbecAuthor: Vanessa <lly219@gmail.com> Date: Thu Oct 12 20:23:18 2023 +0800 🚨 commit40a1e6d5ccAuthor: Vanessa <lly219@gmail.com> Date: Thu Oct 12 20:21:53 2023 +0800 💄 database loading commit2872dab9ebAuthor: Vanessa <lly219@gmail.com> Date: Thu Oct 12 20:11:59 2023 +0800 💄 fix https://github.com/siyuan-note/siyuan/issues/9418 commit025a8ea5a7Merge:02ec0f6e50ea9b8f5aAuthor: Vanessa <lly219@gmail.com> Date: Thu Oct 12 20:04:13 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit02ec0f6e5aAuthor: Vanessa <lly219@gmail.com> Date: Thu Oct 12 20:04:01 2023 +0800 💄 fix https://github.com/siyuan-note/siyuan/issues/9418 commit0ea9b8f5a7Author: Daniel <845765@qq.com> Date: Thu Oct 12 19:58:32 2023 +0800 🎨 Database block loading animation https://github.com/siyuan-note/siyuan/issues/9416 commit1590913db7Author: Daniel <845765@qq.com> Date: Thu Oct 12 19:55:57 2023 +0800 🎨 Update attr panel for av commitd257caff8dAuthor: Daniel <845765@qq.com> Date: Thu Oct 12 19:38:37 2023 +0800 🎨 Database block loading animation https://github.com/siyuan-note/siyuan/issues/9416 commitfdaf8d7e59Merge:70e82cd98238609f25Author: Vanessa <lly219@gmail.com> Date: Thu Oct 12 17:34:36 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit70e82cd981Author: Vanessa <lly219@gmail.com> Date: Thu Oct 12 17:34:19 2023 +0800 💄 fix https://github.com/siyuan-note/siyuan/issues/9416 commit238609f25fAuthor: Daniel <845765@qq.com> Date: Thu Oct 12 17:33:23 2023 +0800 ⚡ Improve performance of loading database table view commit2dd558b609Merge:fe0b1e8d68fb35f556Author: Vanessa <lly219@gmail.com> Date: Thu Oct 12 17:16:45 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commitfe0b1e8d60Author: Vanessa <lly219@gmail.com> Date: Thu Oct 12 17:16:31 2023 +0800 💄 fix https://github.com/siyuan-note/siyuan/issues/9415 commit8fb35f5565Author: Daniel <845765@qq.com> Date: Thu Oct 12 17:15:36 2023 +0800 🎨 Database template columns support number filter Fix https://github.com/siyuan-note/siyuan/issues/9414 commit01670f2b00Merge:f792d141fffcdb5d39Author: Vanessa <lly219@gmail.com> Date: Thu Oct 12 17:07:48 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commitf792d141fcAuthor: Vanessa <lly219@gmail.com> Date: Thu Oct 12 17:07:09 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9408 commitffcdb5d398Author: Daniel <845765@qq.com> Date: Thu Oct 12 16:37:09 2023 +0800 🐛 SVG images cannot be displayed on some systems https://github.com/siyuan-note/siyuan/issues/9413 commitfb1f80cf4dAuthor: Vanessa <lly219@gmail.com> Date: Thu Oct 12 12:22:55 2023 +0800 💄 fix https://github.com/siyuan-note/siyuan/issues/9406 commitda51aded35Merge:a4bcae87e09ef5fddfAuthor: Vanessa <lly219@gmail.com> Date: Thu Oct 12 12:11:42 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commita4bcae87eeAuthor: Vanessa <lly219@gmail.com> Date: Thu Oct 12 12:11:29 2023 +0800 🐛 数据库数字填0无效 commit09ef5fddf9Author: Daniel <845765@qq.com> Date: Thu Oct 12 12:01:53 2023 +0800 🎨 Database template columns support calculations https://github.com/siyuan-note/siyuan/issues/9408 commit1b595d014aAuthor: Vanessa <lly219@gmail.com> Date: Thu Oct 12 12:01:53 2023 +0800 🎨 #9408 commit21d1a0515aAuthor: Vanessa <lly219@gmail.com> Date: Thu Oct 12 11:54:15 2023 +0800 💄 编辑后表头不固定 commitc5206f7084Author: Vanessa <lly219@gmail.com> Date: Thu Oct 12 11:14:29 2023 +0800 🐛 fix https://github.com/siyuan-note/siyuan/issues/9405 commitf0f55d3b02Merge:01941240492151f715Author: Vanessa <lly219@gmail.com> Date: Thu Oct 12 10:54:19 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit0194124047Author: Vanessa <lly219@gmail.com> Date: Thu Oct 12 10:54:09 2023 +0800 💄 fix https://github.com/siyuan-note/siyuan/issues/9403 commit92151f7150Author: Daniel <845765@qq.com> Date: Thu Oct 12 10:12:44 2023 +0800 🎨 Change database template column custom attribute action Fix https://github.com/siyuan-note/siyuan/issues/9401 commitb8e8aa0593Author: Daniel <845765@qq.com> Date: Wed Oct 11 17:00:21 2023 +0800 🔨 Clean code commitb17aff5773Author: Vanessa <lly219@gmail.com> Date: Wed Oct 11 23:54:40 2023 +0800 🐛 commit11174958bcAuthor: Vanessa <lly219@gmail.com> Date: Wed Oct 11 23:50:28 2023 +0800 🐛 预览模式下点击只读 commit130884d758Author: Vanessa <lly219@gmail.com> Date: Wed Oct 11 23:23:01 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9404 commit7486e1a6e2Author: Vanessa <lly219@gmail.com> Date: Wed Oct 11 17:28:40 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9402 commiteb93255cf3Author: Daniel <845765@qq.com> Date: Wed Oct 11 14:57:14 2023 +0800 🔨 Clean code commitfd46593815Author: Daniel <845765@qq.com> Date: Wed Oct 11 14:55:06 2023 +0800 🔖 Release v2.10.10 commit337c79571dAuthor: Daniel <845765@qq.com> Date: Wed Oct 11 11:59:25 2023 +0800 🎨 Improve install new version on Windows commitf6f1148de1Author: Daniel <845765@qq.com> Date: Wed Oct 11 11:08:44 2023 +0800 📝 Update changelogs commitf0ad3268baAuthor: Vanessa <lly219@gmail.com> Date: Wed Oct 11 11:30:00 2023 +0800 🎨 commit2eb89f0673Author: Vanessa <lly219@gmail.com> Date: Wed Oct 11 11:25:21 2023 +0800 🚨 commit0db516e4b9Merge:23c3f9f15e43cf4cf5Author: Vanessa <lly219@gmail.com> Date: Wed Oct 11 11:24:41 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit23c3f9f154Author: Vanessa <lly219@gmail.com> Date: Wed Oct 11 11:24:29 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9383 commite43cf4cf55Author: Daniel <845765@qq.com> Date: Wed Oct 11 10:52:10 2023 +0800 📝 Update changelogs commitb30cb0984aAuthor: Daniel <845765@qq.com> Date: Wed Oct 11 10:49:04 2023 +0800 📝 Update changelogs commitd4a3226a56Author: Daniel <845765@qq.com> Date: Wed Oct 11 10:48:40 2023 +0800 📝 Update changelogs commit65adab61c9Author: Daniel <845765@qq.com> Date: Wed Oct 11 10:48:29 2023 +0800 🎨 Adding row overwriting data after enabling filter in database https://github.com/siyuan-note/siyuan/issues/9395 commit210a3ac547Author: Daniel <845765@qq.com> Date: Wed Oct 11 10:04:39 2023 +0800 🎨 Improve handling of database column filters containing empty values Fix https://github.com/siyuan-note/siyuan/issues/9394 commit37f950ba4fAuthor: Vanessa <lly219@gmail.com> Date: Wed Oct 11 09:39:22 2023 +0800 💄 icon commit7b1c30bc26Author: Vanessa <lly219@gmail.com> Date: Wed Oct 11 09:30:13 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9396 commit6ef13aba78Merge:acd2eb167e4907e789Author: Vanessa <lly219@gmail.com> Date: Wed Oct 11 09:18:43 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commitacd2eb1677Author: Vanessa <lly219@gmail.com> Date: Wed Oct 11 09:18:33 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9396 commite4907e7896Author: Daniel <845765@qq.com> Date: Wed Oct 11 09:16:57 2023 +0800 🎨 The block in the editor shows the database icon https://github.com/siyuan-note/siyuan/issues/8894 commit6f249d768fAuthor: Daniel <845765@qq.com> Date: Wed Oct 11 09:15:03 2023 +0800 ⬆️ Upgrade kernel deps commitbb04bf9f70Author: Daniel <845765@qq.com> Date: Wed Oct 11 09:04:39 2023 +0800 🎨 Show notebooks in hpath of block ref search list results https://github.com/siyuan-note/siyuan/issues/9378 commit30b0dd08faMerge:c1de5e148ccb65454aAuthor: Vanessa <lly219@gmail.com> Date: Wed Oct 11 08:58:55 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commitc1de5e1488Author: Vanessa <lly219@gmail.com> Date: Wed Oct 11 08:58:44 2023 +0800 💄 https://github.com/siyuan-note/siyuan/issues/8894 commitccb65454a2Author: Daniel <845765@qq.com> Date: Wed Oct 11 08:50:13 2023 +0800 🎨 Improve handling of database column filters containing empty values Fix https://github.com/siyuan-note/siyuan/issues/9394 commit28e4e1ef2fAuthor: Daniel <845765@qq.com> Date: Tue Oct 10 22:31:46 2023 +0800 🎨 Rename the .sya annotation file when renaming a PDF asset https://github.com/siyuan-note/siyuan/issues/9390 commit964c822c2bAuthor: Daniel <845765@qq.com> Date: Tue Oct 10 22:02:46 2023 +0800 🎨 Improve database created and updated column values https://github.com/siyuan-note/siyuan/issues/9391 commitf404d7fe85Merge:ed7084c7b301b6d9f7Author: Vanessa <lly219@gmail.com> Date: Tue Oct 10 22:00:57 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commited7084c7beAuthor: Vanessa <lly219@gmail.com> Date: Tue Oct 10 22:00:43 2023 +0800 💄 commit301b6d9f70Author: Daniel <845765@qq.com> Date: Tue Oct 10 21:55:43 2023 +0800 🎨 Improve database created and updated column values https://github.com/siyuan-note/siyuan/issues/9391 commitf62be4719eAuthor: Vanessa <lly219@gmail.com> Date: Tue Oct 10 21:50:36 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9385 commit8e2565f347Author: Vanessa <lly219@gmail.com> Date: Tue Oct 10 21:39:57 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9386 commite54d8f1a4dAuthor: Vanessa <lly219@gmail.com> Date: Tue Oct 10 21:31:20 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9393 commit1fb7187936Author: Vanessa <lly219@gmail.com> Date: Tue Oct 10 21:23:29 2023 +0800 📝 fix https://github.com/siyuan-note/siyuan/issues/9392 commitea00753f38Author: Vanessa <lly219@gmail.com> Date: Tue Oct 10 21:18:17 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9392 commit4318aa4463Author: Vanessa <lly219@gmail.com> Date: Tue Oct 10 20:51:28 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9376 commitf1d4f8472bMerge:3f4c00efc64df2ffa4Author: Vanessa <lly219@gmail.com> Date: Tue Oct 10 20:42:43 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit3f4c00efcdAuthor: Vanessa <lly219@gmail.com> Date: Tue Oct 10 20:42:14 2023 +0800 🎨 https://github.com/siyuan-note/siyuan/issues/9376 commit64df2ffa42Author: Daniel <845765@qq.com> Date: Tue Oct 10 20:37:51 2023 +0800 🎨 Rows in the database without bound blocks should not show created and updated Fix https://github.com/siyuan-note/siyuan/issues/9391 commit691a0bea33Merge:0e5cae3007e9243d8dAuthor: Vanessa <lly219@gmail.com> Date: Tue Oct 10 20:41:05 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit0e5cae3001Author: Vanessa <lly219@gmail.com> Date: Tue Oct 10 20:40:38 2023 +0800 💄 fix https://github.com/siyuan-note/siyuan/issues/9206 commit7e9243d8dcAuthor: Daniel <845765@qq.com> Date: Tue Oct 10 20:05:48 2023 +0800 🎨 Rows in the database without bound blocks should not show created and updated Fix https://github.com/siyuan-note/siyuan/issues/9391 commit7aa4aacfc3Author: Vanessa <lly219@gmail.com> Date: Tue Oct 10 17:30:10 2023 +0800 💄 fix https://github.com/siyuan-note/siyuan/issues/9206 commitd02381d3f2Merge:449d2dbf86e9099ea1Author: Vanessa <lly219@gmail.com> Date: Tue Oct 10 17:09:14 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit449d2dbf87Author: Vanessa <lly219@gmail.com> Date: Tue Oct 10 17:09:03 2023 +0800 ♻️ https://github.com/siyuan-note/siyuan/pull/9256 commit6e9099ea12Author: Daniel <845765@qq.com> Date: Tue Oct 10 16:52:40 2023 +0800 🔒 Authenticate requests of assets other than 127.0.0.1 Fix https://github.com/siyuan-note/siyuan/issues/9388 commit11786381cfAuthor: Yingyi / 颖逸 <49649786+Zuoqiu-Yingyi@users.noreply.github.com> Date: Tue Oct 10 16:21:50 2023 +0800 Improve event bus `open-siyuan-url-plugin` (#9256) * 🎨 Improve plugin event bus `open-siyuan-url-plugin` * 🐛 Avoid plug-in names with the same prefix * Update onGetConfig.ts commit2c36af78bcAuthor: Vanessa <lly219@gmail.com> Date: Tue Oct 10 16:15:24 2023 +0800 🚨 commitb0e3efa774Author: Daniel <845765@qq.com> Date: Tue Oct 10 11:41:46 2023 +0800 🔖 Release v2.10.9 commitd690475ae6Merge:c8a6f4185811bac942Author: Daniel <845765@qq.com> Date: Tue Oct 10 10:58:46 2023 +0800 Merge remote-tracking branch 'origin/master' commitc8a6f4185eAuthor: Daniel <845765@qq.com> Date: Tue Oct 10 10:18:57 2023 +0800 🔖 Release v2.10.9 commitcdcec7e58dAuthor: Daniel <845765@qq.com> Date: Mon Oct 9 23:29:25 2023 +0800 📝 Update changelogs commit1eccb8ba4dMerge:a3094fe3e3827753b7Author: Vanessa <lly219@gmail.com> Date: Mon Oct 9 23:26:13 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commita3094fe3eaAuthor: Vanessa <lly219@gmail.com> Date: Mon Oct 9 23:25:48 2023 +0800 🐛 fix https://github.com/siyuan-note/siyuan/issues/9384 commit3827753b7cAuthor: Daniel <845765@qq.com> Date: Mon Oct 9 23:07:34 2023 +0800 🎨 Upgrade Electron https://github.com/siyuan-note/siyuan/issues/9342 commit567394afbaAuthor: Daniel <845765@qq.com> Date: Mon Oct 9 22:42:39 2023 +0800 📝 Update changelogs commitff6220abaaAuthor: Yingyi / 颖逸 <49649786+Zuoqiu-Yingyi@users.noreply.github.com> Date: Mon Oct 9 21:51:39 2023 +0800 🎨 add `@electron/remote` dependency (#9381) commitda0fa0853fAuthor: Daniel <845765@qq.com> Date: Mon Oct 9 21:45:36 2023 +0800 🎨 Replace non-breaking spaces with normal spaces when copying https://github.com/siyuan-note/siyuan/issues/9382 commit0ed6884761Author: Daniel <845765@qq.com> Date: Mon Oct 9 21:09:35 2023 +0800 🐛 Update av Fix https://github.com/siyuan-note/siyuan/issues/9380 commit288eb24474Author: Daniel <845765@qq.com> Date: Mon Oct 9 17:30:19 2023 +0800 🎨 Show notebooks in hpath of block ref search list results https://github.com/siyuan-note/siyuan/issues/9378 commit4965b7b845Merge:803069d80902849153Author: Vanessa <lly219@gmail.com> Date: Mon Oct 9 17:18:28 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit803069d807Author: Vanessa <lly219@gmail.com> Date: Mon Oct 9 17:18:17 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9370 commit902849153aAuthor: Daniel <845765@qq.com> Date: Mon Oct 9 17:17:40 2023 +0800 🎨 Add created and updated type column to database https://github.com/siyuan-note/siyuan/issues/9371 commitfaadbf5960Author: Daniel <845765@qq.com> Date: Mon Oct 9 16:48:28 2023 +0800 🎨 Add created and updated type column to database https://github.com/siyuan-note/siyuan/issues/9371 commit9ca11625bdMerge:43f06e57d644e0319dAuthor: Vanessa <lly219@gmail.com> Date: Mon Oct 9 16:45:06 2023 +0800 Merge remote-tracking branch 'origin/dev' into dev commit43f06e57d9Author: Vanessa <lly219@gmail.com> Date: Mon Oct 9 16:44:46 2023 +0800 🎨 fix https://github.com/siyuan-note/siyuan/issues/9370 commit811bac942dAuthor: Daniel <845765@qq.com> Date: Wed Oct 4 13:03:36 2023 +0800 🎨 Free disk space for docker image building GitHub Action commit66aa802765Author: Daniel <845765@qq.com> Date: Wed Oct 4 13:03:28 2023 +0800 🎨 Free disk space for docker image building GitHub Action * Update anno.ts * Update index.ts * 🎨 Adapt to align styles * 🎨 Adapt to using arrow keys/Esc to select a cell/row * Update row.ts * 🎨 Adjusted the cell width in attribute view * 🐛 Fixed the issue that the first column was misaligned * Update index.ts * Update action.ts
This commit is contained in:
parent
695029776c
commit
2e46bee776
13 changed files with 199 additions and 204 deletions
|
|
@ -53,13 +53,13 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: () => void) =
|
|||
}, (response) => {
|
||||
const data = response.data.view as IAVTable;
|
||||
// header
|
||||
let tableHTML = '<div class="av__row av__row--header"><div class="av__firstcol"><svg style="height: 32px"><use xlink:href="#iconUncheck"></use></svg></div>';
|
||||
let tableHTML = '<div class="av__row av__row--header"><div class="av__firstcol"><svg class="icon__check"><use xlink:href="#iconUncheck"></use></svg></div>';
|
||||
let calcHTML = "";
|
||||
data.columns.forEach((column: IAVColumn) => {
|
||||
if (column.hidden) {
|
||||
return;
|
||||
}
|
||||
tableHTML += `<div class="av__cell" data-col-id="${column.id}" data-icon="${column.icon}" data-dtype="${column.type}"
|
||||
tableHTML += `<div class="av__cell" data-col-id="${column.id}" data-icon="${column.icon}" data-dtype="${column.type}" data-wrap="${column.wrap}"
|
||||
style="width: ${column.width || "200px"};
|
||||
${column.wrap ? "" : "white-space: nowrap;"}">
|
||||
<div draggable="true" class="av__cellheader">
|
||||
|
|
@ -80,11 +80,17 @@ style="width: ${column.width || "200px"}">${getCalcValue(column) || '<svg><use x
|
|||
// body
|
||||
data.rows.forEach((row: IAVRow) => {
|
||||
tableHTML += `<div class="av__row" data-id="${row.id}">
|
||||
<div class="av__gutters">
|
||||
<button class="ariaLabel" data-action="add" data-position="right" aria-label="${isMac() ? window.siyuan.languages.addBelowAbove : window.siyuan.languages.addBelowAbove.replace("⌥", "Alt+")}"><svg><use xlink:href="#iconAdd"></use></svg></button>
|
||||
<button class="ariaLabel" draggable="true" data-position="right" aria-label="${window.siyuan.languages.rowTip}"><svg><use xlink:href="#iconDrag"></use></svg></button>
|
||||
</div>
|
||||
<div class="av__firstcol"><svg><use xlink:href="#iconUncheck"></use></svg></div>`;
|
||||
<div class="av__firstcol">
|
||||
<svg class="icon__check"><use xlink:href="#iconUncheck"></use></svg>
|
||||
<div class="av__gutters">
|
||||
<button class="av__gutter ariaLabel" draggable="true" data-position="right" aria-label="${window.siyuan.languages.rowTip}">
|
||||
<svg><use xlink:href="#iconDrag"></use></svg>
|
||||
</button>
|
||||
<button class="av__gutter ariaLabel" data-action="add" data-position="right" aria-label="${isMac() ? window.siyuan.languages.addBelowAbove : window.siyuan.languages.addBelowAbove.replace("⌥", "Alt+")}">
|
||||
<svg><use xlink:href="#iconAdd"></use></svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>`;
|
||||
row.cells.forEach((cell, index) => {
|
||||
if (data.columns[index].hidden) {
|
||||
return;
|
||||
|
|
@ -154,12 +160,12 @@ style="width: ${column.width || "200px"}">${getCalcValue(column) || '<svg><use x
|
|||
text += `<span ${cell.valueType !== "number" ? "" : 'style="right:auto;left:5px"'} data-type="copy" class="b3-tooltips b3-tooltips__n block__icon" aria-label="${window.siyuan.languages.copy}"><svg><use xlink:href="#iconCopy"></use></svg></span>`;
|
||||
}
|
||||
}
|
||||
tableHTML += `<div class="av__cell" data-id="${cell.id}" data-col-id="${data.columns[index].id}"
|
||||
|
||||
tableHTML += `<div class="av__cell" data-id="${cell.id}" data-col-id="${data.columns[index].id}" data-wrap="${data.columns[index].wrap}"
|
||||
${cell.valueType === "block" ? 'data-block-id="' + (cell.value.block.id || "") + '"' : ""}
|
||||
${cell.value?.isDetached ? ' data-detached="true"' : ""}
|
||||
style="width: ${data.columns[index].width || "200px"};
|
||||
${cell.bgColor ? `background-color:${cell.bgColor};` : ""}
|
||||
white-space: ${data.columns[index].wrap ? "pre-wrap" : "nowrap"};
|
||||
${cell.valueType !== "number" ? "" : "flex-direction: row-reverse;"}
|
||||
${cell.color ? `color:${cell.color};` : ""}">${text}</div>`;
|
||||
});
|
||||
|
|
@ -173,7 +179,7 @@ ${cell.color ? `color:${cell.color};` : ""}">${text}</div>`;
|
|||
</div>`;
|
||||
});
|
||||
setTimeout(() => {
|
||||
e.firstElementChild.outerHTML = `<div>
|
||||
e.firstElementChild.outerHTML = `<div class="av__container">
|
||||
<div class="av__header">
|
||||
<div class="layout-tab-bar fn__flex">
|
||||
${tabHTML}
|
||||
|
|
@ -197,13 +203,17 @@ ${cell.color ? `color:${cell.color};` : ""}">${text}</div>`;
|
|||
<div class="av__counter fn__none"></div>
|
||||
</div>
|
||||
<div class="av__scroll">
|
||||
<div style="float: left;">
|
||||
<div class="av__body">
|
||||
${tableHTML}
|
||||
<div class="av__row--add">
|
||||
<svg><use xlink:href="#iconAdd"></use></svg>
|
||||
${window.siyuan.languages.addAttr}
|
||||
<div class="av__firstcol">
|
||||
<svg><use xlink:href="#iconAdd"></use></svg>
|
||||
</div>
|
||||
<div class="av__calc" style>
|
||||
${window.siyuan.languages.addAttr}
|
||||
</div>
|
||||
</div>
|
||||
<div class="av__row--footer"><div style="width: 24px"></div>${calcHTML}</div>
|
||||
<div class="av__row--footer"><div class="av__firstcol"></div>${calcHTML}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue