19 declare(strict_types=1);
23 class UI implements Component\Component
35 $define[] = UI\Factory::class;
36 $define[] = UI\Renderer::class;
37 $define[] = UI\HelpTextRetriever::class;
38 $define[] = UI\Storage::class;
39 $define[] = UI\Component\Progress\AsyncRefreshInterval::class;
40 $define[] = UI\Component\Input\Field\PhpUploadLimit::class;
41 $define[] = UI\Component\Input\Field\GlobalUploadLimit::class;
42 $define[] = UI\Implementation\FactoryInternal::class;
43 $define[] = UI\Implementation\Render\ImagePathResolver::class;
45 $implement[UI\Factory::class] =
static fn() =>
46 $use[UI\Implementation\FactoryInternal::class];
47 $implement[UI\Implementation\FactoryInternal::class] =
static fn() =>
48 $internal[UI\Implementation\Factory::class];
49 $implement[UI\Renderer::class] =
static fn() =>
50 $internal[UI\Implementation\DefaultRenderer::class];
51 $implement[UI\Component\Progress\AsyncRefreshInterval::class] =
static fn() =>
52 $internal[UI\Implementation\Component\Progress\DefaultAsyncRefreshInterval::class];
58 $provide[UI\Implementation\Component\Counter\Factory::class] =
static fn() =>
59 $internal[UI\Implementation\Component\Counter\Factory::class];
60 $provide[UI\Implementation\Component\Button\Factory::class] =
static fn() =>
61 $internal[UI\Implementation\Component\Button\Factory::class];
62 $provide[UI\Implementation\Component\Listing\Factory::class] =
static fn() =>
63 $internal[UI\Implementation\Component\Listing\Factory::class];
64 $provide[UI\Implementation\Component\Listing\Workflow\Factory::class] =
static fn() =>
65 $internal[UI\Implementation\Component\Listing\Workflow\Factory::class];
66 $provide[UI\Implementation\Component\Listing\CharacteristicValue\Factory::class] =
static fn() =>
67 $internal[UI\Implementation\Component\Listing\CharacteristicValue\Factory::class];
68 $provide[UI\Implementation\Component\Listing\Entity\Factory::class] =
static fn() =>
69 $internal[UI\Implementation\Component\Listing\Entity\Factory::class];
70 $provide[UI\Implementation\Component\Image\Factory::class] =
static fn() =>
71 $internal[UI\Implementation\Component\Image\Factory::class];
72 $provide[UI\Implementation\Component\Player\Factory::class] =
static fn() =>
73 $internal[UI\Implementation\Component\Player\Factory::class];
74 $provide[UI\Implementation\Component\Panel\Factory::class] =
static fn() =>
75 $internal[UI\Implementation\Component\Panel\Factory::class];
76 $provide[UI\Implementation\Component\Modal\Factory::class] =
static fn() =>
77 $internal[UI\Implementation\Component\Modal\Factory::class];
78 $provide[UI\Implementation\Component\Progress\Factory::class] =
static fn() =>
79 $internal[UI\Implementation\Component\Progress\Factory::class];
80 $provide[UI\Implementation\Component\Progress\State\Factory::class] =
static fn() =>
81 $internal[UI\Implementation\Component\Progress\State\Factory::class];
82 $provide[UI\Implementation\Component\Progress\State\Bar\Factory::class] =
static fn() =>
83 $internal[UI\Implementation\Component\Progress\State\Bar\Factory::class];
84 $provide[UI\Implementation\Component\Dropzone\Factory::class] =
static fn() =>
85 $internal[UI\Implementation\Component\Dropzone\Factory::class];
86 $provide[UI\Implementation\Component\Popover\Factory::class] =
static fn() =>
87 $internal[UI\Implementation\Component\Popover\Factory::class];
88 $provide[UI\Implementation\Component\Divider\Factory::class] =
static fn() =>
89 $internal[UI\Implementation\Component\Divider\Factory::class];
90 $provide[UI\Implementation\Component\Link\Factory::class] =
static fn() =>
91 $internal[UI\Implementation\Component\Link\Factory::class];
92 $provide[UI\Implementation\Component\Dropdown\Factory::class] =
static fn() =>
93 $internal[UI\Implementation\Component\Dropdown\Factory::class];
94 $provide[UI\Implementation\Component\Item\Factory::class] =
static fn() =>
95 $internal[UI\Implementation\Component\Item\Factory::class];
96 $provide[UI\Implementation\Component\ViewControl\Factory::class] =
static fn() =>
97 $internal[UI\Implementation\Component\ViewControl\Factory::class];
98 $provide[UI\Implementation\Component\Chart\Factory::class] =
static fn() =>
99 $internal[UI\Implementation\Component\Chart\Factory::class];
100 $provide[UI\Implementation\Component\Input\Factory::class] =
static fn() =>
101 $internal[UI\Implementation\Component\Input\Factory::class];
102 $provide[UI\Implementation\Component\Table\Factory::class] =
static fn() =>
103 $internal[UI\Implementation\Component\Table\Factory::class];
104 $provide[UI\Implementation\Component\MessageBox\Factory::class] =
static fn() =>
105 $internal[UI\Implementation\Component\MessageBox\Factory::class];
106 $provide[UI\Implementation\Component\Card\Factory::class] =
static fn() =>
107 $internal[UI\Implementation\Component\Card\Factory::class];
108 $provide[UI\Implementation\Component\Layout\Factory::class] =
static fn() =>
109 $internal[UI\Implementation\Component\Layout\Factory::class];
110 $provide[UI\Implementation\Component\Layout\Page\Factory::class] =
static fn() =>
111 $internal[UI\Implementation\Component\Layout\Page\Factory::class];
112 $provide[UI\Implementation\Component\Layout\Alignment\Factory::class] =
static fn() =>
113 $internal[UI\Implementation\Component\Layout\Alignment\Factory::class];
114 $provide[UI\Implementation\Component\MainControls\Factory::class] =
static fn() =>
115 $internal[UI\Implementation\Component\MainControls\Factory::class];
116 $provide[UI\Implementation\Component\Tree\Factory::class] =
static fn() =>
117 $internal[UI\Implementation\Component\Tree\Factory::class];
118 $provide[UI\Implementation\Component\Tree\Node\Factory::class] =
static fn() =>
119 $internal[UI\Implementation\Component\Tree\Node\Factory::class];
120 $provide[UI\Implementation\Component\Menu\Factory::class] =
static fn() =>
121 $internal[UI\Implementation\Component\Menu\Factory::class];
122 $provide[UI\Implementation\Component\Symbol\Factory::class] =
static fn() =>
123 $internal[UI\Implementation\Component\Symbol\Factory::class];
124 $provide[UI\Implementation\Component\Toast\Factory::class] =
static fn() =>
125 $internal[UI\Implementation\Component\Toast\Factory::class];
126 $provide[UI\Implementation\Component\Legacy\Factory::class] =
static fn() =>
127 $internal[UI\Implementation\Component\Legacy\Factory::class];
128 $provide[UI\Implementation\Component\Launcher\Factory::class] =
static fn() =>
129 $internal[UI\Implementation\Component\Launcher\Factory::class];
130 $provide[UI\Implementation\Component\Entity\Factory::class] =
static fn() =>
131 $internal[UI\Implementation\Component\Entity\Factory::class];
132 $provide[UI\Implementation\Component\Panel\Secondary\Factory::class] =
static fn() =>
133 $internal[UI\Implementation\Component\Panel\Secondary\Factory::class];
134 $provide[UI\Implementation\Component\Panel\Listing\Factory::class] =
static fn() =>
135 $internal[UI\Implementation\Component\Panel\Listing\Factory::class];
136 $provide[UI\Implementation\Component\Modal\InterruptiveItem\Factory::class] =
static fn() =>
137 $internal[UI\Implementation\Component\Modal\InterruptiveItem\Factory::class];
138 $provide[UI\Implementation\Component\Chart\ProgressMeter\Factory::class] =
static fn() =>
139 $internal[UI\Implementation\Component\Chart\ProgressMeter\Factory::class];
140 $provide[UI\Implementation\Component\Chart\Bar\Factory::class] =
static fn() =>
141 $internal[UI\Implementation\Component\Chart\Bar\Factory::class];
142 $provide[UI\Implementation\Component\Input\ViewControl\Factory::class] =
static fn() =>
143 $internal[UI\Implementation\Component\Input\ViewControl\Factory::class];
144 $provide[UI\Implementation\Component\Input\Container\ViewControl\Factory::class] =
static fn() =>
145 $internal[UI\Implementation\Component\Input\Container\ViewControl\Factory::class];
146 $provide[UI\Implementation\Component\Table\Column\Factory::class] =
static fn() =>
147 $internal[UI\Implementation\Component\Table\Column\Factory::class];
148 $provide[UI\Implementation\Component\Table\Factory::class] =
static fn() =>
149 $internal[UI\Implementation\Component\Table\Factory::class];
150 $provide[UI\Implementation\Component\MainControls\Slate\Factory::class] =
static fn() =>
151 $internal[UI\Implementation\Component\MainControls\Slate\Factory::class];
152 $provide[UI\Implementation\Component\Symbol\Icon\Factory::class] =
static fn() =>
153 $internal[UI\Implementation\Component\Symbol\Icon\Factory::class];
154 $provide[UI\Implementation\Component\Symbol\Glyph\Factory::class] =
static fn() =>
155 $internal[UI\Implementation\Component\Symbol\Glyph\Factory::class];
156 $provide[UI\Implementation\Component\Symbol\Avatar\Factory::class] =
static fn() =>
157 $internal[UI\Implementation\Component\Symbol\Avatar\Factory::class];
158 $provide[UI\Implementation\Component\Input\Container\Form\Factory::class] =
static fn() =>
159 $internal[UI\Implementation\Component\Input\Container\Form\Factory::class];
160 $provide[UI\Implementation\Component\Input\Container\Filter\Factory::class] =
static fn() =>
161 $internal[UI\Implementation\Component\Input\Container\Filter\Factory::class];
162 $provide[UI\Implementation\Component\Input\Field\Factory::class] =
static fn() =>
163 $internal[UI\Implementation\Component\Input\Field\Factory::class];
164 $provide[UI\Implementation\Component\Input\Field\Node\Factory::class] =
static fn() =>
165 $internal[UI\Implementation\Component\Input\Field\Node\Factory::class];
166 $provide[UI\Implementation\Component\Prompt\Factory::class] =
static fn() =>
167 $internal[UI\Implementation\Component\Prompt\Factory::class];
168 $provide[UI\Implementation\Component\Prompt\State\Factory::class] =
static fn() =>
169 $internal[UI\Implementation\Component\Prompt\State\Factory::class];
170 $provide[UI\Implementation\Component\Input\UploadLimitResolver::class] =
static fn() =>
171 $internal[UI\Implementation\Component\Input\UploadLimitResolver::class];
174 $internal[UI\Implementation\Factory::class] =
static fn() =>
175 new UI\Implementation\Factory(
208 $internal[UI\Implementation\Component\Counter\Factory::class] =
static fn() =>
209 new UI\Implementation\Component\Counter\Factory();
211 $internal[UI\Implementation\Component\Button\Factory::class] =
static fn() =>
212 new UI\Implementation\Component\Button\Factory();
214 $internal[UI\Implementation\Component\Listing\Factory::class] =
static fn() =>
215 new UI\Implementation\Component\Listing\Factory(
220 $internal[UI\Implementation\Component\Listing\Workflow\Factory::class] =
static fn() =>
221 new UI\Implementation\Component\Listing\Workflow\Factory();
222 $internal[UI\Implementation\Component\Listing\CharacteristicValue\Factory::class] =
static fn() =>
223 new UI\Implementation\Component\Listing\CharacteristicValue\Factory();
224 $internal[UI\Implementation\Component\Listing\Entity\Factory::class] =
static fn() =>
225 new UI\Implementation\Component\Listing\Entity\Factory();
227 $internal[UI\Implementation\Component\Image\Factory::class] =
static fn() =>
228 new UI\Implementation\Component\Image\Factory();
230 $internal[UI\Implementation\Component\Player\Factory::class] =
static fn() =>
231 new UI\Implementation\Component\Player\Factory();
233 $internal[UI\Implementation\Component\Panel\Factory::class] =
static fn() =>
234 new UI\Implementation\Component\Panel\Factory(
238 $internal[UI\Implementation\Component\Panel\Listing\Factory::class] =
static fn() =>
239 new UI\Implementation\Component\Panel\Listing\Factory();
240 $internal[UI\Implementation\Component\Panel\Secondary\Factory::class] =
static fn() =>
241 new UI\Implementation\Component\Panel\Secondary\Factory();
243 $internal[UI\Implementation\Component\Modal\Factory::class] =
static fn() =>
244 new UI\Implementation\Component\Modal\Factory(
249 $internal[UI\Implementation\Component\SignalGeneratorInterface::class] =
static fn() =>
250 new UI\Implementation\Component\SignalGenerator();
251 $internal[UI\Implementation\Component\Modal\InterruptiveItem\Factory::class] =
static fn() =>
252 new UI\Implementation\Component\Modal\InterruptiveItem\Factory();
254 $internal[UI\Implementation\Component\Progress\Factory::class] =
static fn() =>
255 new UI\Implementation\Component\Progress\Factory(
256 $use[
UI\
Component\Progress\AsyncRefreshInterval::class],
260 $internal[UI\Implementation\Component\Progress\State\Factory::class] =
static fn() =>
261 new UI\Implementation\Component\Progress\State\Factory(
264 $internal[UI\Implementation\Component\Progress\State\Bar\Factory::class] =
static fn() =>
265 new UI\Implementation\Component\Progress\State\Bar\Factory();
266 $internal[UI\Implementation\Component\Progress\DefaultAsyncRefreshInterval::class] =
static fn() =>
267 new UI\Implementation\Component\Progress\DefaultAsyncRefreshInterval();
269 $internal[UI\Implementation\Component\Dropzone\Factory::class] =
static fn() =>
270 new UI\Implementation\Component\Dropzone\Factory(
273 $internal[UI\Implementation\Component\Dropzone\File\Factory::class] =
static fn() =>
274 new UI\Implementation\Component\Dropzone\File\Factory(
279 $internal[UI\Implementation\Component\Popover\Factory::class] =
static fn() =>
280 new UI\Implementation\Component\Popover\Factory(
284 $internal[UI\Implementation\Component\Divider\Factory::class] =
static fn() =>
285 new UI\Implementation\Component\Divider\Factory();
287 $internal[UI\Implementation\Component\Link\Factory::class] =
static fn() =>
288 new UI\Implementation\Component\Link\Factory();
290 $internal[UI\Implementation\Component\Dropdown\Factory::class] =
static fn() =>
291 new UI\Implementation\Component\Dropdown\Factory();
293 $internal[UI\Implementation\Component\Item\Factory::class] =
static fn() =>
294 new UI\Implementation\Component\Item\Factory();
296 $internal[UI\Implementation\Component\ViewControl\Factory::class] =
static fn() =>
297 new UI\Implementation\Component\ViewControl\Factory(
301 $internal[UI\Implementation\Component\Chart\Factory::class] =
static fn() =>
302 new UI\Implementation\Component\Chart\Factory(
306 $internal[UI\Implementation\Component\Chart\ProgressMeter\Factory::class] =
static fn() =>
307 new UI\Implementation\Component\Chart\ProgressMeter\Factory();
308 $internal[UI\Implementation\Component\Chart\Bar\Factory::class] =
static fn() =>
309 new UI\Implementation\Component\Chart\Bar\Factory();
311 $internal[UI\Implementation\Component\Input\Factory::class] =
static fn() =>
312 new UI\Implementation\Component\Input\Factory(
318 $internal[UI\Implementation\Component\Input\Field\Factory::class] =
static fn() =>
319 new UI\Implementation\Component\Input\Field\Factory(
323 $pull[
Data\Factory::class],
327 $internal[UI\Implementation\Component\Input\Field\Node\Factory::class] =
static fn() =>
328 new UI\Implementation\Component\Input\Field\Node\Factory();
329 $internal[UI\Implementation\Component\Input\UploadLimitResolver::class] =
static fn() =>
330 new UI\Implementation\Component\Input\UploadLimitResolver(
331 $use[
UI\
Component\Input\Field\PhpUploadLimit::class],
332 $use[
UI\
Component\Input\Field\GlobalUploadLimit::class],
334 $internal[UI\Implementation\Component\Input\Container\Factory::class] =
static fn() =>
335 new UI\Implementation\Component\Input\Container\Factory(
340 $internal[UI\Implementation\Component\Input\Container\Form\Factory::class] =
static fn() =>
341 new UI\Implementation\Component\Input\Container\Form\Factory(
345 $internal[UI\Implementation\Component\Input\Container\Filter\Factory::class] =
static fn() =>
346 new UI\Implementation\Component\Input\Container\Filter\Factory(
350 $internal[UI\Implementation\Component\Input\Container\ViewControl\Factory::class] =
static fn() =>
351 new UI\Implementation\Component\Input\Container\ViewControl\Factory(
355 $internal[UI\Implementation\Component\Input\ViewControl\Factory::class] =
static fn() =>
356 new UI\Implementation\Component\Input\ViewControl\Factory(
358 $pull[
Data\Factory::class],
364 $internal[UI\Implementation\Component\Table\Factory::class] =
static fn() =>
365 new UI\Implementation\Component\Table\Factory(
369 $pull[
Data\Factory::class],
372 $use[
UI\Storage::class],
376 $internal[UI\Implementation\Component\Table\Column\Factory::class] =
static fn() =>
377 new UI\Implementation\Component\Table\Column\Factory(
380 $internal[UI\Implementation\Component\Table\Action\Factory::class] =
static fn() =>
381 new UI\Implementation\Component\Table\Action\Factory();
382 $internal[UI\Implementation\Component\Table\DataRowBuilder::class] =
static fn() =>
383 new UI\Implementation\Component\Table\DataRowBuilder();
384 $internal[UI\Implementation\Component\Table\OrderingRowBuilder::class] =
static fn() =>
385 new UI\Implementation\Component\Table\OrderingRowBuilder();
387 $internal[UI\Implementation\Component\MessageBox\Factory::class] =
static fn() =>
388 new UI\Implementation\Component\MessageBox\Factory();
390 $internal[UI\Implementation\Component\Card\Factory::class] =
static fn() =>
391 new UI\Implementation\Component\Card\Factory();
393 $internal[UI\Implementation\Component\Layout\Factory::class] =
static fn() =>
394 new UI\Implementation\Component\Layout\Factory(
398 $internal[UI\Implementation\Component\Layout\Page\Factory::class] =
static fn() =>
399 new UI\Implementation\Component\Layout\Page\Factory();
400 $internal[UI\Implementation\Component\Layout\Alignment\Factory::class] =
static fn() =>
401 new UI\Implementation\Component\Layout\Alignment\Factory();
403 $internal[UI\Implementation\Component\MainControls\Factory::class] =
static fn() =>
404 new UI\Implementation\Component\MainControls\Factory(
408 $internal[UI\Implementation\Component\MainControls\Slate\Factory::class] =
static fn() =>
409 new UI\Implementation\Component\MainControls\Slate\Factory(
415 $internal[UI\Implementation\Component\Tree\Factory::class] =
static fn() =>
416 new UI\Implementation\Component\Tree\Factory(
419 $internal[UI\Implementation\Component\Tree\Node\Factory::class] =
static fn() =>
420 new UI\Implementation\Component\Tree\Node\Factory();
422 $internal[UI\Implementation\Component\Menu\Factory::class] =
static fn() =>
423 new UI\Implementation\Component\Menu\Factory(
427 $internal[UI\Implementation\Component\Symbol\Factory::class] =
static fn() =>
428 new UI\Implementation\Component\Symbol\Factory(
433 $internal[UI\Implementation\Component\Symbol\Icon\Factory::class] =
static fn() =>
434 new UI\Implementation\Component\Symbol\Icon\Factory();
435 $internal[UI\Implementation\Component\Symbol\Glyph\Factory::class] =
static fn() =>
436 new UI\Implementation\Component\Symbol\Glyph\Factory();
437 $internal[UI\Implementation\Component\Symbol\Avatar\Factory::class] =
static fn() =>
438 new UI\Implementation\Component\Symbol\Avatar\Factory();
440 $internal[UI\Implementation\Component\Toast\Factory::class] =
static fn() =>
441 new UI\Implementation\Component\Toast\Factory(
445 $internal[UI\Implementation\Component\Legacy\Factory::class] =
static fn() =>
446 new UI\Implementation\Component\Legacy\Factory(
450 $internal[UI\Implementation\Component\Launcher\Factory::class] =
static fn() =>
451 new UI\Implementation\Component\Launcher\Factory(
455 $internal[UI\Implementation\Component\Entity\Factory::class] =
static fn() =>
456 new UI\Implementation\Component\Entity\Factory();
458 $internal[UI\Implementation\Component\Prompt\Factory::class] =
static fn() =>
459 new UI\Implementation\Component\Prompt\Factory(
462 $internal[UI\Implementation\Component\Prompt\State\Factory::class] =
static fn() =>
463 new UI\Implementation\Component\Prompt\State\Factory();
465 $internal[UI\Implementation\DefaultRenderer::class] =
static fn() =>
466 new UI\Implementation\DefaultRenderer(
471 $internal[UI\Implementation\Render\Loader::class] =
static fn() =>
472 new UI\Implementation\Render\LoaderCachingWrapper(
482 $pull[
Data\Factory::class],
483 $use[
UI\HelpTextRetriever::class],
492 $pull[
Data\Factory::class],
493 $use[
UI\HelpTextRetriever::class],
502 $pull[
Data\Factory::class],
503 $use[
UI\HelpTextRetriever::class],
512 $pull[
Data\Factory::class],
513 $use[
UI\HelpTextRetriever::class],
522 $pull[
Data\Factory::class],
523 $use[
UI\HelpTextRetriever::class],
532 $pull[
Data\Factory::class],
533 $use[
UI\HelpTextRetriever::class],
539 $internal[UI\Implementation\Render\JavaScriptBinding::class] =
static fn() =>
540 new UI\Implementation\Render\ilJavaScriptBinding(
541 $use[
UICore\GlobalTemplate::class],
543 $internal[UI\Implementation\Render\ResourceRegistry::class] =
static fn() =>
544 new UI\Implementation\Render\ilResourceRegistry(
545 $use[
UICore\GlobalTemplate::class],
547 $internal[UI\Implementation\Render\TemplateFactory::class] =
static fn() =>
548 new UI\Implementation\Render\ilTemplateWrapperFactory();
550 $contribute[Component\Resource\PublicAsset::class] = fn() =>
552 $contribute[Component\Resource\PublicAsset::class] = fn() =>
554 $contribute[Component\Resource\PublicAsset::class] = fn() =>
556 $contribute[Component\Resource\PublicAsset::class] = fn() =>
558 $contribute[Component\Resource\PublicAsset::class] = fn() =>
561 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
563 $contribute[Component\Resource\PublicAsset::class] = fn() =>
566 $contribute[Component\Resource\PublicAsset::class] = fn() =>
568 $contribute[Component\Resource\PublicAsset::class] = fn() =>
570 $contribute[Component\Resource\PublicAsset::class] = fn() =>
572 $contribute[Component\Resource\PublicAsset::class] = fn() =>
574 $contribute[Component\Resource\PublicAsset::class] = fn() =>
576 $contribute[Component\Resource\PublicAsset::class] = fn() =>
578 $contribute[Component\Resource\PublicAsset::class] = fn() =>
580 $contribute[Component\Resource\PublicAsset::class] = fn() =>
582 $contribute[Component\Resource\PublicAsset::class] = fn() =>
584 $contribute[Component\Resource\PublicAsset::class] = fn() =>
586 $contribute[Component\Resource\PublicAsset::class] = fn() =>
588 $contribute[Component\Resource\PublicAsset::class] = fn() =>
590 $contribute[Component\Resource\PublicAsset::class] = fn() =>
592 $contribute[Component\Resource\PublicAsset::class] = fn() =>
594 $contribute[Component\Resource\PublicAsset::class] = fn() =>
596 $contribute[Component\Resource\PublicAsset::class] = fn() =>
598 $contribute[Component\Resource\PublicAsset::class] = fn() =>
600 $contribute[Component\Resource\PublicAsset::class] = fn() =>
602 $contribute[Component\Resource\PublicAsset::class] = fn() =>
604 $contribute[Component\Resource\PublicAsset::class] = fn() =>
606 $contribute[Component\Resource\PublicAsset::class] = fn() =>
608 $contribute[Component\Resource\PublicAsset::class] = fn() =>
610 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
612 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
614 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
616 $contribute[Component\Resource\PublicAsset::class] = fn() =>
618 $contribute[Component\Resource\PublicAsset::class] = fn() =>
620 $contribute[Component\Resource\PublicAsset::class] = fn() =>
622 $contribute[Component\Resource\PublicAsset::class] = fn() =>
643 foreach ([
'tex-chtml-full.js',
'a11y',
'adaptors',
'input',
'output',
'sre',
'ui'] as $asset) {
644 $contribute[Component\Resource\PublicAsset::class] =
static fn(
650 public function getSource():
string 652 return 'node_modules/mathjax/es5/' . $this->asset;
655 public function getTarget():
string 657 return 'node_modules/mathjax/es5/' . $this->asset;
664 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\
PublicAsset {
665 public function getSource():
string 667 return "templates/default/delos.css";
669 public function getTarget():
string 671 return "assets/css/delos.css";
674 $contribute[Component\Resource\PublicAsset::class] =
static fn() =>
new class () implements
Component\Resource\
PublicAsset {
675 public function getSource():
string 677 return "templates/default/delos_cont.css";
679 public function getTarget():
string 681 return "assets/css/delos_cont.css";
Interface Observer Contains several chained tasks and infos about them.
An public asset is a file or folder that should be served via the web.
init(array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
This is a js file provided by some component.
Some distributable file created by npm.
__construct(Container $dic, ilPlugin $plugin)
An public asset that is a resource of some component.