Commit Graph

3444 Commits (9b7db214b6625eabae93c4decdb4021572a08a0a)

Author SHA1 Message Date
Ryan O'Hern 9b7db214b6
Update DataTable.vue
When wrapping vue components, default slots get nested inside the slot's children array. So if you attempt to pass default slots down through multiple layers, they will be nested further. See link below. Currently, the DataTable component can only be wrapped once as the computed property for columns() only checks against the children array and is not recursive. If you attempt to wrap the components inside multiple layers, it does not work. Proposed is an update to the columns computed property to make it recursive. 

https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCBHcmFuZFBhcmVudCBmcm9tICcuL0dyYW5kUGFyZW50LnZ1ZSc7XG5cblxuPC9zY3JpcHQ+XG5cbjx0ZW1wbGF0ZT5cbiAgPGgxPkdyZWF0R3JhbmRQYXJlbnQ8L2gxPlxuICA8R3JhbmRQYXJlbnQ+XG4gIFx0PHNwYW4+Q29sdW1uIDE8L3NwYW4+XG4gICAgPHNwYW4+Q29sdW1uIDI8L3NwYW4+XG4gICAgPHNwYW4+Q29sdW1uIDM8L3NwYW4+XG4gICAgPHRlbXBsYXRlICNjdXN0b20+XG4gICAgXHQ8c3Bhbj5DdXN0b20gMTwvc3Bhbj5cbiAgICAgIDxzcGFuPkN1c3RvbSAyPC9zcGFuPlxuICAgIDwvdGVtcGxhdGU+XG4gIDwvR3JhbmRQYXJlbnQ+XG48L3RlbXBsYXRlPiIsImltcG9ydC1tYXAuanNvbiI6IntcbiAgXCJpbXBvcnRzXCI6IHtcbiAgICBcInZ1ZVwiOiBcImh0dHBzOi8vdW5wa2cuY29tL0B2dWUvcnVudGltZS1kb21AMy4yLjIwL2Rpc3QvcnVudGltZS1kb20uZXNtLWJyb3dzZXIuanNcIlxuICB9XG59IiwiQ2hpbGQudnVlIjoiPHRlbXBsYXRlPlxuICA8aDM+XG4gICAgQ2hpbGRcbiAgPC9oMz5cbjwvdGVtcGxhdGU+XG5cbjxzY3JpcHQ+XG5leHBvcnQgZGVmYXVsdCB7XG4gIG5hbWU6ICd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:00
Tuğçe Küçükoğlu 0d049b4ca0 Fixed #1621 - [Feature Request] Disable +- Button on InputNumber when value reach min, max 2021-11-04 10:33:11 +03:00
Tuğçe Küçükoğlu 4547fe5e5c Fixed #1715 - DataTable wrong TypeScript definition for row click events 2021-11-04 09:54:33 +03:00
Tuğçe Küçükoğlu 24f19057cf blocks added to news 2021-11-02 13:45:43 +03:00
Tuğçe Küçükoğlu b80dd2c4f6 update confirmpopup demos 2021-11-02 12:56:00 +03:00
Tuğçe Küçükoğlu 87941b29c2 Fixed #1685 - Templating Support for ConfirmPopup 2021-11-02 12:47:22 +03:00
Tuğçe Küçükoğlu 033f46dfb6 refactor 2021-11-02 11:04:51 +03:00
Tuğçe Küçükoğlu e2ce66b2ea Fixed #1698 - Panel #icons template causes vue-tsc compile error 2021-11-02 11:04:37 +03:00
Tuğçe Küçükoğlu 095fa98673 support refactor 2021-10-27 15:08:28 +03:00
Tuğçe Küçükoğlu 149470b201 refactor 2021-10-27 15:07:00 +03:00
Tuğçe Küçükoğlu be0345c559 timeline doc fix 2021-10-27 10:13:44 +03:00
Tuğçe Küçükoğlu 47a76e2f80 Merge branch 'master' of https://github.com/primefaces/primevue 2021-10-27 09:49:18 +03:00
Tuğçe Küçükoğlu fbb07ca6b1 icons import 2021-10-27 09:49:09 +03:00
Cagatay Civici 90f42e8124
Update image 2021-10-26 19:55:19 +03:00
Tuğçe Küçükoğlu d96106fac8 refactor 2021-10-26 11:43:10 +03:00
Tuğçe Küçükoğlu 5d3ac3d2af replace core.js with core.min.js 2021-10-26 11:41:57 +03:00
Cagatay Civici d5311ea3ee update changelog 2021-10-25 18:42:21 +03:00
Cagatay Civici bb8f2cdfad New dev iteration 2021-10-25 18:35:48 +03:00
Cagatay Civici c05f791f89 Set version as 3.8.2 2021-10-25 18:28:38 +03:00
Cagatay Civici ece6e0c1d1 Doc update 2021-10-25 18:28:04 +03:00
Tuğçe Küçükoğlu 0d1ed578eb Fixed #1625 - BlockUI not working with div as child component 2021-10-25 17:34:32 +03:00
Tuğçe Küçükoğlu cc7d7c437c Fixed #1616 - Accessibility issue with Accordion keyboard navigation 2021-10-25 17:30:09 +03:00
Tuğçe Küçükoğlu 69dce5e507 nuxt3 quickstart added 2021-10-25 15:35:04 +03:00
Cagatay Civici 78a91c718a Fixed #1697 - Flicker on non-modal Dialogs 2021-10-25 14:59:56 +03:00
Cagatay Civici 380cc59ccf Fixed prop name 2021-10-25 14:51:02 +03:00
Cagatay Civici f61efad17e Fixed #1696 - Add tableStyle and tableClass to Table 2021-10-25 14:49:59 +03:00
Cagatay Civici 10e49e1de5 Fixed #1674 - Wrong TypeScript-types for InputText component 2021-10-25 14:03:47 +03:00
Cagatay Civici d5344092f8 Doc update 2021-10-25 13:23:42 +03:00
Cagatay Civici 6dfdd7ae43 Fixed #1660 - Nuxt docs 2021-10-25 13:03:24 +03:00
Tuğçe Küçükoğlu 380f61d2e3 Fixed #1526 - Menubar templating error 2021-10-25 11:48:04 +03:00
Tuğçe Küçükoğlu 56285f087c Fixed #1695 - Update all .d.ts files for events and slots 2021-10-25 10:06:40 +03:00
Tuğçe Küçükoğlu e8b012ff80 revert example 2021-10-22 17:29:46 +03:00
Tuğçe Küçükoğlu 6b196a6030 Fixed #1688 - ContextMenu "template" prop type error 2021-10-22 17:27:36 +03:00
Tuğçe Küçükoğlu 4920f2d88b Fixed #1657 - Dropdown should automatically scroll to show the selected option 2021-10-22 17:15:01 +03:00
Tuğçe Küçükoğlu 28f9bdb314 Fixed #1690 - ToastSeverity added .d.ts 2021-10-22 17:13:33 +03:00
Tuğçe Küçükoğlu 3b392d6a24 Refactor #1687 2021-10-22 14:08:53 +03:00
Tuğçe Küçükoğlu 843a7432a2 import via module fix 2021-10-22 13:23:03 +03:00
Tuğçe Küçükoğlu 55ec5b1a7e revert doc fix 2021-10-22 12:48:02 +03:00
Tuğçe Küçükoğlu e59d83a4b6 slot refactor 2021-10-22 12:46:32 +03:00
Tuğçe Küçükoğlu 2b1b9196f7 fieldset demo fix 2021-10-22 12:46:24 +03:00
Tuğçe Küçükoğlu e82c3e8eea refactor 2021-10-22 12:45:58 +03:00
Tuğçe Küçükoğlu b2333a399f refactor 2021-10-22 12:34:39 +03:00
Tuğçe Küçükoğlu 16cae6c8ca refactor 2021-10-22 12:34:31 +03:00
Tuğçe Küçükoğlu 2959abe245 Refactor #1687 - VirtualScroll update d.ts 2021-10-22 10:26:53 +03:00
Javier Peletier edc1f49178 VirtualScroller: add missing method typings 2021-10-22 10:21:58 +03:00
Tuğçe Küçükoğlu 217ff51323 Fixed #1684 - Dragging a Dialog breaks "maximize" feature 2021-10-21 16:44:51 +03:00
Tuğçe Küçükoğlu 4c9a4abfc1 refactor 2021-10-19 10:04:20 +03:00
Tuğçe Küçükoğlu 8797191625 Fixed #1679 - MegaMenu templating not work 2021-10-18 17:25:24 +03:00
Tuğçe Küçükoğlu af6154f9dc Fixed #1661 - inputNumber class prop type defect 2021-10-15 16:07:58 +03:00
Tuğçe Küçükoğlu 4418a8ae0b Update InputNumberDoc.vue 2021-10-14 13:26:35 +03:00