@ptengine/widgets 0.0.0-stage → 0.1.0
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/LICENSE +202 -0
- package/README.md +38 -2
- package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
- package/dist/cjs/index-DRCOne2Q.js +1583 -0
- package/dist/cjs/index-DRCOne2Q.js.map +1 -0
- package/dist/cjs/index.cjs.js +107 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +16 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/pt-provider.cjs.entry.js +85 -0
- package/dist/cjs/pt-provider.cjs.entry.js.map +1 -0
- package/dist/cjs/ptengine-widgets.cjs.js +28 -0
- package/dist/cjs/ptengine-widgets.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +13 -0
- package/dist/collection/components/pt-provider/pt-provider.js +136 -0
- package/dist/collection/components/pt-provider/pt-provider.js.map +1 -0
- package/dist/collection/index.js +9 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/utils/context.js +98 -0
- package/dist/collection/utils/context.js.map +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/pt-provider.d.ts +11 -0
- package/dist/components/pt-provider.js +2 -0
- package/dist/components/pt-provider.js.map +1 -0
- package/dist/define/pt-provider.d.ts +1 -0
- package/dist/define/pt-provider.js +5 -0
- package/dist/esm/app-globals-DQuL1Twl.js +6 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/esm/index-CZKQmozD.js +1559 -0
- package/dist/esm/index-CZKQmozD.js.map +1 -0
- package/dist/esm/index.js +102 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +14 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/pt-provider.entry.js +83 -0
- package/dist/esm/pt-provider.entry.js.map +1 -0
- package/dist/esm/ptengine-widgets.js +24 -0
- package/dist/esm/ptengine-widgets.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/ptengine-widgets/index.esm.js +2 -0
- package/dist/ptengine-widgets/index.esm.js.map +1 -0
- package/dist/ptengine-widgets/p-8a0ee9f5.entry.js +2 -0
- package/dist/ptengine-widgets/p-8a0ee9f5.entry.js.map +1 -0
- package/dist/ptengine-widgets/p-CZKQmozD.js +3 -0
- package/dist/ptengine-widgets/p-CZKQmozD.js.map +1 -0
- package/dist/ptengine-widgets/p-DQuL1Twl.js +2 -0
- package/dist/ptengine-widgets/p-DQuL1Twl.js.map +1 -0
- package/dist/ptengine-widgets/ptengine-widgets.css +1 -0
- package/dist/ptengine-widgets/ptengine-widgets.esm.js +2 -0
- package/dist/ptengine-widgets/ptengine-widgets.esm.js.map +1 -0
- package/dist/types/components/pt-provider/pt-provider.d.ts +59 -0
- package/dist/types/components.d.ts +107 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/stencil-public-runtime.d.ts +1879 -0
- package/dist/types/utils/context.d.ts +45 -0
- package/docs.json +86 -0
- package/hydrate/index.d.ts +287 -0
- package/hydrate/index.js +22214 -0
- package/hydrate/index.mjs +22204 -0
- package/hydrate/package.json +12 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +93 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,3 +1,39 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @ptengine/widgets
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Ptengine 业务组件内核(**占位**)。业务组件与能力层 SDK 暂时移除,以后再加;
|
|
4
|
+
目前只保留 `<pt-provider>` —— 业务组件拿 client 的注入机制。
|
|
5
|
+
|
|
6
|
+
## 为什么要 provider
|
|
7
|
+
|
|
8
|
+
业务组件不自己创建 client,也不读全局变量,而是向上层的 `<pt-provider>` 请求一个实例。
|
|
9
|
+
注入走 DOM 事件(Web Components 社区的 Context Protocol),不依赖任何框架的 context 机制,
|
|
10
|
+
所以在 React、Vue、Angular、原生 HTML 里行为一致,也能穿透 Shadow DOM。
|
|
11
|
+
同一页面可以嵌套多个 provider,内层就近拦下请求。
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<pt-provider id="root">
|
|
15
|
+
<!-- 使用 client 的业务组件 -->
|
|
16
|
+
</pt-provider>
|
|
17
|
+
|
|
18
|
+
<script type="module">
|
|
19
|
+
document.querySelector('#root').client = client;
|
|
20
|
+
</script>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
`client` 是对象,只能走 property,不能走 attribute —— 原生 HTML 下 attribute 只能传字符串。
|
|
24
|
+
SDK 移除期间 `client` 的类型是占位的 `object`(`Client`,从本包导出)。
|
|
25
|
+
|
|
26
|
+
## 组件
|
|
27
|
+
|
|
28
|
+
| 标签 | 作用 |
|
|
29
|
+
| ------------- | ------------------------- |
|
|
30
|
+
| `pt-provider` | 向子树提供 client,可嵌套 |
|
|
31
|
+
|
|
32
|
+
## 开发
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
pnpm --filter @ptengine/widgets dev
|
|
36
|
+
pnpm --filter @ptengine/widgets test
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
包装层(`packages/widgets-react` 等)的源码是构建产物,不要手改。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-globals-V2Kpy_OQ.js","sources":["@stencil/core/internal/app-globals"],"sourcesContent":["export const globalScripts = () => {};\nexport const globalStyles = \":root,.pt-theme,.pt-light,[data-pt-theme='light'],.pt-dark,[data-pt-theme='dark']{--pt-white-rgb:255 255 255;--pt-black-rgb:16 28 31;--pt-neutral-50-rgb:243 244 244;--pt-neutral-100-rgb:231 232 233;--pt-neutral-200-rgb:207 210 210;--pt-neutral-300-rgb:183 187 188;--pt-neutral-400-rgb:159 164 165;--pt-neutral-500-rgb:135 141 143;--pt-neutral-600-rgb:112 119 121;--pt-neutral-700-rgb:88 96 98;--pt-neutral-800-rgb:64 73 76;--pt-neutral-900-rgb:40 51 53;--pt-neutral-950-rgb:28 39 42;--pt-red-rgb:255 71 71;--pt-red-50-rgb:255 237 237;--pt-red-100-rgb:255 218 218;--pt-red-200-rgb:255 181 181;--pt-red-300-rgb:255 145 145;--pt-red-400-rgb:255 108 108;--pt-red-500-rgb:255 71 71;--pt-red-600-rgb:207 62 63;--pt-red-700-rgb:159 54 55;--pt-red-800-rgb:112 45 47;--pt-red-900-rgb:64 37 39;--pt-red-950-rgb:28 30 33;--pt-orange-rgb:255 144 59;--pt-orange-50-rgb:255 244 235;--pt-orange-100-rgb:255 233 216;--pt-orange-200-rgb:255 211 177;--pt-orange-300-rgb:255 188 137;--pt-orange-400-rgb:255 166 98;--pt-orange-500-rgb:255 144 59;--pt-orange-600-rgb:207 121 53;--pt-orange-700-rgb:159 98 48;--pt-orange-800-rgb:112 74 42;--pt-orange-900-rgb:64 51 37;--pt-orange-950-rgb:28 34 32;--pt-lime-rgb:200 240 80;--pt-lime-50-rgb:249 253 237;--pt-lime-100-rgb:244 252 220;--pt-lime-200-rgb:233 249 185;--pt-lime-300-rgb:222 246 150;--pt-lime-400-rgb:211 243 115;--pt-lime-500-rgb:200 240 80;--pt-lime-600-rgb:163 198 70;--pt-lime-700-rgb:126 155 60;--pt-lime-800-rgb:90 113 51;--pt-lime-900-rgb:53 70 41;--pt-lime-950-rgb:25 39 33;--pt-green-rgb:37 172 0;--pt-green-50-rgb:233 247 229;--pt-green-100-rgb:211 238 204;--pt-green-200-rgb:168 222 153;--pt-green-300-rgb:124 205 102;--pt-green-400-rgb:81 189 51;--pt-green-500-rgb:37 172 0;--pt-green-600-rgb:33 143 6;--pt-green-700-rgb:29 114 12;--pt-green-800-rgb:24 86 19;--pt-green-900-rgb:20 57 25;--pt-green-950-rgb:17 35 29;--pt-blue-rgb:34 145 248;--pt-blue-50-rgb:233 244 254;--pt-blue-100-rgb:211 233 254;--pt-blue-200-rgb:167 211 252;--pt-blue-300-rgb:122 189 251;--pt-blue-400-rgb:78 167 249;--pt-blue-500-rgb:34 145 248;--pt-blue-600-rgb:30 122 205;--pt-blue-700-rgb:27 98 161;--pt-blue-800-rgb:23 75 118;--pt-blue-900-rgb:20 51 74;--pt-blue-950-rgb:17 34 42;--pt-fuchsia-rgb:191 99 243;--pt-fuchsia-50-rgb:249 239 254;--pt-fuchsia-100-rgb:242 224 253;--pt-fuchsia-200-rgb:229 193 250;--pt-fuchsia-300-rgb:217 161 248;--pt-fuchsia-400-rgb:204 130 245;--pt-fuchsia-500-rgb:191 99 243;--pt-fuchsia-600-rgb:156 85 201;--pt-fuchsia-700-rgb:121 71 158;--pt-fuchsia-800-rgb:86 56 116;--pt-fuchsia-900-rgb:51 42 73;--pt-fuchsia-950-rgb:25 32 42}:root,.pt-theme,.pt-light,[data-pt-theme='light'],.pt-dark,[data-pt-theme='dark']{--pt-radius:10px;--pt-radius-md:calc(var(--pt-radius) - 2px);--pt-radius-sm:calc(var(--pt-radius) - 4px);--pt-radius-12:12px;--pt-radius-16:16px;--pt-radius-20:20px;--pt-radius-full:9999px;--pt-font-mono:ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;--pt-lh-2xs:16px;--pt-lh-xs:20px;--pt-lh-sm:20px;--pt-lh-base:24px;--pt-lh-lg:28px;--pt-lh-xl:32px;--pt-lh-2xl:36px;--pt-lh-3xl:40px;--pt-lh-4xl:48px;--pt-lh-5xl:56px;--pt-lh-6xl:72px;--pt-lh-7xl:72px;--pt-lh-8xl:96px;--pt-lh-9xl:128px;--pt-font-size-2xs:12px;--pt-font-size-xs:13px;--pt-font-size-sm:14px;--pt-font-size-base:16px;--pt-font-size-lg:18px;--pt-font-size-xl:20px;--pt-font-size-2xl:24px;--pt-font-size-3xl:28px;--pt-font-size-4xl:32px;--pt-font-size-5xl:40px;--pt-font-size-6xl:48px;--pt-font-size-7xl:56px;--pt-font-size-8xl:64px;--pt-font-size-9xl:72px;--pt-font-weight-normal:400;--pt-font-weight-medium:500;--pt-font-weight-semibold:600;--pt-space-0:0px;--pt-space-1:4px;--pt-space-2:8px;--pt-space-3:12px;--pt-space-4:16px;--pt-space-5:20px;--pt-space-6:24px;--pt-space-8:32px;--pt-space-10:40px;--pt-space-12:48px;--pt-control-height-sm:24px;--pt-control-height-md:32px;--pt-control-height-lg:40px;--pt-control-padding-sm:8px;--pt-control-padding-md:12px;--pt-control-padding-lg:16px;--pt-control-font-size-sm:12px;--pt-control-font-size-md:13px;--pt-control-font-size-lg:14px;--pt-control-icon-sm:16px;--pt-control-icon-md:16px;--pt-control-icon-lg:20px;--pt-control-touch-target:44px;--pt-z-popup:50;--pt-z-tooltip:var(--pt-z-popup);--pt-z-overlay:60;--pt-duration-fast:150ms;--pt-duration-base:200ms;--pt-ease-standard:cubic-bezier(0.4, 0, 0.2, 1);--pt-ease-out:cubic-bezier(0, 0, 0.2, 1);--pt-shadow-sm:0 1px 2px 0 rgb(var(--pt-black-rgb) / 0.05);--pt-shadow-md:0 4px 6px -1px rgb(var(--pt-black-rgb) / 0.1), 0 2px 4px -2px rgb(var(--pt-black-rgb) / 0.1);--pt-shadow-lg:0 10px 15px -3px rgb(var(--pt-black-rgb) / 0.1), 0 4px 6px -4px rgb(var(--pt-black-rgb) / 0.1);--pt-shadow-xl:0 20px 25px -5px rgb(var(--pt-black-rgb) / 0.1), 0 8px 10px -6px rgb(var(--pt-black-rgb) / 0.1)}:root,.pt-theme{--pt-font-sans:'Inter', system-ui, -apple-system, sans-serif}:lang(ja){--pt-font-sans:'Inter', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif}:lang(zh){--pt-font-sans:'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif}:root,.pt-light,[data-pt-theme='light']{--pt-bg-secondary-rgb:var(--pt-neutral-50-rgb);--pt-border-default-rgb:var(--pt-neutral-100-rgb);--pt-border-input-rgb:var(--pt-neutral-100-rgb);--pt-brand-rgb:var(--pt-green-500-rgb);--pt-fg-default-rgb:var(--pt-black-rgb);--pt-fg-muted-rgb:var(--pt-neutral-600-rgb);--pt-text-ai-rgb:var(--pt-fuchsia-700-rgb);--pt-text-ai-standard-rgb:var(--pt-fuchsia-500-rgb);--pt-text-brand-rgb:var(--pt-lime-800-rgb);--pt-text-brand-standard-rgb:var(--pt-lime-500-rgb);--pt-text-danger-rgb:var(--pt-red-700-rgb);--pt-text-danger-standard-rgb:var(--pt-red-600-rgb);--pt-text-disabled-rgb:var(--pt-black-rgb) / 0.3;--pt-text-information-rgb:var(--pt-blue-700-rgb);--pt-text-information-standard-rgb:var(--pt-blue-500-rgb);--pt-text-inverse-rgb:var(--pt-white-rgb);--pt-text-neutral-rgb:var(--pt-neutral-700-rgb);--pt-text-stable-rgb:var(--pt-white-rgb);--pt-text-standard-rgb:var(--pt-black-rgb) / 0.7;--pt-text-strong-rgb:var(--pt-black-rgb) / 0.9;--pt-text-success-rgb:var(--pt-green-700-rgb);--pt-text-success-standard-rgb:var(--pt-green-500-rgb);--pt-text-tage-rgb:var(--pt-black-rgb) / 0.6;--pt-text-warning-rgb:var(--pt-orange-700-rgb);--pt-text-warning-standard-rgb:var(--pt-orange-500-rgb);--pt-text-weak-rgb:var(--pt-black-rgb) / 0.4;--pt-bg-ai-standard-rgb:var(--pt-fuchsia-500-rgb);--pt-bg-ai-subtle-rgb:var(--pt-fuchsia-300-rgb);--pt-bg-ai-subtler-rgb:var(--pt-fuchsia-500-rgb) / 0.2;--pt-bg-box-rgb:var(--pt-white-rgb);--pt-bg-brand-standard-rgb:var(--pt-lime-500-rgb);--pt-bg-brand-subtle-rgb:var(--pt-lime-300-rgb);--pt-bg-brand-subtler-rgb:var(--pt-lime-100-rgb);--pt-bg-danger-standard-rgb:var(--pt-red-600-rgb);--pt-bg-danger-subtle-rgb:var(--pt-red-300-rgb);--pt-bg-danger-subtler-rgb:var(--pt-red-500-rgb) / 0.2;--pt-bg-default-rgb:var(--pt-white-rgb);--pt-bg-disable-rgb:var(--pt-black-rgb) / 0.1;--pt-bg-information-standard-rgb:var(--pt-blue-500-rgb);--pt-bg-information-subtle-rgb:var(--pt-blue-300-rgb);--pt-bg-information-subtler-rgb:var(--pt-blue-500-rgb) / 0.2;--pt-bg-neutral-rgb:var(--pt-black-rgb) / 0.08;--pt-bg-neutral-subtler-rgb:var(--pt-neutral-500-rgb) / 0.2;--pt-bg-overlay-rgb:var(--pt-black-rgb) / 0.45;--pt-bg-overlay-strong-rgb:var(--pt-black-rgb) / 0.8;--pt-bg-positive-standard-rgb:var(--pt-green-500-rgb);--pt-bg-positive-subtle-rgb:var(--pt-green-300-rgb);--pt-bg-positive-subtler-rgb:var(--pt-green-500-rgb) / 0.2;--pt-bg-selected-rgb:var(--pt-black-rgb) / 0.08;--pt-bg-strong-rgb:var(--pt-neutral-950-rgb);--pt-bg-warning-standard-rgb:var(--pt-orange-500-rgb);--pt-bg-warning-subtle-rgb:var(--pt-orange-300-rgb);--pt-bg-warning-subtler-rgb:var(--pt-orange-500-rgb) / 0.2;--pt-bg-weak-rgb:var(--pt-black-rgb) / 0.03;--pt-border-ai-rgb:var(--pt-fuchsia-100-rgb);--pt-border-brand-rgb:var(--pt-lime-200-rgb);--pt-border-danger-rgb:var(--pt-red-100-rgb);--pt-border-information-rgb:var(--pt-blue-100-rgb);--pt-border-inverse-rgb:var(--pt-white-rgb);--pt-border-neutral-rgb:var(--pt-black-rgb) / 0.2;--pt-border-strong-rgb:var(--pt-black-rgb) / 0.9;--pt-border-success-rgb:var(--pt-green-100-rgb);--pt-border-warning-rgb:var(--pt-orange-100-rgb);--pt-border-weak-rgb:var(--pt-black-rgb) / 0.08;--pt-interaction-focus-rgb:var(--pt-black-rgb) / 0.9;--pt-interaction-hover-rgb:var(--pt-black-rgb) / 0.08;--pt-interaction-press-rgb:var(--pt-black-rgb) / 0.1;--pt-interaction-reversal-focus-rgb:var(--pt-white-rgb) / 0.9;--pt-interaction-reversal-hover-rgb:var(--pt-white-rgb) / 0.08;--pt-interaction-reversal-press-rgb:var(--pt-white-rgb) / 0.1;--pt-chart-0-rgb:var(--pt-black-rgb);--pt-chart-1-rgb:var(--pt-green-500-rgb);--pt-chart-2-rgb:var(--pt-lime-500-rgb);--pt-chart-3-rgb:var(--pt-orange-500-rgb);--pt-chart-4-rgb:var(--pt-blue-500-rgb);--pt-chart-5-rgb:var(--pt-fuchsia-500-rgb);--pt-link-blue-rgb:var(--pt-blue-500-rgb);--pt-link-green-rgb:var(--pt-green-500-rgb);--pt-color-scheme:light}.pt-dark,[data-pt-theme='dark']{--pt-bg-secondary-rgb:var(--pt-neutral-800-rgb);--pt-border-default-rgb:var(--pt-white-rgb) / 0.1;--pt-border-input-rgb:var(--pt-white-rgb) / 0.15;--pt-fg-default-rgb:var(--pt-white-rgb);--pt-fg-muted-rgb:var(--pt-neutral-400-rgb);--pt-text-ai-rgb:var(--pt-fuchsia-500-rgb);--pt-text-danger-rgb:var(--pt-red-500-rgb);--pt-text-disabled-rgb:var(--pt-white-rgb) / 0.3;--pt-text-information-rgb:var(--pt-blue-500-rgb);--pt-text-inverse-rgb:var(--pt-black-rgb);--pt-text-neutral-rgb:var(--pt-neutral-500-rgb);--pt-text-standard-rgb:var(--pt-white-rgb) / 0.7;--pt-text-strong-rgb:var(--pt-white-rgb) / 0.9;--pt-text-success-rgb:var(--pt-green-500-rgb);--pt-text-tage-rgb:var(--pt-white-rgb) / 0.6;--pt-text-warning-rgb:var(--pt-orange-500-rgb);--pt-text-weak-rgb:var(--pt-white-rgb) / 0.4;--pt-bg-box-rgb:var(--pt-black-rgb);--pt-bg-default-rgb:var(--pt-neutral-950-rgb);--pt-bg-disable-rgb:var(--pt-white-rgb) / 0.1;--pt-bg-neutral-rgb:var(--pt-white-rgb) / 0.08;--pt-bg-overlay-rgb:var(--pt-black-rgb) / 0.6;--pt-bg-selected-rgb:var(--pt-white-rgb) / 0.08;--pt-bg-strong-rgb:var(--pt-white-rgb);--pt-bg-weak-rgb:var(--pt-white-rgb) / 0.03;--pt-border-inverse-rgb:var(--pt-black-rgb);--pt-border-neutral-rgb:var(--pt-white-rgb) / 0.2;--pt-border-strong-rgb:var(--pt-white-rgb) / 0.9;--pt-border-weak-rgb:var(--pt-white-rgb) / 0.08;--pt-interaction-focus-rgb:var(--pt-white-rgb) / 0.9;--pt-interaction-hover-rgb:var(--pt-white-rgb) / 0.08;--pt-interaction-press-rgb:var(--pt-white-rgb) / 0.1;--pt-interaction-reversal-focus-rgb:var(--pt-black-rgb) / 0.9;--pt-interaction-reversal-hover-rgb:var(--pt-black-rgb) / 0.08;--pt-interaction-reversal-press-rgb:var(--pt-black-rgb) / 0.1;--pt-chart-0-rgb:var(--pt-white-rgb);--pt-color-scheme:dark}@media (prefers-color-scheme: dark){:root:not(.pt-light):not([data-pt-theme='light']){--pt-bg-secondary-rgb:var(--pt-neutral-800-rgb);--pt-border-default-rgb:var(--pt-white-rgb) / 0.1;--pt-border-input-rgb:var(--pt-white-rgb) / 0.15;--pt-fg-default-rgb:var(--pt-white-rgb);--pt-fg-muted-rgb:var(--pt-neutral-400-rgb);--pt-text-ai-rgb:var(--pt-fuchsia-500-rgb);--pt-text-danger-rgb:var(--pt-red-500-rgb);--pt-text-disabled-rgb:var(--pt-white-rgb) / 0.3;--pt-text-information-rgb:var(--pt-blue-500-rgb);--pt-text-inverse-rgb:var(--pt-black-rgb);--pt-text-neutral-rgb:var(--pt-neutral-500-rgb);--pt-text-standard-rgb:var(--pt-white-rgb) / 0.7;--pt-text-strong-rgb:var(--pt-white-rgb) / 0.9;--pt-text-success-rgb:var(--pt-green-500-rgb);--pt-text-tage-rgb:var(--pt-white-rgb) / 0.6;--pt-text-warning-rgb:var(--pt-orange-500-rgb);--pt-text-weak-rgb:var(--pt-white-rgb) / 0.4;--pt-bg-box-rgb:var(--pt-black-rgb);--pt-bg-default-rgb:var(--pt-neutral-950-rgb);--pt-bg-disable-rgb:var(--pt-white-rgb) / 0.1;--pt-bg-neutral-rgb:var(--pt-white-rgb) / 0.08;--pt-bg-overlay-rgb:var(--pt-black-rgb) / 0.6;--pt-bg-selected-rgb:var(--pt-white-rgb) / 0.08;--pt-bg-strong-rgb:var(--pt-white-rgb);--pt-bg-weak-rgb:var(--pt-white-rgb) / 0.03;--pt-border-inverse-rgb:var(--pt-black-rgb);--pt-border-neutral-rgb:var(--pt-white-rgb) / 0.2;--pt-border-strong-rgb:var(--pt-white-rgb) / 0.9;--pt-border-weak-rgb:var(--pt-white-rgb) / 0.08;--pt-interaction-focus-rgb:var(--pt-white-rgb) / 0.9;--pt-interaction-hover-rgb:var(--pt-white-rgb) / 0.08;--pt-interaction-press-rgb:var(--pt-white-rgb) / 0.1;--pt-interaction-reversal-focus-rgb:var(--pt-black-rgb) / 0.9;--pt-interaction-reversal-hover-rgb:var(--pt-black-rgb) / 0.08;--pt-interaction-reversal-press-rgb:var(--pt-black-rgb) / 0.1;--pt-chart-0-rgb:var(--pt-white-rgb);--pt-color-scheme:dark}}:root,.pt-theme,.pt-light,[data-pt-theme='light'],.pt-dark,[data-pt-theme='dark']{--pt-bg-secondary:rgb(var(--pt-bg-secondary-rgb));--pt-border-default:rgb(var(--pt-border-default-rgb));--pt-border-input:rgb(var(--pt-border-input-rgb));--pt-brand:rgb(var(--pt-brand-rgb));--pt-fg-default:rgb(var(--pt-fg-default-rgb));--pt-fg-muted:rgb(var(--pt-fg-muted-rgb));--pt-text-ai:rgb(var(--pt-text-ai-rgb));--pt-text-ai-standard:rgb(var(--pt-text-ai-standard-rgb));--pt-text-brand:rgb(var(--pt-text-brand-rgb));--pt-text-brand-standard:rgb(var(--pt-text-brand-standard-rgb));--pt-text-danger:rgb(var(--pt-text-danger-rgb));--pt-text-danger-standard:rgb(var(--pt-text-danger-standard-rgb));--pt-text-disabled:rgb(var(--pt-text-disabled-rgb));--pt-text-information:rgb(var(--pt-text-information-rgb));--pt-text-information-standard:rgb(var(--pt-text-information-standard-rgb));--pt-text-inverse:rgb(var(--pt-text-inverse-rgb));--pt-text-neutral:rgb(var(--pt-text-neutral-rgb));--pt-text-stable:rgb(var(--pt-text-stable-rgb));--pt-text-standard:rgb(var(--pt-text-standard-rgb));--pt-text-strong:rgb(var(--pt-text-strong-rgb));--pt-text-success:rgb(var(--pt-text-success-rgb));--pt-text-success-standard:rgb(var(--pt-text-success-standard-rgb));--pt-text-tage:rgb(var(--pt-text-tage-rgb));--pt-text-warning:rgb(var(--pt-text-warning-rgb));--pt-text-warning-standard:rgb(var(--pt-text-warning-standard-rgb));--pt-text-weak:rgb(var(--pt-text-weak-rgb));--pt-bg-ai-standard:rgb(var(--pt-bg-ai-standard-rgb));--pt-bg-ai-subtle:rgb(var(--pt-bg-ai-subtle-rgb));--pt-bg-ai-subtler:rgb(var(--pt-bg-ai-subtler-rgb));--pt-bg-box:rgb(var(--pt-bg-box-rgb));--pt-bg-brand-standard:rgb(var(--pt-bg-brand-standard-rgb));--pt-bg-brand-subtle:rgb(var(--pt-bg-brand-subtle-rgb));--pt-bg-brand-subtler:rgb(var(--pt-bg-brand-subtler-rgb));--pt-bg-danger-standard:rgb(var(--pt-bg-danger-standard-rgb));--pt-bg-danger-subtle:rgb(var(--pt-bg-danger-subtle-rgb));--pt-bg-danger-subtler:rgb(var(--pt-bg-danger-subtler-rgb));--pt-bg-default:rgb(var(--pt-bg-default-rgb));--pt-bg-disable:rgb(var(--pt-bg-disable-rgb));--pt-bg-information-standard:rgb(var(--pt-bg-information-standard-rgb));--pt-bg-information-subtle:rgb(var(--pt-bg-information-subtle-rgb));--pt-bg-information-subtler:rgb(var(--pt-bg-information-subtler-rgb));--pt-bg-neutral:rgb(var(--pt-bg-neutral-rgb));--pt-bg-neutral-subtler:rgb(var(--pt-bg-neutral-subtler-rgb));--pt-bg-overlay:rgb(var(--pt-bg-overlay-rgb));--pt-bg-overlay-strong:rgb(var(--pt-bg-overlay-strong-rgb));--pt-bg-positive-standard:rgb(var(--pt-bg-positive-standard-rgb));--pt-bg-positive-subtle:rgb(var(--pt-bg-positive-subtle-rgb));--pt-bg-positive-subtler:rgb(var(--pt-bg-positive-subtler-rgb));--pt-bg-selected:rgb(var(--pt-bg-selected-rgb));--pt-bg-strong:rgb(var(--pt-bg-strong-rgb));--pt-bg-warning-standard:rgb(var(--pt-bg-warning-standard-rgb));--pt-bg-warning-subtle:rgb(var(--pt-bg-warning-subtle-rgb));--pt-bg-warning-subtler:rgb(var(--pt-bg-warning-subtler-rgb));--pt-bg-weak:rgb(var(--pt-bg-weak-rgb));--pt-border-ai:rgb(var(--pt-border-ai-rgb));--pt-border-brand:rgb(var(--pt-border-brand-rgb));--pt-border-danger:rgb(var(--pt-border-danger-rgb));--pt-border-information:rgb(var(--pt-border-information-rgb));--pt-border-inverse:rgb(var(--pt-border-inverse-rgb));--pt-border-neutral:rgb(var(--pt-border-neutral-rgb));--pt-border-strong:rgb(var(--pt-border-strong-rgb));--pt-border-success:rgb(var(--pt-border-success-rgb));--pt-border-warning:rgb(var(--pt-border-warning-rgb));--pt-border-weak:rgb(var(--pt-border-weak-rgb));--pt-interaction-focus:rgb(var(--pt-interaction-focus-rgb));--pt-interaction-hover:rgb(var(--pt-interaction-hover-rgb));--pt-interaction-press:rgb(var(--pt-interaction-press-rgb));--pt-interaction-reversal-focus:rgb(var(--pt-interaction-reversal-focus-rgb));--pt-interaction-reversal-hover:rgb(var(--pt-interaction-reversal-hover-rgb));--pt-interaction-reversal-press:rgb(var(--pt-interaction-reversal-press-rgb));--pt-chart-0:rgb(var(--pt-chart-0-rgb));--pt-chart-1:rgb(var(--pt-chart-1-rgb));--pt-chart-2:rgb(var(--pt-chart-2-rgb));--pt-chart-3:rgb(var(--pt-chart-3-rgb));--pt-chart-4:rgb(var(--pt-chart-4-rgb));--pt-chart-5:rgb(var(--pt-chart-5-rgb));--pt-link-blue:rgb(var(--pt-link-blue-rgb));--pt-link-green:rgb(var(--pt-link-green-rgb))}pt-provider{display:contents}\";\n"],"names":[],"mappings":";;AAAY,MAAC,aAAa,GAAG,MAAM;;;;"}
|