@progress/kendo-angular-popup 16.5.0 → 16.6.0-develop.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE.txt +12 -19
- package/directives.d.ts +9 -0
- package/esm2020/directives.mjs +11 -0
- package/esm2020/index.mjs +1 -0
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/popup.component.mjs +6 -5
- package/esm2020/popup.module.mjs +10 -11
- package/esm2020/popup.service.mjs +32 -11
- package/fesm2015/progress-kendo-angular-popup.mjs +56 -29
- package/fesm2020/progress-kendo-angular-popup.mjs +56 -29
- package/index.d.ts +1 -0
- package/package.json +3 -3
- package/popup.component.d.ts +1 -1
- package/popup.module.d.ts +3 -4
- package/popup.service.d.ts +27 -9
package/NOTICE.txt
CHANGED
|
@@ -22,8 +22,8 @@ DefinitelyTyped.org | @types/prosemirror-tables | 0.9.1 - Open Source | MIT-styl
|
|
|
22
22
|
DefinitelyTyped.org | @types/prosemirror-transform | 1.2.9 - Open Source | MIT-style License
|
|
23
23
|
DefinitelyTyped.org | @types/prosemirror-view | 1.11.4 - Open Source | MIT-style License
|
|
24
24
|
Isaac Z. Schlueter | glob | 7.1.3 - Open Source | ISC-style License
|
|
25
|
-
Jorik Tangelder (Eight Media) | HammerJS | 2.0.8 - Open Source | MIT-style License
|
|
26
25
|
Matt Mueller | cheerio | 0.22 - Open Source | MIT-style License
|
|
26
|
+
Mozilla Foundation | pdf.js | 3.11.174 - Open Source | Apache Software License Version 2.0
|
|
27
27
|
Progress Software Corporation | Kendo UI Licensing CLI | 1.1 - Proprietary |
|
|
28
28
|
Progress Software Corporation | jszip-esm | 1.0.0 - Open Source | MIT-style License
|
|
29
29
|
Progress Software Corporation | pako-esm | 1.0.0 - Open Source | MIT-style License
|
|
@@ -51,7 +51,7 @@ Vitaly Puzrin | js-yaml | 3.14.0 - Open Source | MIT-style License
|
|
|
51
51
|
|
|
52
52
|
(1) The Apache Software License, Version 2.0:
|
|
53
53
|
|
|
54
|
-
Progress Kendo UI for Angular 2024 incorporates TsLib v1.9.3. Such technology is subject to the following terms and conditions: Apache Software License Version 2.0. Copyright 2001-2004 The Apache Software Foundation. Such Apache Technology is subject to the following terms and conditions: The Apache Software License, Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
|
54
|
+
Progress Kendo UI for Angular 2024 incorporates TsLib v1.9.3 and pdf.js v3.11.174. Such technologies are subject to the following terms and conditions: Apache Software License Version 2.0. Copyright 2001-2004 The Apache Software Foundation. Such Apache Technology is subject to the following terms and conditions: The Apache Software License, Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
|
55
55
|
-------------------------------------------------------------------------
|
|
56
56
|
|
|
57
57
|
Contents of COPYRIGHTNOTICE text file for Tslib v1.9.3:
|
|
@@ -94,62 +94,55 @@ https://creativecommons.org/licenses/by-sa/4.0/
|
|
|
94
94
|
|
|
95
95
|
(4) MIT-Style Licenses:
|
|
96
96
|
|
|
97
|
-
(a) Progress Kendo UI for Angular 2024 incorporates
|
|
98
|
-
The MIT License (MIT)
|
|
99
|
-
Copyright (C) 2011-2017 by Jorik Tangelder (Eight Media)
|
|
100
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
101
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
102
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
103
|
-
|
|
104
|
-
(b) Progress Kendo UI for Angular 2024 incorporates prosemirror-commands v1*, prosemirror-cursor v1*, prosemirror-gapcursor v1*, prosemirror-history v1*, prosemirror-inputrules v1*, prosemirror-keymap v1*, prosemirror-model v1*, prosemirror-schema-list v1*, prosemirror-state v1*, prosemirror-tables v0.7*, prosemirror-transform v1*, and prosemirror-view v1*. Such technologies are subject to the following terms and conditions:
|
|
97
|
+
(a) Progress Kendo UI for Angular 2024 incorporates prosemirror-commands v1*, prosemirror-cursor v1*, prosemirror-gapcursor v1*, prosemirror-history v1*, prosemirror-inputrules v1*, prosemirror-keymap v1*, prosemirror-model v1*, prosemirror-schema-list v1*, prosemirror-state v1*, prosemirror-tables v0.7*, prosemirror-transform v1*, and prosemirror-view v1*. Such technologies are subject to the following terms and conditions:
|
|
105
98
|
Copyright (C) 2015-2017 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
106
99
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
107
100
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
108
101
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
109
102
|
|
|
110
|
-
(
|
|
103
|
+
(b) Progress Kendo UI for Angular 2024 incorporates cheerio v0.2.2. Such technology is subject to the following terms and conditions:
|
|
111
104
|
MIT License
|
|
112
105
|
Copyright (c) 2016 Matt Mueller
|
|
113
106
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
114
107
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
115
108
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
116
109
|
|
|
117
|
-
(
|
|
110
|
+
(c) Progress Kendo UI for Angular 2024 incorporates @types/prosemirror-commands v1*, @types/prosemirror-dropcursor v1*, @types/prosemirror-gapcursor v1*, @types/prosemirror-history v1*, @types/prosemirror-inputrules v1*, @types/prosemirror-keymap v1*, @types/prosemirror-model v1*, @types/prosemirror-schema-list v1*, @types/prosemirror-state v1*, @types/prosemirror-tables v0.9*, @types/prosemirror-transform v1*, and @types/prosemirror-view v1*. Such technologies are subject to the following terms and conditions:
|
|
118
111
|
This project is licensed under the MIT license.
|
|
119
112
|
Copyrights are respective of each contributor listed at the beginning of each definition file.
|
|
120
113
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
121
114
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
122
115
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
123
116
|
|
|
124
|
-
(
|
|
117
|
+
(d) Progress Kendo UI for Angular 2024 incorporates pako-esm v1.0.0. Such technology is subject to the following terms and conditions:
|
|
125
118
|
Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. (as modified)
|
|
126
119
|
Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn
|
|
127
120
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
128
121
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
129
122
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
130
123
|
|
|
131
|
-
(
|
|
124
|
+
(e) Progress Kendo UI for Angular 2024 incorporates jszip-esm v1.0.0. Such technology is subject to the following terms and conditions:
|
|
132
125
|
Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. (as modified)
|
|
133
|
-
Copyright (c) 2009-2016 Stuart Knightley, David Duponchel, Franz Buchinger,
|
|
126
|
+
Copyright (c) 2009-2016 Stuart Knightley, David Duponchel, Franz Buchinger, AntÛnio Afonso
|
|
134
127
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
135
128
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
136
129
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
137
130
|
|
|
138
|
-
(
|
|
131
|
+
(r) Progress Kendo UI for Angular 2024 incorporates data.task v3.1.2. Such technology is subject to the following terms and conditions:
|
|
139
132
|
The MIT License
|
|
140
133
|
Copyright (c) 2013-2015 Quildreen Motta
|
|
141
134
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
142
135
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
143
136
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
144
137
|
|
|
145
|
-
(
|
|
138
|
+
(g) Progress Kendo UI for Angular 2024 incorporates ramda v0.23. Such technology is subject to the following terms and conditions:
|
|
146
139
|
The MIT License (MIT)
|
|
147
140
|
Copyright (c) 2013-2020 Scott Sauyet and Michael Hurley
|
|
148
141
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
149
142
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
150
143
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
151
144
|
|
|
152
|
-
(
|
|
145
|
+
(h) Progress Kendo UI for Angular 2024 incorporates js-yaml v3.14.0. Such technology is subject to the following terms and conditions:
|
|
153
146
|
(The MIT License)
|
|
154
147
|
Copyright (C) 2011-2015 by Vitaly Puzrin
|
|
155
148
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
@@ -204,4 +197,4 @@ written authorization of the copyright holder.
|
|
|
204
197
|
NOTICE FROM PROGRESS SOFTWARE CORPORATION: Additional notices may be included in the release notes or other documentation that accompanies updates received in connection with support of the Product.
|
|
205
198
|
|
|
206
199
|
|
|
207
|
-
Updated
|
|
200
|
+
Updated 30.Jul.2024
|
package/directives.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { PopupComponent } from "./popup.component";
|
|
6
|
+
/**
|
|
7
|
+
* Utility array that contains all `@progress/kendo-angular-popup` related components and directives
|
|
8
|
+
*/
|
|
9
|
+
export declare const KENDO_POPUP: readonly [typeof PopupComponent];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { PopupComponent } from "./popup.component";
|
|
6
|
+
/**
|
|
7
|
+
* Utility array that contains all `@progress/kendo-angular-popup` related components and directives
|
|
8
|
+
*/
|
|
9
|
+
export const KENDO_POPUP = [
|
|
10
|
+
PopupComponent
|
|
11
|
+
];
|
package/esm2020/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-popup',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '16.
|
|
12
|
+
publishDate: 1722606701,
|
|
13
|
+
version: '16.6.0-develop.10',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -14,6 +14,7 @@ import { hasObservers, isDocumentAvailable, ResizeSensorComponent } from '@progr
|
|
|
14
14
|
import { from } from 'rxjs';
|
|
15
15
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
16
16
|
import { packageMetadata } from './package-metadata';
|
|
17
|
+
import { NgClass, NgTemplateOutlet, NgIf } from '@angular/common';
|
|
17
18
|
import * as i0 from "@angular/core";
|
|
18
19
|
import * as i1 from "./services/align.service";
|
|
19
20
|
import * as i2 from "./services/dom.service";
|
|
@@ -21,8 +22,6 @@ import * as i3 from "./services/position.service";
|
|
|
21
22
|
import * as i4 from "./services/resize.service";
|
|
22
23
|
import * as i5 from "./services/scrollable.service";
|
|
23
24
|
import * as i6 from "./services/animation.service";
|
|
24
|
-
import * as i7 from "@angular/common";
|
|
25
|
-
import * as i8 from "@progress/kendo-angular-common";
|
|
26
25
|
const DEFAULT_OFFSET = { left: -10000, top: 0 };
|
|
27
26
|
const ANIMATION_CONTAINER = 'k-animation-container';
|
|
28
27
|
const ANIMATION_CONTAINER_FIXED = 'k-animation-container-fixed';
|
|
@@ -354,7 +353,7 @@ export class PopupComponent {
|
|
|
354
353
|
}
|
|
355
354
|
}
|
|
356
355
|
PopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupComponent, deps: [{ token: i0.ElementRef }, { token: i1.AlignService }, { token: i2.DOMService }, { token: i3.PositionService }, { token: i4.ResizeService }, { token: i5.ScrollableService }, { token: i6.AnimationService }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
357
|
-
PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PopupComponent, selector: "kendo-popup", inputs: { animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", collision: "collision", popupAlign: "popupAlign", copyAnchorStyles: "copyAnchorStyles", popupClass: "popupClass", positionMode: "positionMode", offset: "offset", margin: "margin" }, outputs: { anchorViewportLeave: "anchorViewportLeave", close: "close", open: "open", positionChange: "positionChange" }, providers: [AlignService, AnimationService, DOMService, PositionService, ResizeService, ScrollableService], viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["container"], descendants: true, static: true }, { propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }], exportAs: ["kendo-popup"], usesOnChanges: true, ngImport: i0, template: `
|
|
356
|
+
PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PopupComponent, isStandalone: true, selector: "kendo-popup", inputs: { animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", collision: "collision", popupAlign: "popupAlign", copyAnchorStyles: "copyAnchorStyles", popupClass: "popupClass", positionMode: "positionMode", offset: "offset", margin: "margin" }, outputs: { anchorViewportLeave: "anchorViewportLeave", close: "close", open: "open", positionChange: "positionChange" }, providers: [AlignService, AnimationService, DOMService, PositionService, ResizeService, ScrollableService], viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["container"], descendants: true, static: true }, { propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }], exportAs: ["kendo-popup"], usesOnChanges: true, ngImport: i0, template: `
|
|
358
357
|
<div class="k-child-animation-container">
|
|
359
358
|
<div class="k-popup" [ngClass]="popupClass" #container>
|
|
360
359
|
<ng-content></ng-content>
|
|
@@ -363,7 +362,7 @@ PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version
|
|
|
363
362
|
</kendo-resize-sensor>
|
|
364
363
|
</div>
|
|
365
364
|
</div>
|
|
366
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
365
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
|
|
367
366
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupComponent, decorators: [{
|
|
368
367
|
type: Component,
|
|
369
368
|
args: [{
|
|
@@ -379,7 +378,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
379
378
|
</kendo-resize-sensor>
|
|
380
379
|
</div>
|
|
381
380
|
</div>
|
|
382
|
-
|
|
381
|
+
`,
|
|
382
|
+
standalone: true,
|
|
383
|
+
imports: [NgClass, NgTemplateOutlet, NgIf, ResizeSensorComponent]
|
|
383
384
|
}]
|
|
384
385
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.AlignService }, { type: i2.DOMService }, { type: i3.PositionService }, { type: i4.ResizeService }, { type: i5.ScrollableService }, { type: i6.AnimationService }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { animate: [{
|
|
385
386
|
type: Input
|
package/esm2020/popup.module.mjs
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import {
|
|
7
|
-
import { PopupComponent } from './popup.component';
|
|
8
|
-
import { ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
6
|
+
import { ResizeBatchService, ResizeSensorComponent } from '@progress/kendo-angular-common';
|
|
9
7
|
import { PopupService } from './popup.service';
|
|
8
|
+
import { KENDO_POPUP } from './directives';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
|
-
|
|
10
|
+
import * as i1 from "./popup.component";
|
|
11
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
12
12
|
/**
|
|
13
13
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
14
14
|
* definition for the Popup component.
|
|
@@ -43,15 +43,14 @@ const POPUP_DIRECTIVES = [PopupComponent];
|
|
|
43
43
|
export class PopupModule {
|
|
44
44
|
}
|
|
45
45
|
PopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
46
|
-
PopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PopupModule,
|
|
47
|
-
PopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, providers: [PopupService], imports: [
|
|
46
|
+
PopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, imports: [ResizeSensorComponent, i1.PopupComponent], exports: [i1.PopupComponent] });
|
|
47
|
+
PopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, providers: [PopupService, ResizeBatchService], imports: [ResizeSensorComponent, KENDO_POPUP] });
|
|
48
48
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, decorators: [{
|
|
49
49
|
type: NgModule,
|
|
50
50
|
args: [{
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
providers: [PopupService]
|
|
51
|
+
entryComponents: [...KENDO_POPUP],
|
|
52
|
+
exports: [...KENDO_POPUP],
|
|
53
|
+
imports: [ResizeSensorComponent, ...KENDO_POPUP],
|
|
54
|
+
providers: [PopupService, ResizeBatchService]
|
|
56
55
|
}]
|
|
57
56
|
}] });
|
|
@@ -14,23 +14,42 @@ const removeElement = (element) => {
|
|
|
14
14
|
* Used to inject the Popup container. If not provided, the first root component of
|
|
15
15
|
* the application is used.
|
|
16
16
|
*
|
|
17
|
-
* > The `POPUP_CONTAINER` can be used only with the [`PopupService`](
|
|
17
|
+
* > The `POPUP_CONTAINER` can be used only with the [`PopupService`](slug:service_popup) class.
|
|
18
|
+
*
|
|
19
|
+
* In case you are using standalone components:
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
*
|
|
23
|
+
* ```ts
|
|
24
|
+
* import { Component } from '@angular/core';
|
|
25
|
+
* import { KENDO_POPUP, PopupService } from '@progress/kendo-angular-popup';
|
|
26
|
+
*
|
|
27
|
+
* @Component({
|
|
28
|
+
* standalone: true,
|
|
29
|
+
* imports: [KENDO_POPUP],
|
|
30
|
+
* providers: [PopupService, {
|
|
31
|
+
* provide: POPUP_CONTAINER,
|
|
32
|
+
* useFactory: () => {
|
|
33
|
+
* //return the container ElementRef, where the popup will be injected
|
|
34
|
+
* return { nativeElement: document.body } as ElementRef;
|
|
35
|
+
* }
|
|
36
|
+
* }],
|
|
37
|
+
* selector: 'app-root',
|
|
38
|
+
* templateUrl: './app.component.html',
|
|
39
|
+
* })
|
|
40
|
+
* export class AppComponent {}
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* In case you are using an NgModule-based application:
|
|
18
44
|
*
|
|
19
45
|
* @example
|
|
20
46
|
*
|
|
21
47
|
* ```ts-no-run
|
|
22
|
-
* // Import the Popup module
|
|
23
48
|
* import { PopupModule, POPUP_CONTAINER } from '@progress/kendo-angular-popup';
|
|
24
|
-
*
|
|
25
|
-
* // The browser platform with a compiler
|
|
26
49
|
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
27
|
-
*
|
|
28
50
|
* import { ElementRef, NgModule } from '@angular/core';
|
|
29
|
-
*
|
|
30
|
-
* // Import the app component
|
|
31
51
|
* import { AppComponent } from './app.component';
|
|
32
52
|
*
|
|
33
|
-
* // Define the app module
|
|
34
53
|
* _@NgModule({
|
|
35
54
|
* declarations: [AppComponent], // declare app component
|
|
36
55
|
* imports: [BrowserModule, PopupModule], // import Popup module
|
|
@@ -45,7 +64,6 @@ const removeElement = (element) => {
|
|
|
45
64
|
* })
|
|
46
65
|
* export class AppModule {}
|
|
47
66
|
*
|
|
48
|
-
* // Compile and launch the module
|
|
49
67
|
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
50
68
|
* ```
|
|
51
69
|
*/
|
|
@@ -235,9 +253,12 @@ export class PopupService {
|
|
|
235
253
|
}
|
|
236
254
|
}
|
|
237
255
|
PopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupService, deps: [{ token: i0.ApplicationRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: POPUP_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
238
|
-
PopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupService });
|
|
256
|
+
PopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupService, providedIn: 'root' });
|
|
239
257
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupService, decorators: [{
|
|
240
|
-
type: Injectable
|
|
258
|
+
type: Injectable,
|
|
259
|
+
args: [{
|
|
260
|
+
providedIn: 'root'
|
|
261
|
+
}]
|
|
241
262
|
}], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ElementRef, decorators: [{
|
|
242
263
|
type: Inject,
|
|
243
264
|
args: [POPUP_CONTAINER]
|
|
@@ -5,15 +5,13 @@
|
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { InjectionToken, Injectable, Inject, Optional, EventEmitter, isDevMode, Component, Input, Output, ViewChild, TemplateRef, NgModule } from '@angular/core';
|
|
7
7
|
import { siblingContainer, parents, addScroll, align, boundingOffset, offset, positionWithScroll, removeScroll, restrictToView, scrollPosition, getWindowViewPort } from '@progress/kendo-popup-common';
|
|
8
|
-
import
|
|
9
|
-
import { isDocumentAvailable, hasObservers, ResizeSensorComponent, ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
8
|
+
import { isDocumentAvailable, hasObservers, ResizeSensorComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
9
|
import { fromEvent, merge, from } from 'rxjs';
|
|
11
10
|
import { auditTime } from 'rxjs/operators';
|
|
12
11
|
import * as i1 from '@angular/animations';
|
|
13
12
|
import { style, animate } from '@angular/animations';
|
|
14
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
15
|
-
import
|
|
16
|
-
import { CommonModule } from '@angular/common';
|
|
14
|
+
import { NgClass, NgTemplateOutlet, NgIf } from '@angular/common';
|
|
17
15
|
|
|
18
16
|
/**
|
|
19
17
|
* @hidden
|
|
@@ -681,8 +679,8 @@ const packageMetadata = {
|
|
|
681
679
|
name: '@progress/kendo-angular-popup',
|
|
682
680
|
productName: 'Kendo UI for Angular',
|
|
683
681
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
684
|
-
publishDate:
|
|
685
|
-
version: '16.
|
|
682
|
+
publishDate: 1722606701,
|
|
683
|
+
version: '16.6.0-develop.10',
|
|
686
684
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
687
685
|
};
|
|
688
686
|
|
|
@@ -1017,7 +1015,7 @@ class PopupComponent {
|
|
|
1017
1015
|
}
|
|
1018
1016
|
}
|
|
1019
1017
|
PopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupComponent, deps: [{ token: i0.ElementRef }, { token: AlignService }, { token: DOMService }, { token: PositionService }, { token: ResizeService }, { token: ScrollableService }, { token: AnimationService }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1020
|
-
PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PopupComponent, selector: "kendo-popup", inputs: { animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", collision: "collision", popupAlign: "popupAlign", copyAnchorStyles: "copyAnchorStyles", popupClass: "popupClass", positionMode: "positionMode", offset: "offset", margin: "margin" }, outputs: { anchorViewportLeave: "anchorViewportLeave", close: "close", open: "open", positionChange: "positionChange" }, providers: [AlignService, AnimationService, DOMService, PositionService, ResizeService, ScrollableService], viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["container"], descendants: true, static: true }, { propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }], exportAs: ["kendo-popup"], usesOnChanges: true, ngImport: i0, template: `
|
|
1018
|
+
PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PopupComponent, isStandalone: true, selector: "kendo-popup", inputs: { animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", collision: "collision", popupAlign: "popupAlign", copyAnchorStyles: "copyAnchorStyles", popupClass: "popupClass", positionMode: "positionMode", offset: "offset", margin: "margin" }, outputs: { anchorViewportLeave: "anchorViewportLeave", close: "close", open: "open", positionChange: "positionChange" }, providers: [AlignService, AnimationService, DOMService, PositionService, ResizeService, ScrollableService], viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["container"], descendants: true, static: true }, { propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }], exportAs: ["kendo-popup"], usesOnChanges: true, ngImport: i0, template: `
|
|
1021
1019
|
<div class="k-child-animation-container">
|
|
1022
1020
|
<div class="k-popup" [ngClass]="popupClass" #container>
|
|
1023
1021
|
<ng-content></ng-content>
|
|
@@ -1026,7 +1024,7 @@ PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version
|
|
|
1026
1024
|
</kendo-resize-sensor>
|
|
1027
1025
|
</div>
|
|
1028
1026
|
</div>
|
|
1029
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1027
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
|
|
1030
1028
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupComponent, decorators: [{
|
|
1031
1029
|
type: Component,
|
|
1032
1030
|
args: [{
|
|
@@ -1042,7 +1040,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1042
1040
|
</kendo-resize-sensor>
|
|
1043
1041
|
</div>
|
|
1044
1042
|
</div>
|
|
1045
|
-
|
|
1043
|
+
`,
|
|
1044
|
+
standalone: true,
|
|
1045
|
+
imports: [NgClass, NgTemplateOutlet, NgIf, ResizeSensorComponent]
|
|
1046
1046
|
}]
|
|
1047
1047
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: AlignService }, { type: DOMService }, { type: PositionService }, { type: ResizeService }, { type: ScrollableService }, { type: AnimationService }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { animate: [{
|
|
1048
1048
|
type: Input
|
|
@@ -1089,23 +1089,42 @@ const removeElement = (element) => {
|
|
|
1089
1089
|
* Used to inject the Popup container. If not provided, the first root component of
|
|
1090
1090
|
* the application is used.
|
|
1091
1091
|
*
|
|
1092
|
-
* > The `POPUP_CONTAINER` can be used only with the [`PopupService`](
|
|
1092
|
+
* > The `POPUP_CONTAINER` can be used only with the [`PopupService`](slug:service_popup) class.
|
|
1093
|
+
*
|
|
1094
|
+
* In case you are using standalone components:
|
|
1095
|
+
*
|
|
1096
|
+
* @example
|
|
1097
|
+
*
|
|
1098
|
+
* ```ts
|
|
1099
|
+
* import { Component } from '@angular/core';
|
|
1100
|
+
* import { KENDO_POPUP, PopupService } from '@progress/kendo-angular-popup';
|
|
1101
|
+
*
|
|
1102
|
+
* @Component({
|
|
1103
|
+
* standalone: true,
|
|
1104
|
+
* imports: [KENDO_POPUP],
|
|
1105
|
+
* providers: [PopupService, {
|
|
1106
|
+
* provide: POPUP_CONTAINER,
|
|
1107
|
+
* useFactory: () => {
|
|
1108
|
+
* //return the container ElementRef, where the popup will be injected
|
|
1109
|
+
* return { nativeElement: document.body } as ElementRef;
|
|
1110
|
+
* }
|
|
1111
|
+
* }],
|
|
1112
|
+
* selector: 'app-root',
|
|
1113
|
+
* templateUrl: './app.component.html',
|
|
1114
|
+
* })
|
|
1115
|
+
* export class AppComponent {}
|
|
1116
|
+
* ```
|
|
1117
|
+
*
|
|
1118
|
+
* In case you are using an NgModule-based application:
|
|
1093
1119
|
*
|
|
1094
1120
|
* @example
|
|
1095
1121
|
*
|
|
1096
1122
|
* ```ts-no-run
|
|
1097
|
-
* // Import the Popup module
|
|
1098
1123
|
* import { PopupModule, POPUP_CONTAINER } from '@progress/kendo-angular-popup';
|
|
1099
|
-
*
|
|
1100
|
-
* // The browser platform with a compiler
|
|
1101
1124
|
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
1102
|
-
*
|
|
1103
1125
|
* import { ElementRef, NgModule } from '@angular/core';
|
|
1104
|
-
*
|
|
1105
|
-
* // Import the app component
|
|
1106
1126
|
* import { AppComponent } from './app.component';
|
|
1107
1127
|
*
|
|
1108
|
-
* // Define the app module
|
|
1109
1128
|
* _@NgModule({
|
|
1110
1129
|
* declarations: [AppComponent], // declare app component
|
|
1111
1130
|
* imports: [BrowserModule, PopupModule], // import Popup module
|
|
@@ -1120,7 +1139,6 @@ const removeElement = (element) => {
|
|
|
1120
1139
|
* })
|
|
1121
1140
|
* export class AppModule {}
|
|
1122
1141
|
*
|
|
1123
|
-
* // Compile and launch the module
|
|
1124
1142
|
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
1125
1143
|
* ```
|
|
1126
1144
|
*/
|
|
@@ -1310,9 +1328,12 @@ class PopupService {
|
|
|
1310
1328
|
}
|
|
1311
1329
|
}
|
|
1312
1330
|
PopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupService, deps: [{ token: i0.ApplicationRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: POPUP_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1313
|
-
PopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupService });
|
|
1331
|
+
PopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupService, providedIn: 'root' });
|
|
1314
1332
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupService, decorators: [{
|
|
1315
|
-
type: Injectable
|
|
1333
|
+
type: Injectable,
|
|
1334
|
+
args: [{
|
|
1335
|
+
providedIn: 'root'
|
|
1336
|
+
}]
|
|
1316
1337
|
}], ctorParameters: function () {
|
|
1317
1338
|
return [{ type: i0.ApplicationRef }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ElementRef, decorators: [{
|
|
1318
1339
|
type: Inject,
|
|
@@ -1322,7 +1343,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1322
1343
|
}] }];
|
|
1323
1344
|
} });
|
|
1324
1345
|
|
|
1325
|
-
|
|
1346
|
+
/**
|
|
1347
|
+
* Utility array that contains all `@progress/kendo-angular-popup` related components and directives
|
|
1348
|
+
*/
|
|
1349
|
+
const KENDO_POPUP = [
|
|
1350
|
+
PopupComponent
|
|
1351
|
+
];
|
|
1352
|
+
|
|
1353
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
1326
1354
|
/**
|
|
1327
1355
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
1328
1356
|
* definition for the Popup component.
|
|
@@ -1357,16 +1385,15 @@ const POPUP_DIRECTIVES = [PopupComponent];
|
|
|
1357
1385
|
class PopupModule {
|
|
1358
1386
|
}
|
|
1359
1387
|
PopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1360
|
-
PopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PopupModule,
|
|
1361
|
-
PopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, providers: [PopupService], imports: [
|
|
1388
|
+
PopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, imports: [ResizeSensorComponent, PopupComponent], exports: [PopupComponent] });
|
|
1389
|
+
PopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, providers: [PopupService, ResizeBatchService], imports: [ResizeSensorComponent, KENDO_POPUP] });
|
|
1362
1390
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, decorators: [{
|
|
1363
1391
|
type: NgModule,
|
|
1364
1392
|
args: [{
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
providers: [PopupService]
|
|
1393
|
+
entryComponents: [...KENDO_POPUP],
|
|
1394
|
+
exports: [...KENDO_POPUP],
|
|
1395
|
+
imports: [ResizeSensorComponent, ...KENDO_POPUP],
|
|
1396
|
+
providers: [PopupService, ResizeBatchService]
|
|
1370
1397
|
}]
|
|
1371
1398
|
}] });
|
|
1372
1399
|
|
|
@@ -1374,5 +1401,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1374
1401
|
* Generated bundle index. Do not edit.
|
|
1375
1402
|
*/
|
|
1376
1403
|
|
|
1377
|
-
export { POPUP_CONTAINER, PopupComponent, PopupModule, PopupService, SCALE };
|
|
1404
|
+
export { KENDO_POPUP, POPUP_CONTAINER, PopupComponent, PopupModule, PopupService, SCALE };
|
|
1378
1405
|
|
|
@@ -5,15 +5,13 @@
|
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { Injectable, InjectionToken, Inject, Optional, EventEmitter, isDevMode, Component, Input, Output, ViewChild, TemplateRef, NgModule } from '@angular/core';
|
|
7
7
|
import { siblingContainer, parents, addScroll, align, boundingOffset, offset, positionWithScroll, removeScroll, restrictToView, scrollPosition, getWindowViewPort } from '@progress/kendo-popup-common';
|
|
8
|
-
import
|
|
9
|
-
import { isDocumentAvailable, hasObservers, ResizeSensorComponent, ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
8
|
+
import { isDocumentAvailable, hasObservers, ResizeSensorComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
9
|
import { fromEvent, merge, from } from 'rxjs';
|
|
11
10
|
import { auditTime } from 'rxjs/operators';
|
|
12
11
|
import * as i1 from '@angular/animations';
|
|
13
12
|
import { style, animate } from '@angular/animations';
|
|
14
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
15
|
-
import
|
|
16
|
-
import { CommonModule } from '@angular/common';
|
|
14
|
+
import { NgClass, NgTemplateOutlet, NgIf } from '@angular/common';
|
|
17
15
|
|
|
18
16
|
/**
|
|
19
17
|
* @hidden
|
|
@@ -677,8 +675,8 @@ const packageMetadata = {
|
|
|
677
675
|
name: '@progress/kendo-angular-popup',
|
|
678
676
|
productName: 'Kendo UI for Angular',
|
|
679
677
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
680
|
-
publishDate:
|
|
681
|
-
version: '16.
|
|
678
|
+
publishDate: 1722606701,
|
|
679
|
+
version: '16.6.0-develop.10',
|
|
682
680
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
683
681
|
};
|
|
684
682
|
|
|
@@ -1013,7 +1011,7 @@ class PopupComponent {
|
|
|
1013
1011
|
}
|
|
1014
1012
|
}
|
|
1015
1013
|
PopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupComponent, deps: [{ token: i0.ElementRef }, { token: AlignService }, { token: DOMService }, { token: PositionService }, { token: ResizeService }, { token: ScrollableService }, { token: AnimationService }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1016
|
-
PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PopupComponent, selector: "kendo-popup", inputs: { animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", collision: "collision", popupAlign: "popupAlign", copyAnchorStyles: "copyAnchorStyles", popupClass: "popupClass", positionMode: "positionMode", offset: "offset", margin: "margin" }, outputs: { anchorViewportLeave: "anchorViewportLeave", close: "close", open: "open", positionChange: "positionChange" }, providers: [AlignService, AnimationService, DOMService, PositionService, ResizeService, ScrollableService], viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["container"], descendants: true, static: true }, { propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }], exportAs: ["kendo-popup"], usesOnChanges: true, ngImport: i0, template: `
|
|
1014
|
+
PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PopupComponent, isStandalone: true, selector: "kendo-popup", inputs: { animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", collision: "collision", popupAlign: "popupAlign", copyAnchorStyles: "copyAnchorStyles", popupClass: "popupClass", positionMode: "positionMode", offset: "offset", margin: "margin" }, outputs: { anchorViewportLeave: "anchorViewportLeave", close: "close", open: "open", positionChange: "positionChange" }, providers: [AlignService, AnimationService, DOMService, PositionService, ResizeService, ScrollableService], viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["container"], descendants: true, static: true }, { propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }], exportAs: ["kendo-popup"], usesOnChanges: true, ngImport: i0, template: `
|
|
1017
1015
|
<div class="k-child-animation-container">
|
|
1018
1016
|
<div class="k-popup" [ngClass]="popupClass" #container>
|
|
1019
1017
|
<ng-content></ng-content>
|
|
@@ -1022,7 +1020,7 @@ PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version
|
|
|
1022
1020
|
</kendo-resize-sensor>
|
|
1023
1021
|
</div>
|
|
1024
1022
|
</div>
|
|
1025
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1023
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
|
|
1026
1024
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupComponent, decorators: [{
|
|
1027
1025
|
type: Component,
|
|
1028
1026
|
args: [{
|
|
@@ -1038,7 +1036,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1038
1036
|
</kendo-resize-sensor>
|
|
1039
1037
|
</div>
|
|
1040
1038
|
</div>
|
|
1041
|
-
|
|
1039
|
+
`,
|
|
1040
|
+
standalone: true,
|
|
1041
|
+
imports: [NgClass, NgTemplateOutlet, NgIf, ResizeSensorComponent]
|
|
1042
1042
|
}]
|
|
1043
1043
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: AlignService }, { type: DOMService }, { type: PositionService }, { type: ResizeService }, { type: ScrollableService }, { type: AnimationService }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { animate: [{
|
|
1044
1044
|
type: Input
|
|
@@ -1085,23 +1085,42 @@ const removeElement = (element) => {
|
|
|
1085
1085
|
* Used to inject the Popup container. If not provided, the first root component of
|
|
1086
1086
|
* the application is used.
|
|
1087
1087
|
*
|
|
1088
|
-
* > The `POPUP_CONTAINER` can be used only with the [`PopupService`](
|
|
1088
|
+
* > The `POPUP_CONTAINER` can be used only with the [`PopupService`](slug:service_popup) class.
|
|
1089
|
+
*
|
|
1090
|
+
* In case you are using standalone components:
|
|
1091
|
+
*
|
|
1092
|
+
* @example
|
|
1093
|
+
*
|
|
1094
|
+
* ```ts
|
|
1095
|
+
* import { Component } from '@angular/core';
|
|
1096
|
+
* import { KENDO_POPUP, PopupService } from '@progress/kendo-angular-popup';
|
|
1097
|
+
*
|
|
1098
|
+
* @Component({
|
|
1099
|
+
* standalone: true,
|
|
1100
|
+
* imports: [KENDO_POPUP],
|
|
1101
|
+
* providers: [PopupService, {
|
|
1102
|
+
* provide: POPUP_CONTAINER,
|
|
1103
|
+
* useFactory: () => {
|
|
1104
|
+
* //return the container ElementRef, where the popup will be injected
|
|
1105
|
+
* return { nativeElement: document.body } as ElementRef;
|
|
1106
|
+
* }
|
|
1107
|
+
* }],
|
|
1108
|
+
* selector: 'app-root',
|
|
1109
|
+
* templateUrl: './app.component.html',
|
|
1110
|
+
* })
|
|
1111
|
+
* export class AppComponent {}
|
|
1112
|
+
* ```
|
|
1113
|
+
*
|
|
1114
|
+
* In case you are using an NgModule-based application:
|
|
1089
1115
|
*
|
|
1090
1116
|
* @example
|
|
1091
1117
|
*
|
|
1092
1118
|
* ```ts-no-run
|
|
1093
|
-
* // Import the Popup module
|
|
1094
1119
|
* import { PopupModule, POPUP_CONTAINER } from '@progress/kendo-angular-popup';
|
|
1095
|
-
*
|
|
1096
|
-
* // The browser platform with a compiler
|
|
1097
1120
|
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
1098
|
-
*
|
|
1099
1121
|
* import { ElementRef, NgModule } from '@angular/core';
|
|
1100
|
-
*
|
|
1101
|
-
* // Import the app component
|
|
1102
1122
|
* import { AppComponent } from './app.component';
|
|
1103
1123
|
*
|
|
1104
|
-
* // Define the app module
|
|
1105
1124
|
* _@NgModule({
|
|
1106
1125
|
* declarations: [AppComponent], // declare app component
|
|
1107
1126
|
* imports: [BrowserModule, PopupModule], // import Popup module
|
|
@@ -1116,7 +1135,6 @@ const removeElement = (element) => {
|
|
|
1116
1135
|
* })
|
|
1117
1136
|
* export class AppModule {}
|
|
1118
1137
|
*
|
|
1119
|
-
* // Compile and launch the module
|
|
1120
1138
|
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
1121
1139
|
* ```
|
|
1122
1140
|
*/
|
|
@@ -1306,9 +1324,12 @@ class PopupService {
|
|
|
1306
1324
|
}
|
|
1307
1325
|
}
|
|
1308
1326
|
PopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupService, deps: [{ token: i0.ApplicationRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: POPUP_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1309
|
-
PopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupService });
|
|
1327
|
+
PopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupService, providedIn: 'root' });
|
|
1310
1328
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupService, decorators: [{
|
|
1311
|
-
type: Injectable
|
|
1329
|
+
type: Injectable,
|
|
1330
|
+
args: [{
|
|
1331
|
+
providedIn: 'root'
|
|
1332
|
+
}]
|
|
1312
1333
|
}], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ElementRef, decorators: [{
|
|
1313
1334
|
type: Inject,
|
|
1314
1335
|
args: [POPUP_CONTAINER]
|
|
@@ -1316,7 +1337,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1316
1337
|
type: Optional
|
|
1317
1338
|
}] }]; } });
|
|
1318
1339
|
|
|
1319
|
-
|
|
1340
|
+
/**
|
|
1341
|
+
* Utility array that contains all `@progress/kendo-angular-popup` related components and directives
|
|
1342
|
+
*/
|
|
1343
|
+
const KENDO_POPUP = [
|
|
1344
|
+
PopupComponent
|
|
1345
|
+
];
|
|
1346
|
+
|
|
1347
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
1320
1348
|
/**
|
|
1321
1349
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
1322
1350
|
* definition for the Popup component.
|
|
@@ -1351,16 +1379,15 @@ const POPUP_DIRECTIVES = [PopupComponent];
|
|
|
1351
1379
|
class PopupModule {
|
|
1352
1380
|
}
|
|
1353
1381
|
PopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1354
|
-
PopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PopupModule,
|
|
1355
|
-
PopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, providers: [PopupService], imports: [
|
|
1382
|
+
PopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, imports: [ResizeSensorComponent, PopupComponent], exports: [PopupComponent] });
|
|
1383
|
+
PopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, providers: [PopupService, ResizeBatchService], imports: [ResizeSensorComponent, KENDO_POPUP] });
|
|
1356
1384
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupModule, decorators: [{
|
|
1357
1385
|
type: NgModule,
|
|
1358
1386
|
args: [{
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
providers: [PopupService]
|
|
1387
|
+
entryComponents: [...KENDO_POPUP],
|
|
1388
|
+
exports: [...KENDO_POPUP],
|
|
1389
|
+
imports: [ResizeSensorComponent, ...KENDO_POPUP],
|
|
1390
|
+
providers: [PopupService, ResizeBatchService]
|
|
1364
1391
|
}]
|
|
1365
1392
|
}] });
|
|
1366
1393
|
|
|
@@ -1368,5 +1395,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1368
1395
|
* Generated bundle index. Do not edit.
|
|
1369
1396
|
*/
|
|
1370
1397
|
|
|
1371
|
-
export { POPUP_CONTAINER, PopupComponent, PopupModule, PopupService, SCALE };
|
|
1398
|
+
export { KENDO_POPUP, POPUP_CONTAINER, PopupComponent, PopupModule, PopupService, SCALE };
|
|
1372
1399
|
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-popup",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.6.0-develop.10",
|
|
4
4
|
"description": "Kendo UI Angular Popup component - an easily customized popup from the most trusted provider of professional Angular components.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"@angular/common": "15 - 18",
|
|
23
23
|
"@angular/core": "15 - 18",
|
|
24
24
|
"@angular/platform-browser": "15 - 18",
|
|
25
|
-
"@progress/kendo-angular-common": "16.
|
|
25
|
+
"@progress/kendo-angular-common": "16.6.0-develop.10",
|
|
26
26
|
"@progress/kendo-licensing": "^1.0.2",
|
|
27
27
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@progress/kendo-popup-common": "^1.7.0",
|
|
31
31
|
"tslib": "^2.3.1",
|
|
32
|
-
"@progress/kendo-angular-schematics": "16.
|
|
32
|
+
"@progress/kendo-angular-schematics": "16.6.0-develop.10"
|
|
33
33
|
},
|
|
34
34
|
"schematics": "./schematics/collection.json",
|
|
35
35
|
"module": "fesm2015/progress-kendo-angular-popup.mjs",
|
package/popup.component.d.ts
CHANGED
|
@@ -248,5 +248,5 @@ export declare class PopupComponent implements AfterViewInit, OnInit, OnChanges,
|
|
|
248
248
|
private setContainerStyle;
|
|
249
249
|
private unsubscribeReposition;
|
|
250
250
|
static ɵfac: i0.ɵɵFactoryDeclaration<PopupComponent, never>;
|
|
251
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PopupComponent, "kendo-popup", ["kendo-popup"], { "animate": "animate"; "anchor": "anchor"; "anchorAlign": "anchorAlign"; "collision": "collision"; "popupAlign": "popupAlign"; "copyAnchorStyles": "copyAnchorStyles"; "popupClass": "popupClass"; "positionMode": "positionMode"; "offset": "offset"; "margin": "margin"; }, { "anchorViewportLeave": "anchorViewportLeave"; "close": "close"; "open": "open"; "positionChange": "positionChange"; }, never, ["*"],
|
|
251
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopupComponent, "kendo-popup", ["kendo-popup"], { "animate": "animate"; "anchor": "anchor"; "anchorAlign": "anchorAlign"; "collision": "collision"; "popupAlign": "popupAlign"; "copyAnchorStyles": "copyAnchorStyles"; "popupClass": "popupClass"; "positionMode": "positionMode"; "offset": "offset"; "margin": "margin"; }, { "anchorViewportLeave": "anchorViewportLeave"; "close": "close"; "open": "open"; "positionChange": "positionChange"; }, never, ["*"], true, never>;
|
|
252
252
|
}
|
package/popup.module.d.ts
CHANGED
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "
|
|
7
|
-
import * as i2 from "
|
|
8
|
-
import * as i3 from "@progress/kendo-angular-common";
|
|
6
|
+
import * as i1 from "@progress/kendo-angular-common";
|
|
7
|
+
import * as i2 from "./popup.component";
|
|
9
8
|
/**
|
|
10
9
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
11
10
|
* definition for the Popup component.
|
|
@@ -39,6 +38,6 @@ import * as i3 from "@progress/kendo-angular-common";
|
|
|
39
38
|
*/
|
|
40
39
|
export declare class PopupModule {
|
|
41
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<PopupModule, never>;
|
|
42
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PopupModule, [typeof i1.
|
|
41
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PopupModule, never, [typeof i1.ResizeSensorComponent, typeof i2.PopupComponent], [typeof i2.PopupComponent]>;
|
|
43
42
|
static ɵinj: i0.ɵɵInjectorDeclaration<PopupModule>;
|
|
44
43
|
}
|
package/popup.service.d.ts
CHANGED
|
@@ -10,23 +10,42 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
* Used to inject the Popup container. If not provided, the first root component of
|
|
11
11
|
* the application is used.
|
|
12
12
|
*
|
|
13
|
-
* > The `POPUP_CONTAINER` can be used only with the [`PopupService`](
|
|
13
|
+
* > The `POPUP_CONTAINER` can be used only with the [`PopupService`](slug:service_popup) class.
|
|
14
|
+
*
|
|
15
|
+
* In case you are using standalone components:
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
*
|
|
19
|
+
* ```ts
|
|
20
|
+
* import { Component } from '@angular/core';
|
|
21
|
+
* import { KENDO_POPUP, PopupService } from '@progress/kendo-angular-popup';
|
|
22
|
+
*
|
|
23
|
+
* @Component({
|
|
24
|
+
* standalone: true,
|
|
25
|
+
* imports: [KENDO_POPUP],
|
|
26
|
+
* providers: [PopupService, {
|
|
27
|
+
* provide: POPUP_CONTAINER,
|
|
28
|
+
* useFactory: () => {
|
|
29
|
+
* //return the container ElementRef, where the popup will be injected
|
|
30
|
+
* return { nativeElement: document.body } as ElementRef;
|
|
31
|
+
* }
|
|
32
|
+
* }],
|
|
33
|
+
* selector: 'app-root',
|
|
34
|
+
* templateUrl: './app.component.html',
|
|
35
|
+
* })
|
|
36
|
+
* export class AppComponent {}
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* In case you are using an NgModule-based application:
|
|
14
40
|
*
|
|
15
41
|
* @example
|
|
16
42
|
*
|
|
17
43
|
* ```ts-no-run
|
|
18
|
-
* // Import the Popup module
|
|
19
44
|
* import { PopupModule, POPUP_CONTAINER } from '@progress/kendo-angular-popup';
|
|
20
|
-
*
|
|
21
|
-
* // The browser platform with a compiler
|
|
22
45
|
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
23
|
-
*
|
|
24
46
|
* import { ElementRef, NgModule } from '@angular/core';
|
|
25
|
-
*
|
|
26
|
-
* // Import the app component
|
|
27
47
|
* import { AppComponent } from './app.component';
|
|
28
48
|
*
|
|
29
|
-
* // Define the app module
|
|
30
49
|
* _@NgModule({
|
|
31
50
|
* declarations: [AppComponent], // declare app component
|
|
32
51
|
* imports: [BrowserModule, PopupModule], // import Popup module
|
|
@@ -41,7 +60,6 @@ import * as i0 from "@angular/core";
|
|
|
41
60
|
* })
|
|
42
61
|
* export class AppModule {}
|
|
43
62
|
*
|
|
44
|
-
* // Compile and launch the module
|
|
45
63
|
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
46
64
|
* ```
|
|
47
65
|
*/
|