@startinblox/core 0.17.21-beta.1 → 0.17.21-beta.5
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/dist/_snowpack/env.js +3 -0
- package/dist/_snowpack/pkg/autolinker.js +4281 -0
- package/dist/_snowpack/pkg/autolinker.js.map +1 -0
- package/dist/_snowpack/pkg/autolinker.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/common/_baseUnary-217dffb2.js +377 -0
- package/dist/_snowpack/pkg/common/_baseUnary-217dffb2.js.map +1 -0
- package/dist/_snowpack/pkg/common/_baseUnary-217dffb2.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/common/_commonjsHelpers-8c19dec8.js +22 -0
- package/dist/_snowpack/pkg/common/_commonjsHelpers-8c19dec8.js.map +1 -0
- package/dist/_snowpack/pkg/common/_commonjsHelpers-8c19dec8.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/common/decode-a4c334cf.js +216 -0
- package/dist/_snowpack/pkg/common/decode-a4c334cf.js.map +1 -0
- package/dist/_snowpack/pkg/common/decode-a4c334cf.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/common/lit-html-babd44cd.js +1119 -0
- package/dist/_snowpack/pkg/common/lit-html-babd44cd.js.map +1 -0
- package/dist/_snowpack/pkg/common/lit-html-babd44cd.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/delta-markdown-for-quill.js +25677 -0
- package/dist/_snowpack/pkg/delta-markdown-for-quill.js.map +1 -0
- package/dist/_snowpack/pkg/delta-markdown-for-quill.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/dialog-polyfill.js +859 -0
- package/dist/_snowpack/pkg/dialog-polyfill.js.map +1 -0
- package/dist/_snowpack/pkg/dialog-polyfill.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/fusejs.js +1783 -0
- package/dist/_snowpack/pkg/fusejs.js.map +1 -0
- package/dist/_snowpack/pkg/fusejs.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/import-map.json +23 -0
- package/dist/_snowpack/pkg/jsonld-context-parser.js +804 -0
- package/dist/_snowpack/pkg/jsonld-context-parser.js.map +1 -0
- package/dist/_snowpack/pkg/jsonld-context-parser.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/leaflet/dist/leaflet.css +640 -0
- package/dist/_snowpack/pkg/leaflet/dist/leaflet.css.proxy.js +10 -0
- package/dist/_snowpack/pkg/leaflet.markercluster/dist/MarkerCluster.Default.css +60 -0
- package/dist/_snowpack/pkg/leaflet.markercluster/dist/MarkerCluster.Default.css.proxy.js +10 -0
- package/dist/_snowpack/pkg/leaflet.markercluster/dist/MarkerCluster.css +14 -0
- package/dist/_snowpack/pkg/leaflet.markercluster/dist/MarkerCluster.css.proxy.js +10 -0
- package/dist/_snowpack/pkg/lit-html/directives/if-defined.js +40 -0
- package/dist/_snowpack/pkg/lit-html/directives/if-defined.js.map +1 -0
- package/dist/_snowpack/pkg/lit-html/directives/if-defined.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/lit-html/directives/unsafe-html.js +46 -0
- package/dist/_snowpack/pkg/lit-html/directives/unsafe-html.js.map +1 -0
- package/dist/_snowpack/pkg/lit-html/directives/unsafe-html.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/lit-html/directives/until.js +88 -0
- package/dist/_snowpack/pkg/lit-html/directives/until.js.map +1 -0
- package/dist/_snowpack/pkg/lit-html/directives/until.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/lit-html.js +92 -0
- package/dist/_snowpack/pkg/lit-html.js.map +1 -0
- package/dist/_snowpack/pkg/lit-html.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/markdown-it.js +11860 -0
- package/dist/_snowpack/pkg/markdown-it.js.map +1 -0
- package/dist/_snowpack/pkg/markdown-it.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/quill/dist/quill.snow.css +945 -0
- package/dist/_snowpack/pkg/quill/dist/quill.snow.css.proxy.js +10 -0
- package/dist/_snowpack/pkg/quill-delta-to-markdown.js +1029 -0
- package/dist/_snowpack/pkg/quill-delta-to-markdown.js.map +1 -0
- package/dist/_snowpack/pkg/quill-delta-to-markdown.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/quill.js +13382 -0
- package/dist/_snowpack/pkg/quill.js.map +1 -0
- package/dist/_snowpack/pkg/quill.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/slim-select.js +4 -0
- package/dist/_snowpack/pkg/slim-select.js.map +1 -0
- package/dist/_snowpack/pkg/slim-select.js.map.proxy.js +1 -0
- package/dist/_snowpack/pkg/tui-calendar/dist/tui-calendar.css +1164 -0
- package/dist/_snowpack/pkg/tui-calendar/dist/tui-calendar.css.proxy.js +10 -0
- package/dist/_snowpack/pkg/tui-calendar.js +42285 -0
- package/dist/_snowpack/pkg/tui-calendar.js.map +1 -0
- package/dist/_snowpack/pkg/tui-calendar.js.map.proxy.js +1 -0
- package/dist/components/solid-ac-checker.js +51 -0
- package/dist/components/solid-ac-checker.js.map +1 -0
- package/dist/components/solid-calendar.js +87 -0
- package/dist/components/solid-calendar.js.map +1 -0
- package/dist/components/solid-delete.js +111 -0
- package/dist/components/solid-delete.js.map +1 -0
- package/dist/components/solid-display.js +194 -0
- package/dist/components/solid-display.js.map +1 -0
- package/dist/components/solid-form-search.js +226 -0
- package/dist/components/solid-form-search.js.map +1 -0
- package/dist/components/solid-form.js +354 -0
- package/dist/components/solid-form.js.map +1 -0
- package/dist/components/solid-lang.js +46 -0
- package/dist/components/solid-lang.js.map +1 -0
- package/dist/components/solid-map.js +242 -0
- package/dist/components/solid-map.js.map +1 -0
- package/dist/components/solid-table.js +263 -0
- package/dist/components/solid-table.js.map +1 -0
- package/dist/components/solid-widget.js +94 -0
- package/dist/components/solid-widget.js.map +1 -0
- package/dist/import.css +4 -0
- package/dist/index.js +43 -0
- package/dist/index.js.map +1 -0
- package/dist/libs/Component.js +19 -0
- package/dist/libs/Component.js.map +1 -0
- package/dist/libs/ComponentFactory.js +196 -0
- package/dist/libs/ComponentFactory.js.map +1 -0
- package/dist/libs/Compositor.js +103 -0
- package/dist/libs/Compositor.js.map +1 -0
- package/dist/libs/Sib.js +58 -0
- package/dist/libs/Sib.js.map +1 -0
- package/dist/libs/helpers.js +219 -0
- package/dist/libs/helpers.js.map +1 -0
- package/dist/libs/interfaces.js +6 -0
- package/dist/libs/interfaces.js.map +1 -0
- package/dist/libs/lit-helpers.js +169 -0
- package/dist/libs/lit-helpers.js.map +1 -0
- package/dist/libs/polyfills.js +40 -0
- package/dist/libs/polyfills.js.map +1 -0
- package/dist/libs/store/store.js +860 -0
- package/dist/libs/store/store.js.map +1 -0
- package/dist/locales/en.json +10 -0
- package/dist/locales/en.json.proxy.js +2 -0
- package/dist/locales/fr.json +10 -0
- package/dist/locales/fr.json.proxy.js +2 -0
- package/dist/mixins/attributeBinderMixin.js +124 -0
- package/dist/mixins/attributeBinderMixin.js.map +1 -0
- package/dist/mixins/contextMixin.js +28 -0
- package/dist/mixins/contextMixin.js.map +1 -0
- package/dist/mixins/counterMixin.js +75 -0
- package/dist/mixins/counterMixin.js.map +1 -0
- package/dist/mixins/federationMixin.js +63 -0
- package/dist/mixins/federationMixin.js.map +1 -0
- package/dist/mixins/filterMixin.js +195 -0
- package/dist/mixins/filterMixin.js.map +1 -0
- package/dist/mixins/grouperMixin.js +80 -0
- package/dist/mixins/grouperMixin.js.map +1 -0
- package/dist/mixins/highlighterMixin.js +42 -0
- package/dist/mixins/highlighterMixin.js.map +1 -0
- package/dist/mixins/interfaces.js +8 -0
- package/dist/mixins/interfaces.js.map +1 -0
- package/dist/mixins/listMixin.js +136 -0
- package/dist/mixins/listMixin.js.map +1 -0
- package/dist/mixins/nextMixin.js +26 -0
- package/dist/mixins/nextMixin.js.map +1 -0
- package/dist/mixins/paginateMixin.js +110 -0
- package/dist/mixins/paginateMixin.js.map +1 -0
- package/dist/mixins/requiredMixin.js +34 -0
- package/dist/mixins/requiredMixin.js.map +1 -0
- package/dist/mixins/sorterMixin.js +149 -0
- package/dist/mixins/sorterMixin.js.map +1 -0
- package/dist/mixins/storeMixin.js +102 -0
- package/dist/mixins/storeMixin.js.map +1 -0
- package/dist/mixins/translationMixin.js +68 -0
- package/dist/mixins/translationMixin.js.map +1 -0
- package/dist/mixins/validationMixin.js +113 -0
- package/dist/mixins/validationMixin.js.map +1 -0
- package/dist/mixins/widgetMixin.js +447 -0
- package/dist/mixins/widgetMixin.js.map +1 -0
- package/dist/new-widgets/attributeMixins/actionMixin.js +14 -0
- package/dist/new-widgets/attributeMixins/actionMixin.js.map +1 -0
- package/dist/new-widgets/attributeMixins/blankMixin.js +10 -0
- package/dist/new-widgets/attributeMixins/blankMixin.js.map +1 -0
- package/dist/new-widgets/attributeMixins/booleanMixin.js +10 -0
- package/dist/new-widgets/attributeMixins/booleanMixin.js.map +1 -0
- package/dist/new-widgets/attributeMixins/index.js +20 -0
- package/dist/new-widgets/attributeMixins/index.js.map +1 -0
- package/dist/new-widgets/attributeMixins/mailtoMixin.js +10 -0
- package/dist/new-widgets/attributeMixins/mailtoMixin.js.map +1 -0
- package/dist/new-widgets/attributeMixins/multipleMixin.js +28 -0
- package/dist/new-widgets/attributeMixins/multipleMixin.js.map +1 -0
- package/dist/new-widgets/attributeMixins/numberMixin.js +10 -0
- package/dist/new-widgets/attributeMixins/numberMixin.js.map +1 -0
- package/dist/new-widgets/attributeMixins/placeholderMixin.js +19 -0
- package/dist/new-widgets/attributeMixins/placeholderMixin.js.map +1 -0
- package/dist/new-widgets/attributeMixins/telMixin.js +10 -0
- package/dist/new-widgets/attributeMixins/telMixin.js.map +1 -0
- package/dist/new-widgets/baseWidgetMixin.js +122 -0
- package/dist/new-widgets/baseWidgetMixin.js.map +1 -0
- package/dist/new-widgets/callbackMixins/autocompletionMixin.js +104 -0
- package/dist/new-widgets/callbackMixins/autocompletionMixin.js.map +1 -0
- package/dist/new-widgets/callbackMixins/index.js +8 -0
- package/dist/new-widgets/callbackMixins/index.js.map +1 -0
- package/dist/new-widgets/callbackMixins/richtextMixin.js +42 -0
- package/dist/new-widgets/callbackMixins/richtextMixin.js.map +1 -0
- package/dist/new-widgets/callbackMixins/slimselect.css +2 -0
- package/dist/new-widgets/callbackMixins/slimselect.css.proxy.js +10 -0
- package/dist/new-widgets/new-widget-factory.js +96 -0
- package/dist/new-widgets/new-widget-factory.js.map +1 -0
- package/dist/new-widgets/templateAdditionMixins/addableMixin.js +41 -0
- package/dist/new-widgets/templateAdditionMixins/addableMixin.js.map +1 -0
- package/dist/new-widgets/templateAdditionMixins/index.js +14 -0
- package/dist/new-widgets/templateAdditionMixins/index.js.map +1 -0
- package/dist/new-widgets/templateAdditionMixins/labelLastMixin.js +29 -0
- package/dist/new-widgets/templateAdditionMixins/labelLastMixin.js.map +1 -0
- package/dist/new-widgets/templateAdditionMixins/labelMixin.js +31 -0
- package/dist/new-widgets/templateAdditionMixins/labelMixin.js.map +1 -0
- package/dist/new-widgets/templates/defaultTemplatesDirectory.js +36 -0
- package/dist/new-widgets/templates/defaultTemplatesDirectory.js.map +1 -0
- package/dist/new-widgets/templates/displayTemplatesDirectory.js +90 -0
- package/dist/new-widgets/templates/displayTemplatesDirectory.js.map +1 -0
- package/dist/new-widgets/templates/formTemplatesDirectory.js +397 -0
- package/dist/new-widgets/templates/formTemplatesDirectory.js.map +1 -0
- package/dist/new-widgets/templates/groupTemplatesDirectory.js +21 -0
- package/dist/new-widgets/templates/groupTemplatesDirectory.js.map +1 -0
- package/dist/new-widgets/templates/index.js +7 -0
- package/dist/new-widgets/templates/index.js.map +1 -0
- package/dist/new-widgets/templates/setTemplatesDirectory.js +49 -0
- package/dist/new-widgets/templates/setTemplatesDirectory.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/altMixin.js +13 -0
- package/dist/new-widgets/templatesDependencies/altMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/editableMixin.js +77 -0
- package/dist/new-widgets/templatesDependencies/editableMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/filterRangeFormMixin.js +38 -0
- package/dist/new-widgets/templatesDependencies/filterRangeFormMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/formCheckboxMixin.js +14 -0
- package/dist/new-widgets/templatesDependencies/formCheckboxMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/formCheckboxesMixin.js +51 -0
- package/dist/new-widgets/templatesDependencies/formCheckboxesMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/formDropdownMixin.js +66 -0
- package/dist/new-widgets/templatesDependencies/formDropdownMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/formFileMixin.js +81 -0
- package/dist/new-widgets/templatesDependencies/formFileMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/formLengthMixin.js +19 -0
- package/dist/new-widgets/templatesDependencies/formLengthMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/formMinMaxMixin.js +19 -0
- package/dist/new-widgets/templatesDependencies/formMinMaxMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/formMixin.js +66 -0
- package/dist/new-widgets/templatesDependencies/formMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/formNumberMixin.js +14 -0
- package/dist/new-widgets/templatesDependencies/formNumberMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/formRadioMixin.js +16 -0
- package/dist/new-widgets/templatesDependencies/formRadioMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/formStepMixin.js +13 -0
- package/dist/new-widgets/templatesDependencies/formStepMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/linkTextMixin.js +14 -0
- package/dist/new-widgets/templatesDependencies/linkTextMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/multipleFormMixin.js +125 -0
- package/dist/new-widgets/templatesDependencies/multipleFormMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/multipleselectFormMixin.js +74 -0
- package/dist/new-widgets/templatesDependencies/multipleselectFormMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/patternMixin.js +19 -0
- package/dist/new-widgets/templatesDependencies/patternMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/rangeMixin.js +110 -0
- package/dist/new-widgets/templatesDependencies/rangeMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/setMixin.js +12 -0
- package/dist/new-widgets/templatesDependencies/setMixin.js.map +1 -0
- package/dist/new-widgets/templatesDependencies/valueRichtextMixin.js +12 -0
- package/dist/new-widgets/templatesDependencies/valueRichtextMixin.js.map +1 -0
- package/dist/new-widgets/valueTransformationMixins/autolinkMixin.js +18 -0
- package/dist/new-widgets/valueTransformationMixins/autolinkMixin.js.map +1 -0
- package/dist/new-widgets/valueTransformationMixins/dateMixin.js +35 -0
- package/dist/new-widgets/valueTransformationMixins/dateMixin.js.map +1 -0
- package/dist/new-widgets/valueTransformationMixins/dateTimeMixin.js +16 -0
- package/dist/new-widgets/valueTransformationMixins/dateTimeMixin.js.map +1 -0
- package/dist/new-widgets/valueTransformationMixins/index.js +16 -0
- package/dist/new-widgets/valueTransformationMixins/index.js.map +1 -0
- package/dist/new-widgets/valueTransformationMixins/markdownMixin.js +25 -0
- package/dist/new-widgets/valueTransformationMixins/markdownMixin.js.map +1 -0
- package/dist/new-widgets/valueTransformationMixins/multilineMixin.js +17 -0
- package/dist/new-widgets/valueTransformationMixins/multilineMixin.js.map +1 -0
- package/dist/new-widgets/valueTransformationMixins/oembedMixin.js +27 -0
- package/dist/new-widgets/valueTransformationMixins/oembedMixin.js.map +1 -0
- package/dist/solid-template-element.js +164 -0
- package/dist/solid-template-element.js.map +1 -0
- package/dist/style/default-theme.css +24 -0
- package/dist/style/default-theme.css.proxy.js +10 -0
- package/dist/widgets/baseWidget.js +332 -0
- package/dist/widgets/baseWidget.js.map +1 -0
- package/dist/widgets/widget-factory.js +24 -0
- package/dist/widgets/widget-factory.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
.marker-cluster-small {
|
|
2
|
+
background-color: rgba(181, 226, 140, 0.6);
|
|
3
|
+
}
|
|
4
|
+
.marker-cluster-small div {
|
|
5
|
+
background-color: rgba(110, 204, 57, 0.6);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.marker-cluster-medium {
|
|
9
|
+
background-color: rgba(241, 211, 87, 0.6);
|
|
10
|
+
}
|
|
11
|
+
.marker-cluster-medium div {
|
|
12
|
+
background-color: rgba(240, 194, 12, 0.6);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.marker-cluster-large {
|
|
16
|
+
background-color: rgba(253, 156, 115, 0.6);
|
|
17
|
+
}
|
|
18
|
+
.marker-cluster-large div {
|
|
19
|
+
background-color: rgba(241, 128, 23, 0.6);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* IE 6-8 fallback colors */
|
|
23
|
+
.leaflet-oldie .marker-cluster-small {
|
|
24
|
+
background-color: rgb(181, 226, 140);
|
|
25
|
+
}
|
|
26
|
+
.leaflet-oldie .marker-cluster-small div {
|
|
27
|
+
background-color: rgb(110, 204, 57);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.leaflet-oldie .marker-cluster-medium {
|
|
31
|
+
background-color: rgb(241, 211, 87);
|
|
32
|
+
}
|
|
33
|
+
.leaflet-oldie .marker-cluster-medium div {
|
|
34
|
+
background-color: rgb(240, 194, 12);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.leaflet-oldie .marker-cluster-large {
|
|
38
|
+
background-color: rgb(253, 156, 115);
|
|
39
|
+
}
|
|
40
|
+
.leaflet-oldie .marker-cluster-large div {
|
|
41
|
+
background-color: rgb(241, 128, 23);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.marker-cluster {
|
|
45
|
+
background-clip: padding-box;
|
|
46
|
+
border-radius: 20px;
|
|
47
|
+
}
|
|
48
|
+
.marker-cluster div {
|
|
49
|
+
width: 30px;
|
|
50
|
+
height: 30px;
|
|
51
|
+
margin-left: 5px;
|
|
52
|
+
margin-top: 5px;
|
|
53
|
+
|
|
54
|
+
text-align: center;
|
|
55
|
+
border-radius: 15px;
|
|
56
|
+
font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
|
|
57
|
+
}
|
|
58
|
+
.marker-cluster span {
|
|
59
|
+
line-height: 30px;
|
|
60
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// [snowpack] add styles to the page (skip if no document exists)
|
|
2
|
+
if (typeof document !== 'undefined') {
|
|
3
|
+
const code = ".marker-cluster-small {\r\n\tbackground-color: rgba(181, 226, 140, 0.6);\r\n\t}\r\n.marker-cluster-small div {\r\n\tbackground-color: rgba(110, 204, 57, 0.6);\r\n\t}\r\n\r\n.marker-cluster-medium {\r\n\tbackground-color: rgba(241, 211, 87, 0.6);\r\n\t}\r\n.marker-cluster-medium div {\r\n\tbackground-color: rgba(240, 194, 12, 0.6);\r\n\t}\r\n\r\n.marker-cluster-large {\r\n\tbackground-color: rgba(253, 156, 115, 0.6);\r\n\t}\r\n.marker-cluster-large div {\r\n\tbackground-color: rgba(241, 128, 23, 0.6);\r\n\t}\r\n\r\n\t/* IE 6-8 fallback colors */\r\n.leaflet-oldie .marker-cluster-small {\r\n\tbackground-color: rgb(181, 226, 140);\r\n\t}\r\n.leaflet-oldie .marker-cluster-small div {\r\n\tbackground-color: rgb(110, 204, 57);\r\n\t}\r\n\r\n.leaflet-oldie .marker-cluster-medium {\r\n\tbackground-color: rgb(241, 211, 87);\r\n\t}\r\n.leaflet-oldie .marker-cluster-medium div {\r\n\tbackground-color: rgb(240, 194, 12);\r\n\t}\r\n\r\n.leaflet-oldie .marker-cluster-large {\r\n\tbackground-color: rgb(253, 156, 115);\r\n\t}\r\n.leaflet-oldie .marker-cluster-large div {\r\n\tbackground-color: rgb(241, 128, 23);\r\n}\r\n\r\n.marker-cluster {\r\n\tbackground-clip: padding-box;\r\n\tborder-radius: 20px;\r\n\t}\r\n.marker-cluster div {\r\n\twidth: 30px;\r\n\theight: 30px;\r\n\tmargin-left: 5px;\r\n\tmargin-top: 5px;\r\n\r\n\ttext-align: center;\r\n\tborder-radius: 15px;\r\n\tfont: 12px \"Helvetica Neue\", Arial, Helvetica, sans-serif;\r\n\t}\r\n.marker-cluster span {\r\n\tline-height: 30px;\r\n\t}";
|
|
4
|
+
|
|
5
|
+
const styleEl = document.createElement("style");
|
|
6
|
+
const codeEl = document.createTextNode(code);
|
|
7
|
+
styleEl.type = 'text/css';
|
|
8
|
+
styleEl.appendChild(codeEl);
|
|
9
|
+
document.head.appendChild(styleEl);
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
|
|
2
|
+
-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
|
|
3
|
+
-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
|
|
4
|
+
-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
|
|
5
|
+
transition: transform 0.3s ease-out, opacity 0.3s ease-in;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.leaflet-cluster-spider-leg {
|
|
9
|
+
/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
|
|
10
|
+
-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
|
|
11
|
+
-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
|
|
12
|
+
-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
|
|
13
|
+
transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// [snowpack] add styles to the page (skip if no document exists)
|
|
2
|
+
if (typeof document !== 'undefined') {
|
|
3
|
+
const code = ".leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {\r\n\t-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;\r\n\t-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;\r\n\t-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;\r\n\ttransition: transform 0.3s ease-out, opacity 0.3s ease-in;\r\n}\r\n\r\n.leaflet-cluster-spider-leg {\r\n\t/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */\r\n\t-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;\r\n\t-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;\r\n\t-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;\r\n\ttransition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;\r\n}\r\n";
|
|
4
|
+
|
|
5
|
+
const styleEl = document.createElement("style");
|
|
6
|
+
const codeEl = document.createTextNode(code);
|
|
7
|
+
styleEl.type = 'text/css';
|
|
8
|
+
styleEl.appendChild(codeEl);
|
|
9
|
+
document.head.appendChild(styleEl);
|
|
10
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { d as directive, A as AttributePart } from '../../common/lit-html-babd44cd.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @license
|
|
5
|
+
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
|
6
|
+
* This code may only be used under the BSD style license found at
|
|
7
|
+
* http://polymer.github.io/LICENSE.txt
|
|
8
|
+
* The complete set of authors may be found at
|
|
9
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
10
|
+
* The complete set of contributors may be found at
|
|
11
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
12
|
+
* Code distributed by Google as part of the polymer project is also
|
|
13
|
+
* subject to an additional IP rights grant found at
|
|
14
|
+
* http://polymer.github.io/PATENTS.txt
|
|
15
|
+
*/
|
|
16
|
+
const previousValues = new WeakMap();
|
|
17
|
+
/**
|
|
18
|
+
* For AttributeParts, sets the attribute if the value is defined and removes
|
|
19
|
+
* the attribute if the value is undefined.
|
|
20
|
+
*
|
|
21
|
+
* For other part types, this directive is a no-op.
|
|
22
|
+
*/
|
|
23
|
+
const ifDefined = directive((value) => (part) => {
|
|
24
|
+
const previousValue = previousValues.get(part);
|
|
25
|
+
if (value === undefined && part instanceof AttributePart) {
|
|
26
|
+
// If the value is undefined, remove the attribute, but only if the value
|
|
27
|
+
// was previously defined.
|
|
28
|
+
if (previousValue !== undefined || !previousValues.has(part)) {
|
|
29
|
+
const name = part.committer.name;
|
|
30
|
+
part.committer.element.removeAttribute(name);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
else if (value !== previousValue) {
|
|
34
|
+
part.setValue(value);
|
|
35
|
+
}
|
|
36
|
+
previousValues.set(part, value);
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export { ifDefined };
|
|
40
|
+
//# sourceMappingURL=if-defined.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"if-defined.js","sources":["../../../../../node_modules/lit-html/directives/if-defined.js"],"sourcesContent":["/**\n * @license\n * Copyright (c) 2018 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at\n * http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at\n * http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at\n * http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at\n * http://polymer.github.io/PATENTS.txt\n */\nimport { AttributePart, directive } from '../lit-html.js';\nconst previousValues = new WeakMap();\n/**\n * For AttributeParts, sets the attribute if the value is defined and removes\n * the attribute if the value is undefined.\n *\n * For other part types, this directive is a no-op.\n */\nexport const ifDefined = directive((value) => (part) => {\n const previousValue = previousValues.get(part);\n if (value === undefined && part instanceof AttributePart) {\n // If the value is undefined, remove the attribute, but only if the value\n // was previously defined.\n if (previousValue !== undefined || !previousValues.has(part)) {\n const name = part.committer.name;\n part.committer.element.removeAttribute(name);\n }\n }\n else if (value !== previousValue) {\n part.setValue(value);\n }\n previousValues.set(part, value);\n});\n//# sourceMappingURL=if-defined.js.map"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,MAAM,cAAc,GAAG,IAAI,OAAO,EAAE,CAAC;AACrC;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,SAAS,GAAG,SAAS,CAAC,CAAC,KAAK,KAAK,CAAC,IAAI,KAAK;AACxD,IAAI,MAAM,aAAa,GAAG,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACnD,IAAI,IAAI,KAAK,KAAK,SAAS,IAAI,IAAI,YAAY,aAAa,EAAE;AAC9D;AACA;AACA,QAAQ,IAAI,aAAa,KAAK,SAAS,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;AACtE,YAAY,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;AAC7C,YAAY,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;AACzD,SAAS;AACT,KAAK;AACL,SAAS,IAAI,KAAK,KAAK,aAAa,EAAE;AACtC,QAAQ,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC7B,KAAK;AACL,IAAI,cAAc,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpC,CAAC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "/_snowpack/pkg/lit-html/directives/if-defined.js.map";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { d as directive, N as NodePart, i as isPrimitive } from '../../common/lit-html-babd44cd.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @license
|
|
5
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
6
|
+
* This code may only be used under the BSD style license found at
|
|
7
|
+
* http://polymer.github.io/LICENSE.txt
|
|
8
|
+
* The complete set of authors may be found at
|
|
9
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
10
|
+
* The complete set of contributors may be found at
|
|
11
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
12
|
+
* Code distributed by Google as part of the polymer project is also
|
|
13
|
+
* subject to an additional IP rights grant found at
|
|
14
|
+
* http://polymer.github.io/PATENTS.txt
|
|
15
|
+
*/
|
|
16
|
+
// For each part, remember the value that was last rendered to the part by the
|
|
17
|
+
// unsafeHTML directive, and the DocumentFragment that was last set as a value.
|
|
18
|
+
// The DocumentFragment is used as a unique key to check if the last value
|
|
19
|
+
// rendered to the part was with unsafeHTML. If not, we'll always re-render the
|
|
20
|
+
// value passed to unsafeHTML.
|
|
21
|
+
const previousValues = new WeakMap();
|
|
22
|
+
/**
|
|
23
|
+
* Renders the result as HTML, rather than text.
|
|
24
|
+
*
|
|
25
|
+
* Note, this is unsafe to use with any user-provided input that hasn't been
|
|
26
|
+
* sanitized or escaped, as it may lead to cross-site-scripting
|
|
27
|
+
* vulnerabilities.
|
|
28
|
+
*/
|
|
29
|
+
const unsafeHTML = directive((value) => (part) => {
|
|
30
|
+
if (!(part instanceof NodePart)) {
|
|
31
|
+
throw new Error('unsafeHTML can only be used in text bindings');
|
|
32
|
+
}
|
|
33
|
+
const previousValue = previousValues.get(part);
|
|
34
|
+
if (previousValue !== undefined && isPrimitive(value) &&
|
|
35
|
+
value === previousValue.value && part.value === previousValue.fragment) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
const template = document.createElement('template');
|
|
39
|
+
template.innerHTML = value; // innerHTML casts to string internally
|
|
40
|
+
const fragment = document.importNode(template.content, true);
|
|
41
|
+
part.setValue(fragment);
|
|
42
|
+
previousValues.set(part, { value, fragment });
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
export { unsafeHTML };
|
|
46
|
+
//# sourceMappingURL=unsafe-html.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unsafe-html.js","sources":["../../../../../node_modules/lit-html/directives/unsafe-html.js"],"sourcesContent":["/**\n * @license\n * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at\n * http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at\n * http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at\n * http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at\n * http://polymer.github.io/PATENTS.txt\n */\nimport { isPrimitive } from '../lib/parts.js';\nimport { directive, NodePart } from '../lit-html.js';\n// For each part, remember the value that was last rendered to the part by the\n// unsafeHTML directive, and the DocumentFragment that was last set as a value.\n// The DocumentFragment is used as a unique key to check if the last value\n// rendered to the part was with unsafeHTML. If not, we'll always re-render the\n// value passed to unsafeHTML.\nconst previousValues = new WeakMap();\n/**\n * Renders the result as HTML, rather than text.\n *\n * Note, this is unsafe to use with any user-provided input that hasn't been\n * sanitized or escaped, as it may lead to cross-site-scripting\n * vulnerabilities.\n */\nexport const unsafeHTML = directive((value) => (part) => {\n if (!(part instanceof NodePart)) {\n throw new Error('unsafeHTML can only be used in text bindings');\n }\n const previousValue = previousValues.get(part);\n if (previousValue !== undefined && isPrimitive(value) &&\n value === previousValue.value && part.value === previousValue.fragment) {\n return;\n }\n const template = document.createElement('template');\n template.innerHTML = value; // innerHTML casts to string internally\n const fragment = document.importNode(template.content, true);\n part.setValue(fragment);\n previousValues.set(part, { value, fragment });\n});\n//# sourceMappingURL=unsafe-html.js.map"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA,MAAM,cAAc,GAAG,IAAI,OAAO,EAAE,CAAC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,UAAU,GAAG,SAAS,CAAC,CAAC,KAAK,KAAK,CAAC,IAAI,KAAK;AACzD,IAAI,IAAI,EAAE,IAAI,YAAY,QAAQ,CAAC,EAAE;AACrC,QAAQ,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;AACxE,KAAK;AACL,IAAI,MAAM,aAAa,GAAG,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACnD,IAAI,IAAI,aAAa,KAAK,SAAS,IAAI,WAAW,CAAC,KAAK,CAAC;AACzD,QAAQ,KAAK,KAAK,aAAa,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC,QAAQ,EAAE;AAChF,QAAQ,OAAO;AACf,KAAK;AACL,IAAI,MAAM,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;AACxD,IAAI,QAAQ,CAAC,SAAS,GAAG,KAAK,CAAC;AAC/B,IAAI,MAAM,QAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AACjE,IAAI,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAC5B,IAAI,cAAc,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClD,CAAC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "/_snowpack/pkg/lit-html/directives/unsafe-html.js.map";
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { d as directive, i as isPrimitive } from '../../common/lit-html-babd44cd.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @license
|
|
5
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
6
|
+
* This code may only be used under the BSD style license found at
|
|
7
|
+
* http://polymer.github.io/LICENSE.txt
|
|
8
|
+
* The complete set of authors may be found at
|
|
9
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
10
|
+
* The complete set of contributors may be found at
|
|
11
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
12
|
+
* Code distributed by Google as part of the polymer project is also
|
|
13
|
+
* subject to an additional IP rights grant found at
|
|
14
|
+
* http://polymer.github.io/PATENTS.txt
|
|
15
|
+
*/
|
|
16
|
+
const _state = new WeakMap();
|
|
17
|
+
// Effectively infinity, but a SMI.
|
|
18
|
+
const _infinity = 0x7fffffff;
|
|
19
|
+
/**
|
|
20
|
+
* Renders one of a series of values, including Promises, to a Part.
|
|
21
|
+
*
|
|
22
|
+
* Values are rendered in priority order, with the first argument having the
|
|
23
|
+
* highest priority and the last argument having the lowest priority. If a
|
|
24
|
+
* value is a Promise, low-priority values will be rendered until it resolves.
|
|
25
|
+
*
|
|
26
|
+
* The priority of values can be used to create placeholder content for async
|
|
27
|
+
* data. For example, a Promise with pending content can be the first,
|
|
28
|
+
* highest-priority, argument, and a non_promise loading indicator template can
|
|
29
|
+
* be used as the second, lower-priority, argument. The loading indicator will
|
|
30
|
+
* render immediately, and the primary content will render when the Promise
|
|
31
|
+
* resolves.
|
|
32
|
+
*
|
|
33
|
+
* Example:
|
|
34
|
+
*
|
|
35
|
+
* const content = fetch('./content.txt').then(r => r.text());
|
|
36
|
+
* html`${until(content, html`<span>Loading...</span>`)}`
|
|
37
|
+
*/
|
|
38
|
+
const until = directive((...args) => (part) => {
|
|
39
|
+
let state = _state.get(part);
|
|
40
|
+
if (state === undefined) {
|
|
41
|
+
state = {
|
|
42
|
+
lastRenderedIndex: _infinity,
|
|
43
|
+
values: [],
|
|
44
|
+
};
|
|
45
|
+
_state.set(part, state);
|
|
46
|
+
}
|
|
47
|
+
const previousValues = state.values;
|
|
48
|
+
let previousLength = previousValues.length;
|
|
49
|
+
state.values = args;
|
|
50
|
+
for (let i = 0; i < args.length; i++) {
|
|
51
|
+
// If we've rendered a higher-priority value already, stop.
|
|
52
|
+
if (i > state.lastRenderedIndex) {
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
const value = args[i];
|
|
56
|
+
// Render non-Promise values immediately
|
|
57
|
+
if (isPrimitive(value) ||
|
|
58
|
+
typeof value.then !== 'function') {
|
|
59
|
+
part.setValue(value);
|
|
60
|
+
state.lastRenderedIndex = i;
|
|
61
|
+
// Since a lower-priority value will never overwrite a higher-priority
|
|
62
|
+
// synchronous value, we can stop processing now.
|
|
63
|
+
break;
|
|
64
|
+
}
|
|
65
|
+
// If this is a Promise we've already handled, skip it.
|
|
66
|
+
if (i < previousLength && value === previousValues[i]) {
|
|
67
|
+
continue;
|
|
68
|
+
}
|
|
69
|
+
// We have a Promise that we haven't seen before, so priorities may have
|
|
70
|
+
// changed. Forget what we rendered before.
|
|
71
|
+
state.lastRenderedIndex = _infinity;
|
|
72
|
+
previousLength = 0;
|
|
73
|
+
Promise.resolve(value).then((resolvedValue) => {
|
|
74
|
+
const index = state.values.indexOf(value);
|
|
75
|
+
// If state.values doesn't contain the value, we've re-rendered without
|
|
76
|
+
// the value, so don't render it. Then, only render if the value is
|
|
77
|
+
// higher-priority than what's already been rendered.
|
|
78
|
+
if (index > -1 && index < state.lastRenderedIndex) {
|
|
79
|
+
state.lastRenderedIndex = index;
|
|
80
|
+
part.setValue(resolvedValue);
|
|
81
|
+
part.commit();
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
export { until };
|
|
88
|
+
//# sourceMappingURL=until.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"until.js","sources":["../../../../../node_modules/lit-html/directives/until.js"],"sourcesContent":["/**\n * @license\n * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at\n * http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at\n * http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at\n * http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at\n * http://polymer.github.io/PATENTS.txt\n */\nimport { isPrimitive } from '../lib/parts.js';\nimport { directive } from '../lit-html.js';\nconst _state = new WeakMap();\n// Effectively infinity, but a SMI.\nconst _infinity = 0x7fffffff;\n/**\n * Renders one of a series of values, including Promises, to a Part.\n *\n * Values are rendered in priority order, with the first argument having the\n * highest priority and the last argument having the lowest priority. If a\n * value is a Promise, low-priority values will be rendered until it resolves.\n *\n * The priority of values can be used to create placeholder content for async\n * data. For example, a Promise with pending content can be the first,\n * highest-priority, argument, and a non_promise loading indicator template can\n * be used as the second, lower-priority, argument. The loading indicator will\n * render immediately, and the primary content will render when the Promise\n * resolves.\n *\n * Example:\n *\n * const content = fetch('./content.txt').then(r => r.text());\n * html`${until(content, html`<span>Loading...</span>`)}`\n */\nexport const until = directive((...args) => (part) => {\n let state = _state.get(part);\n if (state === undefined) {\n state = {\n lastRenderedIndex: _infinity,\n values: [],\n };\n _state.set(part, state);\n }\n const previousValues = state.values;\n let previousLength = previousValues.length;\n state.values = args;\n for (let i = 0; i < args.length; i++) {\n // If we've rendered a higher-priority value already, stop.\n if (i > state.lastRenderedIndex) {\n break;\n }\n const value = args[i];\n // Render non-Promise values immediately\n if (isPrimitive(value) ||\n typeof value.then !== 'function') {\n part.setValue(value);\n state.lastRenderedIndex = i;\n // Since a lower-priority value will never overwrite a higher-priority\n // synchronous value, we can stop processing now.\n break;\n }\n // If this is a Promise we've already handled, skip it.\n if (i < previousLength && value === previousValues[i]) {\n continue;\n }\n // We have a Promise that we haven't seen before, so priorities may have\n // changed. Forget what we rendered before.\n state.lastRenderedIndex = _infinity;\n previousLength = 0;\n Promise.resolve(value).then((resolvedValue) => {\n const index = state.values.indexOf(value);\n // If state.values doesn't contain the value, we've re-rendered without\n // the value, so don't render it. Then, only render if the value is\n // higher-priority than what's already been rendered.\n if (index > -1 && index < state.lastRenderedIndex) {\n state.lastRenderedIndex = index;\n part.setValue(resolvedValue);\n part.commit();\n }\n });\n }\n});\n//# sourceMappingURL=until.js.map"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,MAAM,MAAM,GAAG,IAAI,OAAO,EAAE,CAAC;AAC7B;AACA,MAAM,SAAS,GAAG,UAAU,CAAC;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,KAAK,GAAG,SAAS,CAAC,CAAC,GAAG,IAAI,KAAK,CAAC,IAAI,KAAK;AACtD,IAAI,IAAI,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACjC,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;AAC7B,QAAQ,KAAK,GAAG;AAChB,YAAY,iBAAiB,EAAE,SAAS;AACxC,YAAY,MAAM,EAAE,EAAE;AACtB,SAAS,CAAC;AACV,QAAQ,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChC,KAAK;AACL,IAAI,MAAM,cAAc,GAAG,KAAK,CAAC,MAAM,CAAC;AACxC,IAAI,IAAI,cAAc,GAAG,cAAc,CAAC,MAAM,CAAC;AAC/C,IAAI,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC;AACxB,IAAI,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC1C;AACA,QAAQ,IAAI,CAAC,GAAG,KAAK,CAAC,iBAAiB,EAAE;AACzC,YAAY,MAAM;AAClB,SAAS;AACT,QAAQ,MAAM,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;AAC9B;AACA,QAAQ,IAAI,WAAW,CAAC,KAAK,CAAC;AAC9B,YAAY,OAAO,KAAK,CAAC,IAAI,KAAK,UAAU,EAAE;AAC9C,YAAY,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACjC,YAAY,KAAK,CAAC,iBAAiB,GAAG,CAAC,CAAC;AACxC;AACA;AACA,YAAY,MAAM;AAClB,SAAS;AACT;AACA,QAAQ,IAAI,CAAC,GAAG,cAAc,IAAI,KAAK,KAAK,cAAc,CAAC,CAAC,CAAC,EAAE;AAC/D,YAAY,SAAS;AACrB,SAAS;AACT;AACA;AACA,QAAQ,KAAK,CAAC,iBAAiB,GAAG,SAAS,CAAC;AAC5C,QAAQ,cAAc,GAAG,CAAC,CAAC;AAC3B,QAAQ,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,KAAK;AACvD,YAAY,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AACtD;AACA;AACA;AACA,YAAY,IAAI,KAAK,GAAG,CAAC,CAAC,IAAI,KAAK,GAAG,KAAK,CAAC,iBAAiB,EAAE;AAC/D,gBAAgB,KAAK,CAAC,iBAAiB,GAAG,KAAK,CAAC;AAChD,gBAAgB,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AAC7C,gBAAgB,IAAI,CAAC,MAAM,EAAE,CAAC;AAC9B,aAAa;AACb,SAAS,CAAC,CAAC;AACX,KAAK;AACL,CAAC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "/_snowpack/pkg/lit-html/directives/until.js.map";
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { m as marker, T as Template, r as removeNodes, N as NodePart } from './common/lit-html-babd44cd.js';
|
|
2
|
+
export { d as directive, h as html, n as noChange } from './common/lit-html-babd44cd.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @license
|
|
6
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
7
|
+
* This code may only be used under the BSD style license found at
|
|
8
|
+
* http://polymer.github.io/LICENSE.txt
|
|
9
|
+
* The complete set of authors may be found at
|
|
10
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
11
|
+
* The complete set of contributors may be found at
|
|
12
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
13
|
+
* Code distributed by Google as part of the polymer project is also
|
|
14
|
+
* subject to an additional IP rights grant found at
|
|
15
|
+
* http://polymer.github.io/PATENTS.txt
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* The default TemplateFactory which caches Templates keyed on
|
|
19
|
+
* result.type and result.strings.
|
|
20
|
+
*/
|
|
21
|
+
function templateFactory(result) {
|
|
22
|
+
let templateCache = templateCaches.get(result.type);
|
|
23
|
+
if (templateCache === undefined) {
|
|
24
|
+
templateCache = {
|
|
25
|
+
stringsArray: new WeakMap(),
|
|
26
|
+
keyString: new Map()
|
|
27
|
+
};
|
|
28
|
+
templateCaches.set(result.type, templateCache);
|
|
29
|
+
}
|
|
30
|
+
let template = templateCache.stringsArray.get(result.strings);
|
|
31
|
+
if (template !== undefined) {
|
|
32
|
+
return template;
|
|
33
|
+
}
|
|
34
|
+
// If the TemplateStringsArray is new, generate a key from the strings
|
|
35
|
+
// This key is shared between all templates with identical content
|
|
36
|
+
const key = result.strings.join(marker);
|
|
37
|
+
// Check if we already have a Template for this key
|
|
38
|
+
template = templateCache.keyString.get(key);
|
|
39
|
+
if (template === undefined) {
|
|
40
|
+
// If we have not seen this key before, create a new Template
|
|
41
|
+
template = new Template(result, result.getTemplateElement());
|
|
42
|
+
// Cache the Template for this key
|
|
43
|
+
templateCache.keyString.set(key, template);
|
|
44
|
+
}
|
|
45
|
+
// Cache all future queries for this TemplateStringsArray
|
|
46
|
+
templateCache.stringsArray.set(result.strings, template);
|
|
47
|
+
return template;
|
|
48
|
+
}
|
|
49
|
+
const templateCaches = new Map();
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @license
|
|
53
|
+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
54
|
+
* This code may only be used under the BSD style license found at
|
|
55
|
+
* http://polymer.github.io/LICENSE.txt
|
|
56
|
+
* The complete set of authors may be found at
|
|
57
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
58
|
+
* The complete set of contributors may be found at
|
|
59
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
60
|
+
* Code distributed by Google as part of the polymer project is also
|
|
61
|
+
* subject to an additional IP rights grant found at
|
|
62
|
+
* http://polymer.github.io/PATENTS.txt
|
|
63
|
+
*/
|
|
64
|
+
const parts = new WeakMap();
|
|
65
|
+
/**
|
|
66
|
+
* Renders a template result or other value to a container.
|
|
67
|
+
*
|
|
68
|
+
* To update a container with new values, reevaluate the template literal and
|
|
69
|
+
* call `render` with the new result.
|
|
70
|
+
*
|
|
71
|
+
* @param result Any value renderable by NodePart - typically a TemplateResult
|
|
72
|
+
* created by evaluating a template tag like `html` or `svg`.
|
|
73
|
+
* @param container A DOM parent to render to. The entire contents are either
|
|
74
|
+
* replaced, or efficiently updated if the same result type was previous
|
|
75
|
+
* rendered there.
|
|
76
|
+
* @param options RenderOptions for the entire render tree rendered to this
|
|
77
|
+
* container. Render options must *not* change between renders to the same
|
|
78
|
+
* container, as those changes will not effect previously rendered DOM.
|
|
79
|
+
*/
|
|
80
|
+
const render = (result, container, options) => {
|
|
81
|
+
let part = parts.get(container);
|
|
82
|
+
if (part === undefined) {
|
|
83
|
+
removeNodes(container, container.firstChild);
|
|
84
|
+
parts.set(container, part = new NodePart(Object.assign({ templateFactory }, options)));
|
|
85
|
+
part.appendInto(container);
|
|
86
|
+
}
|
|
87
|
+
part.setValue(result);
|
|
88
|
+
part.commit();
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
export { render };
|
|
92
|
+
//# sourceMappingURL=lit-html.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lit-html.js","sources":["../../../node_modules/lit-html/lib/template-factory.js","../../../node_modules/lit-html/lib/render.js"],"sourcesContent":["/**\n * @license\n * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at\n * http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at\n * http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at\n * http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at\n * http://polymer.github.io/PATENTS.txt\n */\nimport { marker, Template } from './template.js';\n/**\n * The default TemplateFactory which caches Templates keyed on\n * result.type and result.strings.\n */\nexport function templateFactory(result) {\n let templateCache = templateCaches.get(result.type);\n if (templateCache === undefined) {\n templateCache = {\n stringsArray: new WeakMap(),\n keyString: new Map()\n };\n templateCaches.set(result.type, templateCache);\n }\n let template = templateCache.stringsArray.get(result.strings);\n if (template !== undefined) {\n return template;\n }\n // If the TemplateStringsArray is new, generate a key from the strings\n // This key is shared between all templates with identical content\n const key = result.strings.join(marker);\n // Check if we already have a Template for this key\n template = templateCache.keyString.get(key);\n if (template === undefined) {\n // If we have not seen this key before, create a new Template\n template = new Template(result, result.getTemplateElement());\n // Cache the Template for this key\n templateCache.keyString.set(key, template);\n }\n // Cache all future queries for this TemplateStringsArray\n templateCache.stringsArray.set(result.strings, template);\n return template;\n}\nexport const templateCaches = new Map();\n//# sourceMappingURL=template-factory.js.map","/**\n * @license\n * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at\n * http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at\n * http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at\n * http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at\n * http://polymer.github.io/PATENTS.txt\n */\nimport { removeNodes } from './dom.js';\nimport { NodePart } from './parts.js';\nimport { templateFactory } from './template-factory.js';\nexport const parts = new WeakMap();\n/**\n * Renders a template result or other value to a container.\n *\n * To update a container with new values, reevaluate the template literal and\n * call `render` with the new result.\n *\n * @param result Any value renderable by NodePart - typically a TemplateResult\n * created by evaluating a template tag like `html` or `svg`.\n * @param container A DOM parent to render to. The entire contents are either\n * replaced, or efficiently updated if the same result type was previous\n * rendered there.\n * @param options RenderOptions for the entire render tree rendered to this\n * container. Render options must *not* change between renders to the same\n * container, as those changes will not effect previously rendered DOM.\n */\nexport const render = (result, container, options) => {\n let part = parts.get(container);\n if (part === undefined) {\n removeNodes(container, container.firstChild);\n parts.set(container, part = new NodePart(Object.assign({ templateFactory }, options)));\n part.appendInto(container);\n }\n part.setValue(result);\n part.commit();\n};\n//# sourceMappingURL=render.js.map"],"names":[],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACO,SAAS,eAAe,CAAC,MAAM,EAAE;AACxC,IAAI,IAAI,aAAa,GAAG,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACxD,IAAI,IAAI,aAAa,KAAK,SAAS,EAAE;AACrC,QAAQ,aAAa,GAAG;AACxB,YAAY,YAAY,EAAE,IAAI,OAAO,EAAE;AACvC,YAAY,SAAS,EAAE,IAAI,GAAG,EAAE;AAChC,SAAS,CAAC;AACV,QAAQ,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;AACvD,KAAK;AACL,IAAI,IAAI,QAAQ,GAAG,aAAa,CAAC,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAClE,IAAI,IAAI,QAAQ,KAAK,SAAS,EAAE;AAChC,QAAQ,OAAO,QAAQ,CAAC;AACxB,KAAK;AACL;AACA;AACA,IAAI,MAAM,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC5C;AACA,IAAI,QAAQ,GAAG,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAChD,IAAI,IAAI,QAAQ,KAAK,SAAS,EAAE;AAChC;AACA,QAAQ,QAAQ,GAAG,IAAI,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,kBAAkB,EAAE,CAAC,CAAC;AACrE;AACA,QAAQ,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;AACnD,KAAK;AACL;AACA,IAAI,aAAa,CAAC,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC7D,IAAI,OAAO,QAAQ,CAAC;AACpB,CAAC;AACM,MAAM,cAAc,GAAG,IAAI,GAAG,EAAE;;AC9CvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIO,MAAM,KAAK,GAAG,IAAI,OAAO,EAAE,CAAC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,MAAM,GAAG,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,KAAK;AACtD,IAAI,IAAI,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACpC,IAAI,IAAI,IAAI,KAAK,SAAS,EAAE;AAC5B,QAAQ,WAAW,CAAC,SAAS,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;AACrD,QAAQ,KAAK,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,GAAG,IAAI,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,eAAe,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AAC/F,QAAQ,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;AACnC,KAAK;AACL,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AAC1B,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;AAClB;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "/_snowpack/pkg/lit-html.js.map";
|