@roadtrip/components 3.39.2 → 3.40.0
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/cjs/app-globals-b7c6ddf0.js.map +1 -1
- package/dist/cjs/{index-bf8a763e.js → index-0e4df560.js} +3 -1
- package/dist/cjs/index-0e4df560.js.map +1 -0
- package/dist/cjs/index-fee0103c.js +8 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/road-accordion.cjs.entry.js +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +3 -3
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-banner.cjs.entry.js +1 -1
- package/dist/cjs/road-carousel.cjs.entry.js +1 -1
- package/dist/cjs/road-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/road-chip.cjs.entry.js +1 -1
- package/dist/cjs/road-dialog.cjs.entry.js +1 -1
- package/dist/cjs/road-modal.cjs.entry.js +1 -1
- package/dist/cjs/road-plate-number.cjs.entry.js +1 -1
- package/dist/cjs/road-range.cjs.entry.js +1 -1
- package/dist/cjs/road-rating.cjs.entry.js +1 -1
- package/dist/cjs/road-select-filter.cjs.entry.js +1 -1
- package/dist/cjs/road-select.cjs.entry.js +2 -2
- package/dist/cjs/road-select.cjs.entry.js.map +1 -1
- package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/road-spinner.cjs.entry.js +1 -1
- package/dist/cjs/road-status-chip.cjs.entry.js +28 -0
- package/dist/cjs/road-status-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/road-switch.cjs.entry.js +2 -2
- package/dist/cjs/road-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/road-tab-button.cjs.entry.js +2 -2
- package/dist/cjs/road-tab.cjs.entry.js +2 -2
- package/dist/cjs/road-table.cjs.entry.js +1 -1
- package/dist/cjs/road-tabs.cjs.entry.js +1 -1
- package/dist/cjs/road-tag.cjs.entry.js +1 -1
- package/dist/cjs/road-text.cjs.entry.js +1 -1
- package/dist/cjs/road-textarea.cjs.entry.js +1 -1
- package/dist/cjs/road-time-range-picker.cjs.entry.js +100 -0
- package/dist/cjs/road-time-range-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/road-toast.cjs.entry.js +2 -2
- package/dist/cjs/road-toggle.cjs.entry.js +2 -2
- package/dist/cjs/road-toolbar-title-page.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/roadtrip.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/patterns/link.stories.js +5 -0
- package/dist/collection/components/select/select.css +9 -0
- package/dist/collection/components/select/select.js +20 -1
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/select.stories.js +10 -0
- package/dist/collection/components/select-filter/select-filter.js +1 -1
- package/dist/collection/components/skeleton/skeleton.js +1 -1
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/status-chip/status-chip.css +94 -0
- package/dist/collection/components/status-chip/status-chip.js +54 -0
- package/dist/collection/components/status-chip/status-chip.js.map +1 -0
- package/dist/collection/components/status-chip/status-chip.stories.js +48 -0
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text/text.js +1 -1
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/components/time-range-picker/time-range-picker.css +43 -0
- package/dist/collection/components/time-range-picker/time-range-picker.js +362 -0
- package/dist/collection/components/time-range-picker/time-range-picker.js.map +1 -0
- package/dist/collection/components/time-range-picker/time-range-picker.stories.js +76 -0
- package/dist/collection/components/toast/toast.js +1 -1
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/toolbar-title/toolbar-title.js +1 -1
- package/dist/collection/components/toolbar-title-page/toolbar-title-page.js +1 -1
- package/dist/collection/components/toolbar-v2/toolbar-v2.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/esm/app-globals-05a7fd2f.js.map +1 -1
- package/dist/esm/{index-f1358629.js → index-6de77b28.js} +3 -2
- package/dist/esm/index-6de77b28.js.map +1 -0
- package/dist/esm/index-8dc34f94.js +8 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-accordion.entry.js +1 -1
- package/dist/esm/road-badge_14.entry.js +3 -3
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-banner.entry.js +1 -1
- package/dist/esm/road-carousel.entry.js +1 -1
- package/dist/esm/road-checkbox.entry.js +1 -1
- package/dist/esm/road-chip.entry.js +1 -1
- package/dist/esm/road-dialog.entry.js +1 -1
- package/dist/esm/road-modal.entry.js +1 -1
- package/dist/esm/road-plate-number.entry.js +1 -1
- package/dist/esm/road-range.entry.js +1 -1
- package/dist/esm/road-rating.entry.js +1 -1
- package/dist/esm/road-select-filter.entry.js +1 -1
- package/dist/esm/road-select.entry.js +2 -2
- package/dist/esm/road-select.entry.js.map +1 -1
- package/dist/esm/road-skeleton.entry.js +1 -1
- package/dist/esm/road-spinner.entry.js +1 -1
- package/dist/esm/road-status-chip.entry.js +24 -0
- package/dist/esm/road-status-chip.entry.js.map +1 -0
- package/dist/esm/road-switch.entry.js +2 -2
- package/dist/esm/road-tab-bar.entry.js +2 -2
- package/dist/esm/road-tab-button.entry.js +2 -2
- package/dist/esm/road-tab.entry.js +2 -2
- package/dist/esm/road-table.entry.js +1 -1
- package/dist/esm/road-tabs.entry.js +1 -1
- package/dist/esm/road-tag.entry.js +1 -1
- package/dist/esm/road-text.entry.js +1 -1
- package/dist/esm/road-textarea.entry.js +1 -1
- package/dist/esm/road-time-range-picker.entry.js +96 -0
- package/dist/esm/road-time-range-picker.entry.js.map +1 -0
- package/dist/esm/road-toast.entry.js +2 -2
- package/dist/esm/road-toggle.entry.js +2 -2
- package/dist/esm/road-toolbar-title-page.entry.js +1 -1
- package/dist/esm/road-toolbar-title.entry.js +1 -1
- package/dist/esm/road-toolbar-v2.entry.js +1 -1
- package/dist/esm/road-tooltip.entry.js +3 -3
- package/dist/esm/roadtrip.js +1 -1
- package/dist/html.html-data.json +172 -79
- package/dist/roadtrip/{p-727b8192.entry.js → p-017a76a9.entry.js} +3 -3
- package/dist/roadtrip/{p-727b8192.entry.js.map → p-017a76a9.entry.js.map} +1 -1
- package/dist/roadtrip/p-06bfef98.js.map +1 -1
- package/dist/roadtrip/{p-4c3c1480.entry.js → p-111df7a1.entry.js} +2 -2
- package/dist/roadtrip/{p-cfe1ebe3.entry.js → p-1352bc34.entry.js} +2 -2
- package/dist/roadtrip/{p-ad5bbf7b.entry.js → p-21adfb3f.entry.js} +2 -2
- package/dist/roadtrip/{p-3b05eb04.entry.js → p-2757cbd1.entry.js} +2 -2
- package/dist/roadtrip/{p-8405c529.entry.js → p-29485fb3.entry.js} +2 -2
- package/dist/roadtrip/p-2ae9b559.entry.js +2 -0
- package/dist/roadtrip/{p-1cce4f29.entry.js.map → p-2ae9b559.entry.js.map} +1 -1
- package/dist/roadtrip/{p-c8639b33.entry.js → p-2ff1292b.entry.js} +2 -2
- package/dist/roadtrip/{p-bfca0abd.entry.js → p-324522a1.entry.js} +2 -2
- package/dist/roadtrip/p-4401f218.entry.js +2 -0
- package/dist/roadtrip/p-4401f218.entry.js.map +1 -0
- package/dist/roadtrip/{p-773d810b.entry.js → p-4f1d3834.entry.js} +2 -2
- package/dist/roadtrip/p-55a946f4.js +2 -0
- package/dist/roadtrip/p-55a946f4.js.map +1 -0
- package/dist/roadtrip/{p-3e076a57.entry.js → p-58c773c3.entry.js} +2 -2
- package/dist/roadtrip/{p-a065e029.entry.js → p-6020b36a.entry.js} +2 -2
- package/dist/roadtrip/{p-a426ec75.entry.js → p-651105d3.entry.js} +2 -2
- package/dist/roadtrip/{p-47c44b2b.entry.js → p-6eb30876.entry.js} +2 -2
- package/dist/roadtrip/{p-05d0f91d.entry.js → p-71ea3c01.entry.js} +2 -2
- package/dist/roadtrip/{p-455e929c.entry.js → p-71fe2f8e.entry.js} +2 -2
- package/dist/roadtrip/p-74b17bd6.entry.js +2 -0
- package/dist/roadtrip/p-74b17bd6.entry.js.map +1 -0
- package/dist/roadtrip/{p-7ff27d65.entry.js → p-824b4a68.entry.js} +2 -2
- package/dist/roadtrip/{p-7dc95335.entry.js → p-83ea3a4e.entry.js} +2 -2
- package/dist/roadtrip/{p-ed4c84c4.entry.js → p-a4aa3628.entry.js} +2 -2
- package/dist/roadtrip/{p-713db434.entry.js → p-a4e4986d.entry.js} +2 -2
- package/dist/roadtrip/p-bb7583ee.entry.js +2 -0
- package/dist/roadtrip/{p-c75d28ae.entry.js → p-c1f1efd9.entry.js} +2 -2
- package/dist/roadtrip/{p-dab34668.entry.js → p-cd0c64cb.entry.js} +2 -2
- package/dist/roadtrip/{p-1fe92473.entry.js → p-db5107c4.entry.js} +2 -2
- package/dist/roadtrip/{p-64d67d81.entry.js → p-df353cb6.entry.js} +2 -2
- package/dist/roadtrip/{p-233b3f06.entry.js → p-df4cf8bb.entry.js} +2 -2
- package/dist/roadtrip/{p-18c2b855.entry.js → p-ea7ad722.entry.js} +2 -2
- package/dist/roadtrip/{p-6c43a952.entry.js → p-fbbe77e0.entry.js} +2 -2
- package/dist/roadtrip/{p-f293472d.entry.js → p-fd19056c.entry.js} +2 -2
- package/dist/roadtrip/{p-0c3acb06.entry.js → p-fef9b54c.entry.js} +2 -2
- package/dist/roadtrip/p-fef9b54c.entry.js.map +1 -0
- package/dist/roadtrip/roadtrip.css +1 -1
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/roadtrip.esm.js.map +1 -1
- package/dist/types/components/select/select.d.ts +4 -0
- package/dist/types/components/status-chip/status-chip.d.ts +11 -0
- package/dist/types/components/time-range-picker/time-range-picker.d.ts +57 -0
- package/dist/types/components.d.ts +143 -0
- package/hydrate/index.js +249 -102
- package/hydrate/index.mjs +249 -102
- package/package.json +4 -4
- package/dist/cjs/index-bf8a763e.js.map +0 -1
- package/dist/esm/index-f1358629.js.map +0 -1
- package/dist/roadtrip/p-0c3acb06.entry.js.map +0 -1
- package/dist/roadtrip/p-1cce4f29.entry.js +0 -2
- package/dist/roadtrip/p-6d7895b7.entry.js +0 -2
- package/dist/roadtrip/p-db82e012.js +0 -2
- package/dist/roadtrip/p-db82e012.js.map +0 -1
- /package/dist/roadtrip/{p-4c3c1480.entry.js.map → p-111df7a1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-cfe1ebe3.entry.js.map → p-1352bc34.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ad5bbf7b.entry.js.map → p-21adfb3f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3b05eb04.entry.js.map → p-2757cbd1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8405c529.entry.js.map → p-29485fb3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c8639b33.entry.js.map → p-2ff1292b.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-bfca0abd.entry.js.map → p-324522a1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-773d810b.entry.js.map → p-4f1d3834.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3e076a57.entry.js.map → p-58c773c3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a065e029.entry.js.map → p-6020b36a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a426ec75.entry.js.map → p-651105d3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-47c44b2b.entry.js.map → p-6eb30876.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-05d0f91d.entry.js.map → p-71ea3c01.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-455e929c.entry.js.map → p-71fe2f8e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7ff27d65.entry.js.map → p-824b4a68.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7dc95335.entry.js.map → p-83ea3a4e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ed4c84c4.entry.js.map → p-a4aa3628.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-713db434.entry.js.map → p-a4e4986d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6d7895b7.entry.js.map → p-bb7583ee.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c75d28ae.entry.js.map → p-c1f1efd9.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-dab34668.entry.js.map → p-cd0c64cb.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1fe92473.entry.js.map → p-db5107c4.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-64d67d81.entry.js.map → p-df353cb6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-233b3f06.entry.js.map → p-df4cf8bb.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-18c2b855.entry.js.map → p-ea7ad722.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6c43a952.entry.js.map → p-fbbe77e0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f293472d.entry.js.map → p-fd19056c.entry.js.map} +0 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { alertInfoSolid } from "../../../icons";
|
|
3
|
+
import "./../../utils/polyfill";
|
|
4
|
+
/**
|
|
5
|
+
* @slot - Content of the chip.
|
|
6
|
+
*/
|
|
7
|
+
export class Chip {
|
|
8
|
+
constructor() {
|
|
9
|
+
/**
|
|
10
|
+
* The chip size.
|
|
11
|
+
*/
|
|
12
|
+
this.size = 'sm';
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
return (h(Host, { key: '9334d773536d09520e9bdb394cf1d84d0f370b16', class: `chip-${this.size}`, tabindex: "0" }, h("div", { key: 'b8ba0ddd4eb8bcc6749267f3a2dee7f0998a2d82', class: "chip-description" }, h("road-icon", { key: '98bdeea36b7016caa0b3c6586385adad4cdccb3f', class: "chip-icon", color: "info", icon: alertInfoSolid }), h("slot", { key: 'a25b1f7338b08a783e9aa6134ebb93276c671cfd' }))));
|
|
16
|
+
}
|
|
17
|
+
static get is() { return "road-status-chip"; }
|
|
18
|
+
static get encapsulation() { return "shadow"; }
|
|
19
|
+
static get originalStyleUrls() {
|
|
20
|
+
return {
|
|
21
|
+
"$": ["status-chip.css"]
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
static get styleUrls() {
|
|
25
|
+
return {
|
|
26
|
+
"$": ["status-chip.css"]
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
static get properties() {
|
|
30
|
+
return {
|
|
31
|
+
"size": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"mutable": false,
|
|
34
|
+
"complexType": {
|
|
35
|
+
"original": "'sm' | 'md' | 'lg'",
|
|
36
|
+
"resolved": "\"lg\" | \"md\" | \"sm\"",
|
|
37
|
+
"references": {}
|
|
38
|
+
},
|
|
39
|
+
"required": false,
|
|
40
|
+
"optional": false,
|
|
41
|
+
"docs": {
|
|
42
|
+
"tags": [],
|
|
43
|
+
"text": "The chip size."
|
|
44
|
+
},
|
|
45
|
+
"getter": false,
|
|
46
|
+
"setter": false,
|
|
47
|
+
"attribute": "size",
|
|
48
|
+
"reflect": false,
|
|
49
|
+
"defaultValue": "'sm'"
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=status-chip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-chip.js","sourceRoot":"","sources":["../../../src/components/status-chip/status-chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,wBAAwB,CAAC;AAEhC;;GAEG;AAOH,MAAM,OAAO,IAAI;IALjB;QAOE;;WAEG;QACK,SAAI,GAAwB,IAAI,CAAC;KAe1C;IAbC,MAAM;QAEJ,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE,QAAQ,IAAI,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAC,GAAG;YAExC,4DAAK,KAAK,EAAC,kBAAkB;gBAC3B,kEAAW,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,MAAM,EAAC,IAAI,EAAE,cAAc,GAAc;gBAC5E,8DAAO,CACH,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\nimport { alertInfoSolid } from '../../../icons';\nimport './../../utils/polyfill';\n\n/**\n * @slot - Content of the chip.\n */\n\n@Component({\n tag: 'road-status-chip',\n styleUrl: 'status-chip.css',\n shadow: true,\n})\nexport class Chip {\n\n /**\n * The chip size.\n */\n @Prop() size: 'sm' | 'md' | 'lg' = 'sm';\n\n render() {\n\n return (\n <Host\n class={`chip-${this.size}`} tabindex=\"0\"\n >\n <div class=\"chip-description\">\n <road-icon class=\"chip-icon\" color=\"info\" icon={alertInfoSolid}></road-icon>\n <slot/>\n </div>\n </Host>\n );\n }\n}"]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
3
|
+
import { unsafeHTML } from 'lit-html/directives/unsafe-html.js';
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: 'Forms/Status Chip',
|
|
7
|
+
component: 'road-status-chip',
|
|
8
|
+
argTypes: {
|
|
9
|
+
size: {
|
|
10
|
+
options: ['sm', 'md', 'lg'],
|
|
11
|
+
control: { type: 'select' },
|
|
12
|
+
description: 'Defines the size of the chip.',
|
|
13
|
+
table: {
|
|
14
|
+
defaultValue: { summary: 'sm' },
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
' ': {
|
|
18
|
+
control: 'text',
|
|
19
|
+
description: 'Content inside the chip (label).',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
args: {
|
|
23
|
+
size: 'sm',
|
|
24
|
+
' ': 'Label',
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
const Template = (args) => html`
|
|
29
|
+
${['Label A', 'Label B', 'Label C', 'Label D'].map(label => html`
|
|
30
|
+
<road-status-chip
|
|
31
|
+
size="${ifDefined(args.size)}"
|
|
32
|
+
>
|
|
33
|
+
${unsafeHTML(args[' '] || label)}
|
|
34
|
+
</road-status-chip>
|
|
35
|
+
`)}
|
|
36
|
+
`;
|
|
37
|
+
|
|
38
|
+
export const Playground = Template.bind({});
|
|
39
|
+
Playground.args = {
|
|
40
|
+
' ': `Label`,
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
export const Size = Template.bind({});
|
|
45
|
+
Size.args = {
|
|
46
|
+
size: 'lg',
|
|
47
|
+
' ': `Revision`,
|
|
48
|
+
};
|
|
@@ -70,11 +70,11 @@ export class Switch {
|
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
72
|
const labelId = this.switchId + '-label';
|
|
73
|
-
const textLabel = h("label", { key: '
|
|
73
|
+
const textLabel = h("label", { key: 'd796b35a41bfcee969f7e514a422c86c0188ea83', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
|
|
74
74
|
const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
|
|
75
75
|
const isSpacedClass = this.isSpaced && 'form-switch-spaced';
|
|
76
76
|
const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
|
|
77
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: 'cdc043a58934f23ab59eceb249264e20030dcd81' }, h("input", { key: '8f30801f7c589a21cd946758bcf236dde5b19649', class: "form-switch-input", type: "checkbox", id: this.switchId, name: this.name, checked: this.checked, disabled: this.disabled, value: this.value, "aria-checked": `${this.checked}`, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }), h("label", { key: 'cedb4631003350829110dc06f56005ee3ce7da8b', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, h("div", { key: '3ceaec7a21c32451721678190cce980b55e95cd9', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "road-switch"; }
|
|
80
80
|
static get encapsulation() { return "scoped"; }
|
|
@@ -21,9 +21,9 @@ export class Tab {
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
const { tab, active } = this;
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '63af8787abb1c214e75ce13b4aa6e265ac27ff5f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
25
25
|
'tab-hidden': !active,
|
|
26
|
-
} }, h("slot", { key: '
|
|
26
|
+
} }, h("slot", { key: '5a00faa7454b981ba72f2b262c72b3dc3497e48b' })));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "road-tab"; }
|
|
29
29
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,11 +36,11 @@ export class TabBar {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
const { expand, center, secondary } = this;
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'c9b9c4205d68cee5c45fec07585f0cf7efae2918', role: "tablist", class: {
|
|
40
40
|
'tab-expand': expand,
|
|
41
41
|
'tab-center': center,
|
|
42
42
|
'tab-secondary': secondary,
|
|
43
|
-
} }, h("slot", { key: '
|
|
43
|
+
} }, h("slot", { key: 'affab8a74a51438ccc5b0de3b2b44b0bf8c2c104' })));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "road-tab-bar"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,7 +71,7 @@ export class TabButton {
|
|
|
71
71
|
rel,
|
|
72
72
|
target,
|
|
73
73
|
};
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '0f4a9238539815a078c937171e2bc7fd6cdb86a2', onClick: (ev) => !disabled && this.onClick(ev), onKeyup: (ev) => !disabled && this.onKeyUp(ev), role: "tab", tabindex: disabled ? -1 : tabIndex, "aria-selected": selected ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
75
75
|
'tab-selected': selected,
|
|
76
76
|
'tab-has-label': hasLabel,
|
|
77
77
|
'tab-has-icon': hasIcon,
|
|
@@ -79,7 +79,7 @@ export class TabButton {
|
|
|
79
79
|
'tab-has-icon-only': hasIcon && !hasLabel,
|
|
80
80
|
[`tab-layout-${layout}`]: true,
|
|
81
81
|
'tab-disabled': disabled, // Classe CSS pour les styles désactivés
|
|
82
|
-
} }, h("a", Object.assign({ key: '
|
|
82
|
+
} }, h("a", Object.assign({ key: '2a5d7f31accdab3c7c5664dfe6ecc873c806ab89' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), h("span", { key: '682fcabe5b1afca95e0cf14254dee7b8ba8e2994', class: "button-inner" }, h("slot", { key: 'bea982cf3737759bd7d557ce4328c351a73918d4' })))));
|
|
83
83
|
}
|
|
84
84
|
static get is() { return "road-tab-button"; }
|
|
85
85
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class Table {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("slot", { key: '
|
|
7
|
+
return (h("slot", { key: '3b88893af0069fdfc1d2fff80979da38d768f1f5' }));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "road-table"; }
|
|
10
10
|
static get encapsulation() { return "scoped"; }
|
|
@@ -99,7 +99,7 @@ export class Tabs {
|
|
|
99
99
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: 'a20986bf68696a6fdc51b12ad1b046db3b18bc05', onRoadTabButtonClick: this.onTabClicked }, h("slot", { key: 'c5bfece44ba292b38661d1c547bbea6c72434ee9', name: "top" }), h("div", { key: 'e0f414977fb10b3dae809c1d73043db078996854', class: "tabs-inner" }, h("slot", { key: 'e0a09ad0eaacd5dca847ff48ffd632244e25c392' }))));
|
|
103
103
|
}
|
|
104
104
|
static get is() { return "road-tabs"; }
|
|
105
105
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class Tag {
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '2207dbc70c4b0f387f202702db8008b1b71d0ad0', class: `${contrastClass}` }, h("slot", { key: 'ae9980dd95f4fbc893ed868c59b724c08199b1fe' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "road-tag"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ export class Text {
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
const colorClass = this.color !== undefined ? `text-${this.color}` : '';
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'ad2c0033ece3bcce8895c4e7cfa028fd91f98559', class: `${colorClass}` }, h("slot", { key: 'f39a6b798aee6789bf2fe2d24aa82faff7a088e2' })));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "road-text"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -82,7 +82,7 @@ export class Textarea {
|
|
|
82
82
|
const hasValueClass = this.value !== '' ? 'has-value' : '';
|
|
83
83
|
const noResizeClass = this.resize == false ? 'no-resize' : '';
|
|
84
84
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '84f001bd32876c45caec89f2e62a653341ca4e3f', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, h("textarea", { key: '5e972efce077742ab5e69535f4b01c3a1afd7638', class: `form-control textarea-control ${hasValueClass} ${noResizeClass} ${isInvalidClass}`, id: this.textareaId, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, maxLength: this.maxlength, minLength: this.minlength, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, value: value, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus }), h("label", { key: '4e54a6fc2a45cc9b087dd7fc960b3c200d9ec647', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && h("p", { key: '1bdf68022659f0ffc06c2e13ac29fded490de06b', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: 'adfdb41de302ca191b4e4fb4da785fc9d2c503b3', class: "helper" }, this.helper)));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "road-textarea"; }
|
|
88
88
|
static get encapsulation() { return "scoped"; }
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Time range
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
.required-indicator {
|
|
7
|
+
color: var(--road-on-danger-surface);
|
|
8
|
+
content: " *";
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.time-range-picker-content road-input{
|
|
12
|
+
margin-bottom: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.time-range-picker .messages {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.invalid-feedback {
|
|
21
|
+
font-size: var(--road-helper-medium);
|
|
22
|
+
color: var(--road-on-danger-surface);
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
gap: 4px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.invalid-feedback road-icon{
|
|
29
|
+
color: var(--road-danger-icon);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Cible directement le road-input avec la classe error-border */
|
|
33
|
+
:host() road-input.error-border{
|
|
34
|
+
border-radius: 0.25rem;
|
|
35
|
+
outline: 1px solid var(--road-danger-outline);
|
|
36
|
+
outline-offset: -1px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* @slot start - Input de début
|
|
4
|
+
* @slot end - Input de fin
|
|
5
|
+
* @slot separator - Label séparateur (optionnel)
|
|
6
|
+
*/
|
|
7
|
+
export class RoadTimeRangePicker {
|
|
8
|
+
constructor() {
|
|
9
|
+
/** Désactivation du picker */
|
|
10
|
+
this.disabled = false;
|
|
11
|
+
/** Si `true`, l’utilisateur doit remplir avant submit */
|
|
12
|
+
this.required = false;
|
|
13
|
+
/** Taille du champ */
|
|
14
|
+
this.sizes = 'lg';
|
|
15
|
+
/** Handle change depuis le slot start */
|
|
16
|
+
this.handleStartChange = (e) => {
|
|
17
|
+
var _a;
|
|
18
|
+
this.start = (_a = e.detail.value) !== null && _a !== void 0 ? _a : undefined;
|
|
19
|
+
this.emitChange();
|
|
20
|
+
};
|
|
21
|
+
/** Handle change depuis le slot end */
|
|
22
|
+
this.handleEndChange = (e) => {
|
|
23
|
+
var _a;
|
|
24
|
+
this.end = (_a = e.detail.value) !== null && _a !== void 0 ? _a : undefined;
|
|
25
|
+
this.emitChange();
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
/** Retourne les messages d'erreur sous forme de tableau */
|
|
29
|
+
get errorMessages() {
|
|
30
|
+
if (!this.error)
|
|
31
|
+
return [];
|
|
32
|
+
if (Array.isArray(this.error))
|
|
33
|
+
return this.error.flatMap(e => (typeof e === 'string' ? e.split(',') : [e]));
|
|
34
|
+
return this.error.split(',');
|
|
35
|
+
}
|
|
36
|
+
/** Ajoute ou retire la classe error-border sur le road-input */
|
|
37
|
+
async updateInvalidClasses() {
|
|
38
|
+
var _a;
|
|
39
|
+
const inputs = Array.from(this.hostEl.querySelectorAll('road-input[slot="start"], road-input[slot="end"]'));
|
|
40
|
+
for (const inputEl of inputs) {
|
|
41
|
+
await ((_a = inputEl.componentOnReady) === null || _a === void 0 ? void 0 : _a.call(inputEl));
|
|
42
|
+
if (this.errorMessages.length > 0) {
|
|
43
|
+
inputEl.style.borderRadius = '0.25rem';
|
|
44
|
+
inputEl.style.outline = `1px solid var(--road-danger-outline)`;
|
|
45
|
+
inputEl.style.outlineOffset = '-1px';
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
inputEl.style.borderRadius = '';
|
|
49
|
+
inputEl.style.outline = '';
|
|
50
|
+
inputEl.style.outlineOffset = '';
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
/** Vérifie que start <= end et met à jour l’erreur */
|
|
55
|
+
validateRange() {
|
|
56
|
+
if (this.start && this.end && this.start > this.end) {
|
|
57
|
+
this.error = 'L’heure de début doit être inférieure à l’heure de fin.';
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
this.error = undefined;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
/** Émet les changements */
|
|
64
|
+
async emitChange() {
|
|
65
|
+
this.validateRange();
|
|
66
|
+
this.roadChange.emit({ start: this.start, end: this.end });
|
|
67
|
+
await this.updateInvalidClasses();
|
|
68
|
+
}
|
|
69
|
+
componentDidLoad() {
|
|
70
|
+
const startSlot = this.hostEl.querySelector('[slot="start"]');
|
|
71
|
+
const endSlot = this.hostEl.querySelector('[slot="end"]');
|
|
72
|
+
if (startSlot) {
|
|
73
|
+
startSlot.addEventListener('roadChange', this.handleStartChange);
|
|
74
|
+
}
|
|
75
|
+
if (endSlot) {
|
|
76
|
+
endSlot.addEventListener('roadChange', this.handleEndChange);
|
|
77
|
+
}
|
|
78
|
+
this.updateInvalidClasses();
|
|
79
|
+
}
|
|
80
|
+
async getRange() {
|
|
81
|
+
return { start: this.start, end: this.end };
|
|
82
|
+
}
|
|
83
|
+
render() {
|
|
84
|
+
return (h(Host, { key: '760f1f32a20c9afc47a5fa0c367c25fc5c956762', class: `time-range-picker input-${this.sizes}` }, this.label && (h("p", { key: '64c22605cc9081c39b52bb758d543b6352cc3de7', class: "label m-0" }, this.label, this.required && h("span", { key: 'aeede78739b2390722ff0a7afed9ccf550d612f3', class: "required-indicator" }, " *"))), h("div", { key: '71499bccdd9ce072dd2f7f8b086bb96b3b7e43f0', class: "time-range-picker-content d-flex align-items-center my-4" }, h("slot", { key: '77210211e112501ca5c4d471257614418fe831f9', name: "start" }), h("span", { key: '2c2c289e8c4638f082773debc355a4350a85e361', class: "separator mx-12" }, this.separator), h("slot", { key: 'e79e889d4386c1ba0731a46cfc83002c998a5194', name: "end" })), h("div", { key: 'f0754329e6c6ff79e22ae374ad299da9daf1311d', class: "messages mt-1" }, this.errorMessages.map((msg, index) => (h("p", { key: index, class: "invalid-feedback m-0" }, h("road-icon", { slot: "start", name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), msg.trim())))), this.helper && h("p", { key: 'aa93c11be41410bf52c9d763d3a7a4cb99721747', class: "helper mt-1" }, this.helper)));
|
|
85
|
+
}
|
|
86
|
+
static get is() { return "road-time-range-picker"; }
|
|
87
|
+
static get encapsulation() { return "scoped"; }
|
|
88
|
+
static get originalStyleUrls() {
|
|
89
|
+
return {
|
|
90
|
+
"$": ["time-range-picker.css"]
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
static get styleUrls() {
|
|
94
|
+
return {
|
|
95
|
+
"$": ["time-range-picker.css"]
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
static get properties() {
|
|
99
|
+
return {
|
|
100
|
+
"start": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"mutable": true,
|
|
103
|
+
"complexType": {
|
|
104
|
+
"original": "string",
|
|
105
|
+
"resolved": "string | undefined",
|
|
106
|
+
"references": {}
|
|
107
|
+
},
|
|
108
|
+
"required": false,
|
|
109
|
+
"optional": true,
|
|
110
|
+
"docs": {
|
|
111
|
+
"tags": [],
|
|
112
|
+
"text": "Heure de d\u00E9but"
|
|
113
|
+
},
|
|
114
|
+
"getter": false,
|
|
115
|
+
"setter": false,
|
|
116
|
+
"attribute": "start",
|
|
117
|
+
"reflect": false
|
|
118
|
+
},
|
|
119
|
+
"end": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"mutable": true,
|
|
122
|
+
"complexType": {
|
|
123
|
+
"original": "string",
|
|
124
|
+
"resolved": "string | undefined",
|
|
125
|
+
"references": {}
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"optional": true,
|
|
129
|
+
"docs": {
|
|
130
|
+
"tags": [],
|
|
131
|
+
"text": "Heure de fin"
|
|
132
|
+
},
|
|
133
|
+
"getter": false,
|
|
134
|
+
"setter": false,
|
|
135
|
+
"attribute": "end",
|
|
136
|
+
"reflect": false
|
|
137
|
+
},
|
|
138
|
+
"disabled": {
|
|
139
|
+
"type": "boolean",
|
|
140
|
+
"mutable": false,
|
|
141
|
+
"complexType": {
|
|
142
|
+
"original": "boolean",
|
|
143
|
+
"resolved": "boolean",
|
|
144
|
+
"references": {}
|
|
145
|
+
},
|
|
146
|
+
"required": false,
|
|
147
|
+
"optional": false,
|
|
148
|
+
"docs": {
|
|
149
|
+
"tags": [],
|
|
150
|
+
"text": "D\u00E9sactivation du picker"
|
|
151
|
+
},
|
|
152
|
+
"getter": false,
|
|
153
|
+
"setter": false,
|
|
154
|
+
"attribute": "disabled",
|
|
155
|
+
"reflect": false,
|
|
156
|
+
"defaultValue": "false"
|
|
157
|
+
},
|
|
158
|
+
"helper": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"mutable": false,
|
|
161
|
+
"complexType": {
|
|
162
|
+
"original": "string",
|
|
163
|
+
"resolved": "string | undefined",
|
|
164
|
+
"references": {}
|
|
165
|
+
},
|
|
166
|
+
"required": false,
|
|
167
|
+
"optional": true,
|
|
168
|
+
"docs": {
|
|
169
|
+
"tags": [],
|
|
170
|
+
"text": "Helper message"
|
|
171
|
+
},
|
|
172
|
+
"getter": false,
|
|
173
|
+
"setter": false,
|
|
174
|
+
"attribute": "helper",
|
|
175
|
+
"reflect": false
|
|
176
|
+
},
|
|
177
|
+
"separator": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"mutable": false,
|
|
180
|
+
"complexType": {
|
|
181
|
+
"original": "string",
|
|
182
|
+
"resolved": "string | undefined",
|
|
183
|
+
"references": {}
|
|
184
|
+
},
|
|
185
|
+
"required": false,
|
|
186
|
+
"optional": true,
|
|
187
|
+
"docs": {
|
|
188
|
+
"tags": [],
|
|
189
|
+
"text": "Separator label"
|
|
190
|
+
},
|
|
191
|
+
"getter": false,
|
|
192
|
+
"setter": false,
|
|
193
|
+
"attribute": "separator",
|
|
194
|
+
"reflect": false
|
|
195
|
+
},
|
|
196
|
+
"required": {
|
|
197
|
+
"type": "boolean",
|
|
198
|
+
"mutable": false,
|
|
199
|
+
"complexType": {
|
|
200
|
+
"original": "boolean",
|
|
201
|
+
"resolved": "boolean",
|
|
202
|
+
"references": {}
|
|
203
|
+
},
|
|
204
|
+
"required": false,
|
|
205
|
+
"optional": false,
|
|
206
|
+
"docs": {
|
|
207
|
+
"tags": [],
|
|
208
|
+
"text": "Si `true`, l\u2019utilisateur doit remplir avant submit"
|
|
209
|
+
},
|
|
210
|
+
"getter": false,
|
|
211
|
+
"setter": false,
|
|
212
|
+
"attribute": "required",
|
|
213
|
+
"reflect": false,
|
|
214
|
+
"defaultValue": "false"
|
|
215
|
+
},
|
|
216
|
+
"label": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"mutable": false,
|
|
219
|
+
"complexType": {
|
|
220
|
+
"original": "string",
|
|
221
|
+
"resolved": "string | undefined",
|
|
222
|
+
"references": {}
|
|
223
|
+
},
|
|
224
|
+
"required": false,
|
|
225
|
+
"optional": true,
|
|
226
|
+
"docs": {
|
|
227
|
+
"tags": [],
|
|
228
|
+
"text": "Label global du champ"
|
|
229
|
+
},
|
|
230
|
+
"getter": false,
|
|
231
|
+
"setter": false,
|
|
232
|
+
"attribute": "label",
|
|
233
|
+
"reflect": false
|
|
234
|
+
},
|
|
235
|
+
"sizes": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"mutable": false,
|
|
238
|
+
"complexType": {
|
|
239
|
+
"original": "'lg' | 'xl'",
|
|
240
|
+
"resolved": "\"lg\" | \"xl\"",
|
|
241
|
+
"references": {}
|
|
242
|
+
},
|
|
243
|
+
"required": false,
|
|
244
|
+
"optional": false,
|
|
245
|
+
"docs": {
|
|
246
|
+
"tags": [],
|
|
247
|
+
"text": "Taille du champ"
|
|
248
|
+
},
|
|
249
|
+
"getter": false,
|
|
250
|
+
"setter": false,
|
|
251
|
+
"attribute": "sizes",
|
|
252
|
+
"reflect": false,
|
|
253
|
+
"defaultValue": "'lg'"
|
|
254
|
+
},
|
|
255
|
+
"error": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"mutable": false,
|
|
258
|
+
"complexType": {
|
|
259
|
+
"original": "string | string[]",
|
|
260
|
+
"resolved": "string | string[] | undefined",
|
|
261
|
+
"references": {}
|
|
262
|
+
},
|
|
263
|
+
"required": false,
|
|
264
|
+
"optional": true,
|
|
265
|
+
"docs": {
|
|
266
|
+
"tags": [],
|
|
267
|
+
"text": "Error messages"
|
|
268
|
+
},
|
|
269
|
+
"getter": false,
|
|
270
|
+
"setter": false,
|
|
271
|
+
"attribute": "error",
|
|
272
|
+
"reflect": false
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
static get events() {
|
|
277
|
+
return [{
|
|
278
|
+
"method": "roadChange",
|
|
279
|
+
"name": "roadChange",
|
|
280
|
+
"bubbles": true,
|
|
281
|
+
"cancelable": true,
|
|
282
|
+
"composed": true,
|
|
283
|
+
"docs": {
|
|
284
|
+
"tags": [],
|
|
285
|
+
"text": "\u00C9v\u00E9nement quand la plage change"
|
|
286
|
+
},
|
|
287
|
+
"complexType": {
|
|
288
|
+
"original": "{ start?: string; end?: string }",
|
|
289
|
+
"resolved": "{ start?: string | undefined; end?: string | undefined; }",
|
|
290
|
+
"references": {}
|
|
291
|
+
}
|
|
292
|
+
}, {
|
|
293
|
+
"method": "roadInput",
|
|
294
|
+
"name": "roadInput",
|
|
295
|
+
"bubbles": true,
|
|
296
|
+
"cancelable": true,
|
|
297
|
+
"composed": true,
|
|
298
|
+
"docs": {
|
|
299
|
+
"tags": [],
|
|
300
|
+
"text": "Forward des events enfants"
|
|
301
|
+
},
|
|
302
|
+
"complexType": {
|
|
303
|
+
"original": "{ start?: string; end?: string }",
|
|
304
|
+
"resolved": "{ start?: string | undefined; end?: string | undefined; }",
|
|
305
|
+
"references": {}
|
|
306
|
+
}
|
|
307
|
+
}, {
|
|
308
|
+
"method": "roadFocus",
|
|
309
|
+
"name": "roadFocus",
|
|
310
|
+
"bubbles": true,
|
|
311
|
+
"cancelable": true,
|
|
312
|
+
"composed": true,
|
|
313
|
+
"docs": {
|
|
314
|
+
"tags": [],
|
|
315
|
+
"text": ""
|
|
316
|
+
},
|
|
317
|
+
"complexType": {
|
|
318
|
+
"original": "'start' | 'end'",
|
|
319
|
+
"resolved": "\"end\" | \"start\"",
|
|
320
|
+
"references": {}
|
|
321
|
+
}
|
|
322
|
+
}, {
|
|
323
|
+
"method": "roadBlur",
|
|
324
|
+
"name": "roadBlur",
|
|
325
|
+
"bubbles": true,
|
|
326
|
+
"cancelable": true,
|
|
327
|
+
"composed": true,
|
|
328
|
+
"docs": {
|
|
329
|
+
"tags": [],
|
|
330
|
+
"text": ""
|
|
331
|
+
},
|
|
332
|
+
"complexType": {
|
|
333
|
+
"original": "'start' | 'end'",
|
|
334
|
+
"resolved": "\"end\" | \"start\"",
|
|
335
|
+
"references": {}
|
|
336
|
+
}
|
|
337
|
+
}];
|
|
338
|
+
}
|
|
339
|
+
static get methods() {
|
|
340
|
+
return {
|
|
341
|
+
"getRange": {
|
|
342
|
+
"complexType": {
|
|
343
|
+
"signature": "() => Promise<{ start: string | undefined; end: string | undefined; }>",
|
|
344
|
+
"parameters": [],
|
|
345
|
+
"references": {
|
|
346
|
+
"Promise": {
|
|
347
|
+
"location": "global",
|
|
348
|
+
"id": "global::Promise"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"return": "Promise<{ start: string | undefined; end: string | undefined; }>"
|
|
352
|
+
},
|
|
353
|
+
"docs": {
|
|
354
|
+
"text": "",
|
|
355
|
+
"tags": []
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
static get elementRef() { return "hostEl"; }
|
|
361
|
+
}
|
|
362
|
+
//# sourceMappingURL=time-range-picker.js.map
|