typecomposer 0.1.46 → 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 +35 -10
- package/styles/style.scss +2 -23
- 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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CiteElement.js","sourceRoot":"","sources":["../../../src/core/element/CiteElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,SAAS;AACT,MAAM,OAAO,WAAY,SAAQ,WAAW;IACzC,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;;AAGJ,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
|
-
// <code>
|
|
3
|
-
export class CodeElement extends HTMLElement {
|
|
4
|
-
static TAG = "tc-code-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
Component.applyProps(this, props);
|
|
8
|
-
if (props.contentEditable != undefined)
|
|
9
|
-
this.contentEditable = props.contentEditable.toString();
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
TypeComposer.defineElement(CodeElement.TAG, CodeElement, { extends: "code" });
|
|
13
|
-
//# sourceMappingURL=CodeElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CodeElement.js","sourceRoot":"","sources":["../../../src/core/element/CodeElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,SAAS;AACT,MAAM,OAAO,WAAY,SAAQ,WAAW;IACzC,MAAM,CAAU,GAAG,GAAW,iBAAiB,CAAC;IAChD,YAAY,KAAoD;QAC/D,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAClC,IAAI,KAAK,CAAC,eAAe,IAAI,SAAS;YAAE,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC;IACjG,CAAC;;AAGJ,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
|
-
// <datalist>
|
|
3
|
-
export class DataListElement extends HTMLDataListElement {
|
|
4
|
-
static TAG = "tc-datalist-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
Component.applyProps(this, props);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
TypeComposer.defineElement(DataListElement.TAG, DataListElement, {
|
|
11
|
-
extends: "datalist",
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=DataListElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataListElement.js","sourceRoot":"","sources":["../../../src/core/element/DataListElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,aAAa;AACb,MAAM,OAAO,eAAgB,SAAQ,mBAAmB;IACrD,MAAM,CAAU,GAAG,GAAW,qBAAqB,CAAC;IACpD,YAAY,KAAoB;QAC/B,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGJ,YAAY,CAAC,aAAa,CAAC,eAAe,CAAC,GAAG,EAAE,eAAe,EAAE;IAChE,OAAO,EAAE,UAAU;CACnB,CAAC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
// <dd>
|
|
3
|
-
export class DefinitionDescriptionElement extends HTMLElement {
|
|
4
|
-
static TAG = "tc-dd-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
Component.applyProps(this, props);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
TypeComposer.defineElement(DefinitionDescriptionElement.TAG, DefinitionDescriptionElement, {
|
|
11
|
-
extends: "dd",
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=DefinitionDescriptionElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DefinitionDescriptionElement.js","sourceRoot":"","sources":["../../../src/core/element/DefinitionDescriptionElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,OAAO;AACP,MAAM,OAAO,4BAA6B,SAAQ,WAAW;IAC1D,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;;AAGJ,YAAY,CAAC,aAAa,CAAC,4BAA4B,CAAC,GAAG,EAAE,4BAA4B,EAAE;IAC1F,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
// <dfn>
|
|
3
|
-
export class DefinitionElement extends HTMLElement {
|
|
4
|
-
static TAG = "tc-dfn-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
Component.applyProps(this, props);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
TypeComposer.defineElement(DefinitionElement.TAG, DefinitionElement, {
|
|
11
|
-
extends: "dfn",
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=DefinitionElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DefinitionElement.js","sourceRoot":"","sources":["../../../src/core/element/DefinitionElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,QAAQ;AACR,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IACjD,MAAM,CAAU,GAAG,GAAW,gBAAgB,CAAC;IAC/C,YAAY,KAAoB;QAC/B,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,iBAAiB,CAAC,GAAG,EAAE,iBAAiB,EAAE;IACpE,OAAO,EAAE,KAAK;CACd,CAAC,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
// <del>
|
|
3
|
-
export class DeletedTextElement extends HTMLModElement {
|
|
4
|
-
static TAG = "tc-del-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
if (props?.cite)
|
|
8
|
-
this.cite = props.cite;
|
|
9
|
-
Component.applyProps(this, props);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
TypeComposer.defineElement(DeletedTextElement.TAG, DeletedTextElement, {
|
|
13
|
-
extends: "del",
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=DeletedTextElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeletedTextElement.js","sourceRoot":"","sources":["../../../src/core/element/DeletedTextElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,QAAQ;AACR,MAAM,OAAO,kBAAmB,SAAQ,cAAc;IACrD,MAAM,CAAU,GAAG,GAAW,gBAAgB,CAAC;IAC/C,YACC,KAEC;QAED,KAAK,EAAE,CAAC;QACR,IAAI,KAAK,EAAE,IAAI;YAAE,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAW,CAAC;QAC/C,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,kBAAkB,CAAC,GAAG,EAAE,kBAAkB,EAAE;IACtE,OAAO,EAAE,KAAK;CACd,CAAC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementProps, SummaryElement } from "../../";
|
|
2
|
-
export declare class DetailsElement extends HTMLDetailsElement implements IComponent {
|
|
3
|
-
static readonly TAG: string;
|
|
4
|
-
constructor(props?: ElementProps & {
|
|
5
|
-
open?: boolean;
|
|
6
|
-
summary?: string | SummaryElement;
|
|
7
|
-
});
|
|
8
|
-
setSummary(summary: SummaryElement): void;
|
|
9
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Component, SummaryElement } from "../../";
|
|
2
|
-
// <details>
|
|
3
|
-
export class DetailsElement extends HTMLDetailsElement {
|
|
4
|
-
static TAG = "tc-details-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
Component.applyProps(this, props);
|
|
8
|
-
if (props?.open)
|
|
9
|
-
this.open = props.open;
|
|
10
|
-
if (props?.summary) {
|
|
11
|
-
if (typeof props.summary == "string") {
|
|
12
|
-
// @ts-ignore
|
|
13
|
-
this.setSummary(new SummaryElement({ text: props.summary }));
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
this.setSummary(props.summary);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
setSummary(summary) {
|
|
21
|
-
this.querySelector("summary")?.remove();
|
|
22
|
-
this.appendChild(summary);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
TypeComposer.defineElement(DetailsElement.TAG, DetailsElement, {
|
|
26
|
-
extends: "details",
|
|
27
|
-
});
|
|
28
|
-
//# sourceMappingURL=DetailsElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DetailsElement.js","sourceRoot":"","sources":["../../../src/core/element/DetailsElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAEjE,YAAY;AACZ,MAAM,OAAO,cAAe,SAAQ,kBAAkB;IACrD,MAAM,CAAU,GAAG,GAAW,oBAAoB,CAAC;IACnD,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,OAAO,EAAE,CAAC;YACpB,IAAI,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,EAAE,CAAC;gBACtC,aAAa;gBACb,IAAI,CAAC,UAAU,CAAC,IAAI,cAAc,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;YAC9D,CAAC;iBAAM,CAAC;gBACP,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YAChC,CAAC;QACF,CAAC;IACF,CAAC;IACM,UAAU,CAAC,OAAuB;QACxC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;QACxC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,cAAc,CAAC,GAAG,EAAE,cAAc,EAAE;IAC9D,OAAO,EAAE,SAAS;CAClB,CAAC,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
// <dialog>
|
|
3
|
-
export class DialogElement extends HTMLDialogElement {
|
|
4
|
-
static TAG = "tc-dialog-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
Component.applyProps(this, props);
|
|
8
|
-
this.open = props?.open === undefined ? false : props.open;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
TypeComposer.defineElement(DialogElement.TAG, DialogElement, {
|
|
12
|
-
extends: "dialog",
|
|
13
|
-
});
|
|
14
|
-
//# sourceMappingURL=DialogElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DialogElement.js","sourceRoot":"","sources":["../../../src/core/element/DialogElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,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,CAAC,IAAI,GAAG,KAAK,EAAE,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC;IAC5D,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,aAAa,CAAC,GAAG,EAAE,aAAa,EAAE;IAC5D,OAAO,EAAE,QAAQ;CACjB,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
export class DivElement extends HTMLDivElement {
|
|
3
|
-
static TAG = "tc-div-element";
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super();
|
|
6
|
-
Component.applyProps(this, props);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
TypeComposer.defineElement(DivElement.TAG, DivElement, { extends: "div" });
|
|
10
|
-
//# sourceMappingURL=DivElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DivElement.js","sourceRoot":"","sources":["../../../src/core/element/DivElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,UAAW,SAAQ,cAAc;IAC7C,MAAM,CAAU,GAAG,GAAW,gBAAgB,CAAC;IAC/C,YAAY,KAAoC;QAC/C,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,EAAE,UAAU,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
export class EmElement extends HTMLEmbedElement {
|
|
3
|
-
static TAG = "tc-em-element";
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super();
|
|
6
|
-
Component.applyProps(this, props);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
TypeComposer.defineElement(EmElement.TAG, EmElement, { extends: "em" });
|
|
10
|
-
//# sourceMappingURL=EmElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmElement.js","sourceRoot":"","sources":["../../../src/core/element/EmElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,SAAU,SAAQ,gBAAgB;IAC9C,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 { ElementProps } from "../../";
|
|
2
|
-
export declare class EmbedElement extends HTMLEmbedElement implements IComponent {
|
|
3
|
-
static readonly TAG: string;
|
|
4
|
-
constructor(props?: ElementProps & {
|
|
5
|
-
height?: number;
|
|
6
|
-
src?: string;
|
|
7
|
-
type?: string;
|
|
8
|
-
width?: number;
|
|
9
|
-
});
|
|
10
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
// <embed>
|
|
3
|
-
export class EmbedElement extends HTMLEmbedElement {
|
|
4
|
-
static TAG = "tc-embed-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
if (props?.height)
|
|
8
|
-
this.height = props.height;
|
|
9
|
-
if (props?.src)
|
|
10
|
-
this.src = props.src;
|
|
11
|
-
if (props?.type)
|
|
12
|
-
this.type = props.type;
|
|
13
|
-
if (props?.width)
|
|
14
|
-
this.width = props.width;
|
|
15
|
-
Component.applyProps(this, props);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
TypeComposer.defineElement(EmbedElement.TAG, EmbedElement, { extends: "embed" });
|
|
19
|
-
//# sourceMappingURL=EmbedElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmbedElement.js","sourceRoot":"","sources":["../../../src/core/element/EmbedElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,UAAU;AACV,MAAM,OAAO,YAAa,SAAQ,gBAAgB;IACjD,MAAM,CAAU,GAAG,GAAW,kBAAkB,CAAC;IACjD,YACC,KAKC;QAED,KAAK,EAAE,CAAC;QACR,IAAI,KAAK,EAAE,MAAM;YAAE,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAa,CAAC;QACrD,IAAI,KAAK,EAAE,GAAG;YAAE,IAAI,CAAC,GAAG,GAAG,KAAK,CAAC,GAAU,CAAC;QAC5C,IAAI,KAAK,EAAE,IAAI;YAAE,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAW,CAAC;QAC/C,IAAI,KAAK,EAAE,KAAK;YAAE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAY,CAAC;QAClD,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,9 +0,0 @@
|
|
|
1
|
-
import { ElementProps, LegendElement } from "../../";
|
|
2
|
-
export declare class FieldSetElement extends HTMLFieldSetElement implements IComponent {
|
|
3
|
-
static readonly TAG: string;
|
|
4
|
-
constructor(props?: ElementProps & {
|
|
5
|
-
name?: string;
|
|
6
|
-
legend?: string | LegendElement;
|
|
7
|
-
});
|
|
8
|
-
setLegend(legend: LegendElement | string): void;
|
|
9
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Component, LegendElement } from "../../";
|
|
2
|
-
// <fieldset>
|
|
3
|
-
export class FieldSetElement extends HTMLFieldSetElement {
|
|
4
|
-
static TAG = "tc-fieldset-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
Component.applyProps(this, props);
|
|
8
|
-
if (props?.name)
|
|
9
|
-
this.name = props.name;
|
|
10
|
-
if (props?.legend) {
|
|
11
|
-
if (typeof props.legend == "string") {
|
|
12
|
-
// @ts-ignore
|
|
13
|
-
this.setLegend(new LegendElement({ text: props.legend }));
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
this.setLegend(props.legend);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
setLegend(legend) {
|
|
21
|
-
const legendElement = this.querySelector("legend");
|
|
22
|
-
if (legend instanceof LegendElement) {
|
|
23
|
-
legendElement?.remove();
|
|
24
|
-
this.appendChild(legend);
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
legendElement.innerHTML = legend;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
TypeComposer.defineElement(FieldSetElement.TAG, FieldSetElement, {
|
|
32
|
-
extends: "fieldset",
|
|
33
|
-
});
|
|
34
|
-
//# sourceMappingURL=FieldSetElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldSetElement.js","sourceRoot":"","sources":["../../../src/core/element/FieldSetElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEhE,cAAc;AACd,MAAM,OAAO,eAAgB,SAAQ,mBAAmB;IACvD,MAAM,CAAU,GAAG,GAAW,qBAAqB,CAAC;IACpD,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;;AAGF,YAAY,CAAC,aAAa,CAAC,eAAe,CAAC,GAAG,EAAE,eAAe,EAAE;IAChE,OAAO,EAAE,UAAU;CACnB,CAAC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
// <footer>
|
|
3
|
-
export class FooterElement extends HTMLElement {
|
|
4
|
-
static TAG = "tc-footer-element";
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super();
|
|
7
|
-
Component.applyProps(this, props);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
TypeComposer.defineElement(FooterElement.TAG, FooterElement, {
|
|
11
|
-
extends: "footer",
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=FooterElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FooterElement.js","sourceRoot":"","sources":["../../../src/core/element/FooterElement.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,20 +0,0 @@
|
|
|
1
|
-
import { ElementProps } from "../../";
|
|
2
|
-
export interface FormElementProps extends ElementProps<HTMLElement> {
|
|
3
|
-
acceptCharset?: string;
|
|
4
|
-
action?: string;
|
|
5
|
-
enctype?: string;
|
|
6
|
-
method?: "get" | "post" | "dialog";
|
|
7
|
-
name?: string;
|
|
8
|
-
novalidate?: boolean;
|
|
9
|
-
rel?: "external" | "help" | "license" | "next" | "nofollow" | "noopener" | "noreferrer" | "opener" | "prev" | "search";
|
|
10
|
-
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
11
|
-
/**
|
|
12
|
-
* The credentials mode of the request, which indicates whether credentials will be sent with the request.
|
|
13
|
-
*/
|
|
14
|
-
credentials?: RequestCredentials;
|
|
15
|
-
onResponse?: (response: Response) => void;
|
|
16
|
-
}
|
|
17
|
-
export declare class FormElement extends HTMLFormElement implements IComponent {
|
|
18
|
-
static readonly TAG: string;
|
|
19
|
-
constructor(props?: FormElementProps);
|
|
20
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
export class FormElement extends HTMLFormElement {
|
|
3
|
-
static TAG = "tc-form-element";
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super();
|
|
6
|
-
if (props?.onResponse) {
|
|
7
|
-
const onResponse = props.onResponse;
|
|
8
|
-
this.onsubmit = (event) => {
|
|
9
|
-
event.preventDefault();
|
|
10
|
-
const formData = new FormData(this);
|
|
11
|
-
const entries = formData.entries();
|
|
12
|
-
const jsonObject = Object.fromEntries(entries);
|
|
13
|
-
const init = {
|
|
14
|
-
method: this.method || "get",
|
|
15
|
-
headers: {
|
|
16
|
-
"Accept": "application/json",
|
|
17
|
-
"Content-Type": "application/json"
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
if (props?.credentials)
|
|
21
|
-
init.credentials = props.credentials;
|
|
22
|
-
if (this.method == "post")
|
|
23
|
-
init.body = JSON.stringify(jsonObject);
|
|
24
|
-
else if (this.method == "get")
|
|
25
|
-
init.params = jsonObject;
|
|
26
|
-
fetch(this.action, init).then(response => onResponse(response))
|
|
27
|
-
.catch(error => { onResponse(new Response(JSON.stringify({ error: error.message }), { status: 500, statusText: "Internal Server Error" })); });
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
delete props?.onResponse;
|
|
31
|
-
Component.applyProps(this, props);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
Component.setVariant(FormElement, "vbox", (element) => element.classList.add("vbox"));
|
|
35
|
-
TypeComposer.defineElement(FormElement.TAG, FormElement, { extends: "form" });
|
|
36
|
-
//# sourceMappingURL=FormElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormElement.js","sourceRoot":"","sources":["../../../src/core/element/FormElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAa,MAAM,QAAQ,CAAC;AAoB5D,MAAM,OAAO,WAAY,SAAQ,eAAe;IAC/C,MAAM,CAAU,GAAG,GAAW,iBAAiB,CAAC;IAChD,YAAY,KAAwB;QACnC,KAAK,EAAE,CAAC;QACR,IAAI,KAAK,EAAE,UAAU,EAAE,CAAC;YACvB,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CAAC;YAEpC,IAAI,CAAC,QAAQ,GAAG,CAAC,KAAK,EAAE,EAAE;gBACzB,KAAK,CAAC,cAAc,EAAE,CAAC;gBACvB,MAAM,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC;gBACpC,MAAM,OAAO,GAAI,QAAgB,CAAC,OAAO,EAAE,CAAC;gBAC5C,MAAM,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;gBAC/C,MAAM,IAAI,GAAgB;oBACzB,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,KAAK;oBAC5B,OAAO,EAAE;wBACR,QAAQ,EAAE,kBAAkB;wBAC5B,cAAc,EAAE,kBAAkB;qBAClC;iBACD,CAAA;gBACD,IAAI,KAAK,EAAE,WAAW;oBAAE,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;gBAC7D,IAAI,IAAI,CAAC,MAAM,IAAI,MAAM;oBAAE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;qBAC7D,IAAI,IAAI,CAAC,MAAM,IAAI,KAAK;oBAAE,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC;gBACxD,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;qBAC7D,KAAK,CAAC,KAAK,CAAC,EAAE,GAAG,UAAU,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,uBAAuB,EAAE,CAAC,CAAC,CAAA,CAAC,CAAC,CAAC,CAAC;YAChJ,CAAC,CAAC;QACH,CAAC;QACD,OAAO,KAAK,EAAE,UAAU,CAAC;QACzB,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,SAAS,CAAC,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;AACtF,YAAY,CAAC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { refList } from "../..";
|
|
2
|
-
export declare class Fragment extends DocumentFragment {
|
|
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
|
-
static create(condition: (change?: (value: any, index: any, array: any, action: Function) => any) => any, references: any[]): DocumentFragment;
|
|
32
|
-
}
|
package/core/element/Fragment.js
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { ref } from "../..";
|
|
2
|
-
export class Fragment extends DocumentFragment {
|
|
3
|
-
constructor(onConnected) {
|
|
4
|
-
super();
|
|
5
|
-
this.addEventListener("onConnected", () => {
|
|
6
|
-
this.onBuildFragment(onConnected);
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
onBuildFragment(onConnected) {
|
|
10
|
-
const data = {
|
|
11
|
-
parentElement: undefined,
|
|
12
|
-
elementIndex: -1,
|
|
13
|
-
elements: []
|
|
14
|
-
};
|
|
15
|
-
data.parentElement = this.parentElement;
|
|
16
|
-
const childrens = this.parentElement?.children || [];
|
|
17
|
-
for (let i = 0; i < childrens.length; i++) {
|
|
18
|
-
if (childrens[i] === this) {
|
|
19
|
-
data.elementIndex = i > 0 ? i : 0;
|
|
20
|
-
break;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
onConnected(data);
|
|
24
|
-
//this.remove();
|
|
25
|
-
}
|
|
26
|
-
static getElement(data) {
|
|
27
|
-
const begin = data.elements[0]?.element;
|
|
28
|
-
const childrens = data.parentElement.children;
|
|
29
|
-
let element = childrens[0];
|
|
30
|
-
if (!childrens)
|
|
31
|
-
return undefined;
|
|
32
|
-
for (let i = 0; i < childrens.length; i++) {
|
|
33
|
-
if (begin === childrens[i]) {
|
|
34
|
-
data.elementIndex = i;
|
|
35
|
-
return childrens[i];
|
|
36
|
-
}
|
|
37
|
-
else if (!begin && i >= data.elementIndex) {
|
|
38
|
-
return childrens[i];
|
|
39
|
-
}
|
|
40
|
-
else
|
|
41
|
-
element = childrens[i];
|
|
42
|
-
}
|
|
43
|
-
return element;
|
|
44
|
-
}
|
|
45
|
-
static forEach(items, callbackfn) {
|
|
46
|
-
const onConnected = (data) => {
|
|
47
|
-
const updadeItems = () => {
|
|
48
|
-
if (!data.parentElement)
|
|
49
|
-
return;
|
|
50
|
-
const begin = Fragment.getElement(data);
|
|
51
|
-
const newElemets = items.map((e, index) => {
|
|
52
|
-
return { element: callbackfn(e, index), value: e, index };
|
|
53
|
-
});
|
|
54
|
-
for (const element of newElemets) {
|
|
55
|
-
data.parentElement.insertBefore(element.element, begin);
|
|
56
|
-
}
|
|
57
|
-
for (const element of data.elements)
|
|
58
|
-
element.element.remove();
|
|
59
|
-
data.elements = newElemets;
|
|
60
|
-
};
|
|
61
|
-
if (items instanceof ref) {
|
|
62
|
-
// @ts-ignore
|
|
63
|
-
items.subscribe(updadeItems);
|
|
64
|
-
}
|
|
65
|
-
updadeItems();
|
|
66
|
-
};
|
|
67
|
-
return new Fragment(onConnected);
|
|
68
|
-
}
|
|
69
|
-
static create(condition, references) {
|
|
70
|
-
const onConnected = (data) => {
|
|
71
|
-
const updadeItems = (t, tr) => {
|
|
72
|
-
if (!data.parentElement)
|
|
73
|
-
return;
|
|
74
|
-
const begin = Fragment.getElement(data);
|
|
75
|
-
let newElemets = condition();
|
|
76
|
-
if (newElemets && !Array.isArray(newElemets))
|
|
77
|
-
newElemets = [newElemets];
|
|
78
|
-
if (newElemets)
|
|
79
|
-
newElemets = newElemets.map((e, index) => {
|
|
80
|
-
return { element: e, value: undefined, index };
|
|
81
|
-
});
|
|
82
|
-
if (newElemets)
|
|
83
|
-
for (const element of newElemets) {
|
|
84
|
-
data.parentElement.insertBefore(element.element, begin);
|
|
85
|
-
}
|
|
86
|
-
for (const element of data.elements)
|
|
87
|
-
element.element.remove();
|
|
88
|
-
if (newElemets)
|
|
89
|
-
data.elements = newElemets;
|
|
90
|
-
};
|
|
91
|
-
for (const reference of references) {
|
|
92
|
-
// @ts-ignore
|
|
93
|
-
if (reference instanceof ref)
|
|
94
|
-
reference.subscribe(updadeItems);
|
|
95
|
-
}
|
|
96
|
-
updadeItems("a", "b");
|
|
97
|
-
};
|
|
98
|
-
return new Fragment(onConnected);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
globalThis.forEach = Fragment.forEach;
|
|
102
|
-
globalThis.Fragment = Fragment;
|
|
103
|
-
//# sourceMappingURL=Fragment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Fragment.js","sourceRoot":"","sources":["../../../src/core/element/Fragment.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component } from "../../";
|
|
2
|
-
export class H1Element extends HTMLHeadingElement {
|
|
3
|
-
static TAG = "tc-h1-element";
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super();
|
|
6
|
-
Component.applyProps(this, props);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
TypeComposer.defineElement(H1Element.TAG, H1Element, { extends: "h1" });
|
|
10
|
-
//# sourceMappingURL=H1Element.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"H1Element.js","sourceRoot":"","sources":["../../../src/core/element/H1Element.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 H2Element extends HTMLHeadingElement {
|
|
3
|
-
static TAG = "tc-h2-element";
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super();
|
|
6
|
-
Component.applyProps(this, props);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
TypeComposer.defineElement(H2Element.TAG, H2Element, { extends: "h2" });
|
|
10
|
-
//# sourceMappingURL=H2Element.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"H2Element.js","sourceRoot":"","sources":["../../../src/core/element/H2Element.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"}
|