typecomposer 0.1.26 → 0.1.28
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/assets/index.d.ts +12 -0
- package/assets/index.js +13 -0
- package/assets/index.js.map +1 -0
- package/core/app/Validate.d.ts +61 -0
- package/core/app/Validate.js +2 -0
- package/core/app/Validate.js.map +1 -0
- package/core/app/index.d.ts +39 -0
- package/core/app/index.js +174 -0
- package/core/app/index.js.map +1 -0
- package/core/components/AlertPanel.d.ts +31 -0
- package/core/components/AlertPanel.js +74 -0
- package/core/components/AlertPanel.js.map +1 -0
- package/core/components/AvatarPanel.d.ts +20 -0
- package/core/components/AvatarPanel.js +62 -0
- package/core/components/AvatarPanel.js.map +1 -0
- package/core/components/BorderPanel.d.ts +27 -0
- package/core/components/BorderPanel.js +89 -0
- package/core/components/BorderPanel.js.map +1 -0
- package/core/components/CardPanel.d.ts +4 -0
- package/core/components/CardPanel.js +10 -0
- package/core/components/CardPanel.js.map +1 -0
- package/core/components/CheckBox.d.ts +34 -0
- package/core/components/CheckBox.js +107 -0
- package/core/components/CheckBox.js.map +1 -0
- package/core/components/ColorPicker.d.ts +9 -0
- package/core/components/ColorPicker.js +32 -0
- package/core/components/ColorPicker.js.map +1 -0
- package/core/components/ContextMenu.d.ts +14 -0
- package/core/components/ContextMenu.js +62 -0
- package/core/components/ContextMenu.js.map +1 -0
- package/core/components/DialogPanel.d.ts +14 -0
- package/core/components/DialogPanel.js +62 -0
- package/core/components/DialogPanel.js.map +1 -0
- package/core/components/DropDown.d.ts +51 -0
- package/core/components/DropDown.js +213 -0
- package/core/components/DropDown.js.map +1 -0
- package/core/components/FlowPanel.d.ts +10 -0
- package/core/components/FlowPanel.js +39 -0
- package/core/components/FlowPanel.js.map +1 -0
- package/core/components/ForEach.d.ts +10 -0
- package/core/components/ForEach.js +86 -0
- package/core/components/ForEach.js.map +1 -0
- package/core/components/GridPanel.d.ts +9 -0
- package/core/components/GridPanel.js +29 -0
- package/core/components/GridPanel.js.map +1 -0
- package/core/components/HBox.d.ts +4 -0
- package/core/components/HBox.js +9 -0
- package/core/components/HBox.js.map +1 -0
- package/core/components/LazyLoading.d.ts +18 -0
- package/core/components/LazyLoading.js +35 -0
- package/core/components/LazyLoading.js.map +1 -0
- package/core/components/ListPanel.d.ts +26 -0
- package/core/components/ListPanel.js +152 -0
- package/core/components/ListPanel.js.map +1 -0
- package/core/components/PopUpButton.d.ts +17 -0
- package/core/components/PopUpButton.js +54 -0
- package/core/components/PopUpButton.js.map +1 -0
- package/core/components/ScrollPanel.d.ts +13 -0
- package/core/components/ScrollPanel.js +34 -0
- package/core/components/ScrollPanel.js.map +1 -0
- package/core/components/StackPanel.d.ts +4 -0
- package/core/components/StackPanel.js +9 -0
- package/core/components/StackPanel.js.map +1 -0
- package/core/components/TabItem.d.ts +18 -0
- package/core/components/TabItem.js +81 -0
- package/core/components/TabItem.js.map +1 -0
- package/core/components/TabPanel.d.ts +24 -0
- package/core/components/TabPanel.js +95 -0
- package/core/components/TabPanel.js.map +1 -0
- package/core/components/TablePanel.d.ts +32 -0
- package/core/components/TablePanel.js +125 -0
- package/core/components/TablePanel.js.map +1 -0
- package/core/components/TextEdit.d.ts +31 -0
- package/core/components/TextEdit.js +172 -0
- package/core/components/TextEdit.js.map +1 -0
- package/core/components/TextField.d.ts +34 -0
- package/core/components/TextField.js +148 -0
- package/core/components/TextField.js.map +1 -0
- package/core/components/ToggleButton.d.ts +6 -0
- package/core/components/ToggleButton.js +19 -0
- package/core/components/ToggleButton.js.map +1 -0
- package/core/components/VBox.d.ts +4 -0
- package/core/components/VBox.js +9 -0
- package/core/components/VBox.js.map +1 -0
- package/core/components/VirtualScroll copy 2.d.ts +24 -0
- package/core/components/VirtualScroll copy 2.js +98 -0
- package/core/components/VirtualScroll copy 2.js.map +1 -0
- package/core/components/VirtualScroll.d.ts +19 -0
- package/core/components/VirtualScroll.js +46 -0
- package/core/components/VirtualScroll.js.map +1 -0
- package/core/components/index.d.ts +26 -0
- package/core/components/index.js +28 -0
- package/core/components/index.js.map +1 -0
- package/core/decorators/RegisterComponent.d.ts +8 -0
- package/core/decorators/RegisterComponent.js +5 -0
- package/core/decorators/RegisterComponent.js.map +1 -0
- package/core/decorators/StyleLink.d.ts +1 -0
- package/core/decorators/StyleLink.js +13 -0
- package/core/decorators/StyleLink.js.map +1 -0
- package/core/decorators/index.d.ts +4 -0
- package/core/decorators/index.js +6 -0
- package/core/decorators/index.js.map +1 -0
- package/core/element/AbbreviationElement.d.ts +6 -0
- package/core/element/AbbreviationElement.js +11 -0
- package/core/element/AbbreviationElement.js.map +1 -0
- package/core/element/AnchorElement.d.ts +23 -0
- package/core/element/AnchorElement.js +29 -0
- package/core/element/AnchorElement.js.map +1 -0
- package/core/element/AreaElement.d.ts +17 -0
- package/core/element/AreaElement.js +10 -0
- package/core/element/AreaElement.js.map +1 -0
- package/core/element/ArticleElement.d.ts +4 -0
- package/core/element/ArticleElement.js +11 -0
- package/core/element/ArticleElement.js.map +1 -0
- package/core/element/AudioElement.d.ts +11 -0
- package/core/element/AudioElement.js +9 -0
- package/core/element/AudioElement.js.map +1 -0
- package/core/element/BaseElement.d.ts +7 -0
- package/core/element/BaseElement.js +10 -0
- package/core/element/BaseElement.js.map +1 -0
- package/core/element/BodyElement.d.ts +4 -0
- package/core/element/BodyElement.js +10 -0
- package/core/element/BodyElement.js.map +1 -0
- package/core/element/BoldElement.d.ts +4 -0
- package/core/element/BoldElement.js +9 -0
- package/core/element/BoldElement.js.map +1 -0
- package/core/element/BreakElement.d.ts +4 -0
- package/core/element/BreakElement.js +9 -0
- package/core/element/BreakElement.js.map +1 -0
- package/core/element/ButtonElement.d.ts +25 -0
- package/core/element/ButtonElement.js +46 -0
- package/core/element/ButtonElement.js.map +1 -0
- package/core/element/CanvasElement.d.ts +4 -0
- package/core/element/CanvasElement.js +13 -0
- package/core/element/CanvasElement.js.map +1 -0
- package/core/element/CaptionElement.d.ts +4 -0
- package/core/element/CaptionElement.js +12 -0
- package/core/element/CaptionElement.js.map +1 -0
- package/core/element/CiteElement.d.ts +4 -0
- package/core/element/CiteElement.js +10 -0
- package/core/element/CiteElement.js.map +1 -0
- package/core/element/CodeElement.d.ts +6 -0
- package/core/element/CodeElement.js +12 -0
- package/core/element/CodeElement.js.map +1 -0
- package/core/element/DataListElement.d.ts +4 -0
- package/core/element/DataListElement.js +12 -0
- package/core/element/DataListElement.js.map +1 -0
- package/core/element/DefinitionDescriptionElement.d.ts +4 -0
- package/core/element/DefinitionDescriptionElement.js +12 -0
- package/core/element/DefinitionDescriptionElement.js.map +1 -0
- package/core/element/DefinitionElement.d.ts +4 -0
- package/core/element/DefinitionElement.js +12 -0
- package/core/element/DefinitionElement.js.map +1 -0
- package/core/element/DeletedTextElement.d.ts +6 -0
- package/core/element/DeletedTextElement.js +14 -0
- package/core/element/DeletedTextElement.js.map +1 -0
- package/core/element/DetailsElement.d.ts +8 -0
- package/core/element/DetailsElement.js +27 -0
- package/core/element/DetailsElement.js.map +1 -0
- package/core/element/DialogElement.d.ts +6 -0
- package/core/element/DialogElement.js +13 -0
- package/core/element/DialogElement.js.map +1 -0
- package/core/element/DivElement.d.ts +4 -0
- package/core/element/DivElement.js +9 -0
- package/core/element/DivElement.js.map +1 -0
- package/core/element/EmElement.d.ts +4 -0
- package/core/element/EmElement.js +9 -0
- package/core/element/EmElement.js.map +1 -0
- package/core/element/EmbedElement.d.ts +9 -0
- package/core/element/EmbedElement.js +18 -0
- package/core/element/EmbedElement.js.map +1 -0
- package/core/element/FieldSetElement.d.ts +8 -0
- package/core/element/FieldSetElement.js +33 -0
- package/core/element/FieldSetElement.js.map +1 -0
- package/core/element/FooterElement.d.ts +4 -0
- package/core/element/FooterElement.js +12 -0
- package/core/element/FooterElement.js.map +1 -0
- package/core/element/FormElement.d.ts +13 -0
- package/core/element/FormElement.js +9 -0
- package/core/element/FormElement.js.map +1 -0
- package/core/element/Fragment.d.ts +33 -0
- package/core/element/Fragment.js +146 -0
- package/core/element/Fragment.js.map +1 -0
- package/core/element/H1Element.d.ts +4 -0
- package/core/element/H1Element.js +9 -0
- package/core/element/H1Element.js.map +1 -0
- package/core/element/H2Element.d.ts +4 -0
- package/core/element/H2Element.js +9 -0
- package/core/element/H2Element.js.map +1 -0
- package/core/element/H3Element.d.ts +4 -0
- package/core/element/H3Element.js +9 -0
- package/core/element/H3Element.js.map +1 -0
- package/core/element/H4Element.d.ts +4 -0
- package/core/element/H4Element.js +9 -0
- package/core/element/H4Element.js.map +1 -0
- package/core/element/H5Element.d.ts +4 -0
- package/core/element/H5Element.js +9 -0
- package/core/element/H5Element.js.map +1 -0
- package/core/element/H6Element.d.ts +4 -0
- package/core/element/H6Element.js +9 -0
- package/core/element/H6Element.js.map +1 -0
- package/core/element/HeadElement.d.ts +4 -0
- package/core/element/HeadElement.js +10 -0
- package/core/element/HeadElement.js.map +1 -0
- package/core/element/HeaderElement.d.ts +4 -0
- package/core/element/HeaderElement.js +12 -0
- package/core/element/HeaderElement.js.map +1 -0
- package/core/element/HorizontalRuleElement.d.ts +4 -0
- package/core/element/HorizontalRuleElement.js +12 -0
- package/core/element/HorizontalRuleElement.js.map +1 -0
- package/core/element/HtmlElement.d.ts +8 -0
- package/core/element/HtmlElement.js +18 -0
- package/core/element/HtmlElement.js.map +1 -0
- package/core/element/IFrameElement.d.ts +27 -0
- package/core/element/IFrameElement.js +66 -0
- package/core/element/IFrameElement.js.map +1 -0
- package/core/element/ILayout.d.ts +4 -0
- package/core/element/ILayout.js +8 -0
- package/core/element/ILayout.js.map +1 -0
- package/core/element/IconElement.d.ts +13 -0
- package/core/element/IconElement.js +31 -0
- package/core/element/IconElement.js.map +1 -0
- package/core/element/ImageElement.d.ts +18 -0
- package/core/element/ImageElement.js +16 -0
- package/core/element/ImageElement.js.map +1 -0
- package/core/element/InputElement.d.ts +37 -0
- package/core/element/InputElement.js +81 -0
- package/core/element/InputElement.js.map +1 -0
- package/core/element/LabelElement.d.ts +7 -0
- package/core/element/LabelElement.js +9 -0
- package/core/element/LabelElement.js.map +1 -0
- package/core/element/LegendElement.d.ts +6 -0
- package/core/element/LegendElement.js +14 -0
- package/core/element/LegendElement.js.map +1 -0
- package/core/element/ListItemElement.d.ts +11 -0
- package/core/element/ListItemElement.js +27 -0
- package/core/element/ListItemElement.js.map +1 -0
- package/core/element/MainElement.d.ts +4 -0
- package/core/element/MainElement.js +9 -0
- package/core/element/MainElement.js.map +1 -0
- package/core/element/NavElement.d.ts +4 -0
- package/core/element/NavElement.js +9 -0
- package/core/element/NavElement.js.map +1 -0
- package/core/element/OrderedListElement.d.ts +4 -0
- package/core/element/OrderedListElement.js +9 -0
- package/core/element/OrderedListElement.js.map +1 -0
- package/core/element/ParagraphElement.d.ts +4 -0
- package/core/element/ParagraphElement.js +9 -0
- package/core/element/ParagraphElement.js.map +1 -0
- package/core/element/PreElement.d.ts +4 -0
- package/core/element/PreElement.js +9 -0
- package/core/element/PreElement.js.map +1 -0
- package/core/element/SectionElement.d.ts +4 -0
- package/core/element/SectionElement.js +11 -0
- package/core/element/SectionElement.js.map +1 -0
- package/core/element/SelectElement.d.ts +4 -0
- package/core/element/SelectElement.js +11 -0
- package/core/element/SelectElement.js.map +1 -0
- package/core/element/SourceElement.d.ts +7 -0
- package/core/element/SourceElement.js +13 -0
- package/core/element/SourceElement.js.map +1 -0
- package/core/element/SpanElement.d.ts +4 -0
- package/core/element/SpanElement.js +9 -0
- package/core/element/SpanElement.js.map +1 -0
- package/core/element/StrongElement.d.ts +4 -0
- package/core/element/StrongElement.js +11 -0
- package/core/element/StrongElement.js.map +1 -0
- package/core/element/StyleElement.d.ts +4 -0
- package/core/element/StyleElement.js +9 -0
- package/core/element/StyleElement.js.map +1 -0
- package/core/element/SummaryElement.d.ts +4 -0
- package/core/element/SummaryElement.js +11 -0
- package/core/element/SummaryElement.js.map +1 -0
- package/core/element/SvgElement.d.ts +17 -0
- package/core/element/SvgElement.js +149 -0
- package/core/element/SvgElement.js.map +1 -0
- package/core/element/TableBodyElement.d.ts +4 -0
- package/core/element/TableBodyElement.js +9 -0
- package/core/element/TableBodyElement.js.map +1 -0
- package/core/element/TableCellElement.d.ts +9 -0
- package/core/element/TableCellElement.js +24 -0
- package/core/element/TableCellElement.js.map +1 -0
- package/core/element/TableColElement.d.ts +6 -0
- package/core/element/TableColElement.js +12 -0
- package/core/element/TableColElement.js.map +1 -0
- package/core/element/TableColGroupElement.d.ts +6 -0
- package/core/element/TableColGroupElement.js +14 -0
- package/core/element/TableColGroupElement.js.map +1 -0
- package/core/element/TableElement.d.ts +44 -0
- package/core/element/TableElement.js +227 -0
- package/core/element/TableElement.js.map +1 -0
- package/core/element/TableFootElement.d.ts +4 -0
- package/core/element/TableFootElement.js +9 -0
- package/core/element/TableFootElement.js.map +1 -0
- package/core/element/TableFootRowElement.d.ts +8 -0
- package/core/element/TableFootRowElement.js +22 -0
- package/core/element/TableFootRowElement.js.map +1 -0
- package/core/element/TableHeadCellElement.d.ts +9 -0
- package/core/element/TableHeadCellElement.js +23 -0
- package/core/element/TableHeadCellElement.js.map +1 -0
- package/core/element/TableHeadElement.d.ts +4 -0
- package/core/element/TableHeadElement.js +9 -0
- package/core/element/TableHeadElement.js.map +1 -0
- package/core/element/TableHeadRowElement.d.ts +10 -0
- package/core/element/TableHeadRowElement.js +28 -0
- package/core/element/TableHeadRowElement.js.map +1 -0
- package/core/element/TableRowElement.d.ts +10 -0
- package/core/element/TableRowElement.js +28 -0
- package/core/element/TableRowElement.js.map +1 -0
- package/core/element/TextAreaElement.d.ts +6 -0
- package/core/element/TextAreaElement.js +9 -0
- package/core/element/TextAreaElement.js.map +1 -0
- package/core/element/UListElement.d.ts +4 -0
- package/core/element/UListElement.js +9 -0
- package/core/element/UListElement.js.map +1 -0
- package/core/element/VideoElement.d.ts +12 -0
- package/core/element/VideoElement.js +15 -0
- package/core/element/VideoElement.js.map +1 -0
- package/core/element/index.d.ts +71 -0
- package/core/element/index.js +72 -0
- package/core/element/index.js.map +1 -0
- package/core/event/index.d.ts +16 -0
- package/core/event/index.js +75 -0
- package/core/event/index.js.map +1 -0
- package/core/index.d.ts +9 -0
- package/core/index.js +10 -0
- package/core/index.js.map +1 -0
- package/core/ref/RefBoolean.d.ts +26 -0
- package/core/ref/RefBoolean.js +58 -0
- package/core/ref/RefBoolean.js.map +1 -0
- package/core/ref/RefContainer.d.ts +25 -0
- package/core/ref/RefContainer.js +105 -0
- package/core/ref/RefContainer.js.map +1 -0
- package/core/ref/RefList.d.ts +51 -0
- package/core/ref/RefList.js +155 -0
- package/core/ref/RefList.js.map +1 -0
- package/core/ref/RefMap.d.ts +25 -0
- package/core/ref/RefMap.js +71 -0
- package/core/ref/RefMap.js.map +1 -0
- package/core/ref/RefNumber.d.ts +30 -0
- package/core/ref/RefNumber.js +69 -0
- package/core/ref/RefNumber.js.map +1 -0
- package/core/ref/RefObject.d.ts +30 -0
- package/core/ref/RefObject.js +211 -0
- package/core/ref/RefObject.js.map +1 -0
- package/core/ref/RefProperty.d.ts +3 -0
- package/core/ref/RefProperty.js +46 -0
- package/core/ref/RefProperty.js.map +1 -0
- package/core/ref/RefSet.d.ts +25 -0
- package/core/ref/RefSet.js +72 -0
- package/core/ref/RefSet.js.map +1 -0
- package/core/ref/RefState.d.ts +23 -0
- package/core/ref/RefState.js +79 -0
- package/core/ref/RefState.js.map +1 -0
- package/core/ref/RefString.d.ts +75 -0
- package/core/ref/RefString.js +202 -0
- package/core/ref/RefString.js.map +1 -0
- package/core/ref/index.d.ts +21 -0
- package/core/ref/index.js +64 -0
- package/core/ref/index.js.map +1 -0
- package/core/router/RouteView.d.ts +19 -0
- package/core/router/RouteView.js +75 -0
- package/core/router/RouteView.js.map +1 -0
- package/core/router/Router.d.ts +70 -0
- package/core/router/Router.js +287 -0
- package/core/router/Router.js.map +1 -0
- package/core/router/RouterEvent.d.ts +36 -0
- package/core/router/RouterEvent.js +43 -0
- package/core/router/RouterEvent.js.map +1 -0
- package/core/router/RouterGuard.d.ts +12 -0
- package/core/router/RouterGuard.js +3 -0
- package/core/router/RouterGuard.js.map +1 -0
- package/core/router/index.d.ts +4 -0
- package/core/router/index.js +5 -0
- package/core/router/index.js.map +1 -0
- package/core/styles/index.d.ts +97 -0
- package/core/styles/index.js +36 -0
- package/core/styles/index.js.map +1 -0
- package/global/index.d.ts +79 -0
- package/global/index.js +923 -0
- package/global/index.js.map +1 -0
- package/global/safari-polyfill.d.ts +0 -0
- package/global/safari-polyfill.js +234 -0
- package/global/safari-polyfill.js.map +1 -0
- package/index.d.ts +3 -0
- package/index.js.map +1 -0
- package/package.json +2 -18
- package/typings/index.d.ts +4 -3
- package/README.md +0 -62
- package/public/Ic_my_location_48px.svg.png +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Component, LegendElement } from "../../";
|
|
2
|
+
// <fieldset>
|
|
3
|
+
export class FieldSetElement extends HTMLFieldSetElement {
|
|
4
|
+
constructor(props) {
|
|
5
|
+
super();
|
|
6
|
+
Component.applyProps(this, props);
|
|
7
|
+
if (props?.name)
|
|
8
|
+
this.name = props.name;
|
|
9
|
+
if (props?.legend) {
|
|
10
|
+
if (typeof props.legend == "string") {
|
|
11
|
+
// @ts-ignore
|
|
12
|
+
this.setLegend(new LegendElement({ text: props.legend }));
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
this.setLegend(props.legend);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
setLegend(legend) {
|
|
20
|
+
const legendElement = this.querySelector("legend");
|
|
21
|
+
if (legend instanceof LegendElement) {
|
|
22
|
+
legendElement?.remove();
|
|
23
|
+
this.appendChild(legend);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
legendElement.innerHTML = legend;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
customElements.define("base-fieldset-element", FieldSetElement, {
|
|
31
|
+
extends: "fieldset",
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=FieldSetElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldSetElement.js","sourceRoot":"","sources":["../../../src/core/element/FieldSetElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAElE,cAAc;AACd,MAAM,OAAO,eAAgB,SAAQ,mBAAmB;IACvD,YACC,KAGC;QAED,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAClC,IAAI,KAAK,EAAE,IAAI;YAAE,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAW,CAAC;QAC/C,IAAI,KAAK,EAAE,MAAM,EAAE,CAAC;YACnB,IAAI,OAAO,KAAK,CAAC,MAAM,IAAI,QAAQ,EAAE,CAAC;gBACrC,aAAa;gBACb,IAAI,CAAC,SAAS,CAAC,IAAI,aAAa,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;YAC3D,CAAC;iBAAM,CAAC;gBACP,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;YAC9B,CAAC;QACF,CAAC;IACF,CAAC;IAEM,SAAS,CAAC,MAA8B;QAC9C,MAAM,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QACnD,IAAI,MAAM,YAAY,aAAa,EAAE,CAAC;YACrC,aAAa,EAAE,MAAM,EAAE,CAAC;YACxB,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAC1B,CAAC;aAAM,CAAC;YACP,aAAa,CAAC,SAAS,GAAG,MAAM,CAAC;QAClC,CAAC;IACF,CAAC;CACD;AAED,cAAc,CAAC,MAAM,CAAC,uBAAuB,EAAE,eAAe,EAAE;IAC/D,OAAO,EAAE,UAAU;CACnB,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Component } from "../../";
|
|
2
|
+
// <footer>
|
|
3
|
+
export class FooterElement extends HTMLElement {
|
|
4
|
+
constructor(props) {
|
|
5
|
+
super();
|
|
6
|
+
Component.applyProps(this, props);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
customElements.define("base-footer-element", FooterElement, {
|
|
10
|
+
extends: "footer",
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=FooterElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FooterElement.js","sourceRoot":"","sources":["../../../src/core/element/FooterElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnD,WAAW;AACX,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC7C,YAAY,KAAsB;QACjC,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;CACD;AAED,cAAc,CAAC,MAAM,CAAC,qBAAqB,EAAE,aAAa,EAAE;IAC3D,OAAO,EAAE,QAAQ;CACjB,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentProps } from "../../";
|
|
2
|
+
export declare class FormElement extends HTMLFormElement implements IComponent {
|
|
3
|
+
constructor(props?: ComponentProps & {
|
|
4
|
+
acceptCharset?: string;
|
|
5
|
+
action?: string;
|
|
6
|
+
enctype?: string;
|
|
7
|
+
method?: "get" | "post" | "dialog";
|
|
8
|
+
name?: string;
|
|
9
|
+
novalidate?: boolean;
|
|
10
|
+
rel?: "external" | "help" | "license" | "next" | "nofollow" | "noopener" | "noreferrer" | "opener" | "prev" | "search";
|
|
11
|
+
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
12
|
+
});
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Component } from "../../";
|
|
2
|
+
export class FormElement extends HTMLFormElement {
|
|
3
|
+
constructor(props) {
|
|
4
|
+
super();
|
|
5
|
+
Component.applyProps(this, props);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
customElements.define("base-form-element", FormElement, { extends: "form" });
|
|
9
|
+
//# sourceMappingURL=FormElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormElement.js","sourceRoot":"","sources":["../../../src/core/element/FormElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,OAAO,WAAY,SAAQ,eAAe;IAC/C,YACC,KASC;QAED,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;CACD;AAED,cAAc,CAAC,MAAM,CAAC,mBAAmB,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { refList } from "../..";
|
|
2
|
+
export declare class Fragment extends HTMLElement implements IComponent {
|
|
3
|
+
constructor(onConnected: (data: {
|
|
4
|
+
parentElement: HTMLElement | undefined;
|
|
5
|
+
elementIndex: number;
|
|
6
|
+
elements: {
|
|
7
|
+
element: HTMLElement;
|
|
8
|
+
value: any;
|
|
9
|
+
index: number;
|
|
10
|
+
}[];
|
|
11
|
+
}) => void);
|
|
12
|
+
onBuildFragment(onConnected: (data: {
|
|
13
|
+
parentElement: HTMLElement | undefined;
|
|
14
|
+
elementIndex: number;
|
|
15
|
+
elements: {
|
|
16
|
+
element: HTMLElement;
|
|
17
|
+
value: any;
|
|
18
|
+
index: number;
|
|
19
|
+
}[];
|
|
20
|
+
}) => void): void;
|
|
21
|
+
static getElement(data: {
|
|
22
|
+
parentElement: HTMLElement | undefined;
|
|
23
|
+
elementIndex: number;
|
|
24
|
+
elements: {
|
|
25
|
+
element: HTMLElement;
|
|
26
|
+
value: any;
|
|
27
|
+
index: number;
|
|
28
|
+
}[];
|
|
29
|
+
}): Element;
|
|
30
|
+
static forEach<T = any>(items: refList<T>, callbackfn: (value: T, index: number) => HTMLElement): Fragment;
|
|
31
|
+
private static compareDOMNodes;
|
|
32
|
+
static create(condition: (change?: (value: any, index: any, array: any, action: Function) => any) => any, references: any[]): HTMLElement;
|
|
33
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { ref } from "../..";
|
|
2
|
+
export class Fragment extends HTMLElement {
|
|
3
|
+
constructor(onConnected) {
|
|
4
|
+
super();
|
|
5
|
+
this.addEventListener("onConnected", () => { this.onBuildFragment(onConnected); });
|
|
6
|
+
}
|
|
7
|
+
onBuildFragment(onConnected) {
|
|
8
|
+
const data = {
|
|
9
|
+
parentElement: undefined,
|
|
10
|
+
elementIndex: -1,
|
|
11
|
+
elements: []
|
|
12
|
+
};
|
|
13
|
+
data.parentElement = this.parentElement;
|
|
14
|
+
const childrens = this.parentElement?.children || [];
|
|
15
|
+
for (let i = 0; i < childrens.length; i++) {
|
|
16
|
+
if (childrens[i] === this) {
|
|
17
|
+
data.elementIndex = i > 0 ? i : 0;
|
|
18
|
+
break;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
onConnected(data);
|
|
22
|
+
this.remove();
|
|
23
|
+
}
|
|
24
|
+
static getElement(data) {
|
|
25
|
+
const begin = data.elements[0]?.element;
|
|
26
|
+
const childrens = data.parentElement.children;
|
|
27
|
+
let element = childrens[0];
|
|
28
|
+
if (!childrens)
|
|
29
|
+
return undefined;
|
|
30
|
+
for (let i = 0; i < childrens.length; i++) {
|
|
31
|
+
if (begin === childrens[i]) {
|
|
32
|
+
data.elementIndex = i;
|
|
33
|
+
return childrens[i];
|
|
34
|
+
}
|
|
35
|
+
else if (!begin && i >= data.elementIndex) {
|
|
36
|
+
return childrens[i];
|
|
37
|
+
}
|
|
38
|
+
else
|
|
39
|
+
element = childrens[i];
|
|
40
|
+
}
|
|
41
|
+
return element;
|
|
42
|
+
}
|
|
43
|
+
static forEach(items, callbackfn) {
|
|
44
|
+
const onConnected = (data) => {
|
|
45
|
+
const updadeItems = () => {
|
|
46
|
+
if (!data.parentElement)
|
|
47
|
+
return;
|
|
48
|
+
const begin = Fragment.getElement(data);
|
|
49
|
+
const newElemets = items.map((e, index) => {
|
|
50
|
+
return { element: callbackfn(e, index), value: e, index };
|
|
51
|
+
});
|
|
52
|
+
for (const element of newElemets) {
|
|
53
|
+
data.parentElement.insertBefore(element.element, begin);
|
|
54
|
+
}
|
|
55
|
+
for (const element of data.elements)
|
|
56
|
+
element.element.remove();
|
|
57
|
+
data.elements = newElemets;
|
|
58
|
+
};
|
|
59
|
+
if (items instanceof ref) {
|
|
60
|
+
// @ts-ignore
|
|
61
|
+
items.subscribe(updadeItems);
|
|
62
|
+
}
|
|
63
|
+
updadeItems();
|
|
64
|
+
};
|
|
65
|
+
return new Fragment(onConnected);
|
|
66
|
+
}
|
|
67
|
+
static compareDOMNodes(nodeA, nodeB) {
|
|
68
|
+
if (nodeA.nodeType !== nodeB.nodeType) {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
if (nodeA.nodeType === Node.TEXT_NODE) {
|
|
72
|
+
return nodeA.nodeValue === nodeB.nodeValue;
|
|
73
|
+
}
|
|
74
|
+
if (nodeA.nodeType === Node.ELEMENT_NODE) {
|
|
75
|
+
if (nodeA.nodeName.toUpperCase() !== nodeB.nodeName.toUpperCase()) {
|
|
76
|
+
return false;
|
|
77
|
+
}
|
|
78
|
+
const attrsA = nodeA.attributes;
|
|
79
|
+
const attrsB = nodeB.attributes;
|
|
80
|
+
if (attrsA.length !== attrsB.length) {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
const mapA = {};
|
|
84
|
+
for (let i = 0; i < attrsA.length; i++) {
|
|
85
|
+
const { name, value } = attrsA[i];
|
|
86
|
+
// @ts-ignore
|
|
87
|
+
mapA[name] = value;
|
|
88
|
+
}
|
|
89
|
+
for (let i = 0; i < attrsB.length; i++) {
|
|
90
|
+
const { name, value } = attrsB[i];
|
|
91
|
+
// @ts-ignore
|
|
92
|
+
if (!mapA.hasOwnProperty(name) || mapA[name] !== value) {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
const childrenA = nodeA.childNodes;
|
|
97
|
+
const childrenB = nodeB.childNodes;
|
|
98
|
+
if (childrenA.length !== childrenB.length) {
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
for (let i = 0; i < childrenA.length; i++) {
|
|
102
|
+
const childA = childrenA[i];
|
|
103
|
+
const childB = childrenB[i];
|
|
104
|
+
// @ts-ignore
|
|
105
|
+
if (!compareDOMNodes(childA, childB)) {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return true;
|
|
111
|
+
}
|
|
112
|
+
static create(condition, references) {
|
|
113
|
+
const onConnected = (data) => {
|
|
114
|
+
const updadeItems = () => {
|
|
115
|
+
if (!data.parentElement)
|
|
116
|
+
return;
|
|
117
|
+
const begin = Fragment.getElement(data);
|
|
118
|
+
let newElemets = condition();
|
|
119
|
+
if (newElemets && !Array.isArray(newElemets))
|
|
120
|
+
newElemets = [newElemets];
|
|
121
|
+
if (newElemets)
|
|
122
|
+
newElemets = newElemets.map((e, index) => {
|
|
123
|
+
return { element: e, value: undefined, index };
|
|
124
|
+
});
|
|
125
|
+
if (newElemets)
|
|
126
|
+
for (const element of newElemets) {
|
|
127
|
+
data.parentElement.insertBefore(element.element, begin);
|
|
128
|
+
}
|
|
129
|
+
for (const element of data.elements)
|
|
130
|
+
element.element.remove();
|
|
131
|
+
if (newElemets)
|
|
132
|
+
data.elements = newElemets;
|
|
133
|
+
};
|
|
134
|
+
for (const reference of references) {
|
|
135
|
+
if (reference instanceof ref)
|
|
136
|
+
reference.subscribe(updadeItems);
|
|
137
|
+
}
|
|
138
|
+
updadeItems();
|
|
139
|
+
};
|
|
140
|
+
return new Fragment(onConnected);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
globalThis.forEach = Fragment.forEach;
|
|
144
|
+
globalThis.Fragment = Fragment;
|
|
145
|
+
customElements.define("base-fragment-element", Fragment);
|
|
146
|
+
//# sourceMappingURL=Fragment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Fragment.js","sourceRoot":"","sources":["../../../src/core/element/Fragment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,GAAG,EAAE,MAAM,OAAO,CAAC;AAGrC,MAAM,OAAO,QAAS,SAAQ,WAAW;IAExC,YAAY,WAQF;QACT,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAA,CAAC,CAAC,CAAC,CAAA;IAClF,CAAC;IAED,eAAe,CAAC,WAQN;QACT,MAAM,IAAI,GAQN;YACH,aAAa,EAAE,SAAS;YACxB,YAAY,EAAE,CAAC,CAAC;YAChB,QAAQ,EAAE,EAAE;SACZ,CAAA;QACD,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAoB,CAAC;QAC/C,MAAM,SAAS,GAAG,IAAI,CAAC,aAAa,EAAE,QAAQ,IAAI,EAAE,CAAA;QACpD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAC3C,IAAI,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC3B,IAAI,CAAC,YAAY,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBAClC,MAAM;YACP,CAAC;QACF,CAAC;QACD,WAAW,CAAC,IAAI,CAAC,CAAA;QACjB,IAAI,CAAC,MAAM,EAAE,CAAC;IACf,CAAC;IAGD,MAAM,CAAC,UAAU,CAAC,IAQjB;QACA,MAAM,KAAK,GAAG,IAAI,CAA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QAAQ,GAAG,QAAQ,CAAC;AAExC,cAAc,CAAC,MAAM,CAAC,uBAAuB,EAAE,QAAQ,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Component } from "../../";
|
|
2
|
+
export class H1Element extends HTMLHeadingElement {
|
|
3
|
+
constructor(props) {
|
|
4
|
+
super();
|
|
5
|
+
Component.applyProps(this, props);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
customElements.define("base-h1-element", H1Element, { extends: "h1" });
|
|
9
|
+
//# sourceMappingURL=H1Element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"H1Element.js","sourceRoot":"","sources":["../../../src/core/element/H1Element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAChD,YAAY,KAAsB;QACjC,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;CACD;AAED,cAAc,CAAC,MAAM,CAAC,iBAAiB,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Component } from "../../";
|
|
2
|
+
export class H2Element extends HTMLHeadingElement {
|
|
3
|
+
constructor(props) {
|
|
4
|
+
super();
|
|
5
|
+
Component.applyProps(this, props);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
customElements.define("base-h2-element", H2Element, { extends: "h2" });
|
|
9
|
+
//# sourceMappingURL=H2Element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"H2Element.js","sourceRoot":"","sources":["../../../src/core/element/H2Element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAChD,YAAY,KAAsB;QACjC,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;CACD;AAED,cAAc,CAAC,MAAM,CAAC,iBAAiB,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Component } from "../../";
|
|
2
|
+
export class H3Element extends HTMLHeadingElement {
|
|
3
|
+
constructor(props) {
|
|
4
|
+
super();
|
|
5
|
+
Component.applyProps(this, props);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
customElements.define("base-h3-element", H3Element, { extends: "h3" });
|
|
9
|
+
//# sourceMappingURL=H3Element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"H3Element.js","sourceRoot":"","sources":["../../../src/core/element/H3Element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAChD,YAAY,KAAsB;QACjC,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;CACD;AAED,cAAc,CAAC,MAAM,CAAC,iBAAiB,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Component } from "../../";
|
|
2
|
+
export class H4Element extends HTMLHeadingElement {
|
|
3
|
+
constructor(props) {
|
|
4
|
+
super();
|
|
5
|
+
Component.applyProps(this, props);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
customElements.define("base-h4-element", H4Element, { extends: "h4" });
|
|
9
|
+
//# sourceMappingURL=H4Element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"H4Element.js","sourceRoot":"","sources":["../../../src/core/element/H4Element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAChD,YAAY,KAAsB;QACjC,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;CACD;AAED,cAAc,CAAC,MAAM,CAAC,iBAAiB,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Component } from "../../";
|
|
2
|
+
export class H5Element extends HTMLHeadingElement {
|
|
3
|
+
constructor(props) {
|
|
4
|
+
super();
|
|
5
|
+
Component.applyProps(this, props);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
customElements.define("base-h5-element", H5Element, { extends: "h5" });
|
|
9
|
+
//# sourceMappingURL=H5Element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"H5Element.js","sourceRoot":"","sources":["../../../src/core/element/H5Element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAChD,YAAY,KAAsB;QACjC,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;CACD;AAED,cAAc,CAAC,MAAM,CAAC,iBAAiB,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Component } from "../../";
|
|
2
|
+
export class H6Element extends HTMLHeadingElement {
|
|
3
|
+
constructor(props) {
|
|
4
|
+
super();
|
|
5
|
+
Component.applyProps(this, props);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
customElements.define("base-h6-element", H6Element, { extends: "h6" });
|
|
9
|
+
//# sourceMappingURL=H6Element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"H6Element.js","sourceRoot":"","sources":["../../../src/core/element/H6Element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAChD,YAAY,KAAsB;QACjC,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;CACD;AAED,cAAc,CAAC,MAAM,CAAC,iBAAiB,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Component } from "../../";
|
|
2
|
+
// <head>
|
|
3
|
+
export class HeadElement extends HTMLHeadElement {
|
|
4
|
+
constructor(props) {
|
|
5
|
+
super();
|
|
6
|
+
Component.applyProps(this, props);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
customElements.define("base-head-element", HeadElement, { extends: "head" });
|
|
10
|
+
//# sourceMappingURL=HeadElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeadElement.js","sourceRoot":"","sources":["../../../src/core/element/HeadElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnD,SAAS;AACT,MAAM,OAAO,WAAY,SAAQ,eAAe;IAC/C,YAAY,KAAsB;QACjC,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;CACD;AAED,cAAc,CAAC,MAAM,CAAC,mBAAmB,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Component } from "../../";
|
|
2
|
+
// <header>
|
|
3
|
+
export class HeaderElement extends HTMLElement {
|
|
4
|
+
constructor(props) {
|
|
5
|
+
super();
|
|
6
|
+
Component.applyProps(this, props);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
customElements.define("base-header-element", HeaderElement, {
|
|
10
|
+
extends: "header",
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=HeaderElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderElement.js","sourceRoot":"","sources":["../../../src/core/element/HeaderElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnD,WAAW;AACX,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC7C,YAAY,KAAsB;QACjC,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;CACD;AAED,cAAc,CAAC,MAAM,CAAC,qBAAqB,EAAE,aAAa,EAAE;IAC3D,OAAO,EAAE,QAAQ;CACjB,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Component } from "../../";
|
|
2
|
+
// <hr>
|
|
3
|
+
export class HorizontalRuleElement extends HTMLHRElement {
|
|
4
|
+
constructor(props) {
|
|
5
|
+
super();
|
|
6
|
+
Component.applyProps(this, props);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
customElements.define("base-hr-element", HorizontalRuleElement, {
|
|
10
|
+
extends: "hr",
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=HorizontalRuleElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HorizontalRuleElement.js","sourceRoot":"","sources":["../../../src/core/element/HorizontalRuleElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnD,OAAO;AACP,MAAM,OAAO,qBAAsB,SAAQ,aAAa;IACvD,YAAY,KAAsB;QACjC,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;CACD;AAED,cAAc,CAAC,MAAM,CAAC,iBAAiB,EAAE,qBAAqB,EAAE;IAC/D,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Component } from "../../";
|
|
2
|
+
// <html>
|
|
3
|
+
export class HtmlElement extends HTMLHtmlElement {
|
|
4
|
+
constructor(props) {
|
|
5
|
+
super();
|
|
6
|
+
if (props?.manifest)
|
|
7
|
+
this.manifest = props.manifest;
|
|
8
|
+
Component.applyProps(this, props);
|
|
9
|
+
}
|
|
10
|
+
set manifest(value) {
|
|
11
|
+
this.setAttribute("manifest", value);
|
|
12
|
+
}
|
|
13
|
+
get manifest() {
|
|
14
|
+
return this.getAttribute("manifest");
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
customElements.define("base-html-element", HtmlElement, { extends: "html" });
|
|
18
|
+
//# sourceMappingURL=HtmlElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HtmlElement.js","sourceRoot":"","sources":["../../../src/core/element/HtmlElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnD,SAAS;AAET,MAAM,OAAO,WAAY,SAAQ,eAAe;IAC/C,YACC,KAEC;QAED,KAAK,EAAE,CAAC;QACR,IAAI,KAAK,EAAE,QAAQ;YAAE,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAe,CAAC;QAC3D,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;IACD,IAAI,QAAQ,CAAC,KAAa;QACzB,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IACtC,CAAC;IAED,IAAI,QAAQ;QACX,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;IACtC,CAAC;CACD;AACD,cAAc,CAAC,MAAM,CAAC,mBAAmB,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ComponentProps } from "../../";
|
|
2
|
+
export declare class IFrameElement extends HTMLIFrameElement implements IComponent {
|
|
3
|
+
constructor(props?: ComponentProps & {
|
|
4
|
+
allow?: string;
|
|
5
|
+
allowfullscreen?: boolean;
|
|
6
|
+
allowpaymentrequest?: boolean;
|
|
7
|
+
csp?: string;
|
|
8
|
+
height?: number;
|
|
9
|
+
importance?: "auto" | "high" | "low";
|
|
10
|
+
loading?: "eager" | "lazy";
|
|
11
|
+
name?: string;
|
|
12
|
+
referrerpolicy?: "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
|
|
13
|
+
src?: string;
|
|
14
|
+
srcdoc?: string;
|
|
15
|
+
width?: number;
|
|
16
|
+
});
|
|
17
|
+
set allowfullscreen(value: boolean);
|
|
18
|
+
get allowfullscreen(): boolean;
|
|
19
|
+
set allowpaymentrequest(value: boolean);
|
|
20
|
+
get allowpaymentrequest(): boolean;
|
|
21
|
+
set csp(value: string);
|
|
22
|
+
get csp(): string;
|
|
23
|
+
set importance(value: "auto" | "high" | "low");
|
|
24
|
+
get importance(): "auto" | "high" | "low";
|
|
25
|
+
set referrerpolicy(value: "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url");
|
|
26
|
+
get referrerpolicy(): string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Component } from "../../";
|
|
2
|
+
// <iframe>
|
|
3
|
+
export class IFrameElement extends HTMLIFrameElement {
|
|
4
|
+
constructor(props) {
|
|
5
|
+
super();
|
|
6
|
+
if (props?.allow)
|
|
7
|
+
this.allow = props.allow;
|
|
8
|
+
if (props?.allowfullscreen)
|
|
9
|
+
this.allowfullscreen = props.allowfullscreen;
|
|
10
|
+
if (props?.allowpaymentrequest)
|
|
11
|
+
this.allowpaymentrequest = props.allowpaymentrequest;
|
|
12
|
+
if (props?.csp)
|
|
13
|
+
this.csp = props.csp;
|
|
14
|
+
if (props?.height)
|
|
15
|
+
this.height = props.height;
|
|
16
|
+
if (props?.importance)
|
|
17
|
+
this.importance = props.importance;
|
|
18
|
+
if (props?.loading)
|
|
19
|
+
this.loading = props.loading;
|
|
20
|
+
if (props?.name)
|
|
21
|
+
this.name = props.name;
|
|
22
|
+
if (props?.referrerpolicy)
|
|
23
|
+
this.referrerpolicy = props.referrerpolicy;
|
|
24
|
+
if (props?.src)
|
|
25
|
+
this.src = props.src;
|
|
26
|
+
if (props?.srcdoc)
|
|
27
|
+
this.srcdoc = props.srcdoc;
|
|
28
|
+
if (props?.width)
|
|
29
|
+
this.width = props.width;
|
|
30
|
+
Component.applyProps(this, props);
|
|
31
|
+
}
|
|
32
|
+
set allowfullscreen(value) {
|
|
33
|
+
this.setAttribute("allowfullscreen", value.toString());
|
|
34
|
+
}
|
|
35
|
+
get allowfullscreen() {
|
|
36
|
+
return this.getAttribute("allowfullscreen") == "true";
|
|
37
|
+
}
|
|
38
|
+
set allowpaymentrequest(value) {
|
|
39
|
+
this.setAttribute("allowpaymentrequest", value.toString());
|
|
40
|
+
}
|
|
41
|
+
get allowpaymentrequest() {
|
|
42
|
+
return this.getAttribute("allowpaymentrequest") == "true";
|
|
43
|
+
}
|
|
44
|
+
set csp(value) {
|
|
45
|
+
this.setAttribute("csp", value);
|
|
46
|
+
}
|
|
47
|
+
get csp() {
|
|
48
|
+
return this.getAttribute("csp");
|
|
49
|
+
}
|
|
50
|
+
set importance(value) {
|
|
51
|
+
this.setAttribute("importance", value);
|
|
52
|
+
}
|
|
53
|
+
get importance() {
|
|
54
|
+
return this.getAttribute("importance");
|
|
55
|
+
}
|
|
56
|
+
set referrerpolicy(value) {
|
|
57
|
+
this.setAttribute("referrerpolicy", value);
|
|
58
|
+
}
|
|
59
|
+
get referrerpolicy() {
|
|
60
|
+
return this.getAttribute("referrerpolicy");
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
customElements.define("base-iframe-element", IFrameElement, {
|
|
64
|
+
extends: "iframe",
|
|
65
|
+
});
|
|
66
|
+
//# sourceMappingURL=IFrameElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFrameElement.js","sourceRoot":"","sources":["../../../src/core/element/IFrameElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnD,WAAW;AACX,MAAM,OAAO,aAAc,SAAQ,iBAAiB;IACnD,YACC,KAqBC;QAED,KAAK,EAAE,CAAC;QACR,IAAI,KAAK,EAAE,KAAK;YAAE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAY,CAAC;QAClD,IAAI,KAAK,EAAE,eAAe;YAAE,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,eAAsB,CAAC;QAChF,IAAI,KAAK,EAAE,mBAAmB;YAAE,IAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC,mBAA0B,CAAC;QAC5F,IAAI,KAAK,EAAE,GAAG;YAAE,IAAI,CAAC,GAAG,GAAG,KAAK,CAAC,GAAU,CAAC;QAC5C,IAAI,KAAK,EAAE,MAAM;YAAE,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAa,CAAC;QACrD,IAAI,KAAK,EAAE,UAAU;YAAE,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,UAAiB,CAAC;QACjE,IAAI,KAAK,EAAE,OAAO;YAAE,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,OAAc,CAAC;QACxD,IAAI,KAAK,EAAE,IAAI;Y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