@dubai-design-system/components-js 3.1.8 → 3.1.13
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/dda-header.cjs.entry.js +8 -8
- package/dist/cjs/dda-header.cjs.entry.js.map +1 -1
- package/dist/cjs/dda-home-banner.cjs.entry.js +10 -2
- package/dist/cjs/dda-home-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/dda-horizontal-stepper.cjs.entry.js +1 -1
- package/dist/cjs/dda-input.cjs.entry.js +1 -1
- package/dist/cjs/dda-link-button_2.cjs.entry.js +3 -3
- package/dist/cjs/dda-number-field.cjs.entry.js +1 -1
- package/dist/cjs/dda-pagination.cjs.entry.js +1 -1
- package/dist/cjs/dda-phonefield.cjs.entry.js +1 -1
- package/dist/cjs/dda-progressbar.cjs.entry.js +1 -1
- package/dist/cjs/dda-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/dda-search-input.cjs.entry.js +1 -1
- package/dist/cjs/dda-segmented-tabs.cjs.entry.js +1 -1
- package/dist/cjs/dda-select.cjs.entry.js +1 -1
- package/dist/cjs/dda-sticky-footer.cjs.entry.js +1 -1
- package/dist/cjs/dda-tabs.cjs.entry.js +1 -1
- package/dist/cjs/dda-textarea.cjs.entry.js +1 -1
- package/dist/cjs/dda-toggle.cjs.entry.js +1 -1
- package/dist/cjs/dda-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/dda-ui-card.cjs.entry.js +1 -1
- package/dist/cjs/dda-vertical-stepper.cjs.entry.js +1 -1
- package/dist/cjs/dda.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/dda-header/dda-header.js +10 -9
- package/dist/collection/components/dda-header/dda-header.js.map +1 -1
- package/dist/collection/components/dda-home-banner/dda-home-banner.js +12 -3
- package/dist/collection/components/dda-home-banner/dda-home-banner.js.map +1 -1
- package/dist/collection/components/dda-input/dda-input.js +1 -1
- package/dist/collection/components/dda-link-button/dda-link-button.js +2 -2
- package/dist/collection/components/dda-number-field/dda-number-field.js +1 -1
- package/dist/collection/components/dda-pagination/dda-pagination.js +1 -1
- package/dist/collection/components/dda-phonefield/dda-phonefield.js +1 -1
- package/dist/collection/components/dda-progressbar/dda-progressbar.js +1 -1
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.js +1 -1
- package/dist/collection/components/dda-range-slider/dda-range-slider.js +2 -2
- package/dist/collection/components/dda-search-input/dda-search-input.js +1 -1
- package/dist/collection/components/dda-select/dda-select.js +1 -1
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js +1 -1
- package/dist/collection/components/dda-tabs/dda-tabs.js +1 -1
- package/dist/collection/components/dda-textarea/dda-textarea.js +1 -1
- package/dist/collection/components/dda-toggle/dda-toggle.js +1 -1
- package/dist/collection/components/dda-tooltip/dda-tooltip.js +1 -1
- package/dist/collection/components/dda-ui-card/dda-ui-card.js +1 -1
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.js +1 -1
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.js +1 -1
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.js +1 -1
- package/dist/components/dda-header.js +13 -12
- package/dist/components/dda-header.js.map +1 -1
- package/dist/components/dda-home-banner.js +12 -3
- package/dist/components/dda-home-banner.js.map +1 -1
- package/dist/components/dda-horizontal-stepper.js +1 -1
- package/dist/components/dda-input.js +1 -1
- package/dist/components/dda-link-button.js +1 -1
- package/dist/components/dda-number-field.js +1 -1
- package/dist/components/dda-pagination.js +1 -1
- package/dist/components/dda-phonefield.js +1 -1
- package/dist/components/dda-progressbar.js +1 -1
- package/dist/components/dda-radiobutton.js +1 -1
- package/dist/components/dda-range-slider.js +2 -2
- package/dist/components/dda-search-input.js +1 -1
- package/dist/components/dda-segmented-tabs.js +1 -1
- package/dist/components/dda-select.js +1 -1
- package/dist/components/dda-sticky-footer.js +2 -2
- package/dist/components/dda-tabs.js +1 -1
- package/dist/components/dda-textarea.js +1 -1
- package/dist/components/dda-toggle.js +1 -1
- package/dist/components/dda-tooltip.js +1 -1
- package/dist/components/dda-ui-card.js +1 -1
- package/dist/components/dda-vertical-stepper.js +1 -1
- package/dist/components/{p-86a1d7c5.js → p-2084265f.js} +2 -2
- package/dist/components/{p-86a1d7c5.js.map → p-2084265f.js.map} +1 -1
- package/dist/components/{p-4dafa457.js → p-76a543e8.js} +3 -3
- package/dist/components/{p-4dafa457.js.map → p-76a543e8.js.map} +1 -1
- package/dist/components/{p-f0b65dc4.js → p-ca8f2482.js} +2 -2
- package/dist/components/{p-f0b65dc4.js.map → p-ca8f2482.js.map} +1 -1
- package/dist/dda/dda.esm.js +1 -1
- package/dist/dda/dda.esm.js.map +1 -1
- package/dist/dda/{p-d3b077f7.entry.js → p-031a2e3f.entry.js} +2 -2
- package/dist/dda/{p-ac49a87d.entry.js → p-07daedaf.entry.js} +2 -2
- package/dist/dda/{p-b02a3af4.entry.js → p-2bdc66b4.entry.js} +2 -2
- package/dist/dda/{p-7c7c5d3d.entry.js → p-390e6db2.entry.js} +2 -2
- package/dist/dda/{p-37429bf0.entry.js → p-4002b74b.entry.js} +2 -2
- package/dist/dda/p-6a57b536.entry.js +2 -0
- package/dist/dda/p-6a57b536.entry.js.map +1 -0
- package/dist/dda/p-6f20288a.entry.js +2 -0
- package/dist/dda/{p-407d0a31.entry.js → p-7f9b8b3c.entry.js} +2 -2
- package/dist/dda/{p-75ef2ff9.entry.js → p-a1cb2504.entry.js} +2 -2
- package/dist/dda/{p-3ebf9abe.entry.js → p-ac96b2be.entry.js} +2 -2
- package/dist/dda/p-b0a36910.entry.js +2 -0
- package/dist/dda/{p-31db1748.entry.js → p-bc3c40cc.entry.js} +2 -2
- package/dist/dda/{p-403ed569.entry.js → p-cb8e90e3.entry.js} +2 -2
- package/dist/dda/{p-2cb7bcdb.entry.js → p-de507976.entry.js} +2 -2
- package/dist/dda/{p-c079aaa1.entry.js → p-df1b5657.entry.js} +2 -2
- package/dist/dda/{p-f2ffcf8b.entry.js → p-e06c0211.entry.js} +2 -2
- package/dist/dda/{p-d874a7e1.entry.js → p-e492f18f.entry.js} +2 -2
- package/dist/dda/p-e492f18f.entry.js.map +1 -0
- package/dist/dda/{p-891e1404.entry.js → p-eab200a5.entry.js} +2 -2
- package/dist/dda/{p-a94edf32.entry.js → p-f190ffc6.entry.js} +2 -2
- package/dist/dda/{p-17dfd16f.entry.js → p-fda0c56d.entry.js} +2 -2
- package/dist/esm/dda-header.entry.js +8 -8
- package/dist/esm/dda-header.entry.js.map +1 -1
- package/dist/esm/dda-home-banner.entry.js +10 -2
- package/dist/esm/dda-home-banner.entry.js.map +1 -1
- package/dist/esm/dda-horizontal-stepper.entry.js +1 -1
- package/dist/esm/dda-input.entry.js +1 -1
- package/dist/esm/dda-link-button_2.entry.js +3 -3
- package/dist/esm/dda-number-field.entry.js +1 -1
- package/dist/esm/dda-pagination.entry.js +1 -1
- package/dist/esm/dda-phonefield.entry.js +1 -1
- package/dist/esm/dda-progressbar.entry.js +1 -1
- package/dist/esm/dda-range-slider.entry.js +2 -2
- package/dist/esm/dda-search-input.entry.js +1 -1
- package/dist/esm/dda-segmented-tabs.entry.js +1 -1
- package/dist/esm/dda-select.entry.js +1 -1
- package/dist/esm/dda-sticky-footer.entry.js +1 -1
- package/dist/esm/dda-tabs.entry.js +1 -1
- package/dist/esm/dda-textarea.entry.js +1 -1
- package/dist/esm/dda-toggle.entry.js +1 -1
- package/dist/esm/dda-tooltip.entry.js +1 -1
- package/dist/esm/dda-ui-card.entry.js +1 -1
- package/dist/esm/dda-vertical-stepper.entry.js +1 -1
- package/dist/esm/dda.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/dda-header/dda-header.d.ts +1 -0
- package/dist/types/components/dda-home-banner/dda-home-banner.d.ts +1 -0
- package/package.json +2 -5
- package/dist/dda/p-05c64be2.entry.js +0 -2
- package/dist/dda/p-05c64be2.entry.js.map +0 -1
- package/dist/dda/p-4773fe82.entry.js +0 -2
- package/dist/dda/p-d874a7e1.entry.js.map +0 -1
- package/dist/dda/p-f229bbfa.entry.js +0 -2
- /package/dist/dda/{p-d3b077f7.entry.js.map → p-031a2e3f.entry.js.map} +0 -0
- /package/dist/dda/{p-ac49a87d.entry.js.map → p-07daedaf.entry.js.map} +0 -0
- /package/dist/dda/{p-b02a3af4.entry.js.map → p-2bdc66b4.entry.js.map} +0 -0
- /package/dist/dda/{p-7c7c5d3d.entry.js.map → p-390e6db2.entry.js.map} +0 -0
- /package/dist/dda/{p-37429bf0.entry.js.map → p-4002b74b.entry.js.map} +0 -0
- /package/dist/dda/{p-4773fe82.entry.js.map → p-6f20288a.entry.js.map} +0 -0
- /package/dist/dda/{p-407d0a31.entry.js.map → p-7f9b8b3c.entry.js.map} +0 -0
- /package/dist/dda/{p-75ef2ff9.entry.js.map → p-a1cb2504.entry.js.map} +0 -0
- /package/dist/dda/{p-3ebf9abe.entry.js.map → p-ac96b2be.entry.js.map} +0 -0
- /package/dist/dda/{p-f229bbfa.entry.js.map → p-b0a36910.entry.js.map} +0 -0
- /package/dist/dda/{p-31db1748.entry.js.map → p-bc3c40cc.entry.js.map} +0 -0
- /package/dist/dda/{p-403ed569.entry.js.map → p-cb8e90e3.entry.js.map} +0 -0
- /package/dist/dda/{p-2cb7bcdb.entry.js.map → p-de507976.entry.js.map} +0 -0
- /package/dist/dda/{p-c079aaa1.entry.js.map → p-df1b5657.entry.js.map} +0 -0
- /package/dist/dda/{p-f2ffcf8b.entry.js.map → p-e06c0211.entry.js.map} +0 -0
- /package/dist/dda/{p-891e1404.entry.js.map → p-eab200a5.entry.js.map} +0 -0
- /package/dist/dda/{p-a94edf32.entry.js.map → p-f190ffc6.entry.js.map} +0 -0
- /package/dist/dda/{p-17dfd16f.entry.js.map → p-fda0c56d.entry.js.map} +0 -0
|
@@ -10,7 +10,7 @@ export class DdaProgressBar {
|
|
|
10
10
|
const progressStyle = {
|
|
11
11
|
width: `${this.progress}%`,
|
|
12
12
|
};
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '4d81cf3bf4d833874d266ad9d110c8ae88e94f25' }, h("div", { key: '3216cab8fc4965b8a597ace8bd999bb8cb745892', class: `dda-progress-bar-container ${this.custom_class} ${this.component_mode}` }, h("div", { key: '1434f985da66a90e41250b7810ab4393f4ac0a05', class: "dda-progress-bar" }, h("div", { key: '261a60d7fbc7deed1710a5441c3a23bc759a3fe2', class: "dda-progress-value", style: progressStyle }, this.tooltip && (h("div", { key: 'c3de46d065ade2b2d28928dedd91ebb0a4b6bc40', class: `dda-tooltip tooltip-${this.tooltip_position}` }, this.progress, "%")))), this.show_percentage_text && (h("span", { key: '86298f76a4d82386199c3a86d0ce2e5f8d7cc361', class: "dda-percentage-text" }, this.progress, "%")))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "dda-progressbar"; }
|
|
16
16
|
static get originalStyleUrls() {
|
|
@@ -12,7 +12,7 @@ export class DdaRadiobutton {
|
|
|
12
12
|
this.radio_status ? `dda-radio-${this.radio_status}` : '',
|
|
13
13
|
this.component_mode,
|
|
14
14
|
].filter(Boolean).join(' ');
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '7fbeb27050f69a3dbe2ea39faef1d6202aa182a1' }, h("div", { key: 'af49b4e88713f3ef014090e7b8ecfeeff0afebe0', class: radiobuttonClass }, h("input", { key: '7e8cb46237512becf253b1c7c86aadd68e21cec6', "aria-label": this.aria_label, type: "radio", id: this.input_id, name: this.group_name, checked: this.checked }), h("label", { key: 'b10c554856aca0911a11a8a5111c50bd937ac520', htmlFor: this.input_id }, h("span", { key: 'c7ea42812a1effdd559ecb394d0fa78e8c9ba6cb', class: "radio-circle" }), h("p", { key: '8501dc737727430f5109347f658883d81cf11ab2' }, h("span", { key: '4bd4fbebbcfe974ed5ef904818fe84924bfb041d', class: "radio-title" }, this.title_text), this.supporting && h("span", { key: '9dccf9b876248ff93ad3d69f9c655cd297db3a63', class: "radio-supporting" }, this.supporting))))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "dda-radiobutton"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -28,10 +28,10 @@ export class DdaRangeSlider {
|
|
|
28
28
|
return ((value - this.min) / (this.max - this.min)) * 100;
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: 'd33686bfd308c01414afd8085abec7203190af85' }, h("div", { key: '47f9cf7d4373c3caea7401badeec436f9b75244d', class: `dda-range-slider-container dda-tooltip-${this.tooltip_position} ${this.custom_class} ${this.component_mode}` }, h("div", { key: 'b439f960a6b259e9ab53ae1d33b4c32c6812f381', class: "dda-range-slider" }, h("div", { key: 'ab99895a0c45414d8dd0b94be1b3a9a1e15aa53f', class: "dda-range-slider-track", style: {
|
|
32
32
|
left: `${this.getPercentage(this.min_value)}%`,
|
|
33
33
|
right: `${100 - this.getPercentage(this.max_value)}%`,
|
|
34
|
-
} }, h("span", { key: '
|
|
34
|
+
} }, h("span", { key: '7de829a4e581365a431e05cf464ca17db5256683', class: "min-label" }, this.min_value, "%"), h("span", { key: '798488645900c2aa43cf0f386564d239ec2f1b88', class: "max-label" }, this.max_value, "%")), h("label", { key: '2dd7c0c9c02d912729273650ddeac1b7808a5039', htmlFor: this.left_input_id }, h("input", { key: '20d520ce120cb2844440980848ac84eef1a6dfc2', id: this.left_input_id, name: this.left_input_name, "aria-label": this.left_aria_label, type: "range", min: this.min, max: this.max, step: this.step, value: this.min_value, onInput: (event) => this.handleMinChange(event), class: "dda-range-slider-input", style: { zIndex: `${this.min_value > this.max - this.min_value ? 5 : 3}` } })), h("label", { key: 'd9662a0a008054dfcfc85f64024a5f2f178c4be7', htmlFor: this.right_input_id }, h("input", { key: '9c7dd4d24cc2e9b5f5ea111f8e065ccf46e6ca2a', id: this.right_input_id, name: this.right_input_name, "aria-label": this.right_aria_label, type: "range", min: this.min, max: this.max, step: this.step, value: this.max_value, onInput: (event) => this.handleMaxChange(event), class: "dda-range-slider-input", style: { zIndex: `${this.max_value < this.max - this.min_value ? 5 : 3}` } }))))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "dda-range-slider"; }
|
|
37
37
|
static get originalStyleUrls() {
|
|
@@ -14,7 +14,7 @@ export class DdaSearchInput {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '78bc8dadccb8aaf2c624e98606c300f81ba6988d' }, h("div", { key: '5b95a978e048ca044958ead5df74dec9597189b7', class: `dda-input-container dda-input-size-${this.size} ${this.component_mode} ${this.custom_class} ${this.input_status ? `dda-input-${this.input_status}` : ''} ${this.has_error ? 'dda-validation-error' : ''}` }, this.label && h("label", { key: '39f158ff5bb1ea100729cd2f829284e6a19b4c5c', htmlFor: this.button_id, class: "dda-input-label" }, this.label), h("div", { key: 'ca89eb630b2d14709908d8f6227113ab21593d11', class: "dda-search-area dda-search-action" }, h("i", { key: '8268877325d2fde619c1683ca74b75a31a5d69f5', class: "material-icons icon-left" }, "search"), h("input", { key: '7a54f329a5d35edb4169e6875c05420f5eded9bd', name: this.search_input_name, "aria-label": this.aria_label, id: this.input_id, type: "text", class: "dda-input-field dda-search-field", placeholder: this.placeholder }), h("div", { key: 'f27d459e7877b8a03d3c6b6257a004f439a5e321', class: "dda-search-btngroup" }, h("button", { key: '81d6707be74f3bbe960b778723b9b0f4f606f932', name: this.close_button_name, "aria-label": this.button_aria_label, id: this.button_id, type: "button", class: "icon-close", onClick: () => this.clearInput() }, h("i", { key: '3823bab5215aa816e97d9e68bbc68d028f683c20', class: "material-icons material-symbols-outlined" }, "close")), this.show_button && (h("button", { key: '4f1342e091e2358775b593f7c7739d8f7809b4cd', name: this.search_button_name, type: "button", class: "dda-btn btn-color-default-primary dda-btn-sm" }, "Search")))), this.helper_text && h("span", { key: 'd882e50b0c52efb34d776384f44ddf608c8b8369', class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '907a535b8435522daa24cfe0bd96e3e782c0d2b8', class: "dda-error-message" }, this.error_message))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "dda-search-input"; }
|
|
20
20
|
static get originalStyleUrls() {
|
|
@@ -26,7 +26,7 @@ export class Ddaselect {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '5294030e945feccab3309ba2ee14240c2511a24a' }, h("div", { key: '9901ad40ac48a01300fe768aa7183de15e56548a', class: `dda-input-container ${this.custom_class} ${this.component_mode} ${this.disabled ? 'dda-input-disabled' : ''} ${this.is_open ? 'show' : 'hide'} dda-input-size-${this.size} dda-validation-${this.error} ` }, this.label && h("label", { key: 'caa05b4cb717553b899e48fd131e11b6c04b15db', htmlFor: this.button_id, class: "dda-input-label" }, this.label), h("div", { key: 'c3be34d274546a4cbe5bf4660a5f59470943cd7d', class: "dda-dropdown-container" }, h("button", { key: '9f8f24cd78d79806fffe6c2e5df431e0be195560', name: this.toggle_button_name, "aria-label": this.aria_label, id: this.button_id, type: "button", class: "dda-input-field dda-select-header", onClick: () => { this.toggleSelect(); } }, this.selected || 'Select an option', h("i", { key: '5739430f79e45a5d4bb1ae905f03c1232aea92bb', class: `material-icons` }, this.is_open ? 'keyboard_arrow_up' : 'keyboard_arrow_down')), this.is_open && (h("div", { key: 'd2d7a402dbecdc59ef5b8f71f641ec0ab886e9e9', class: "dda-input-dropdown-list dda-select-list" }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (h("button", { name: this.option_select_button_name, type: "button", class: `dda-input-dropdown-item ${this.selected === option ? 'selected' : ''}`, onClick: () => this.selectOption(option) }, option)))) : (h("div", { class: "dda-input-dropdown-item" }, "No options available"))))), this.helper_text && h("span", { key: 'c43e4aa0c658cfb4d8fc708cd5a48e4ce48988fd', class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: 'a6e3f7f97e5ad6c949e7ab61b4b95887393b657f', class: "dda-error-message" }, this.error_message))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "dda-select"; }
|
|
32
32
|
static get originalStyleUrls() {
|
|
@@ -19,7 +19,7 @@ export class DdaStickyFooter {
|
|
|
19
19
|
this.lastScrollY = currentScrollY;
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h("footer", { key: '
|
|
22
|
+
return (h("footer", { key: '6c8a5415b2ebe353cf95607f83f02d707291551e', class: { 'dda-footer': true, 'hidden': this.isHidden } }, h("div", { key: '2cfaa70faabd0a319c7b9b833208f7a10fc831b1', class: "footer-content" }, h("div", { key: 'beb0a4939cb7c1f004426272e92fd52c43a633a6', class: "dda-footer-item dda-footer-left" }, h("ul", { key: '9f93eed3711101f30e7db7e4fd201ede97b76e17' }, h("li", { key: '26576272007f4fc7bc0ffa98246181b93bb0bcd6', class: "foot-icon-btn" }, h("dda-tooltip", { key: '126381e7a1d420dbc85838323e9e6577e623dcc2', title_text: this.happinessIconTooltip, description: "", position: "top" }, h("a", { key: '00d133159e7b17fa5716c680e9eaccbb94da66bb', href: this.happinessIconHref }, h("img", { key: 'b3672961f1945f20e8b9a4fb5727c966a6790908', src: this.happinessIconSrc, alt: this.happinessIconAlt })))), h("li", { key: '369231be44081ea64b164659cc9f0a85e438e615', class: "foot-icon-btn" }, h("dda-tooltip", { key: '5878d388fb8bc366315feb33f4faf25c929ad87c', title_text: this.accessibilityIconTooltip, description: "", position: "top" }, h("a", { key: '79bc65c4fd4c0d34b6b6f6e03c5445037b4cdd7b', href: this.accessibilityIconHref }, h("img", { key: 'ec97ec5300b626a3020837f594f9661f9b9d39d3', src: this.accessibilityIconSrc, alt: this.accessibilityIconAlt })))), h("li", { key: 'd26bafd4b893dff9508d16dad8d7c70a81a2ee71', class: "foot-icon-btn" }, h("dda-tooltip", { key: '7016124bbb6dcc23fcd08e113cefaa36caca2a4b', title_text: this.servicesIconTooltip, description: "", position: "top" }, h("a", { key: '26a10032a907114e022a8bb4a89822dc075a2398', href: this.servicesIconHref }, h("img", { key: 'ef99354f03cf5e8f6b04518d11b02a6456c7dd68', src: this.servicesIconSrc, alt: this.servicesIconAlt }), this.servicesIconText && h("span", { key: '6da85363a8be1c620b6231c98ad4e3de019f4d46' }, this.servicesIconText)))))), this.hideMiddleSection == false && (h("div", { key: 'a548b547b65d77b32fc8224f4ac27f2517529292', class: "dda-footer-item dda-footer-middle" }, h("ul", { key: '74b626084046f7652cd75c0e8f3dfcb89fec9d9d', class: "foot-logo" }, h("li", { key: '267294f33d7fd511a5991d4899de13643a9eeb06' }, h("dda-tooltip", { key: '7284cb4ec12364716fec09e1e16988491ebfc260', title_text: this.firstLogoTooltip, description: "", position: "top" }, h("a", { key: '579e7aa1088a608eba1ab2d9682265a09b7fd446', href: this.firstLogoHref }, h("img", { key: 'd0d6f656a060717b1b1ed78dccdb9162c3f5be71', src: this.firstLogoSrc, alt: this.firstLogoAlt })))), h("li", { key: '69db3e5f045380da8b4e40e560be7f5e1d11d78f' }, h("dda-tooltip", { key: 'e69a8162156658fc187206ad6be9b21175b7ec58', title_text: this.secondLogoTooltip, description: "", position: "top" }, h("a", { key: '5988bb9f9b4236f1b51042138e373e005860df66', href: this.secondLogoHref }, h("img", { key: '7f844685b7e2e4341e820b8e2621c28449e4fa46', src: this.secondLogoSrc, alt: this.secondLogoAlt })))), h("li", { key: '2ca565de68b33691bbd13ab9ba9a7d8097c0152a' }, h("dda-tooltip", { key: '15f2162e2b15b1a5a6346b2413e03e48a116133f', title_text: this.thirdLogoTooltip, description: "", position: "top" }, h("a", { key: '2395bc54406e11ebdd87412c3aa2b9c7ca7dbdff', href: this.thirdLogoHref }, h("img", { key: '3bcb3c9ff27db45c9b93b4272e52418f3afa7022', src: this.thirdLogoSrc, alt: this.thirdLogoAlt }))))))), h("div", { key: '2508334b81df254d85c8d29985758c1b30c62c17', class: "dda-footer-item dda-footer-right" }, h("ul", { key: '62fe2e82a5995fb17b080ac4ab8c6a91f370141e' }, h("li", { key: '7b88ac50c202a7c38712606749ec19f9cc89dfe6', class: "foot-icon-btn" }, h("dda-tooltip", { key: 'd1d3f80229d4d7170abb23cdfd7a496334cec348', title_text: this.locationButtonText, description: "", position: "top" }, h("a", { key: '02a35cd728fe7c223f222b2362a774f1118ab497', href: this.locationButtonHref }, h("img", { key: '2a873473bc850fcca987a0d259c261f80192d791', src: this.locationLogoSrc, alt: this.locationButtonText })))), h("li", { key: 'd38eb11c96294bf321abd73a54f5271400e72e1f', class: "foot-icon-btn" }, h("dda-tooltip", { key: '1efacc1b59b8cbb3149124077de96b881b1585b8', title_text: this.newsButtonText, description: "", position: "top" }, h("a", { key: '2cf6aa9bb37545d93d23b76a953a0f30fd63b1f2', href: this.newsButtonHref }, h("img", { key: 'bf262e826045cba48851b9f51824d14f3ed407f4', src: this.newsButtonSrc, alt: this.newsButtonText })))), h("li", { key: 'ec917442149df508401dfbfdb9c34d8501d2a6ab', class: "foot-icon-btn" }, h("dda-tooltip", { key: 'ff513f2da9c2c89b54453b8c525df847440570d5', title_text: this.aiIconTooltip, description: "", position: "top" }, h("a", { key: '8664aa963bf1c6e110491cd76bce9c378587b298', href: this.aiIconHref }, h("img", { key: '67205c31608cae215aa5fda36063d28b45bbd163', src: this.aiIconSrc, alt: this.aiIconAlt })))), h("li", { key: '954cd714753ec4d9f80cae91b1f2ed69d7d998e3', class: "foot-icon-btn" }, h("dda-tooltip", { key: 'a3247b7f68fb0fecf0b26e68fffca304955d1a6c', title_text: this.chatIconTooltip, description: "", position: "top" }, h("a", { key: 'c34079c10db167ec883015422e138faced5fc2ac', href: this.chatIconHref }, h("img", { key: '3912f05bb5f20024f02a4197aa1ed7fb7985e3dc', src: this.chatIconSrc, alt: this.chatIconAlt })))))))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "dda-sticky-footer"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,7 +38,7 @@ export class DdaTabs {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '51ca092caada9617f6ec442c8700414e184ee046' }, h("div", { key: '3fa413cbc9870105b082cb7a07ab6fc26befd410', class: `dda-tabs-container ${this.hover_style} ${this.custom_class} ${this.component_mode}` }, this.parsedTabs.map((title, index) => (h("button", { id: this.button_id, name: this.button_name, "aria-label": this.aria_label, type: "button", class: `dda-tab-item ${this.active_tab === index ? 'active' : ''}`, onClick: () => this.setActiveTab(index) }, this.type === 'text-icon' && h("i", { class: `material-icons` }, this.parsedIcons[index] || ""), h("span", null, title)))))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "dda-tabs"; }
|
|
44
44
|
static get originalStyleUrls() {
|
|
@@ -48,7 +48,7 @@ export class DdaTextarea {
|
|
|
48
48
|
this.input_status ? `dda-input-${this.input_status}` : '',
|
|
49
49
|
this.custom_class, this.component_mode, this.textarea_name,
|
|
50
50
|
].filter(Boolean).join(' ');
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'f4169ee7762723fff3d47c6abba741986a298d7b' }, h("div", { key: '28466211a27bcda5cf7540c106f5e5072de5c129', class: textareaClass }, this.label && h("label", { key: 'cf246f78f3f66332b1e551f75f03bfaebd74a908', htmlFor: this.input_id, class: "dda-input-label" }, this.label), this.enable_rich_editor ? (h("div", { id: "editor", class: "dda-richeditor-field" })) : (h("textarea", { id: this.input_id, name: this.textarea_name, "aria-label": this.aria_label, placeholder: this.placeholder, value: this.value, onInput: (event) => this.handleInput(event), class: "dda-input-field dda-input-textarea", maxLength: this.max_characters })), this.helper_text && (h("div", { key: 'e1663ec2fc389f29a4ca3ced4098c2f23f4c13c8', class: "dda-helper-text" }, h("span", { key: 'a77fcbf86cc207d4cde0a57db4bbd59d1274dd63', class: "dda-flex dda-align-center dda-gap-2" }, h("i", { key: 'e11860b7d980428d58e0b9d2e53f539540ac6b9d', class: "material-icons material-symbols-outlined" }, "info"), " ", this.helper_text), h("span", { key: '0f3e4965214f168f6f20f78e6903bc3a07863e50', class: "dda-letter-count" }, this.characterCount, " / ", this.max_characters))), this.error_message && (h("div", { key: 'fad6f9a9b4eb6777614e30ed1664cc599a7497ae', class: "dda-error-message" }, h("span", { key: '3b2b7e5042fc93deb810f1fb1e9df3ce02a446d4', class: "dda-flex dda-align-center dda-gap-2" }, h("i", { key: 'b459f1fc4598d4b9e936d4e16478f8c2b4724af3', class: "material-icons material-symbols-outlined" }, "info"), " ", this.error_message), h("span", { key: '894c8da4741e5997da4a2b6989b7ac0a1dd6bdae', class: "dda-letter-count" }, this.characterCount, " / ", this.max_characters))))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "dda-textarea"; }
|
|
54
54
|
static get originalStyleUrls() {
|
|
@@ -10,7 +10,7 @@ export class DdaToggle {
|
|
|
10
10
|
this.custom_class ? `${this.custom_class}` : '',
|
|
11
11
|
this.component_mode,
|
|
12
12
|
].filter(Boolean).join(' ');
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'ef82e100e6786a565b6a0d378f371a6f8eeae522' }, h("label", { key: 'd1f33431a2bd5c78ad6900f10a39f7fed809940e', class: toggleClass, htmlFor: this.input_id }, h("input", { key: '48c0ff13b9e0ae8a95111660c6051f68b2e13047', "aria-label": this.aria_label, type: "checkbox", id: this.input_id, name: this.group_name, checked: this.checked }), h("span", { key: '38e0af80d8c371d37a2b3a82178fe24ebc36a2e3', class: "toggle" }), h("p", { key: 'c1ec1cadeb10d0ec643e8dfccc7ab4080791a64c' }, h("span", { key: 'f730434e432e91dd11ca1869ebe3474aa686a5df', class: "toggle-title" }, "Radio Button Title"), h("span", { key: '084e6dd62063fe0b4e0e0e737716bb7b64a5cdbe', class: "toggle-supporting" }, "Supporting Text")))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "dda-toggle"; }
|
|
16
16
|
static get originalStyleUrls() {
|
|
@@ -5,7 +5,7 @@ export class DdaTooltip {
|
|
|
5
5
|
this.custom_class = '';
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '83671bd7454b6c96eb4c7d9c23ec0b04ffb812b5' }, h("div", { key: '08771b8a5bbbd9f7745dac15aa085210098630a3', class: `dda-tooltip-container ${this.custom_class} ${this.component_mode}` }, h("slot", { key: 'fb30f62b9dda1e7554b41e95aedc983d8bc045c5' }), h("div", { key: '887bd2d6605cd2e98dc8556879569571534a636e', class: `dda-tooltip-box ${this.position}` }, h("strong", { key: 'c9fc851c2f5d45089ece5ede23020521c3547c78' }, this.title_text), h("p", { key: 'c380dcb925073119557d83d7959b0ecc34369b86' }, this.description)))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "dda-tooltip"; }
|
|
11
11
|
static get originalStyleUrls() {
|
|
@@ -11,7 +11,7 @@ export class DdaUiCard {
|
|
|
11
11
|
this.linkicon = 'arrow_forward';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '8dbb9cb8700c4bd45ce10e4cd25957348e7a7665' }, h("div", { key: '1d646685c8c823abca05dde069afcce30fbd7abb', class: 'dda-card' }, h("div", { key: '286a41509da68cf665d52963f82b56aea9141384', class: 'dda-card-body' }, this.type !== 'custom' && (h("div", { key: '13353a01827a6484d2be9128ce0614662bbc0acd' }, !!this.icon && (h("span", { key: '472b65fa2df2fa66e0821df83b919d7b39f932bc', class: 'dda-card-icon' }, h("i", { key: 'a47bd8c92a767653058a924e989335f636099be8', class: 'material-icons' }, this.icon))), !!this.image && (h("span", { key: '255a22badbe7f01ba7efd9f7cdb2ce7a0b8526ae', class: 'dda-card-icon' }, h("img", { key: 'c439d3eeaef76881ca47881603960ce3ab582e6d', src: this.image, alt: this.maintitle }))), !!this.maintitle && h("h1", { key: 'f78517807aeb3642c01dd57d1084ab34a78e0713', class: 'dda-card-title' }, this.maintitle), !!this.subtitle && h("p", { key: 'f12cd1a9fb9b2e1994a636f92f16754600ec03de', class: 'dda-card-text-muted' }, this.subtitle), !!this.link && (h("a", { key: '5c068a24ee05d8694ea82ade806878a7c37d856c', href: this.link, class: 'dda-card-link' }, this.linktext, ' ', this.linkicon && (h("span", { key: 'cbd3c42c3cde2f5206c836db1392371fcbc638e2' }, h("i", { key: '2b9881d6afff44212dc12d5fb99e566dfa78e151', class: 'material-icons' }, this.linkicon))))))), h("slot", { key: 'cd14d3a5397946c24424cc877f4570bab0df1113' })))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "dda-ui-card"; }
|
|
17
17
|
static get originalStyleUrls() {
|
package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.js
CHANGED
|
@@ -7,7 +7,7 @@ export class DdaSegmentedTabs {
|
|
|
7
7
|
this.parsedItems = JSON.parse(this.items);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '35eb91c83cd68999016ed30b8456daf58bd7ddb9', class: `dda-segmented-group ${this.custom_class} ${this.radius_type} ${this.component_mode}` }, this.parsedItems.map(item => (item.startsWith('fo') ?
|
|
11
11
|
h("button", { name: this.button_name, class: "dda-segmented-item" }, h("i", { class: "material-icons material-symbols-outlined" }, item)) :
|
|
12
12
|
h("button", { name: this.button_name, class: "dda-segmented-item" }, item)))));
|
|
13
13
|
}
|
|
@@ -8,7 +8,7 @@ export class DdaHorizontalStepper {
|
|
|
8
8
|
this.parsedSteps = JSON.parse(this.steps);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'e558148129b0a5f0dbe7200e338b8c32679c6425' }, h("div", { key: 'b532d52fe4624327e4b65c35a68577731bd4135b', class: `${this.custom_class} ${this.component_mode} h-stepper-container` }, this.parsedSteps.map((step, index) => (h("div", { class: `h-step ${index === this.current_step ? 'active' : ''} ${index < this.current_step ? 'completed' : ''}` }, h("div", { class: "h-step-indicator" }, h("div", { class: "circle" })), h("div", { class: "h-step-content" }, h("div", { class: "h-step-title" }, step.title), h("div", { class: "h-step-subtitle" }, step.subtitle), h("div", { class: "h-step-description" }, step.description))))))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "dda-horizontal-stepper"; }
|
|
14
14
|
static get originalStyleUrls() {
|
|
@@ -9,7 +9,7 @@ export class DdaVerticalStepper {
|
|
|
9
9
|
this.parsedSteps = JSON.parse(this.steps);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'b0f1015cfaebe2685ec8f64ae0bace2b50c75df3' }, h("div", { key: '9b8bddf68ddcda3f5890e309a49776bffe27a6e6', class: `${this.custom_class} ${this.component_mode} v-stepper-container` }, this.parsedSteps.map((step, index) => (h("div", { class: `v-step ${index <= this.current_Step ? 'active' : ''}` }, h("div", { class: "v-step-indicator" }, h("div", { class: "icon" }, h("i", { class: `material-icons` }, step.icon))), h("div", { class: "v-step-content" }, h("div", { class: "v-step-title" }, step.title), h("div", { class: "v-step-subtitle" }, step.subtitle), h("div", { class: "v-step-description" }, step.description)), h("div", { class: "v-step-arrow" }, h("i", { class: "material-icons material-symbols-outlined" }, "chevron_right"))))))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "dda-vertical-stepper"; }
|
|
15
15
|
static get originalStyleUrls() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, d as createEvent, h } from './p-4928c8aa.js';
|
|
2
2
|
import { d as defineCustomElement$5 } from './p-0b59eac4.js';
|
|
3
|
-
import { d as defineCustomElement$4 } from './p-
|
|
4
|
-
import { d as defineCustomElement$3 } from './p-
|
|
5
|
-
import { d as defineCustomElement$2 } from './p-
|
|
3
|
+
import { d as defineCustomElement$4 } from './p-76a543e8.js';
|
|
4
|
+
import { d as defineCustomElement$3 } from './p-ca8f2482.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './p-2084265f.js';
|
|
6
6
|
|
|
7
7
|
const ddaHeaderCss = "";
|
|
8
8
|
const DdaHeaderStyle0 = ddaHeaderCss;
|
|
@@ -31,6 +31,7 @@ const DdaHeader$1 = /*@__PURE__*/ proxyCustomElement(class DdaHeader extends H {
|
|
|
31
31
|
this.openMenus = {};
|
|
32
32
|
this.activeMenuIndex = null;
|
|
33
33
|
this.usepredesignedaccessibilitymenu = true;
|
|
34
|
+
this.SearchValue = '';
|
|
34
35
|
this.toggleEscapeKey = (event) => {
|
|
35
36
|
if (event.key === 'Escape') {
|
|
36
37
|
this.isMenuOpen = false;
|
|
@@ -138,8 +139,8 @@ const DdaHeader$1 = /*@__PURE__*/ proxyCustomElement(class DdaHeader extends H {
|
|
|
138
139
|
this.accessibilitymenuhandler = () => {
|
|
139
140
|
this.accessibilitymenufunctionality.emit();
|
|
140
141
|
};
|
|
141
|
-
this.searchhandler =
|
|
142
|
-
this.searchfunctionality.emit(
|
|
142
|
+
this.searchhandler = searchval => {
|
|
143
|
+
this.searchfunctionality.emit(searchval);
|
|
143
144
|
};
|
|
144
145
|
this.renderSubMenu = (subMenu, parentLi) => {
|
|
145
146
|
if (!subMenu || subMenu.length === 0)
|
|
@@ -207,7 +208,7 @@ const DdaHeader$1 = /*@__PURE__*/ proxyCustomElement(class DdaHeader extends H {
|
|
|
207
208
|
const setActiveMenuIndex = (index) => {
|
|
208
209
|
this.activeMenuIndex = index;
|
|
209
210
|
};
|
|
210
|
-
return (h("header", { key: '
|
|
211
|
+
return (h("header", { key: 'c223d75356b182aa2235e57cac46f7978a029b21', class: `dda-header ${isHomepage ? 'transparent' : ''}` }, h("div", { key: '7e80db39c000e9f348337bc2dc3462673d7ae4ce', class: "dda-head-logo" }, h("a", { key: '0c734b1f4e117af78b9618c71a9b737595665306', href: this.firstLogoHref, class: "govt-logo" }, isHomepage ? (h("img", { class: "logo-white", src: this.firstLogoWhiteSrc, alt: this.firstLogoAlt })) : (h("img", { class: "logo-colored", src: this.firstLogoSrc, alt: this.firstLogoAlt }))), h("a", { key: '1477f0416ef78eab7692747ff341a11e2284c1b1', href: this.secondLogoHref, class: "entt-logo" }, isHomepage ? (h("img", { class: "logo-white", src: this.secondLogoWhiteSrc, alt: this.secondLogoAlt })) : (h("img", { class: "logo-colored", src: this.secondLogoSrc, alt: this.secondLogoAlt })))), h("div", { key: '20261d1d1a563db96ed46eceaffc217d157aec20', class: "dda-menu-container" }, h("div", { key: '3ce172519e7e9f826102908b83a91d1452d7ecef', class: "dda-main-navigation" }, h("div", { key: '4abb64a704441375703a4055545fc77d8905b462', class: `dda-menu-overley ${this.isMenuOpen ? 'show-overley' : ''}`, onClick: this.toggleMenu }), h("div", { key: '96ed0b3f1c246a780cea86333b56afa10d3ccaaf', class: "hamburger-menu", onClick: this.toggleMenu }, h("dda-tooltip", { key: '8afc1c8fad9f0b5f252591cea5c6d3a8c1b368de', title_text: "Menu", position: "top", class: "d-block" }, h("button", { key: '86d83873864a3ce91e601c6d7e5ebed402785f88', type: "button", class: "hamburger-menu-btn", name: this.hamburger_menu_button_name }, h("span", { key: '5e55605dbbc1c689b8ab853f1725c96e441f71bc', class: "hamburger-line" }), h("span", { key: '00345112d35e5ddfa755ff79cb5121ccc779c3d8', class: "hamburger-menu-text" }, "hamburger menu text")))), h("div", { key: '190ccc953bfeb09b3f56bc140b5451be92737729', class: "dda-sidemenu", style: { display: this.isMenuOpen ? 'block' : '', insetInlineStart: this.isMenuOpen ? '0px' : '' } }, h("div", { key: 'dfb88c5a992f0abc14230bdc2a930115cdda960e', class: "dda-sidemenu-content" }, h("p", { key: '8bbed41ef8ff040e80ab34220ea4857f11799f5b', class: "dda-side-nav-title" }, this.menuTitle || 'Quick Links'), h("ul", { key: '6b78fbdc28c408e304cbeac6ffe58e7e327d00de', class: "main_side_menu" }, sideMenuItems.map((menu, index) => {
|
|
211
212
|
const currentIndex = `menu-${index}`;
|
|
212
213
|
return (h("li", { key: currentIndex }, h("a", { href: menu.href, class: menu.subMenu && menu.subMenu.length > 0 ? 'showSub' : '', onClick: e => {
|
|
213
214
|
if (menu.subMenu && menu.subMenu.length > 0) {
|
|
@@ -215,14 +216,13 @@ const DdaHeader$1 = /*@__PURE__*/ proxyCustomElement(class DdaHeader extends H {
|
|
|
215
216
|
this.toggleSidebarSubMenu(currentIndex);
|
|
216
217
|
}
|
|
217
218
|
} }, menu.label), this.renderSubMenu(menu.subMenu, currentIndex)));
|
|
218
|
-
}))), h("div", { key: '
|
|
219
|
+
}))), h("div", { key: '8367966a35f7385d67c7d067c5df4bc7bb7fa886', class: "dda-sidemenu-bottom" }, h("div", { key: 'dc09d1bf6e8cbdf7d8c1791befabf71b7277e32d', class: "dda-sidemenu-gov-logo" }, h("a", { key: 'b62afe5b6d8e26fa976e1c0b2252aa9b8c655a70', href: this.firstLogoHref, class: "govt-logo mb-2" }, h("img", { key: '592bd0f54d4338e25aed8753d88bd88f3061a447', class: "", src: this.firstLogoSrc, alt: this.firstLogoAlt }))), h("div", { key: 'af1e9caab77fc22be0ee7bdf6d68e8cade816450', class: "dda-toolbar-menu-sidemenu" }, h("ul", { key: '2a2145caf2a9bfce10f1351678bdcc0648ce81db' }, h("li", { key: '059d66bb02c9cb00b77e8719a7a884e5b47734d9' }, h("button", { key: '5211d4627f094f99070f268d6a0ff5caabcdbf2e', name: this.accessibility_button_name, class: "tool-btn accessibility-btn", type: "button", onClick: () => {
|
|
219
220
|
this.accessibilitymenuhandler();
|
|
220
|
-
} }, h("i", { key: '
|
|
221
|
+
} }, h("i", { key: 'f43cbd946268d9fcc8b8b2de7c3938e88fc33891', class: "material-icons material-symbols-outlined" }, "accessible_forward"), h("span", { key: '77f2297733aa15444c4521a91e01a4f8c1c71437', class: "visually-hidden" }, "Accessibility"))), h("li", { key: '2ba0e60047d44b14d3241c4df39c722244dd6bd9' }, h("button", { key: '17a7727ea48e0c3120026273424b8a33abc2ccfd', name: this.language_button_name, class: "tool-btn", type: "button", onClick: this.languagehandler }, "\u0627\u0644\u0639\u0631\u0628\u064A\u0629")), h("li", { key: '562113a2eda9953b06401ec95b5dccea1ffd1933' }, h("dda-link-button", { key: '9a784bb5f0fdfeee9dd970020fa9005d21276f4c', button_color: "onsurface-secondary", start_icon: this.loginIcon || 'sentiment_satisfied', custom_class: "tool-btn", href: this.loginLink, button_shape: "circle", size: "sm" }, this.loginText || 'Login'))))), h("button", { key: '84db3e7992986366e5dd1e6b2554e6952982f212', name: this.close_menu_button_name, class: "close-btn side-nav-close-btn", "aria-label": "Close Sidebar", onClick: this.toggleMenu }, h("i", { key: 'f7b0dbf2bca0a197c398f0a52e1eba4378759565', class: "material-icons material-symbols-outlined" }, "close")), h("div", { key: 'a827fcabed5cdd227cb0aa1e06c107eb9782e73c', class: "dda-accessibility hide-accessibility mobile-accessibility", style: { display: this.isAccessibiltyOpen ? 'block' : 'none' } }, h("div", { key: '689f00aa4b36b1bee336c4343c7386b99a3ed540', class: "dda-row" }, h("div", { key: 'f744d1883e6dfee29e13e2c79e409f45b66db694', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: '48270c71352d1b41287016d98a007f792f23df7c', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Contrast"), h("form", { key: '741ba98c49e5fbbc5d546831c44405d1a6862bc0' }, h("fieldset", { key: '9678240f00c2ddb14c1cff5d1db3ccad9730ab81', class: "dda-theme-list" }, h("legend", { key: '62d0c0aedb8784dcb9e49d6cc9a86830fadd47c6' }, h("p", { key: 'f02529b587e1e930627a0ae345260f9d7cfa2643', class: "mb-3" }, "Select your preferred contrast setting ")), h("dda-radiobutton", { key: 'ba0df6e503b1c350d6b9719ce770cb3463f35ed5', title_text: "Normal", checked: true, size: "sm", variants: "normal", supporting: "", group_name: "themeselectionmobile", input_id: "NormalMobile", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.normalContrasthandler }), h("dda-radiobutton", { key: '08827ae383522f86fb8173279714b828c8256e05', title_text: "Colours Blind", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselectionmobile", input_id: "ColoursBlindMobile", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.blindContrasthandler }), h("dda-radiobutton", { key: 'c2168f212cfca4f808d3003d51de4732c4fab26e', title_text: "Red Weakness", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselectionmobile", input_id: "RedWeaknessMobile", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.redContrasthandler }), h("dda-radiobutton", { key: '934dd43679e11a77c4f2456a8fcb63ee1d4447af', title_text: "Green Weakness", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselectionmobile", input_id: "GreenWeaknessMobile", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.greenContrasthandler })))), h("div", { key: '3dd9f650e95821a02a76249d6c092725820afb3d', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: '4c4b010744a3651600bd72693fa98772541bfbcc', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Screen Reader"), h("p", { key: '9dc20c3cb50472684520b69386e53428e693259c', class: "mb-3" }, "Listen to the content of the page by clicking play or listen"), h("div", { key: '3383793a5065f0c1598582e3edde5d8030d6781d', class: "rs_skip rsbtn rs_preserve", id: "readspeaker_button1" }, h("a", { key: 'e27db1e4a22b09dcfb46c58cfa66a97ccfdd0795', href: this.readSpeakerLink, rel: "nofollow", class: "rsbtn_play circle readspeaker", accessKey: "L", "aria-label": "Listen to this page using ReadSpeaker" }, h("i", { key: 'f338a5b9813967eb75ad098d35d1ea8d9ddcbddd', class: "material-icons material-symbols-outlined" }, "volume_up")))), h("div", { key: '7c866e1dcb185fc4a4c257e8085a617b40efc23b', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: '25d2c19a8242097ab24a058810e89c21192b3c78', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Text Size"), h("p", { key: '8249c87713bebee38af66a7805490e9df5c25f56', class: "mb-3" }, "Use the buttons below to increase or decrease the text size"), h("div", { key: 'bc71eb3d1a78d5dc34ce3dc6db25c959a87ef928', class: "d-flex dda-gap-4" }, h("dda-button", { key: '4c5c37b90c370f4ea71cdc261e3b656c0796551e', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.baseTexthandler }, "A"), h("dda-button", { key: 'ed9d400b8d988251894b4e364b179481c979d08a', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.lgTexthandler }, "A+"), h("dda-button", { key: '019908232881cd00ee2903237ac2b2f05aef5756', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.smTexthandler }, "A-")))), h("button", { key: 'd569c3665b00ae1b927dc494858e26893de33c78', name: this.close_accessibility_button_name, class: "close-btn close_accessibility", "aria-label": "Close Accessibility", onClick: this.toggleAccessibilty }, h("i", { key: 'd7fbe48e28e0edcdef024b62a3a04d981e3df8f2', class: "material-icons material-symbols-outlined" }, "close")))), h("div", { key: 'd5be1b521ac898e45d2d65419399950fb811bd94' }, h("ul", { key: '9294591d525724666dde1a0a8c6b495d8fdb16d7', class: "dda-mega-menu" }, quickLinks.map((link, index) => (h("li", { key: index }, h("a", { href: link.subMenu && link.subMenu.length > 0 ? '#' : link.href, onClick: link.subMenu && link.subMenu.length > 0 ? e => this.toggleSubMenu(index, e) : undefined, class: `${link.subMenu && link.subMenu.length > 0 ? `showSub ${this.activeMenuIndex === index ? 'icon_arrow' : ''}` : ''} ${link.active === 'true' ? 'active' : ''}` }, link.label), link.subMenu && link.subMenu.length > 0 && (h("div", { class: `megamenu-content ${this.activeMenuIndex === index ? 'showSubMenu' : ''}`, style: { display: this.activeMenuIndex === index ? 'block' : 'none', paddingTop: '15px' } }, h("div", { class: "megamenu-item dda-container" }, h("div", { class: "dda-row" }, h("div", { class: "dda-col-md-3" }, h("h3", { class: "mega-menu-title" }, link.menuLabel), h("ul", null, link.subMenu.map((subItem, subIndex) => (h("li", { key: subIndex }, h("a", { class: "megamenu-link", href: subItem.href }, h("span", { class: "dda-btn btn-color-onsurface-secondary btn-size-sm icon-btn-default" }, h("i", { class: "material-icons material-symbols-outlined" }, subItem.icon)), h("span", { class: "text-wrap" }, h("span", { class: "title-text dda-fs-body-lg dda-fw-700" }, subItem.title), h("span", { class: "dda-fs-tagline-lg dda-fw-400" }, subItem.description))))))))), h("button", { name: "close-mega-menu", class: "close-btn close_mega-menu", "aria-label": "Close Sidebar", onClick: () => setActiveMenuIndex(null) }, h("i", { class: "material-icons material-symbols-outlined" }, "close"))))))))))), h("div", { key: '8ea84f8db46c95a23765243383fd096c4530e6a7', class: "dda-mobile-entt-logo" }, h("a", { key: '39324a9b1f5fd8ef9c2dd5f52f11ad050afb207f', href: "#", class: "entt-logo" }, h("img", { key: 'fe1c536853c53f292852ffd4cb5ce4a66feea6da', class: "logo-colored", src: this.secondLogoSrc, alt: this.secondLogoAlt }), h("img", { key: '9ee6d289abe56df1aaf52ec8c7161ef4db177629', class: "logo-white", src: this.secondLogoWhiteSrc, alt: this.secondLogoAlt }))), h("div", { key: '12d82ced507fb7f5d83cc07a1248e967cbe9010f', class: "dda-mobile-search" }, h("button", { key: 'af1f62b0a986ba2ddfa4072b5d9b5d998d15a758', name: this.search_button_name, class: "tool-btn", type: "button" }, h("span", { key: 'bce51d73cf517d71bb7df2f7f89a088d5516fa60', class: "visualy-hidden" }, "Search"), h("i", { key: '2183e13e49d2f95bc0b35b839c333ac217b0ca4f', class: "material-icons material-symbols-outlined" }, "search"))), h("div", { key: '002883b041c742af64c4419b43d23519815bf88e', class: "dda-toolbar-menu" }, h("ul", { key: '3d1d41a2bf68212379ccc0b9f42df0b8fd163550' }, h("li", { key: 'a83238633e44b05b5330debd8955d763f5d52ffd' }, h("dda-tooltip", { key: 'ed710b9e0554f64e2a771b37246f07a604cbb6be', title_text: "Search", description: "", position: "top" }, h("div", { key: 'eead094a72b009576e886c125b6761b38388acee', class: "dda-search dda-btn btn-color-onsurface-secondary btn-size-sm btn-shape-circle tool-btn" }, h("label", { key: '46442871ef84981d4ff3e45b51bdbac9d6377650', htmlFor: "ddaSearch", class: "visualy-hidden" }, this.searchText || 'Search'), h("i", { key: '41b571c241687f80689b1e7d57386f7337d8a49d', class: "material-icons material-symbols-outlined" }, "search"), h("input", { key: 'cb46705b9c466585a30c3da0105687dfa1199ab1', name: this.search_input_name, type: "text", id: "ddaSearch", class: "", placeholder: this.searchText || 'Search', onKeyPress: e => {
|
|
221
222
|
if (e.key === 'Enter') {
|
|
222
|
-
|
|
223
|
-
this.searchhandler(inputValue); // Pass the value to the searchhandler
|
|
223
|
+
this.searchhandler(e.target.value); // Pass the value to the searchhandler
|
|
224
224
|
}
|
|
225
|
-
} })))), h("li", { key: '
|
|
225
|
+
} })))), h("li", { key: '1280d4f9affe4355ecd229ec4bfd8036eea25d2a' }, h("dda-tooltip", { key: '2bcfc76731f48b527b5277385e25bc071c717439', title_text: "Accessibility", position: "top" }, h("button", { key: '98006fbee82f8fb045accda59d22ae6a754c92c1', name: this.toggle_accessibility_button_name, class: "tool-btn dda-btn btn-color-onsurface-secondary btn-size-sm btn-shape-circle accessibility-btn", type: "button", onClick: this.toggleAccessibilty }, h("i", { key: '52ba498090fd3c5d9b54c2752900a42738a196ac', class: "material-icons material-symbols-outlined" }, "accessible_forward"), h("span", { key: 'f3d9272f01a3ac09fd595f29b61e96d32d8cdf97', class: "visually-hidden" }, "Accessibility"))), this.usepredesignedaccessibilitymenu ? (h("div", { class: "dda-accessibility-wrap" }, h("div", { class: "dda-accessibility hide-accessibility", style: { display: this.isAccessibiltyOpen ? 'block' : 'none' } }, h("div", { class: "dda-row" }, h("div", { class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Contrast"), h("form", null, h("fieldset", { class: "dda-theme-list" }, h("legend", null, h("p", { class: "mb-3" }, "Select your preferred contrast setting ")), h("dda-radiobutton", { title_text: "Normal", checked: true, size: "sm", variants: "normal", supporting: "", group_name: "themeselection", input_id: "Normal", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.normalContrasthandler }), h("dda-radiobutton", { title_text: "Colours Blind", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselection", input_id: "ColoursBlind", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.blindContrasthandler }), h("dda-radiobutton", { title_text: "Red Weakness", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselection", input_id: "RedWeakness", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.redContrasthandler }), h("dda-radiobutton", { title_text: "Green Weakness", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselection", input_id: "GreenWeakness", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.greenContrasthandler })))), h("div", { class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Screen Reader"), h("p", { class: "mb-3" }, "Listen to the content of the page by clicking play or listen"), h("div", { class: "rs_skip rsbtn rs_preserve", id: "readspeaker_button1" }, h("a", { href: this.readSpeakerLink, rel: "nofollow", class: "rsbtn_play circle readspeaker", accessKey: "L", "aria-label": "Listen to this page using ReadSpeaker" }, h("i", { class: "material-icons material-symbols-outlined" }, "volume_up")))), h("div", { class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Text Size"), h("p", { class: "mb-3" }, "Use the buttons below to increase or decrease the text size"), h("div", { class: "d-flex dda-gap-4" }, h("dda-button", { button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.baseTexthandler }, "A"), h("dda-button", { button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.lgTexthandler }, "A+"), h("dda-button", { button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.smTexthandler }, "A-")))), h("button", { name: this.close_accessibility_button_name, class: "close-btn close_accessibility", "aria-label": "Close Sidebar", onClick: this.toggleAccessibilty }, h("i", { class: "materinal-icons material-symbols-outlined" }, "close"))))) : null), h("li", { key: '1062482548a7be82e752e05a1e5ddb42a139f6fa' }, h("dda-tooltip", { key: 'bc7bce9118366af6bdf3b1e47879acfc0ccea4f3', title_text: "Language", position: "top" }, h("dda-button", { key: 'ebd1ba49f15dcfdf7639cf446df605976b7a04ab', button_color: "onsurface-secondary", custom_class: "tool-btn", button_shape: "circle", size: "sm", onClick: this.languagehandler }, this.language_text))), h("li", { key: '0c9f9b10b804698bed89436e36b0cb203ae28f28' }, h("dda-tooltip", { key: '6338ca3fbedb63bbc8c4c3e593a38bdb53a3a508', title_text: "Login", position: "top" }, h("dda-link-button", { key: 'd0fecec5281b7fbee7ba91d58e7e21dac0562dd9', button_color: "onsurface-secondary", start_icon: this.loginIcon || 'sentiment_satisfied', custom_class: "tool-btn", href: this.loginLink, button_shape: "circle", size: "sm" }, this.loginText || 'Login'))))))));
|
|
226
226
|
}
|
|
227
227
|
static get style() { return DdaHeaderStyle0; }
|
|
228
228
|
}, [0, "dda-header", {
|
|
@@ -258,7 +258,8 @@ const DdaHeader$1 = /*@__PURE__*/ proxyCustomElement(class DdaHeader extends H {
|
|
|
258
258
|
"isSideSubMenuOpen": [32],
|
|
259
259
|
"isAccessibiltyOpen": [32],
|
|
260
260
|
"openMenus": [32],
|
|
261
|
-
"activeMenuIndex": [32]
|
|
261
|
+
"activeMenuIndex": [32],
|
|
262
|
+
"SearchValue": [32]
|
|
262
263
|
}]);
|
|
263
264
|
function defineCustomElement$1() {
|
|
264
265
|
if (typeof customElements === "undefined") {
|