typecomposer 0.1.47 → 0.1.49
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/{core → dist/core}/index.d.ts +0 -3
- package/{core → dist/core}/index.js +0 -3
- package/dist/core/index.js.map +1 -0
- package/{core → dist/core}/styles/index.d.ts +3 -3
- package/{core → dist/core}/styles/index.js +0 -8
- package/{core → dist/core}/styles/index.js.map +1 -1
- package/{global → dist/global}/index.d.ts +10 -4
- package/{global → dist/global}/index.js +387 -322
- package/dist/global/index.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/{index.d.ts → dist/index.js} +1 -0
- package/dist/index.js.map +1 -0
- package/package.json +31 -6
- package/styles/style.scss +2 -17
- package/typings/index.d.ts +58 -66
- package/core/app/Validate.d.ts +0 -61
- package/core/app/Validate.js +0 -2
- package/core/app/Validate.js.map +0 -1
- package/core/app/index.d.ts +0 -40
- package/core/app/index.js +0 -181
- package/core/app/index.js.map +0 -1
- package/core/components/AlertPanel.d.ts +0 -32
- package/core/components/AlertPanel.js +0 -75
- package/core/components/AlertPanel.js.map +0 -1
- package/core/components/AvatarPanel.d.ts +0 -21
- package/core/components/AvatarPanel.js +0 -62
- package/core/components/AvatarPanel.js.map +0 -1
- package/core/components/BorderPanel.d.ts +0 -28
- package/core/components/BorderPanel.js +0 -90
- package/core/components/BorderPanel.js.map +0 -1
- package/core/components/CardPanel.d.ts +0 -5
- package/core/components/CardPanel.js +0 -11
- package/core/components/CardPanel.js.map +0 -1
- package/core/components/CheckBox.d.ts +0 -36
- package/core/components/CheckBox.js +0 -109
- package/core/components/CheckBox.js.map +0 -1
- package/core/components/ColorPicker.d.ts +0 -10
- package/core/components/ColorPicker.js +0 -36
- package/core/components/ColorPicker.js.map +0 -1
- package/core/components/ContextMenu.d.ts +0 -16
- package/core/components/ContextMenu.js +0 -64
- package/core/components/ContextMenu.js.map +0 -1
- package/core/components/DialogPanel.d.ts +0 -15
- package/core/components/DialogPanel.js +0 -62
- package/core/components/DialogPanel.js.map +0 -1
- package/core/components/DropDown.d.ts +0 -54
- package/core/components/DropDown.js +0 -231
- package/core/components/DropDown.js.map +0 -1
- package/core/components/FlowPanel.d.ts +0 -11
- package/core/components/FlowPanel.js +0 -40
- package/core/components/FlowPanel.js.map +0 -1
- package/core/components/ForEach.d.ts +0 -11
- package/core/components/ForEach.js +0 -88
- package/core/components/ForEach.js.map +0 -1
- package/core/components/GridPanel.d.ts +0 -10
- package/core/components/GridPanel.js +0 -30
- package/core/components/GridPanel.js.map +0 -1
- package/core/components/HBox.d.ts +0 -5
- package/core/components/HBox.js +0 -10
- package/core/components/HBox.js.map +0 -1
- package/core/components/LazyLoading.d.ts +0 -19
- package/core/components/LazyLoading.js +0 -36
- package/core/components/LazyLoading.js.map +0 -1
- package/core/components/ListPanel.d.ts +0 -27
- package/core/components/ListPanel.js +0 -153
- package/core/components/ListPanel.js.map +0 -1
- package/core/components/PopUpButton.d.ts +0 -18
- package/core/components/PopUpButton.js +0 -57
- package/core/components/PopUpButton.js.map +0 -1
- package/core/components/ScrollPanel.d.ts +0 -14
- package/core/components/ScrollPanel.js +0 -35
- package/core/components/ScrollPanel.js.map +0 -1
- package/core/components/SliderPanel.d.ts +0 -7
- package/core/components/SliderPanel.js +0 -135
- package/core/components/SliderPanel.js.map +0 -1
- package/core/components/StackPanel.d.ts +0 -5
- package/core/components/StackPanel.js +0 -10
- package/core/components/StackPanel.js.map +0 -1
- package/core/components/TabItem.d.ts +0 -19
- package/core/components/TabItem.js +0 -84
- package/core/components/TabItem.js.map +0 -1
- package/core/components/TabPanel.d.ts +0 -25
- package/core/components/TabPanel.js +0 -96
- package/core/components/TabPanel.js.map +0 -1
- package/core/components/TablePanel.d.ts +0 -34
- package/core/components/TablePanel.js +0 -127
- package/core/components/TablePanel.js.map +0 -1
- package/core/components/TextEdit.d.ts +0 -32
- package/core/components/TextEdit.js +0 -174
- package/core/components/TextEdit.js.map +0 -1
- package/core/components/TextField.d.ts +0 -34
- package/core/components/TextField.js +0 -140
- package/core/components/TextField.js.map +0 -1
- package/core/components/ToggleButton.d.ts +0 -7
- package/core/components/ToggleButton.js +0 -20
- package/core/components/ToggleButton.js.map +0 -1
- package/core/components/Tooltip.d.ts +0 -10
- package/core/components/Tooltip.js +0 -14
- package/core/components/Tooltip.js.map +0 -1
- package/core/components/VBox.d.ts +0 -5
- package/core/components/VBox.js +0 -10
- package/core/components/VBox.js.map +0 -1
- package/core/components/VirtualScroll copy 2.d.ts +0 -24
- package/core/components/VirtualScroll copy 2.js +0 -92
- package/core/components/VirtualScroll copy 2.js.map +0 -1
- package/core/components/VirtualScroll.d.ts +0 -20
- package/core/components/VirtualScroll.js +0 -47
- package/core/components/VirtualScroll.js.map +0 -1
- package/core/components/index.d.ts +0 -28
- package/core/components/index.js +0 -30
- package/core/components/index.js.map +0 -1
- package/core/decorators/RegisterComponent.d.ts +0 -8
- package/core/decorators/RegisterComponent.js +0 -20
- package/core/decorators/RegisterComponent.js.map +0 -1
- package/core/decorators/StyleLink.d.ts +0 -1
- package/core/decorators/StyleLink.js +0 -13
- package/core/decorators/StyleLink.js.map +0 -1
- package/core/decorators/index.d.ts +0 -4
- package/core/decorators/index.js +0 -6
- package/core/decorators/index.js.map +0 -1
- package/core/element/AbbreviationElement.d.ts +0 -7
- package/core/element/AbbreviationElement.js +0 -10
- package/core/element/AbbreviationElement.js.map +0 -1
- package/core/element/AnchorElement.d.ts +0 -24
- package/core/element/AnchorElement.js +0 -31
- package/core/element/AnchorElement.js.map +0 -1
- package/core/element/AreaElement.d.ts +0 -18
- package/core/element/AreaElement.js +0 -11
- package/core/element/AreaElement.js.map +0 -1
- package/core/element/ArticleElement.d.ts +0 -5
- package/core/element/ArticleElement.js +0 -12
- package/core/element/ArticleElement.js.map +0 -1
- package/core/element/AudioElement.d.ts +0 -12
- package/core/element/AudioElement.js +0 -10
- package/core/element/AudioElement.js.map +0 -1
- package/core/element/BaseElement.d.ts +0 -8
- package/core/element/BaseElement.js +0 -11
- package/core/element/BaseElement.js.map +0 -1
- package/core/element/BodyElement.d.ts +0 -5
- package/core/element/BodyElement.js +0 -11
- package/core/element/BodyElement.js.map +0 -1
- package/core/element/BoldElement.d.ts +0 -5
- package/core/element/BoldElement.js +0 -10
- package/core/element/BoldElement.js.map +0 -1
- package/core/element/BreakElement.d.ts +0 -5
- package/core/element/BreakElement.js +0 -10
- package/core/element/BreakElement.js.map +0 -1
- package/core/element/ButtonElement.d.ts +0 -26
- package/core/element/ButtonElement.js +0 -47
- package/core/element/ButtonElement.js.map +0 -1
- package/core/element/CanvasElement.d.ts +0 -5
- package/core/element/CanvasElement.js +0 -14
- package/core/element/CanvasElement.js.map +0 -1
- package/core/element/CaptionElement.d.ts +0 -5
- package/core/element/CaptionElement.js +0 -13
- package/core/element/CaptionElement.js.map +0 -1
- package/core/element/CiteElement.d.ts +0 -5
- package/core/element/CiteElement.js +0 -11
- package/core/element/CiteElement.js.map +0 -1
- package/core/element/CodeElement.d.ts +0 -7
- package/core/element/CodeElement.js +0 -13
- package/core/element/CodeElement.js.map +0 -1
- package/core/element/DataListElement.d.ts +0 -5
- package/core/element/DataListElement.js +0 -13
- package/core/element/DataListElement.js.map +0 -1
- package/core/element/DefinitionDescriptionElement.d.ts +0 -5
- package/core/element/DefinitionDescriptionElement.js +0 -13
- package/core/element/DefinitionDescriptionElement.js.map +0 -1
- package/core/element/DefinitionElement.d.ts +0 -5
- package/core/element/DefinitionElement.js +0 -13
- package/core/element/DefinitionElement.js.map +0 -1
- package/core/element/DeletedTextElement.d.ts +0 -7
- package/core/element/DeletedTextElement.js +0 -15
- package/core/element/DeletedTextElement.js.map +0 -1
- package/core/element/DetailsElement.d.ts +0 -9
- package/core/element/DetailsElement.js +0 -28
- package/core/element/DetailsElement.js.map +0 -1
- package/core/element/DialogElement.d.ts +0 -7
- package/core/element/DialogElement.js +0 -14
- package/core/element/DialogElement.js.map +0 -1
- package/core/element/DivElement.d.ts +0 -5
- package/core/element/DivElement.js +0 -10
- package/core/element/DivElement.js.map +0 -1
- package/core/element/EmElement.d.ts +0 -5
- package/core/element/EmElement.js +0 -10
- package/core/element/EmElement.js.map +0 -1
- package/core/element/EmbedElement.d.ts +0 -10
- package/core/element/EmbedElement.js +0 -19
- package/core/element/EmbedElement.js.map +0 -1
- package/core/element/FieldSetElement.d.ts +0 -9
- package/core/element/FieldSetElement.js +0 -34
- package/core/element/FieldSetElement.js.map +0 -1
- package/core/element/FooterElement.d.ts +0 -5
- package/core/element/FooterElement.js +0 -13
- package/core/element/FooterElement.js.map +0 -1
- package/core/element/FormElement.d.ts +0 -20
- package/core/element/FormElement.js +0 -36
- package/core/element/FormElement.js.map +0 -1
- package/core/element/Fragment.d.ts +0 -32
- package/core/element/Fragment.js +0 -103
- package/core/element/Fragment.js.map +0 -1
- package/core/element/H1Element.d.ts +0 -5
- package/core/element/H1Element.js +0 -10
- package/core/element/H1Element.js.map +0 -1
- package/core/element/H2Element.d.ts +0 -5
- package/core/element/H2Element.js +0 -10
- package/core/element/H2Element.js.map +0 -1
- package/core/element/H3Element.d.ts +0 -5
- package/core/element/H3Element.js +0 -10
- package/core/element/H3Element.js.map +0 -1
- package/core/element/H4Element.d.ts +0 -5
- package/core/element/H4Element.js +0 -10
- package/core/element/H4Element.js.map +0 -1
- package/core/element/H5Element.d.ts +0 -5
- package/core/element/H5Element.js +0 -10
- package/core/element/H5Element.js.map +0 -1
- package/core/element/H6Element.d.ts +0 -5
- package/core/element/H6Element.js +0 -10
- package/core/element/H6Element.js.map +0 -1
- package/core/element/HeadElement.d.ts +0 -5
- package/core/element/HeadElement.js +0 -11
- package/core/element/HeadElement.js.map +0 -1
- package/core/element/HeaderElement.d.ts +0 -5
- package/core/element/HeaderElement.js +0 -13
- package/core/element/HeaderElement.js.map +0 -1
- package/core/element/HorizontalRuleElement.d.ts +0 -5
- package/core/element/HorizontalRuleElement.js +0 -13
- package/core/element/HorizontalRuleElement.js.map +0 -1
- package/core/element/HtmlElement.d.ts +0 -9
- package/core/element/HtmlElement.js +0 -19
- package/core/element/HtmlElement.js.map +0 -1
- package/core/element/IFrameElement.d.ts +0 -28
- package/core/element/IFrameElement.js +0 -67
- package/core/element/IFrameElement.js.map +0 -1
- package/core/element/ILayout.d.ts +0 -5
- package/core/element/ILayout.js +0 -9
- package/core/element/ILayout.js.map +0 -1
- package/core/element/IconElement.d.ts +0 -14
- package/core/element/IconElement.js +0 -32
- package/core/element/IconElement.js.map +0 -1
- package/core/element/IdiomaticElement.d.ts +0 -4
- package/core/element/IdiomaticElement.js +0 -6
- package/core/element/IdiomaticElement.js.map +0 -1
- package/core/element/ImageElement.d.ts +0 -19
- package/core/element/ImageElement.js +0 -17
- package/core/element/ImageElement.js.map +0 -1
- package/core/element/InputElement.d.ts +0 -19
- package/core/element/InputElement.js +0 -81
- package/core/element/InputElement.js.map +0 -1
- package/core/element/LabelElement.d.ts +0 -8
- package/core/element/LabelElement.js +0 -10
- package/core/element/LabelElement.js.map +0 -1
- package/core/element/LegendElement.d.ts +0 -7
- package/core/element/LegendElement.js +0 -15
- package/core/element/LegendElement.js.map +0 -1
- package/core/element/ListItemElement.d.ts +0 -12
- package/core/element/ListItemElement.js +0 -28
- package/core/element/ListItemElement.js.map +0 -1
- package/core/element/MainElement.d.ts +0 -5
- package/core/element/MainElement.js +0 -10
- package/core/element/MainElement.js.map +0 -1
- package/core/element/NavElement.d.ts +0 -5
- package/core/element/NavElement.js +0 -10
- package/core/element/NavElement.js.map +0 -1
- package/core/element/OrderedListElement.d.ts +0 -5
- package/core/element/OrderedListElement.js +0 -10
- package/core/element/OrderedListElement.js.map +0 -1
- package/core/element/ParagraphElement.d.ts +0 -5
- package/core/element/ParagraphElement.js +0 -10
- package/core/element/ParagraphElement.js.map +0 -1
- package/core/element/PreElement.d.ts +0 -5
- package/core/element/PreElement.js +0 -10
- package/core/element/PreElement.js.map +0 -1
- package/core/element/SectionElement.d.ts +0 -5
- package/core/element/SectionElement.js +0 -12
- package/core/element/SectionElement.js.map +0 -1
- package/core/element/SelectElement.d.ts +0 -5
- package/core/element/SelectElement.js +0 -12
- package/core/element/SelectElement.js.map +0 -1
- package/core/element/SourceElement.d.ts +0 -8
- package/core/element/SourceElement.js +0 -14
- package/core/element/SourceElement.js.map +0 -1
- package/core/element/SpanElement.d.ts +0 -5
- package/core/element/SpanElement.js +0 -10
- package/core/element/SpanElement.js.map +0 -1
- package/core/element/StrongElement.d.ts +0 -5
- package/core/element/StrongElement.js +0 -12
- package/core/element/StrongElement.js.map +0 -1
- package/core/element/StyleElement.d.ts +0 -5
- package/core/element/StyleElement.js +0 -10
- package/core/element/StyleElement.js.map +0 -1
- package/core/element/SummaryElement.d.ts +0 -5
- package/core/element/SummaryElement.js +0 -12
- package/core/element/SummaryElement.js.map +0 -1
- package/core/element/SvgElement.d.ts +0 -18
- package/core/element/SvgElement.js +0 -151
- package/core/element/SvgElement.js.map +0 -1
- package/core/element/TableBodyElement.d.ts +0 -5
- package/core/element/TableBodyElement.js +0 -10
- package/core/element/TableBodyElement.js.map +0 -1
- package/core/element/TableCellElement.d.ts +0 -10
- package/core/element/TableCellElement.js +0 -25
- package/core/element/TableCellElement.js.map +0 -1
- package/core/element/TableColElement.d.ts +0 -7
- package/core/element/TableColElement.js +0 -13
- package/core/element/TableColElement.js.map +0 -1
- package/core/element/TableColGroupElement.d.ts +0 -7
- package/core/element/TableColGroupElement.js +0 -15
- package/core/element/TableColGroupElement.js.map +0 -1
- package/core/element/TableElement.d.ts +0 -45
- package/core/element/TableElement.js +0 -228
- package/core/element/TableElement.js.map +0 -1
- package/core/element/TableFootElement.d.ts +0 -5
- package/core/element/TableFootElement.js +0 -10
- package/core/element/TableFootElement.js.map +0 -1
- package/core/element/TableFootRowElement.d.ts +0 -9
- package/core/element/TableFootRowElement.js +0 -23
- package/core/element/TableFootRowElement.js.map +0 -1
- package/core/element/TableHeadCellElement.d.ts +0 -10
- package/core/element/TableHeadCellElement.js +0 -24
- package/core/element/TableHeadCellElement.js.map +0 -1
- package/core/element/TableHeadElement.d.ts +0 -5
- package/core/element/TableHeadElement.js +0 -10
- package/core/element/TableHeadElement.js.map +0 -1
- package/core/element/TableHeadRowElement.d.ts +0 -11
- package/core/element/TableHeadRowElement.js +0 -29
- package/core/element/TableHeadRowElement.js.map +0 -1
- package/core/element/TableRowElement.d.ts +0 -11
- package/core/element/TableRowElement.js +0 -29
- package/core/element/TableRowElement.js.map +0 -1
- package/core/element/TextAreaElement.d.ts +0 -7
- package/core/element/TextAreaElement.js +0 -10
- package/core/element/TextAreaElement.js.map +0 -1
- package/core/element/UListElement.d.ts +0 -5
- package/core/element/UListElement.js +0 -10
- package/core/element/UListElement.js.map +0 -1
- package/core/element/VideoElement.d.ts +0 -13
- package/core/element/VideoElement.js +0 -16
- package/core/element/VideoElement.js.map +0 -1
- package/core/element/index.d.ts +0 -72
- package/core/element/index.js +0 -73
- package/core/element/index.js.map +0 -1
- package/core/event/index.d.ts +0 -16
- package/core/event/index.js +0 -75
- package/core/event/index.js.map +0 -1
- package/core/index.js.map +0 -1
- package/core/ref/Computed.d.ts +0 -3
- package/core/ref/Computed.js +0 -75
- package/core/ref/Computed.js.map +0 -1
- package/core/ref/RefBoolean.d.ts +0 -91
- package/core/ref/RefBoolean.js +0 -119
- package/core/ref/RefBoolean.js.map +0 -1
- package/core/ref/RefContainer.d.ts +0 -28
- package/core/ref/RefContainer.js +0 -114
- package/core/ref/RefContainer.js.map +0 -1
- package/core/ref/RefList.d.ts +0 -120
- package/core/ref/RefList.js +0 -240
- package/core/ref/RefList.js.map +0 -1
- package/core/ref/RefMap.d.ts +0 -100
- package/core/ref/RefMap.js +0 -149
- package/core/ref/RefMap.js.map +0 -1
- package/core/ref/RefNumber.d.ts +0 -118
- package/core/ref/RefNumber.js +0 -157
- package/core/ref/RefNumber.js.map +0 -1
- package/core/ref/RefObject copy.d.ts +0 -124
- package/core/ref/RefObject copy.js +0 -271
- package/core/ref/RefObject copy.js.map +0 -1
- package/core/ref/RefObject.d.ts +0 -120
- package/core/ref/RefObject.js +0 -265
- package/core/ref/RefObject.js.map +0 -1
- package/core/ref/RefProperty.d.ts +0 -3
- package/core/ref/RefProperty.js +0 -46
- package/core/ref/RefProperty.js.map +0 -1
- package/core/ref/RefSet.d.ts +0 -99
- package/core/ref/RefSet.js +0 -148
- package/core/ref/RefSet.js.map +0 -1
- package/core/ref/RefState.d.ts +0 -25
- package/core/ref/RefState.js +0 -89
- package/core/ref/RefState.js.map +0 -1
- package/core/ref/RefString.d.ts +0 -148
- package/core/ref/RefString.js +0 -179
- package/core/ref/RefString.js.map +0 -1
- package/core/ref/index.d.ts +0 -23
- package/core/ref/index.js +0 -71
- package/core/ref/index.js.map +0 -1
- package/core/router/RouteView.d.ts +0 -20
- package/core/router/RouteView.js +0 -84
- package/core/router/RouteView.js.map +0 -1
- package/core/router/Router.d.ts +0 -78
- package/core/router/Router.js +0 -307
- package/core/router/Router.js.map +0 -1
- package/core/router/RouterEvent.d.ts +0 -36
- package/core/router/RouterEvent.js +0 -43
- package/core/router/RouterEvent.js.map +0 -1
- package/core/router/RouterGuard.d.ts +0 -12
- package/core/router/RouterGuard.js +0 -3
- package/core/router/RouterGuard.js.map +0 -1
- package/core/router/index.d.ts +0 -4
- package/core/router/index.js +0 -5
- package/core/router/index.js.map +0 -1
- package/global/index.js.map +0 -1
- package/global/safari-polyfill.d.ts +0 -0
- package/global/safari-polyfill.js +0 -234
- package/global/safari-polyfill.js.map +0 -1
- package/index.js +0 -4
- package/index.js.map +0 -1
- package/translation/index.d.ts +0 -0
- /package/{assets → dist/assets}/index.d.ts +0 -0
- /package/{assets → dist/assets}/index.js +0 -0
- /package/{assets → dist/assets}/index.js.map +0 -0
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
export class H3Element extends HTMLHeadingElement {
|
|
3
|
-
static TAG = "tc-h3-element";
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super();
|
|
6
|
-
Component.applyProps(this, props);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
TypeComposer.defineElement(H3Element.TAG, H3Element, { extends: "h3" });
|
|
10
|
-
//# sourceMappingURL=H3Element.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"H3Element.js","sourceRoot":"","sources":["../../../src/core/element/H3Element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAChD,MAAM,CAAU,GAAG,GAAW,eAAe,CAAC;IAC9C,YAAY,KAAoB;QAC/B,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
export class H4Element extends HTMLHeadingElement {
|
|
3
|
-
static TAG = "tc-h4-element";
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super();
|
|
6
|
-
Component.applyProps(this, props);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
TypeComposer.defineElement(H4Element.TAG, H4Element, { extends: "h4" });
|
|
10
|
-
//# sourceMappingURL=H4Element.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"H4Element.js","sourceRoot":"","sources":["../../../src/core/element/H4Element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAChD,MAAM,CAAU,GAAG,GAAW,eAAe,CAAC;IAC9C,YAAY,KAAoB;QAC/B,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
export class H5Element extends HTMLHeadingElement {
|
|
3
|
-
static TAG = "tc-h5-element";
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super();
|
|
6
|
-
Component.applyProps(this, props);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
TypeComposer.defineElement(H5Element.TAG, H5Element, { extends: "h5" });
|
|
10
|
-
//# sourceMappingURL=H5Element.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"H5Element.js","sourceRoot":"","sources":["../../../src/core/element/H5Element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAChD,MAAM,CAAU,GAAG,GAAW,eAAe,CAAC;IAC9C,YAAY,KAAoB;QAC/B,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
export class H6Element extends HTMLHeadingElement {
|
|
3
|
-
static TAG = "tc-h6-element";
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super();
|
|
6
|
-
Component.applyProps(this, props);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
TypeComposer.defineElement(H6Element.TAG, H6Element, { extends: "h6" });
|
|
10
|
-
//# sourceMappingURL=H6Element.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"H6Element.js","sourceRoot":"","sources":["../../../src/core/element/H6Element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAChD,MAAM,CAAU,GAAG,GAAW,eAAe,CAAC;IAC9C,YAAY,KAAoB;QAC/B,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
// <head>
|
|
3
|
-
export class HeadElement extends HTMLHeadElement {
|
|
4
|
-
static TAG = "tc-head-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
Component.applyProps(this, props);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
TypeComposer.defineElement(HeadElement.TAG, HeadElement, { extends: "head" });
|
|
11
|
-
//# sourceMappingURL=HeadElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeadElement.js","sourceRoot":"","sources":["../../../src/core/element/HeadElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,SAAS;AACT,MAAM,OAAO,WAAY,SAAQ,eAAe;IAC/C,MAAM,CAAU,GAAG,GAAW,iBAAiB,CAAC;IAChD,YAAY,KAAoB;QAC/B,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
// <header>
|
|
3
|
-
export class HeaderElement extends HTMLElement {
|
|
4
|
-
static TAG = "tc-header-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
Component.applyProps(this, props);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
TypeComposer.defineElement(HeaderElement.TAG, HeaderElement, {
|
|
11
|
-
extends: "header",
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=HeaderElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderElement.js","sourceRoot":"","sources":["../../../src/core/element/HeaderElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,WAAW;AACX,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC7C,MAAM,CAAU,GAAG,GAAW,mBAAmB,CAAC;IAClD,YAAY,KAAoB;QAC/B,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,aAAa,CAAC,GAAG,EAAE,aAAa,EAAE;IAC5D,OAAO,EAAE,QAAQ;CACjB,CAAC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
// <hr>
|
|
3
|
-
export class HorizontalRuleElement extends HTMLHRElement {
|
|
4
|
-
static TAG = "tc-hr-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
Component.applyProps(this, props);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
TypeComposer.defineElement(HorizontalRuleElement.TAG, HorizontalRuleElement, {
|
|
11
|
-
extends: "hr",
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=HorizontalRuleElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HorizontalRuleElement.js","sourceRoot":"","sources":["../../../src/core/element/HorizontalRuleElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,OAAO;AACP,MAAM,OAAO,qBAAsB,SAAQ,aAAa;IACvD,MAAM,CAAU,GAAG,GAAW,eAAe,CAAC;IAC9C,YAAY,KAAoB;QAC/B,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,qBAAqB,CAAC,GAAG,EAAE,qBAAqB,EAAE;IAC5E,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementProps } from "../../";
|
|
2
|
-
export declare class HtmlElement extends HTMLHtmlElement implements IComponent {
|
|
3
|
-
static readonly TAG: string;
|
|
4
|
-
constructor(props?: ElementProps & {
|
|
5
|
-
manifest?: string;
|
|
6
|
-
});
|
|
7
|
-
set manifest(value: string);
|
|
8
|
-
get manifest(): string;
|
|
9
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
// <html>
|
|
3
|
-
export class HtmlElement extends HTMLHtmlElement {
|
|
4
|
-
static TAG = "tc-html-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
if (props?.manifest)
|
|
8
|
-
this.manifest = props.manifest;
|
|
9
|
-
Component.applyProps(this, props);
|
|
10
|
-
}
|
|
11
|
-
set manifest(value) {
|
|
12
|
-
this.setAttribute("manifest", value);
|
|
13
|
-
}
|
|
14
|
-
get manifest() {
|
|
15
|
-
return this.getAttribute("manifest");
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
TypeComposer.defineElement(HtmlElement.TAG, HtmlElement, { extends: "html" });
|
|
19
|
-
//# sourceMappingURL=HtmlElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HtmlElement.js","sourceRoot":"","sources":["../../../src/core/element/HtmlElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AACjD,SAAS;AAET,MAAM,OAAO,WAAY,SAAQ,eAAe;IAC/C,MAAM,CAAU,GAAG,GAAW,iBAAiB,CAAC;IAChD,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;;AAEF,YAAY,CAAC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ElementProps } from "../../";
|
|
2
|
-
export declare class IFrameElement extends HTMLIFrameElement implements IComponent {
|
|
3
|
-
static readonly TAG: string;
|
|
4
|
-
constructor(props?: ElementProps & {
|
|
5
|
-
allow?: string;
|
|
6
|
-
allowfullscreen?: boolean;
|
|
7
|
-
allowpaymentrequest?: boolean;
|
|
8
|
-
csp?: string;
|
|
9
|
-
height?: number;
|
|
10
|
-
importance?: "auto" | "high" | "low";
|
|
11
|
-
loading?: "eager" | "lazy";
|
|
12
|
-
name?: string;
|
|
13
|
-
referrerpolicy?: "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
|
|
14
|
-
src?: string;
|
|
15
|
-
srcdoc?: string;
|
|
16
|
-
width?: number;
|
|
17
|
-
});
|
|
18
|
-
set allowfullscreen(value: boolean);
|
|
19
|
-
get allowfullscreen(): boolean;
|
|
20
|
-
set allowpaymentrequest(value: boolean);
|
|
21
|
-
get allowpaymentrequest(): boolean;
|
|
22
|
-
set csp(value: string);
|
|
23
|
-
get csp(): string;
|
|
24
|
-
set importance(value: "auto" | "high" | "low");
|
|
25
|
-
get importance(): "auto" | "high" | "low";
|
|
26
|
-
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");
|
|
27
|
-
get referrerpolicy(): string;
|
|
28
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
// <iframe>
|
|
3
|
-
export class IFrameElement extends HTMLIFrameElement {
|
|
4
|
-
static TAG = "tc-iframe-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
if (props?.allow)
|
|
8
|
-
this.allow = props.allow;
|
|
9
|
-
if (props?.allowfullscreen)
|
|
10
|
-
this.allowfullscreen = props.allowfullscreen;
|
|
11
|
-
if (props?.allowpaymentrequest)
|
|
12
|
-
this.allowpaymentrequest = props.allowpaymentrequest;
|
|
13
|
-
if (props?.csp)
|
|
14
|
-
this.csp = props.csp;
|
|
15
|
-
if (props?.height)
|
|
16
|
-
this.height = props.height;
|
|
17
|
-
if (props?.importance)
|
|
18
|
-
this.importance = props.importance;
|
|
19
|
-
if (props?.loading)
|
|
20
|
-
this.loading = props.loading;
|
|
21
|
-
if (props?.name)
|
|
22
|
-
this.name = props.name;
|
|
23
|
-
if (props?.referrerpolicy)
|
|
24
|
-
this.referrerpolicy = props.referrerpolicy;
|
|
25
|
-
if (props?.src)
|
|
26
|
-
this.src = props.src;
|
|
27
|
-
if (props?.srcdoc)
|
|
28
|
-
this.srcdoc = props.srcdoc;
|
|
29
|
-
if (props?.width)
|
|
30
|
-
this.width = props.width;
|
|
31
|
-
Component.applyProps(this, props);
|
|
32
|
-
}
|
|
33
|
-
set allowfullscreen(value) {
|
|
34
|
-
this.setAttribute("allowfullscreen", value.toString());
|
|
35
|
-
}
|
|
36
|
-
get allowfullscreen() {
|
|
37
|
-
return this.getAttribute("allowfullscreen") == "true";
|
|
38
|
-
}
|
|
39
|
-
set allowpaymentrequest(value) {
|
|
40
|
-
this.setAttribute("allowpaymentrequest", value.toString());
|
|
41
|
-
}
|
|
42
|
-
get allowpaymentrequest() {
|
|
43
|
-
return this.getAttribute("allowpaymentrequest") == "true";
|
|
44
|
-
}
|
|
45
|
-
set csp(value) {
|
|
46
|
-
this.setAttribute("csp", value);
|
|
47
|
-
}
|
|
48
|
-
get csp() {
|
|
49
|
-
return this.getAttribute("csp");
|
|
50
|
-
}
|
|
51
|
-
set importance(value) {
|
|
52
|
-
this.setAttribute("importance", value);
|
|
53
|
-
}
|
|
54
|
-
get importance() {
|
|
55
|
-
return this.getAttribute("importance");
|
|
56
|
-
}
|
|
57
|
-
set referrerpolicy(value) {
|
|
58
|
-
this.setAttribute("referrerpolicy", value);
|
|
59
|
-
}
|
|
60
|
-
get referrerpolicy() {
|
|
61
|
-
return this.getAttribute("referrerpolicy");
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
TypeComposer.defineElement(IFrameElement.TAG, IFrameElement, {
|
|
65
|
-
extends: "iframe",
|
|
66
|
-
});
|
|
67
|
-
//# sourceMappingURL=IFrameElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IFrameElement.js","sourceRoot":"","sources":["../../../src/core/element/IFrameElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,WAAW;AACX,MAAM,OAAO,aAAc,SAAQ,iBAAiB;IACnD,MAAM,CAAU,GAA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AAC;AAEjD,MAAM,OAAO,OAAQ,SAAQ,SAAS;IACrC,MAAM,CAAU,GAAG,GAAW,mBAAmB,CAAC;IAClD,YAAY,KAAoB;QAC/B,KAAK,CAAC,KAAK,CAAC,CAAC;IACd,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Component, ElementProps, refString } from "../..";
|
|
2
|
-
export declare class IconElement extends Component {
|
|
3
|
-
static readonly TAG: string;
|
|
4
|
-
private _icon;
|
|
5
|
-
constructor(props?: ElementProps & {
|
|
6
|
-
icon?: refString;
|
|
7
|
-
src?: string;
|
|
8
|
-
alt?: string;
|
|
9
|
-
});
|
|
10
|
-
get icon(): string;
|
|
11
|
-
set icon(value: refString);
|
|
12
|
-
get color(): string;
|
|
13
|
-
set color(value: refString);
|
|
14
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Component, ref } from "../..";
|
|
2
|
-
export class IconElement extends Component {
|
|
3
|
-
static TAG = "tc-icon-element";
|
|
4
|
-
_icon = ref("");
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super(props);
|
|
7
|
-
if (props != undefined && props.icon != undefined)
|
|
8
|
-
this.icon = props.icon;
|
|
9
|
-
}
|
|
10
|
-
get icon() {
|
|
11
|
-
return this._icon.value;
|
|
12
|
-
}
|
|
13
|
-
set icon(value) {
|
|
14
|
-
if (typeof value !== "string")
|
|
15
|
-
this["_styleref"].appendStyleref("icon", this, value);
|
|
16
|
-
else {
|
|
17
|
-
const splice = value.split(" ");
|
|
18
|
-
splice.forEach((v) => {
|
|
19
|
-
this.addClassName(v);
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
get color() {
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
return this.style.color;
|
|
26
|
-
}
|
|
27
|
-
set color(value) {
|
|
28
|
-
this.style.color = value;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
TypeComposer.defineElement(IconElement.TAG, IconElement);
|
|
32
|
-
//# sourceMappingURL=IconElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IconElement.js","sourceRoot":"","sources":["../../../src/core/element/IconElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgB,GAAG,EAAa,MAAM,OAAO,CAAC;AAEhE,MAAM,OAAO,WAAY,SAAQ,SAAS;IACxC,MAAM,CAAU,GAAG,GAAW,iBAAiB,CAAC;IACxC,KAAK,GAAG,GAAG,CAAC,EAAE,CAAC,CAAC;IAExB,YACE,KAIC;QAED,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,KAAK,IAAI,SAAS,IAAI,KAAK,CAAC,IAAI,IAAI,SAAS;YAAE,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;IAC5E,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;IAC1B,CAAC;IAED,IAAI,IAAI,CAAC,KAAgB;QACvB,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,IAAI,CAAC,WAAW,CAAC,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;aAChF,CAAC;YACJ,MAAM,MAAM,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAChC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;gBACnB,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;YACvB,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,IAAI,KAAK;QACP,aAAa;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;IAC1B,CAAC;IAED,IAAI,KAAK,CAAC,KAAgB;QACxB,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC;IAC3B,CAAC;;AAEH,YAAY,CAAC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IdiomaticElement.js","sourceRoot":"","sources":["../../../src/core/element/IdiomaticElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,OAAO,gBAAiB,SAAQ,SAAS;IAC3C,MAAM,CAAU,GAAG,GAAW,cAAc,CAAC;;AAEjD,YAAY,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,EAAE,gBAAgB,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ElementProps, refString, refNumber } from "../../";
|
|
2
|
-
export declare class ImageElement extends HTMLImageElement implements IComponent {
|
|
3
|
-
static readonly TAG: string;
|
|
4
|
-
constructor(props?: ElementProps & {
|
|
5
|
-
src?: string | refString;
|
|
6
|
-
alt?: string | refString;
|
|
7
|
-
lazy?: boolean;
|
|
8
|
-
loading?: "eager" | "lazy" | "auto";
|
|
9
|
-
decoding?: "sync" | "async" | "auto";
|
|
10
|
-
sizes?: string;
|
|
11
|
-
srcset?: string;
|
|
12
|
-
crossOrigin?: "anonymous" | "use-credentials";
|
|
13
|
-
width?: number | refNumber | string | refString;
|
|
14
|
-
height?: number | refNumber | string | refString;
|
|
15
|
-
referrerPolicy?: "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
|
|
16
|
-
importance?: "auto" | "high" | "low" | "none";
|
|
17
|
-
referrerpolicy?: "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
|
|
18
|
-
});
|
|
19
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
export class ImageElement extends HTMLImageElement {
|
|
3
|
-
static TAG = "tc-img-element";
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super();
|
|
6
|
-
this.className = "image-element";
|
|
7
|
-
const src = props?.src;
|
|
8
|
-
delete props?.src;
|
|
9
|
-
Component.applyProps(this, props);
|
|
10
|
-
// @ts-ignore
|
|
11
|
-
if (src)
|
|
12
|
-
this.src = src;
|
|
13
|
-
this.onload;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
TypeComposer.defineElement(ImageElement.TAG, ImageElement, { extends: "img" });
|
|
17
|
-
//# sourceMappingURL=ImageElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ImageElement.js","sourceRoot":"","sources":["../../../src/core/element/ImageElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAwB,MAAM,QAAQ,CAAC;AAEvE,MAAM,OAAO,YAAa,SAAQ,gBAAgB;IACjD,MAAM,CAAU,GAAG,GAAW,gBAAgB,CAAC;IAC/C,YAAY,KAYX;QACA,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,SAAS,GAAG,eAAe,CAAC;QACjC,MAAM,GAAG,GAAG,KAAK,EAAE,GAAG,CAAC;QACvB,OAAO,KAAK,EAAE,GAAG,CAAC;QAClB,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAClC,aAAa;QACb,IAAI,GAAG;YAAE,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACxB,IAAI,CAAC,MAAM,CAAC;IACb,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ElementProps, refString, refNumber, ref } from "../../";
|
|
2
|
-
import { RegisterOptions } from "../app/Validate";
|
|
3
|
-
export type InputType = "text" | "password" | "checkbox" | "radio" | "submit" | "reset" | "file" | "hidden" | "image" | "button" | "color" | "date" | "datetime-local" | "email" | "month" | "number" | "range" | "search" | "tel" | "time" | "url" | "week";
|
|
4
|
-
export interface InputElementProps extends ElementProps<HTMLInputElement, "checked" | "value"> {
|
|
5
|
-
type?: InputType;
|
|
6
|
-
checked?: boolean | ref<boolean>;
|
|
7
|
-
value?: string | number | refString | refNumber;
|
|
8
|
-
delay?: number;
|
|
9
|
-
validation?: RegisterOptions;
|
|
10
|
-
oninputDelay?: (value: string) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare class InputElement extends HTMLInputElement implements IComponent {
|
|
13
|
-
#private;
|
|
14
|
-
static readonly TAG: string;
|
|
15
|
-
constructor(props?: InputElementProps);
|
|
16
|
-
get validation(): RegisterOptions | undefined;
|
|
17
|
-
set validation(value: RegisterOptions | undefined);
|
|
18
|
-
private __checkValidity;
|
|
19
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
export class InputElement extends HTMLInputElement {
|
|
3
|
-
static TAG = "tc-input-element";
|
|
4
|
-
#validation;
|
|
5
|
-
#checkValidity;
|
|
6
|
-
constructor(props) {
|
|
7
|
-
super();
|
|
8
|
-
if (props?.accept)
|
|
9
|
-
this.accept = props.accept;
|
|
10
|
-
this.multiple = props?.multiple || false;
|
|
11
|
-
// @ts-ignore
|
|
12
|
-
this.readOnly = props?.readOnly || false;
|
|
13
|
-
Component.applyProps(this, props);
|
|
14
|
-
if (props?.oninputDelay) {
|
|
15
|
-
const delay = props.delay ?? 250;
|
|
16
|
-
let timeoutId;
|
|
17
|
-
this.addEventListener("input", () => {
|
|
18
|
-
clearTimeout(timeoutId);
|
|
19
|
-
timeoutId = window.setTimeout(() => {
|
|
20
|
-
props.oninputDelay?.(this.value);
|
|
21
|
-
}, delay);
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
if (props?.maxLength !== undefined)
|
|
25
|
-
this.maxLength = props?.maxLength.valueOf();
|
|
26
|
-
if (props?.minLength !== undefined)
|
|
27
|
-
this.minLength = props?.minLength;
|
|
28
|
-
if (props?.min !== undefined)
|
|
29
|
-
this.min = props?.min;
|
|
30
|
-
if (props?.max !== undefined)
|
|
31
|
-
this.max = props?.max;
|
|
32
|
-
if (props?.pattern)
|
|
33
|
-
this.pattern = props?.pattern;
|
|
34
|
-
if (props?.required)
|
|
35
|
-
this.required = props?.required || false;
|
|
36
|
-
}
|
|
37
|
-
get validation() {
|
|
38
|
-
return this.#validation;
|
|
39
|
-
}
|
|
40
|
-
set validation(value) {
|
|
41
|
-
this.#validation = value;
|
|
42
|
-
if (this.#checkValidity)
|
|
43
|
-
this.removeEventListener("input", this.#checkValidity);
|
|
44
|
-
this.#checkValidity = undefined;
|
|
45
|
-
if (value) {
|
|
46
|
-
this.#checkValidity = this.__checkValidity.bind(this);
|
|
47
|
-
this.addEventListener("input", this.#checkValidity);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
__checkValidity() {
|
|
51
|
-
if (!this.validation)
|
|
52
|
-
return;
|
|
53
|
-
let validationMessage = this.validationMessage;
|
|
54
|
-
if (this.validation.required && !this.value) {
|
|
55
|
-
validationMessage = "Required field";
|
|
56
|
-
}
|
|
57
|
-
else if (this.validation.minLength !== undefined && this.value.length < this.validation.minLength) {
|
|
58
|
-
validationMessage = `Minimum length is ${this.validation.minLength}`;
|
|
59
|
-
}
|
|
60
|
-
else if (this.validation.maxLength !== undefined && this.value.length > this.validation.maxLength) {
|
|
61
|
-
validationMessage = `Maximum length is ${this.validation.maxLength}`;
|
|
62
|
-
}
|
|
63
|
-
else if (this.validation.min !== undefined && Number(this.value.toString()) < Number(this.validation.min)) {
|
|
64
|
-
validationMessage = `Minimum value is ${this.validation.min}`;
|
|
65
|
-
}
|
|
66
|
-
else if (this.validation.max !== undefined && Number(this.value) > Number(this.validation.max)) {
|
|
67
|
-
validationMessage = `Maximum value is ${this.validation.max}`;
|
|
68
|
-
}
|
|
69
|
-
else if (this.validation.pattern && !this.validation.pattern.test(this.value)) {
|
|
70
|
-
validationMessage = "Invalid value";
|
|
71
|
-
}
|
|
72
|
-
else
|
|
73
|
-
validationMessage = "";
|
|
74
|
-
if (validationMessage !== this.validationMessage) {
|
|
75
|
-
this.setCustomValidity(validationMessage);
|
|
76
|
-
this.reportValidity();
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
TypeComposer.defineElement(InputElement.TAG, InputElement, { extends: "input" });
|
|
81
|
-
//# sourceMappingURL=InputElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InputElement.js","sourceRoot":"","sources":["../../../src/core/element/InputElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAA6B,MAAM,QAAQ,CAAC;AA4C5E,MAAM,OAAO,YAAa,SAAQ,gBAAgB;IACjD,MAAM,CAAU,GAAG,GAAW,kBAAkB,CAAC;IACjD,WAAW,CAAmB;IAC9B,cAAc,CAAC;IACf,YAAY,KAAyB;QACpC,KAAK,EAAE,CAAC;QACR,IAAI,KAAK,EAAE,MAAM;YAAE,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC9C,IAAI,CAAC,QAAQ,GAAG,KAAK,EAAE,QAAQ,IAAI,KAAK,CAAC;QACzC,aAAa;QACb,IAAI,CAAC,QAAQ,GAAG,KAAK,EAAE,QAAQ,IAAI,KAAK,CAAC;QACzC,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAClC,IAAI,KAAK,EAAE,YAAY,EAAE,CAAC;YACzB,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,GAAG,CAAC;YACjC,IAAI,SAAiB,CAAC;YACtB,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,GAAG,EAAE;gBACnC,YAAY,CAAC,SAAS,CAAC,CAAC;gBACxB,SAAS,GAAG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C/D,CAAC;aAAM,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACjF,iBAAiB,GAAG,eAAe,CAAC;QACrC,CAAC;;YACA,iBAAiB,GAAG,EAAE,CAAC;QACxB,IAAI,iBAAiB,KAAK,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAClD,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;YAC1C,IAAI,CAAC,cAAc,EAAE,CAAC;QACvB,CAAC;IACF,CAAC;;AAKF,YAAY,CAAC,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
export class LabelElement extends HTMLLabelElement {
|
|
3
|
-
static TAG = "tc-label-element";
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super();
|
|
6
|
-
Component.applyProps(this, props);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
TypeComposer.defineElement(LabelElement.TAG, LabelElement, { extends: "label" });
|
|
10
|
-
//# sourceMappingURL=LabelElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LabelElement.js","sourceRoot":"","sources":["../../../src/core/element/LabelElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,YAAa,SAAQ,gBAAgB;IACjD,MAAM,CAAU,GAAG,GAAW,kBAAkB,CAAC;IACjD,YAAY,KAAsD;QACjE,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
// <legend>
|
|
3
|
-
export class LegendElement extends HTMLLegendElement {
|
|
4
|
-
static TAG = "tc-legend-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
Component.applyProps(this, props);
|
|
8
|
-
if (props?.value)
|
|
9
|
-
this.innerHTML = props.value;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
TypeComposer.defineElement(LegendElement.TAG, LegendElement, {
|
|
13
|
-
extends: "legend",
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=LegendElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LegendElement.js","sourceRoot":"","sources":["../../../src/core/element/LegendElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AACjD,WAAW;AACX,MAAM,OAAO,aAAc,SAAQ,iBAAiB;IACnD,MAAM,CAAU,GAAG,GAAW,mBAAmB,CAAC;IAClD,YACC,KAEC;QAED,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAClC,IAAI,KAAK,EAAE,KAAK;YAAE,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,KAAY,CAAC;IACvD,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,aAAa,CAAC,GAAG,EAAE,aAAa,EAAE;IAC5D,OAAO,EAAE,QAAQ;CACjB,CAAC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ElementProps } from "../../";
|
|
2
|
-
export declare class ListItemElement<T = any> extends HTMLLIElement implements IComponent {
|
|
3
|
-
static readonly TAG: string;
|
|
4
|
-
constructor(props?: ElementProps & {
|
|
5
|
-
draggable?: boolean;
|
|
6
|
-
});
|
|
7
|
-
item: T | undefined;
|
|
8
|
-
removeItem(): void;
|
|
9
|
-
set draggable(value: boolean);
|
|
10
|
-
get draggable(): boolean;
|
|
11
|
-
onSelect(): void;
|
|
12
|
-
}
|