@mozaic-ds/web-components 0.7.0 → 0.9.0-beta
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/package.json +1 -1
- package/public/ClickOutside-63071e7a.js +15 -1
- package/public/ClickOutside-63071e7a.js.map +1 -1
- package/public/DataTableDefaultAction.nested-c37a5d51.js +762 -0
- package/public/DataTableDefaultAction.nested-c37a5d51.js.map +1 -0
- package/public/DataTableUtilities-313a448d.js +386 -0
- package/public/DataTableUtilities-313a448d.js.map +1 -0
- package/public/EventForward-8492ff62.js +109 -1
- package/public/EventForward-8492ff62.js.map +1 -1
- package/public/EventHandler-02058705.js +15 -1
- package/public/EventHandler-02058705.js.map +1 -1
- package/public/adeo/{DataTableDefaultAction.nested-90536fe3.js → DataTableDefaultAction.nested-ac2e3dbe.js} +2 -2
- package/public/adeo/{DataTableDefaultAction.nested-90536fe3.js.map → DataTableDefaultAction.nested-ac2e3dbe.js.map} +1 -1
- package/public/adeo/DataTableUtilities-313a448d.js +2 -0
- package/public/adeo/DataTableUtilities-313a448d.js.map +1 -0
- package/public/adeo/bundle.js +5 -0
- package/public/adeo/components/barchart/BarChart.svelte +3 -4
- package/public/adeo/components/chart/BarChart.js +1 -1
- package/public/adeo/components/chart/BarChart.js.map +1 -1
- package/public/adeo/components/datatable/DataTable.js +1 -1
- package/public/adeo/components/datatable/DataTable.js.map +1 -1
- package/public/adeo/components/datatable/DataTable.svelte +12 -0
- package/public/adeo/components/datatable/DataTableDefaultAction.nested.js +1 -1
- package/public/adeo/components/datatable/DataTableDefaultEdtion.nested.js +1 -1
- package/public/adeo/components/datatable/DataTableDefaultFilterTags.nested.js +1 -1
- package/public/adeo/components/datatable/DataTableFooter.nested.js +1 -1
- package/public/adeo/components/datatable/data.d.ts.map +1 -1
- package/public/adeo/components/datatable/datatable.types.d.ts +9 -2
- package/public/adeo/components/datatable/datatable.types.d.ts.map +1 -1
- package/public/adeo/components/header/Header.js +1 -1
- package/public/adeo/components/header/Header.js.map +1 -1
- package/public/adeo/components/header/Header.svelte +2 -2
- package/public/adeo/components/kpi/Kpi.js +2 -0
- package/public/adeo/components/kpi/Kpi.js.map +1 -0
- package/public/adeo/components/kpi/Kpi.svelte +232 -0
- package/public/adeo/components/sidebar/Sidebar.js +1 -1
- package/public/adeo/components/sidebar/Sidebar.js.map +1 -1
- package/public/adeo/components/sidebar/Sidebar.svelte +1 -1
- package/public/adeo/icons-storybook.js +16 -0
- package/public/adeo/main.d.ts +1 -0
- package/public/adeo/main.d.ts.map +1 -1
- package/public/adeo/utilities/DataTableUtilities.d.ts.map +1 -1
- package/public/adeo/utilities/DataTableUtilities.ts +22 -2
- package/public/array-5b770a93.js +13 -1
- package/public/array-5b770a93.js.map +1 -1
- package/public/axis-fbc0f7b5.js +174 -1
- package/public/axis-fbc0f7b5.js.map +1 -1
- package/public/band-d7a07d2c.js +186 -1
- package/public/band-d7a07d2c.js.map +1 -1
- package/public/bricoman/{DataTableDefaultAction.nested-928e5e2d.js → DataTableDefaultAction.nested-bcc599d1.js} +2 -2
- package/public/bricoman/{DataTableDefaultAction.nested-928e5e2d.js.map → DataTableDefaultAction.nested-bcc599d1.js.map} +1 -1
- package/public/bricoman/DataTableUtilities-313a448d.js +2 -0
- package/public/bricoman/DataTableUtilities-313a448d.js.map +1 -0
- package/public/bricoman/bundle.js +5 -0
- package/public/bricoman/components/barchart/BarChart.svelte +3 -4
- package/public/bricoman/components/chart/BarChart.js +1 -1
- package/public/bricoman/components/chart/BarChart.js.map +1 -1
- package/public/bricoman/components/datatable/DataTable.js +1 -1
- package/public/bricoman/components/datatable/DataTable.js.map +1 -1
- package/public/bricoman/components/datatable/DataTable.svelte +12 -0
- package/public/bricoman/components/datatable/DataTableDefaultAction.nested.js +1 -1
- package/public/bricoman/components/datatable/DataTableDefaultEdtion.nested.js +1 -1
- package/public/bricoman/components/datatable/DataTableDefaultFilterTags.nested.js +1 -1
- package/public/bricoman/components/datatable/DataTableFooter.nested.js +1 -1
- package/public/bricoman/components/datatable/data.d.ts.map +1 -1
- package/public/bricoman/components/datatable/datatable.types.d.ts +9 -2
- package/public/bricoman/components/datatable/datatable.types.d.ts.map +1 -1
- package/public/bricoman/components/header/Header.js +1 -1
- package/public/bricoman/components/header/Header.js.map +1 -1
- package/public/bricoman/components/header/Header.svelte +2 -2
- package/public/bricoman/components/kpi/Kpi.js +2 -0
- package/public/bricoman/components/kpi/Kpi.js.map +1 -0
- package/public/bricoman/components/kpi/Kpi.svelte +232 -0
- package/public/bricoman/components/sidebar/Sidebar.js +1 -1
- package/public/bricoman/components/sidebar/Sidebar.js.map +1 -1
- package/public/bricoman/components/sidebar/Sidebar.svelte +1 -1
- package/public/bricoman/icons-storybook.js +16 -0
- package/public/bricoman/main.d.ts +1 -0
- package/public/bricoman/main.d.ts.map +1 -1
- package/public/bricoman/utilities/DataTableUtilities.d.ts.map +1 -1
- package/public/bricoman/utilities/DataTableUtilities.ts +22 -2
- package/public/bundle.js +5 -0
- package/public/components/accordion/Accordion.js +365 -1
- package/public/components/accordion/Accordion.js.map +1 -1
- package/public/components/autocomplete/Autocomplete.js +1515 -1
- package/public/components/autocomplete/Autocomplete.js.map +1 -1
- package/public/components/badge/Badge.js +155 -1
- package/public/components/badge/Badge.js.map +1 -1
- package/public/components/badge/Badge.nested.js +101 -1
- package/public/components/badge/Badge.nested.js.map +1 -1
- package/public/components/barchart/BarChart.svelte +3 -4
- package/public/components/breadcrumb/Breadcrumb.js +372 -1
- package/public/components/breadcrumb/Breadcrumb.js.map +1 -1
- package/public/components/breadcrumb/Breadcrumb.nested.js +319 -1
- package/public/components/breadcrumb/Breadcrumb.nested.js.map +1 -1
- package/public/components/button/Button.js +1138 -1
- package/public/components/button/Button.js.map +1 -1
- package/public/components/card/Card.js +369 -1
- package/public/components/card/Card.js.map +1 -1
- package/public/components/chart/BarChart.js +583 -1
- package/public/components/chart/BarChart.js.map +1 -1
- package/public/components/chart/Donut.js +1189 -1
- package/public/components/chart/Donut.js.map +1 -1
- package/public/components/chart/GroupedBarChart.js +750 -1
- package/public/components/chart/GroupedBarChart.js.map +1 -1
- package/public/components/chart/LineChart.js +1731 -1
- package/public/components/chart/LineChart.js.map +1 -1
- package/public/components/chart/Radar.js +729 -1
- package/public/components/chart/Radar.js.map +1 -1
- package/public/components/chart/StackedBarChart.js +745 -1
- package/public/components/chart/StackedBarChart.js.map +1 -1
- package/public/components/checkbox/Checkbox.js +307 -1
- package/public/components/checkbox/Checkbox.js.map +1 -1
- package/public/components/checkboxgroup/checkboxGroup.js +404 -1
- package/public/components/checkboxgroup/checkboxGroup.js.map +1 -1
- package/public/components/datatable/DataTable.js +3098 -1
- package/public/components/datatable/DataTable.js.map +1 -1
- package/public/components/datatable/DataTable.svelte +12 -0
- package/public/components/datatable/DataTableDefaultAction.nested.js +4 -1
- package/public/components/datatable/DataTableDefaultAction.nested.js.map +1 -1
- package/public/components/datatable/DataTableDefaultEdtion.nested.js +164 -1
- package/public/components/datatable/DataTableDefaultEdtion.nested.js.map +1 -1
- package/public/components/datatable/DataTableDefaultFilterTags.nested.js +380 -1
- package/public/components/datatable/DataTableDefaultFilterTags.nested.js.map +1 -1
- package/public/components/datatable/DataTableDefaultSelection.nested.js +424 -1
- package/public/components/datatable/DataTableDefaultSelection.nested.js.map +1 -1
- package/public/components/datatable/DataTableDefaultSelectionLabel.nested.js +263 -1
- package/public/components/datatable/DataTableDefaultSelectionLabel.nested.js.map +1 -1
- package/public/components/datatable/DataTableFooter.nested.js +637 -1
- package/public/components/datatable/DataTableFooter.nested.js.map +1 -1
- package/public/components/datatable/data.d.ts.map +1 -1
- package/public/components/datatable/datatable.types.d.ts +9 -2
- package/public/components/datatable/datatable.types.d.ts.map +1 -1
- package/public/components/dropdown/Dropdown.js +1426 -1
- package/public/components/dropdown/Dropdown.js.map +1 -1
- package/public/components/field/Field.js +375 -1
- package/public/components/field/Field.js.map +1 -1
- package/public/components/fileuploader/FileUploader.js +603 -1
- package/public/components/fileuploader/FileUploader.js.map +1 -1
- package/public/components/fileuploader/ResultFile.nested.js +344 -1
- package/public/components/fileuploader/ResultFile.nested.js.map +1 -1
- package/public/components/flag/Flag.js +174 -1
- package/public/components/flag/Flag.js.map +1 -1
- package/public/components/header/Header.js +918 -1
- package/public/components/header/Header.js.map +1 -1
- package/public/components/header/Header.svelte +2 -2
- package/public/components/hero/Hero.js +271 -1
- package/public/components/hero/Hero.js.map +1 -1
- package/public/components/kpi/Kpi.js +405 -0
- package/public/components/kpi/Kpi.js.map +1 -0
- package/public/components/kpi/Kpi.svelte +232 -0
- package/public/components/layer/Layer.js +471 -1
- package/public/components/layer/Layer.js.map +1 -1
- package/public/components/link/Link.js +380 -1
- package/public/components/link/Link.js.map +1 -1
- package/public/components/listbox/Listbox.js +595 -1
- package/public/components/listbox/Listbox.js.map +1 -1
- package/public/components/listbox/Listbox.nested.js +629 -1
- package/public/components/listbox/Listbox.nested.js.map +1 -1
- package/public/components/loader/Loader.js +246 -1
- package/public/components/loader/Loader.js.map +1 -1
- package/public/components/loader/Loader.nested.js +176 -1
- package/public/components/loader/Loader.nested.js.map +1 -1
- package/public/components/modal/Modal.js +395 -1
- package/public/components/modal/Modal.js.map +1 -1
- package/public/components/notification/Notification.js +458 -1
- package/public/components/notification/Notification.js.map +1 -1
- package/public/components/optionbutton/OptionButton.js +316 -1
- package/public/components/optionbutton/OptionButton.js.map +1 -1
- package/public/components/overlay/Overlay.js +104 -1
- package/public/components/overlay/Overlay.js.map +1 -1
- package/public/components/overlay/OverlayLoader.js +151 -1
- package/public/components/overlay/OverlayLoader.js.map +1 -1
- package/public/components/pagination/Pagination.js +613 -1
- package/public/components/pagination/Pagination.js.map +1 -1
- package/public/components/passwordinput/PasswordInput.js +291 -1
- package/public/components/passwordinput/PasswordInput.js.map +1 -1
- package/public/components/phonenumber/PhoneNumber.js +6894 -1
- package/public/components/phonenumber/PhoneNumber.js.map +1 -1
- package/public/components/price/Price.js +768 -1
- package/public/components/price/Price.js.map +1 -1
- package/public/components/progressbar/ProgressBar.js +278 -1
- package/public/components/progressbar/ProgressBar.js.map +1 -1
- package/public/components/quantityselector/QuantitySelector.js +397 -1
- package/public/components/quantityselector/QuantitySelector.js.map +1 -1
- package/public/components/radio/Radio.js +273 -1
- package/public/components/radio/Radio.js.map +1 -1
- package/public/components/radiogroup/RadioGroup.js +414 -1
- package/public/components/radiogroup/RadioGroup.js.map +1 -1
- package/public/components/ratings/StarsInput.js +292 -1
- package/public/components/ratings/StarsInput.js.map +1 -1
- package/public/components/ratings/StarsResult.js +246 -1
- package/public/components/ratings/StarsResult.js.map +1 -1
- package/public/components/select/Select.js +451 -1
- package/public/components/select/Select.js.map +1 -1
- package/public/components/sidebar/Sidebar.js +784 -1
- package/public/components/sidebar/Sidebar.js.map +1 -1
- package/public/components/sidebar/Sidebar.svelte +1 -1
- package/public/components/sidebar/sidebar-feature-group.nested.js +594 -1
- package/public/components/sidebar/sidebar-feature-group.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-feature.nested.js +402 -1
- package/public/components/sidebar/sidebar-feature.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-section.nested.js +394 -1
- package/public/components/sidebar/sidebar-section.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-segment.nested.js +200 -1
- package/public/components/sidebar/sidebar-segment.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-separator.nested.js +49 -1
- package/public/components/sidebar/sidebar-separator.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-sub-features.nested.js +312 -1
- package/public/components/sidebar/sidebar-sub-features.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-user.nested.js +733 -1
- package/public/components/sidebar/sidebar-user.nested.js.map +1 -1
- package/public/components/stepper/Stepper.js +371 -1
- package/public/components/stepper/Stepper.js.map +1 -1
- package/public/components/tabs/Tabs.js +615 -1
- package/public/components/tabs/Tabs.js.map +1 -1
- package/public/components/tabs/Tabs.nested.js +472 -1
- package/public/components/tabs/Tabs.nested.js.map +1 -1
- package/public/components/tag/Tag.js +665 -1
- package/public/components/tag/Tag.js.map +1 -1
- package/public/components/tag/Tag.nested.js +554 -1
- package/public/components/tag/Tag.nested.js.map +1 -1
- package/public/components/taglist/TagList.js +475 -1
- package/public/components/taglist/TagList.js.map +1 -1
- package/public/components/textarea/Textarea.js +303 -1
- package/public/components/textarea/Textarea.js.map +1 -1
- package/public/components/textinput/Textinput.js +497 -1
- package/public/components/textinput/Textinput.js.map +1 -1
- package/public/components/textinput/Textinput.nested.js +320 -1
- package/public/components/textinput/Textinput.nested.js.map +1 -1
- package/public/components/toggle/Toggle.js +278 -1
- package/public/components/toggle/Toggle.js.map +1 -1
- package/public/components/tooltip/Tooltip.js +173 -1
- package/public/components/tooltip/Tooltip.js.map +1 -1
- package/public/icons-storybook.js +16 -0
- package/public/index-c33b3772.js +873 -1
- package/public/index-c33b3772.js.map +1 -1
- package/public/linear-f46d7e9e.js +700 -1
- package/public/linear-f46d7e9e.js.map +1 -1
- package/public/main.d.ts +1 -0
- package/public/main.d.ts.map +1 -1
- package/public/path-1b5da959.js +186 -1
- package/public/path-1b5da959.js.map +1 -1
- package/public/sidebar-service-275bf9ef.js +129 -1
- package/public/sidebar-service-275bf9ef.js.map +1 -1
- package/public/symbol-b05a6e2b.js +169 -1
- package/public/symbol-b05a6e2b.js.map +1 -1
- package/public/transform-15d69d5d.js +2743 -1
- package/public/transform-15d69d5d.js.map +1 -1
- package/public/utilities/DataTableUtilities.d.ts.map +1 -1
- package/public/utilities/DataTableUtilities.ts +22 -2
- package/public/utilities/EventForward.js +136 -1
- package/public/utilities/EventForward.js.map +1 -1
- package/public/utilities/EventHandler.js +36 -1
- package/public/utilities/EventHandler.js.map +1 -1
- package/public/utilities/components/datatable/data.d.ts.map +1 -1
- package/public/utilities/components/datatable/datatable.types.d.ts +9 -2
- package/public/utilities/components/datatable/datatable.types.d.ts.map +1 -1
- package/public/utilities/main.d.ts +1 -0
- package/public/utilities/main.d.ts.map +1 -1
- package/public/utilities/stories/datatable/DataTable.stories.d.ts.map +1 -1
- package/public/utilities/stories/header/Header.stories.d.ts.map +1 -1
- package/public/utilities/stories/kpi/kpi.stories.d.ts +7 -0
- package/public/utilities/stories/kpi/kpi.stories.d.ts.map +1 -0
- package/public/utilities/utilities/DataTableUtilities.d.ts.map +1 -1
- package/public/DataTableDefaultAction.nested-483f8bb0.js +0 -2
- package/public/DataTableDefaultAction.nested-483f8bb0.js.map +0 -1
- package/public/DataTableUtilities-60220c78.js +0 -2
- package/public/DataTableUtilities-60220c78.js.map +0 -1
- package/public/adeo/DataTableUtilities-60220c78.js +0 -2
- package/public/adeo/DataTableUtilities-60220c78.js.map +0 -1
- package/public/bricoman/DataTableUtilities-60220c78.js +0 -2
- package/public/bricoman/DataTableUtilities-60220c78.js.map +0 -1
|
@@ -1,2 +1,614 @@
|
|
|
1
|
-
import{S as t,i as e,a as o,b as i,f as r,s as n,c as m,e as c,d as l,n as a,h as b,j as d,m as s,o as u,p as h,r as g,a1 as f,q as p,g as x,a6 as w,a8 as _,l as v,J as M,H as k,t as y,k as I,a9 as A,L as D,Y as z}from"../../index-c33b3772.js";import{E as N}from"../../EventHandler-02058705.js";function j(t,e,o){const i=t.slice();return i[14]=e[o],i[16]=o,i}function E(t){let e,o,r,n,m;return{c(){e=c("button"),o=c("navigation-arrow-arrow--left-24px"),D(o,"size","100%"),D(o,"class","mc-pagination__button-icon mc-button__icon"),x(e,"class","mc-pagination__button mc-button mc-button--solid-neutral mc-button--square mc-button--s@from-l"),x(e,"aria-label","Previous page"),e.disabled=r=1===Number(t[0])||1===Number(t[1])},m(r,c){i(r,e,c),d(e,o),n||(m=v(e,"click",z(t[7])),n=!0)},p(t,o){3&o&&r!==(r=1===Number(t[0])||1===Number(t[1]))&&(e.disabled=r)},d(t){t&&u(e),n=!1,m()}}}function C(t){let e,o,r;return{c(){e=c("a"),o=c("navigation-arrow-arrow--left-24px"),D(o,"size","100%"),D(o,"class","mc-pagination__button-icon mc-button__icon"),x(e,"class","mc-pagination__button mc-button mc-button--solid-neutral mc-button--square mc-button--s@from-l"),x(e,"href",t[5]),x(e,"aria-label","Previous page"),x(e,"disabled",r=1===Number(t[0])||1===Number(t[1]))},m(t,r){i(t,e,r),d(e,o)},p(t,o){32&o&&x(e,"href",t[5]),3&o&&r!==(r=1===Number(t[0])||1===Number(t[1]))&&x(e,"disabled",r)},d(t){t&&u(e)}}}function L(t){let e,o,r,n,m,l={length:t[1]},a=[];for(let e=0;e<l.length;e+=1)a[e]=S(j(t,l,e));return{c(){e=c("div"),o=c("select");for(let t=0;t<a.length;t+=1)a[t].c();x(o,"class","mc-select mc-pagination__select"),o.disabled=r=1===Number(t[1]),void 0===t[0]&&w((()=>t[11].call(o))),x(e,"class","mc-pagination__field")},m(r,c){i(r,e,c),d(e,o);for(let t=0;t<a.length;t+=1)a[t]&&a[t].m(o,null);_(o,t[0],!0),n||(m=[v(o,"change",t[11]),v(o,"change",t[9])],n=!0)},p(t,e){if(27&e){let i;for(l={length:t[1]},i=0;i<l.length;i+=1){const r=j(t,l,i);a[i]?a[i].p(r,e):(a[i]=S(r),a[i].c(),a[i].m(o,null))}for(;i<a.length;i+=1)a[i].d(1);a.length=l.length}2&e&&r!==(r=1===Number(t[1]))&&(o.disabled=r),1&e&&_(o,t[0])},d(t){t&&u(e),M(a,t),n=!1,k(m)}}}function S(t){let e,o,r,n,m,a,b,s,h,g,f=t[16]+1+"";return{c(){e=c("option"),o=y(t[4]),r=l(),n=y(f),m=l(),a=y(t[3]),b=l(),s=y(t[1]),x(e,"name",h=String(t[0])),e.selected=g=t[16]+1==t[0],e.__value=t[16]+1,e.value=e.__value},m(t,c){i(t,e,c),d(e,o),d(e,r),d(e,n),d(e,m),d(e,a),d(e,b),d(e,s)},p(t,i){16&i&&I(o,t[4]),8&i&&I(a,t[3]),2&i&&I(s,t[1]),1&i&&h!==(h=String(t[0]))&&x(e,"name",h),1&i&&g!==(g=t[16]+1==t[0])&&(e.selected=g)},d(t){t&&u(e)}}}function T(t){let e,o,r,n,m;return{c(){e=c("button"),o=c("navigation-arrow-arrow--right-24px"),D(o,"size","100%"),D(o,"class","mc-pagination__button-icon mc-button__icon"),x(e,"class","mc-pagination__button mc-button mc-button--solid-neutral mc-button--square mc-button--s@from-l"),x(e,"aria-label","Previous page"),e.disabled=r=Number(t[0])===Number(t[1])||1===Number(t[1])},m(r,c){i(r,e,c),d(e,o),n||(m=v(e,"click",z(t[8])),n=!0)},p(t,o){3&o&&r!==(r=Number(t[0])===Number(t[1])||1===Number(t[1]))&&(e.disabled=r)},d(t){t&&u(e),n=!1,m()}}}function P(t){let e,o,r;return{c(){e=c("a"),o=c("navigation-arrow-arrow--right-24px"),D(o,"size","100%"),D(o,"class","mc-pagination__button-icon mc-button__icon"),x(e,"class","mc-pagination__button mc-button mc-button--solid-neutral mc-button--square mc-button--s@from-l"),x(e,"href",t[6]),x(e,"aria-label","Next Page"),x(e,"disabled",r=Number(t[0])===Number(t[1])||1===Number(t[1]))},m(t,r){i(t,e,r),d(e,o)},p(t,o){64&o&&x(e,"href",t[6]),3&o&&r!==(r=Number(t[0])===Number(t[1])||1===Number(t[1]))&&x(e,"disabled",r)},d(t){t&&u(e)}}}function $(t){let e,o,r,n;function h(t,e){return t[5]?C:E}let g=h(t),f=g(t),p=!t[2]&&L(t);function x(t,e){return t[6]?P:T}let w=x(t),_=w(t),v=[{class:n="mc-pagination "+(t[2]?"mc-pagination--light":"")},{role:"navigation"},{"aria-label":"pagination"},t[10]],M={};for(let t=0;t<v.length;t+=1)M=m(M,v[t]);return{c(){e=c("nav"),f.c(),o=l(),p&&p.c(),r=l(),_.c(),this.c=a,b(e,M)},m(t,n){i(t,e,n),f.m(e,null),d(e,o),p&&p.m(e,null),d(e,r),_.m(e,null)},p(t,[i]){g===(g=h(t))&&f?f.p(t,i):(f.d(1),f=g(t),f&&(f.c(),f.m(e,o))),t[2]?p&&(p.d(1),p=null):p?p.p(t,i):(p=L(t),p.c(),p.m(e,r)),w===(w=x(t))&&_?_.p(t,i):(_.d(1),_=w(t),_&&(_.c(),_.m(e,null))),b(e,M=s(v,[4&i&&n!==(n="mc-pagination "+(t[2]?"mc-pagination--light":""))&&{class:n},{role:"navigation"},{"aria-label":"pagination"},1024&i&&t[10]]))},i:a,o:a,d(t){t&&u(e),f.d(),p&&p.d(),_.d()}}}function G(t,e,o){const i=["total","value","light","pagelabel","prefixlabel","hrefprev","hrefnext"];let r=h(e,i),{total:n=1}=e,{value:c=1}=e,{light:l=!1}=e,{pagelabel:a}=e,{prefixlabel:b="Page"}=e,{hrefprev:d=""}=e,{hrefnext:s=""}=e,u=new N;const x=g();return f((()=>{const t=x.shadowRoot.querySelector(".mc-select").options.namedItem(c);t&&(t.selected=!0)})),t.$$set=t=>{e=m(m({},e),p(t)),o(10,r=h(e,i)),"total"in t&&o(1,n=t.total),"value"in t&&o(0,c=t.value),"light"in t&&o(2,l=t.light),"pagelabel"in t&&o(3,a=t.pagelabel),"prefixlabel"in t&&o(4,b=t.prefixlabel),"hrefprev"in t&&o(5,d=t.hrefprev),"hrefnext"in t&&o(6,s=t.hrefnext)},[c,n,l,a,b,d,s,function(){o(0,c--,c),u.dispatch("on-previous-page",c)},function(){o(0,c++,c),u.dispatch("on-next-page",c)},function(){u.dispatch("on-update-page",c)},r,function(){c=A(this),o(0,c)}]}class Z extends t{constructor(t){super();const m=document.createElement("style");m.textContent='.mc-button{margin:0;-webkit-box-shadow:none;box-shadow:none;text-decoration:none;outline:none;border:none;cursor:pointer;padding:0;color:#ffffff;background-color:#188803;font-family:"LeroyMerlin", sans-serif;font-weight:600;font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem;cursor:pointer;border-radius:4px;text-align:center;border:2px solid transparent;-webkit-transition:all ease 200ms;-o-transition:all ease 200ms;transition:all ease 200ms;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;vertical-align:middle;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;fill:currentColor}.mc-button.is-hover,.mc-button:hover{background-color:#006902;color:#ffffff}.mc-button.is-active,.mc-button:active{background-color:#006902}.mc-button:disabled,.mc-button.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button .mc-button__icon:first-child,.mc-button .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button.is-focus,.mc-button:focus{-webkit-box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #0b96cc;box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #0b96cc}.mc-button--s{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s .mc-button__icon:first-child,.mc-button--s .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m .mc-button__icon:first-child,.mc-button--m .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l .mc-button__icon{width:2rem;height:2rem}.mc-button--l .mc-button__icon:first-child,.mc-button--l .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full{width:-webkit-fill-available;width:-moz-available;width:stretch}}.mc-button--square{-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:0;padding:0}.mc-button__icon{-ms-flex-negative:0;flex-shrink:0}.mc-button__icon:last-child{margin-left:0.5rem;margin-right:-0.25rem}.mc-button__icon:first-child{margin-right:0.5rem;margin-left:-0.25rem}.mc-button__icon:only-child{margin:0}.mc-button__label{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;pointer-events:none}a.mc-button:disabled{pointer-events:none}.mc-button--solid-primary-02{background-color:#6a7081}.mc-button--solid-primary-02.is-hover,.mc-button--solid-primary-02:hover{background-color:#242938}.mc-button--solid-primary-02.is-active,.mc-button--solid-primary-02:active{background-color:#171b26}.mc-button--solid-primary-02:disabled,.mc-button--solid-primary-02.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--solid-neutral{background-color:#333333}.mc-button--solid-neutral.is-hover,.mc-button--solid-neutral:hover{background-color:#191919}.mc-button--solid-neutral.is-active,.mc-button--solid-neutral:active{background-color:#333333}.mc-button--solid-neutral:disabled,.mc-button--solid-neutral.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--solid-danger{background-color:#c61112}.mc-button--solid-danger.is-hover,.mc-button--solid-danger:hover{background-color:#8c0003}.mc-button--solid-danger.is-active,.mc-button--solid-danger:active{background-color:#8c0003}.mc-button--solid-danger:disabled,.mc-button--solid-danger.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered{color:#188803;border-color:#188803;background-color:#ffffff}.mc-button--bordered.is-hover,.mc-button--bordered:hover{background-color:#ebf5de;color:#006902}.mc-button--bordered.is-active,.mc-button--bordered:active{background-color:#c5e39e;color:#035010}.mc-button--bordered.is-active,.mc-button--bordered:active{background-color:#c5e39e;color:#035010}.mc-button--bordered:disabled,.mc-button--bordered.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-primary-02{color:#6a7081;border-color:#6a7081;background-color:#ffffff}.mc-button--bordered-primary-02.is-hover,.mc-button--bordered-primary-02:hover{background-color:#eeeff1;color:#6a7081}.mc-button--bordered-primary-02.is-active,.mc-button--bordered-primary-02:active{background-color:#cfd2d8}.mc-button--bordered-primary-02:disabled,.mc-button--bordered-primary-02.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-neutral{color:#333333;border-color:#333333;background-color:#ffffff}.mc-button--bordered-neutral.is-hover,.mc-button--bordered-neutral:hover{background-color:#e6e6e6;color:#333333}.mc-button--bordered-neutral.is-active,.mc-button--bordered-neutral:active{background-color:#cccccc}.mc-button--bordered-neutral:disabled,.mc-button--bordered-neutral.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-danger{color:#c61112;border-color:#c61112;background-color:#ffffff}.mc-button--bordered-danger.is-hover,.mc-button--bordered-danger:hover{background-color:#fdeaea;color:#8c0003}.mc-button--bordered-danger.is-active,.mc-button--bordered-danger:active{background-color:#f8bcbb;color:#530000}.mc-button--bordered-danger.is-active,.mc-button--bordered-danger:active{background-color:#f8bcbb;color:#530000}.mc-button--bordered-danger:disabled,.mc-button--bordered-danger.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}@media screen and (min-width: 680px){.mc-button--s\\@from-m{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-m .mc-button__icon:first-child,.mc-button--s\\@from-m .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-m{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-m .mc-button__icon:first-child,.mc-button--m\\@from-m .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-m{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-m .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-m .mc-button__icon:first-child,.mc-button--l\\@from-m .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-m{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-m{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-m{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1024px){.mc-button--s\\@from-l{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-l .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-l .mc-button__icon:first-child,.mc-button--s\\@from-l .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-l{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-l .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-l .mc-button__icon:first-child,.mc-button--m\\@from-l .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-l{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-l .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-l .mc-button__icon:first-child,.mc-button--l\\@from-l .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-l{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-l{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-l{width:-webkit-fill-available;width:-moz-available;width:stretch}}.mc-button--square{padding:0}}@media screen and (min-width: 1280px){.mc-button--s\\@from-xl{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-xl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-xl .mc-button__icon:first-child,.mc-button--s\\@from-xl .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-xl{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-xl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-xl .mc-button__icon:first-child,.mc-button--m\\@from-xl .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-xl{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-xl .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-xl .mc-button__icon:first-child,.mc-button--l\\@from-xl .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-xl{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-xl{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-xl{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1920px){.mc-button--s\\@from-xxl{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-xxl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-xxl .mc-button__icon:first-child,.mc-button--s\\@from-xxl .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-xxl{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-xxl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-xxl .mc-button__icon:first-child,.mc-button--m\\@from-xxl .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-xxl{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-xxl .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-xxl .mc-button__icon:first-child,.mc-button--l\\@from-xxl .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-xxl{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-xxl{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-xxl{width:-webkit-fill-available;width:-moz-available;width:stretch}}}.mc-select{font-family:"LeroyMerlin", sans-serif;font-weight:400;-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;margin:0;-webkit-box-shadow:none;box-shadow:none;border:none;font-size:1rem;line-height:1.125;background-position:right 1rem center, right 2.5rem center;padding:calc(0.9375rem - 1px) 3rem calc(0.9375rem - 1px) calc(0.75rem - 1px);background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiMxOTE5MTkiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTggMTEuNWExIDEgMCAwMS0uNzEtLjI5bC01LTVhMSAxIDAgMDExLjQyLTEuNDJMOCA5LjA5bDQuMjktNC4zYTEgMSAwIDExMS40MiAxLjQybC01IDVhMSAxIDAgMDEtLjcxLjI5eiIvPjwvc3ZnPg==");background-color:#ffffff;background-repeat:no-repeat;background-size:1rem 1rem, 1.5rem 1.5rem;border:1px solid #666666;border-radius:4px;color:#191919;-webkit-transition:border-color 200ms ease, -webkit-box-shadow 200ms ease;transition:border-color 200ms ease, -webkit-box-shadow 200ms ease;-o-transition:border-color 200ms ease, box-shadow 200ms ease;transition:border-color 200ms ease, box-shadow 200ms ease;transition:border-color 200ms ease, box-shadow 200ms ease, -webkit-box-shadow 200ms ease;width:100%}.mc-select[type=number]::-webkit-inner-spin-button,.mc-select[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-select[type=number]{-moz-appearance:textfield}.mc-select[type=search]::-webkit-search-decoration:hover,.mc-select[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-select::-ms-expand{display:none}.mc-select.is-hover,.mc-select:hover{border-color:#191919}.mc-select.is-focus,.mc-select:focus{-webkit-box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #0b96cc;box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #0b96cc}.mc-select:disabled{background-color:#e6e6e6;border-color:#e6e6e6;color:#666666;cursor:not-allowed;opacity:1}.mc-select.is-invalid{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiMxOTE5MTkiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTggMTEuNWExIDEgMCAwMS0uNzEtLjI5bC01LTVhMSAxIDAgMDExLjQyLTEuNDJMOCA5LjA5bDQuMjktNC4zYTEgMSAwIDExMS40MiAxLjQybC01IDVhMSAxIDAgMDEtLjcxLjI5eiIvPjwvc3ZnPg=="), url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMS41cmVtIiB3aWR0aD0iMS41cmVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9IiNjNjExMTIiPjxwYXRoIGQ9Ik0xMiAyYTEwIDEwIDAgMTAxMCAxMEExMCAxMCAwIDAwMTIgMnptMCAxOGE4IDggMCAxMTgtOCA4IDggMCAwMS04IDh6Ii8+PHBhdGggZD0iTTEyIDdhMSAxIDAgMDAtMSAxdjQuMzhhMSAxIDAgMDAyIDBWOGExIDEgMCAwMC0xLTF6Ii8+PGNpcmNsZSBjeD0iMTIiIGN5PSIxNiIgcj0iMSIvPjwvc3ZnPg==");border-color:#c61112}.mc-select.is-valid{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiMxOTE5MTkiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTggMTEuNWExIDEgMCAwMS0uNzEtLjI5bC01LTVhMSAxIDAgMDExLjQyLTEuNDJMOCA5LjA5bDQuMjktNC4zYTEgMSAwIDExMS40MiAxLjQybC01IDVhMSAxIDAgMDEtLjcxLjI5eiIvPjwvc3ZnPg=="), url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMS41cmVtIiB3aWR0aD0iMS41cmVtIiBmaWxsPSIjNDZhNjEwIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik0xMiA0YTggOCAwIDExLTggOCA4IDggMCAwMTgtOG0wLTJhMTAgMTAgMCAxMDEwIDEwQTEwIDEwIDAgMDAxMiAyeiIvPjxwYXRoIGQ9Ik0xMC43MyAxNS43NWExIDEgMCAwMS0uNjgtLjI2bC0zLTIuNzRhMSAxIDAgMDExLjM2LTEuNDdsMi4yNSAyLjA4IDQuMzYtNC40MmExIDEgMCAxMTEuNDIgMS40MWwtNSA1LjFhMSAxIDAgMDEtLjcxLjN6Ii8+PC9zdmc+");border-color:#46a610}.mc-select--s{font-size:0.875rem;line-height:1.1428571429;background-position:right 0.5rem center, right 2rem center;padding:calc(0.5rem - 1px) 2rem calc(0.5rem - 1px) calc(0.5rem - 1px)}.mc-select--m{font-size:1rem;line-height:1.125;background-position:right 1rem center, right 2.5rem center;padding:calc(0.9375rem - 1px) 3rem calc(0.9375rem - 1px) calc(0.75rem - 1px)}@media screen and (min-width: 680px){.mc-select--s\\@from-m{font-size:0.875rem;line-height:1.1428571429;background-position:right 0.5rem center, right 2rem center;padding:calc(0.5rem - 1px) 2rem calc(0.5rem - 1px) calc(0.5rem - 1px)}.mc-select--m\\@from-m{font-size:1rem;line-height:1.125;background-position:right 1rem center, right 2.5rem center;padding:calc(0.9375rem - 1px) 3rem calc(0.9375rem - 1px) calc(0.75rem - 1px)}}@media screen and (min-width: 1024px){.mc-select--s\\@from-l{font-size:0.875rem;line-height:1.1428571429;background-position:right 0.5rem center, right 2rem center;padding:calc(0.5rem - 1px) 2rem calc(0.5rem - 1px) calc(0.5rem - 1px)}.mc-select--m\\@from-l{font-size:1rem;line-height:1.125;background-position:right 1rem center, right 2.5rem center;padding:calc(0.9375rem - 1px) 3rem calc(0.9375rem - 1px) calc(0.75rem - 1px)}}@media screen and (min-width: 1280px){.mc-select--s\\@from-xl{font-size:0.875rem;line-height:1.1428571429;background-position:right 0.5rem center, right 2rem center;padding:calc(0.5rem - 1px) 2rem calc(0.5rem - 1px) calc(0.5rem - 1px)}.mc-select--m\\@from-xl{font-size:1rem;line-height:1.125;background-position:right 1rem center, right 2.5rem center;padding:calc(0.9375rem - 1px) 3rem calc(0.9375rem - 1px) calc(0.75rem - 1px)}}@media screen and (min-width: 1920px){.mc-select--s\\@from-xxl{font-size:0.875rem;line-height:1.1428571429;background-position:right 0.5rem center, right 2rem center;padding:calc(0.5rem - 1px) 2rem calc(0.5rem - 1px) calc(0.5rem - 1px)}.mc-select--m\\@from-xxl{font-size:1rem;line-height:1.125;background-position:right 1rem center, right 2.5rem center;padding:calc(0.9375rem - 1px) 3rem calc(0.9375rem - 1px) calc(0.75rem - 1px)}}.mc-pagination{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:1rem}.mc-pagination__select{font-size:1rem;line-height:1.125;padding:0.875rem 3rem 0.875rem calc(0.75rem - 1px)}@media screen and (min-width: 1024px){.mc-pagination__select{font-size:0.875rem;line-height:1.1428571429;padding:calc(0.5rem - 1px) 2.25rem calc(0.5rem - 1px) calc(0.5rem - 1px)}}',this.shadowRoot.appendChild(m),e(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},G,$,n,{total:1,value:0,light:2,pagelabel:3,prefixlabel:4,hrefprev:5,hrefnext:6},null),t&&(t.target&&i(t.target,this,t.anchor),t.props&&(this.$set(t.props),r()))}static get observedAttributes(){return["total","value","light","pagelabel","prefixlabel","hrefprev","hrefnext"]}get total(){return this.$$.ctx[1]}set total(t){this.$$set({total:t}),r()}get value(){return this.$$.ctx[0]}set value(t){this.$$set({value:t}),r()}get light(){return this.$$.ctx[2]}set light(t){this.$$set({light:t}),r()}get pagelabel(){return this.$$.ctx[3]}set pagelabel(t){this.$$set({pagelabel:t}),r()}get prefixlabel(){return this.$$.ctx[4]}set prefixlabel(t){this.$$set({prefixlabel:t}),r()}get hrefprev(){return this.$$.ctx[5]}set hrefprev(t){this.$$set({hrefprev:t}),r()}get hrefnext(){return this.$$.ctx[6]}set hrefnext(t){this.$$set({hrefnext:t}),r()}}export{Z as default};
|
|
1
|
+
import { S as SvelteElement, i as init, a as attribute_to_object, b as insert, f as flush, s as safe_not_equal, c as assign, e as element, d as space, n as noop, h as set_attributes, j as append, m as get_spread_update, o as detach, p as compute_rest_props, r as get_current_component, a1 as onMount, q as exclude_internal_props, g as attr, a6 as add_render_callback, a8 as select_option, l as listen, J as destroy_each, H as run_all, t as text, k as set_data, a9 as select_value, L as set_custom_element_data, Y as prevent_default } from '../../index-c33b3772.js';
|
|
2
|
+
import { E as EventHandler } from '../../EventHandler-02058705.js';
|
|
3
|
+
|
|
4
|
+
/* src/components/pagination/Pagination.svelte generated by Svelte v3.58.0 */
|
|
5
|
+
|
|
6
|
+
function get_each_context(ctx, list, i) {
|
|
7
|
+
const child_ctx = ctx.slice();
|
|
8
|
+
child_ctx[14] = list[i];
|
|
9
|
+
child_ctx[16] = i;
|
|
10
|
+
return child_ctx;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// (53:2) {:else}
|
|
14
|
+
function create_else_block_1(ctx) {
|
|
15
|
+
let button;
|
|
16
|
+
let navigation_arrow_arrow__left_24px;
|
|
17
|
+
let button_disabled_value;
|
|
18
|
+
let mounted;
|
|
19
|
+
let dispose;
|
|
20
|
+
|
|
21
|
+
return {
|
|
22
|
+
c() {
|
|
23
|
+
button = element("button");
|
|
24
|
+
navigation_arrow_arrow__left_24px = element("navigation-arrow-arrow--left-24px");
|
|
25
|
+
set_custom_element_data(navigation_arrow_arrow__left_24px, "size", "100%");
|
|
26
|
+
set_custom_element_data(navigation_arrow_arrow__left_24px, "class", "mc-pagination__button-icon mc-button__icon");
|
|
27
|
+
attr(button, "class", "mc-pagination__button mc-button mc-button--solid-neutral mc-button--square mc-button--s@from-l");
|
|
28
|
+
attr(button, "aria-label", "Previous page");
|
|
29
|
+
button.disabled = button_disabled_value = Number(/*value*/ ctx[0]) === 1 || Number(/*total*/ ctx[1]) === 1;
|
|
30
|
+
},
|
|
31
|
+
m(target, anchor) {
|
|
32
|
+
insert(target, button, anchor);
|
|
33
|
+
append(button, navigation_arrow_arrow__left_24px);
|
|
34
|
+
|
|
35
|
+
if (!mounted) {
|
|
36
|
+
dispose = listen(button, "click", prevent_default(/*dispatchPreviousPageEvent*/ ctx[7]));
|
|
37
|
+
mounted = true;
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
p(ctx, dirty) {
|
|
41
|
+
if (dirty & /*value, total*/ 3 && button_disabled_value !== (button_disabled_value = Number(/*value*/ ctx[0]) === 1 || Number(/*total*/ ctx[1]) === 1)) {
|
|
42
|
+
button.disabled = button_disabled_value;
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
d(detaching) {
|
|
46
|
+
if (detaching) detach(button);
|
|
47
|
+
mounted = false;
|
|
48
|
+
dispose();
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// (41:2) {#if hrefprev}
|
|
54
|
+
function create_if_block_2(ctx) {
|
|
55
|
+
let a;
|
|
56
|
+
let navigation_arrow_arrow__left_24px;
|
|
57
|
+
let a_disabled_value;
|
|
58
|
+
|
|
59
|
+
return {
|
|
60
|
+
c() {
|
|
61
|
+
a = element("a");
|
|
62
|
+
navigation_arrow_arrow__left_24px = element("navigation-arrow-arrow--left-24px");
|
|
63
|
+
set_custom_element_data(navigation_arrow_arrow__left_24px, "size", "100%");
|
|
64
|
+
set_custom_element_data(navigation_arrow_arrow__left_24px, "class", "mc-pagination__button-icon mc-button__icon");
|
|
65
|
+
attr(a, "class", "mc-pagination__button mc-button mc-button--solid-neutral mc-button--square mc-button--s@from-l");
|
|
66
|
+
attr(a, "href", /*hrefprev*/ ctx[5]);
|
|
67
|
+
attr(a, "aria-label", "Previous page");
|
|
68
|
+
attr(a, "disabled", a_disabled_value = Number(/*value*/ ctx[0]) === 1 || Number(/*total*/ ctx[1]) === 1);
|
|
69
|
+
},
|
|
70
|
+
m(target, anchor) {
|
|
71
|
+
insert(target, a, anchor);
|
|
72
|
+
append(a, navigation_arrow_arrow__left_24px);
|
|
73
|
+
},
|
|
74
|
+
p(ctx, dirty) {
|
|
75
|
+
if (dirty & /*hrefprev*/ 32) {
|
|
76
|
+
attr(a, "href", /*hrefprev*/ ctx[5]);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (dirty & /*value, total*/ 3 && a_disabled_value !== (a_disabled_value = Number(/*value*/ ctx[0]) === 1 || Number(/*total*/ ctx[1]) === 1)) {
|
|
80
|
+
attr(a, "disabled", a_disabled_value);
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
d(detaching) {
|
|
84
|
+
if (detaching) detach(a);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// (66:2) {#if !light}
|
|
90
|
+
function create_if_block_1(ctx) {
|
|
91
|
+
let div;
|
|
92
|
+
let select;
|
|
93
|
+
let select_disabled_value;
|
|
94
|
+
let mounted;
|
|
95
|
+
let dispose;
|
|
96
|
+
let each_value = { length: /*total*/ ctx[1] };
|
|
97
|
+
let each_blocks = [];
|
|
98
|
+
|
|
99
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
100
|
+
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
return {
|
|
104
|
+
c() {
|
|
105
|
+
div = element("div");
|
|
106
|
+
select = element("select");
|
|
107
|
+
|
|
108
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
109
|
+
each_blocks[i].c();
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
attr(select, "class", "mc-select mc-pagination__select");
|
|
113
|
+
select.disabled = select_disabled_value = Number(/*total*/ ctx[1]) === 1;
|
|
114
|
+
if (/*value*/ ctx[0] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[11].call(select));
|
|
115
|
+
attr(div, "class", "mc-pagination__field");
|
|
116
|
+
},
|
|
117
|
+
m(target, anchor) {
|
|
118
|
+
insert(target, div, anchor);
|
|
119
|
+
append(div, select);
|
|
120
|
+
|
|
121
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
122
|
+
if (each_blocks[i]) {
|
|
123
|
+
each_blocks[i].m(select, null);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
select_option(select, /*value*/ ctx[0], true);
|
|
128
|
+
|
|
129
|
+
if (!mounted) {
|
|
130
|
+
dispose = [
|
|
131
|
+
listen(select, "change", /*select_change_handler*/ ctx[11]),
|
|
132
|
+
listen(select, "change", /*dispatchChangePageEvent*/ ctx[9])
|
|
133
|
+
];
|
|
134
|
+
|
|
135
|
+
mounted = true;
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
p(ctx, dirty) {
|
|
139
|
+
if (dirty & /*String, value, total, pagelabel, prefixlabel*/ 27) {
|
|
140
|
+
each_value = { length: /*total*/ ctx[1] };
|
|
141
|
+
let i;
|
|
142
|
+
|
|
143
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
144
|
+
const child_ctx = get_each_context(ctx, each_value, i);
|
|
145
|
+
|
|
146
|
+
if (each_blocks[i]) {
|
|
147
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
148
|
+
} else {
|
|
149
|
+
each_blocks[i] = create_each_block(child_ctx);
|
|
150
|
+
each_blocks[i].c();
|
|
151
|
+
each_blocks[i].m(select, null);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
for (; i < each_blocks.length; i += 1) {
|
|
156
|
+
each_blocks[i].d(1);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
each_blocks.length = each_value.length;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
if (dirty & /*total*/ 2 && select_disabled_value !== (select_disabled_value = Number(/*total*/ ctx[1]) === 1)) {
|
|
163
|
+
select.disabled = select_disabled_value;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (dirty & /*value*/ 1) {
|
|
167
|
+
select_option(select, /*value*/ ctx[0]);
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
d(detaching) {
|
|
171
|
+
if (detaching) detach(div);
|
|
172
|
+
destroy_each(each_blocks, detaching);
|
|
173
|
+
mounted = false;
|
|
174
|
+
run_all(dispose);
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// (74:8) {#each { length: total } as _, number}
|
|
180
|
+
function create_each_block(ctx) {
|
|
181
|
+
let option;
|
|
182
|
+
let t0;
|
|
183
|
+
let t1;
|
|
184
|
+
let t2_value = /*number*/ ctx[16] + 1 + "";
|
|
185
|
+
let t2;
|
|
186
|
+
let t3;
|
|
187
|
+
let t4;
|
|
188
|
+
let t5;
|
|
189
|
+
let t6;
|
|
190
|
+
let option_name_value;
|
|
191
|
+
let option_selected_value;
|
|
192
|
+
|
|
193
|
+
return {
|
|
194
|
+
c() {
|
|
195
|
+
option = element("option");
|
|
196
|
+
t0 = text(/*prefixlabel*/ ctx[4]);
|
|
197
|
+
t1 = space();
|
|
198
|
+
t2 = text(t2_value);
|
|
199
|
+
t3 = space();
|
|
200
|
+
t4 = text(/*pagelabel*/ ctx[3]);
|
|
201
|
+
t5 = space();
|
|
202
|
+
t6 = text(/*total*/ ctx[1]);
|
|
203
|
+
attr(option, "name", option_name_value = String(/*value*/ ctx[0]));
|
|
204
|
+
option.selected = option_selected_value = /*number*/ ctx[16] + 1 == /*value*/ ctx[0];
|
|
205
|
+
option.__value = /*number*/ ctx[16] + 1;
|
|
206
|
+
option.value = option.__value;
|
|
207
|
+
},
|
|
208
|
+
m(target, anchor) {
|
|
209
|
+
insert(target, option, anchor);
|
|
210
|
+
append(option, t0);
|
|
211
|
+
append(option, t1);
|
|
212
|
+
append(option, t2);
|
|
213
|
+
append(option, t3);
|
|
214
|
+
append(option, t4);
|
|
215
|
+
append(option, t5);
|
|
216
|
+
append(option, t6);
|
|
217
|
+
},
|
|
218
|
+
p(ctx, dirty) {
|
|
219
|
+
if (dirty & /*prefixlabel*/ 16) set_data(t0, /*prefixlabel*/ ctx[4]);
|
|
220
|
+
if (dirty & /*pagelabel*/ 8) set_data(t4, /*pagelabel*/ ctx[3]);
|
|
221
|
+
if (dirty & /*total*/ 2) set_data(t6, /*total*/ ctx[1]);
|
|
222
|
+
|
|
223
|
+
if (dirty & /*value*/ 1 && option_name_value !== (option_name_value = String(/*value*/ ctx[0]))) {
|
|
224
|
+
attr(option, "name", option_name_value);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
if (dirty & /*value*/ 1 && option_selected_value !== (option_selected_value = /*number*/ ctx[16] + 1 == /*value*/ ctx[0])) {
|
|
228
|
+
option.selected = option_selected_value;
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
d(detaching) {
|
|
232
|
+
if (detaching) detach(option);
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
// (97:2) {:else}
|
|
238
|
+
function create_else_block(ctx) {
|
|
239
|
+
let button;
|
|
240
|
+
let navigation_arrow_arrow__right_24px;
|
|
241
|
+
let button_disabled_value;
|
|
242
|
+
let mounted;
|
|
243
|
+
let dispose;
|
|
244
|
+
|
|
245
|
+
return {
|
|
246
|
+
c() {
|
|
247
|
+
button = element("button");
|
|
248
|
+
navigation_arrow_arrow__right_24px = element("navigation-arrow-arrow--right-24px");
|
|
249
|
+
set_custom_element_data(navigation_arrow_arrow__right_24px, "size", "100%");
|
|
250
|
+
set_custom_element_data(navigation_arrow_arrow__right_24px, "class", "mc-pagination__button-icon mc-button__icon");
|
|
251
|
+
attr(button, "class", "mc-pagination__button mc-button mc-button--solid-neutral mc-button--square mc-button--s@from-l");
|
|
252
|
+
attr(button, "aria-label", "Previous page");
|
|
253
|
+
button.disabled = button_disabled_value = Number(/*value*/ ctx[0]) === Number(/*total*/ ctx[1]) || Number(/*total*/ ctx[1]) === 1;
|
|
254
|
+
},
|
|
255
|
+
m(target, anchor) {
|
|
256
|
+
insert(target, button, anchor);
|
|
257
|
+
append(button, navigation_arrow_arrow__right_24px);
|
|
258
|
+
|
|
259
|
+
if (!mounted) {
|
|
260
|
+
dispose = listen(button, "click", prevent_default(/*dispatchNextPageEvent*/ ctx[8]));
|
|
261
|
+
mounted = true;
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
p(ctx, dirty) {
|
|
265
|
+
if (dirty & /*value, total*/ 3 && button_disabled_value !== (button_disabled_value = Number(/*value*/ ctx[0]) === Number(/*total*/ ctx[1]) || Number(/*total*/ ctx[1]) === 1)) {
|
|
266
|
+
button.disabled = button_disabled_value;
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
d(detaching) {
|
|
270
|
+
if (detaching) detach(button);
|
|
271
|
+
mounted = false;
|
|
272
|
+
dispose();
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// (85:2) {#if hrefnext}
|
|
278
|
+
function create_if_block(ctx) {
|
|
279
|
+
let a;
|
|
280
|
+
let navigation_arrow_arrow__right_24px;
|
|
281
|
+
let a_disabled_value;
|
|
282
|
+
|
|
283
|
+
return {
|
|
284
|
+
c() {
|
|
285
|
+
a = element("a");
|
|
286
|
+
navigation_arrow_arrow__right_24px = element("navigation-arrow-arrow--right-24px");
|
|
287
|
+
set_custom_element_data(navigation_arrow_arrow__right_24px, "size", "100%");
|
|
288
|
+
set_custom_element_data(navigation_arrow_arrow__right_24px, "class", "mc-pagination__button-icon mc-button__icon");
|
|
289
|
+
attr(a, "class", "mc-pagination__button mc-button mc-button--solid-neutral mc-button--square mc-button--s@from-l");
|
|
290
|
+
attr(a, "href", /*hrefnext*/ ctx[6]);
|
|
291
|
+
attr(a, "aria-label", "Next Page");
|
|
292
|
+
attr(a, "disabled", a_disabled_value = Number(/*value*/ ctx[0]) === Number(/*total*/ ctx[1]) || Number(/*total*/ ctx[1]) === 1);
|
|
293
|
+
},
|
|
294
|
+
m(target, anchor) {
|
|
295
|
+
insert(target, a, anchor);
|
|
296
|
+
append(a, navigation_arrow_arrow__right_24px);
|
|
297
|
+
},
|
|
298
|
+
p(ctx, dirty) {
|
|
299
|
+
if (dirty & /*hrefnext*/ 64) {
|
|
300
|
+
attr(a, "href", /*hrefnext*/ ctx[6]);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
if (dirty & /*value, total*/ 3 && a_disabled_value !== (a_disabled_value = Number(/*value*/ ctx[0]) === Number(/*total*/ ctx[1]) || Number(/*total*/ ctx[1]) === 1)) {
|
|
304
|
+
attr(a, "disabled", a_disabled_value);
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
d(detaching) {
|
|
308
|
+
if (detaching) detach(a);
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
function create_fragment(ctx) {
|
|
314
|
+
let nav;
|
|
315
|
+
let t0;
|
|
316
|
+
let t1;
|
|
317
|
+
let nav_class_value;
|
|
318
|
+
|
|
319
|
+
function select_block_type(ctx, dirty) {
|
|
320
|
+
if (/*hrefprev*/ ctx[5]) return create_if_block_2;
|
|
321
|
+
return create_else_block_1;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
let current_block_type = select_block_type(ctx);
|
|
325
|
+
let if_block0 = current_block_type(ctx);
|
|
326
|
+
let if_block1 = !/*light*/ ctx[2] && create_if_block_1(ctx);
|
|
327
|
+
|
|
328
|
+
function select_block_type_1(ctx, dirty) {
|
|
329
|
+
if (/*hrefnext*/ ctx[6]) return create_if_block;
|
|
330
|
+
return create_else_block;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
let current_block_type_1 = select_block_type_1(ctx);
|
|
334
|
+
let if_block2 = current_block_type_1(ctx);
|
|
335
|
+
|
|
336
|
+
let nav_levels = [
|
|
337
|
+
{
|
|
338
|
+
class: nav_class_value = "mc-pagination " + (/*light*/ ctx[2] ? 'mc-pagination--light' : '')
|
|
339
|
+
},
|
|
340
|
+
{ role: "navigation" },
|
|
341
|
+
{ "aria-label": "pagination" },
|
|
342
|
+
/*$$restProps*/ ctx[10]
|
|
343
|
+
];
|
|
344
|
+
|
|
345
|
+
let nav_data = {};
|
|
346
|
+
|
|
347
|
+
for (let i = 0; i < nav_levels.length; i += 1) {
|
|
348
|
+
nav_data = assign(nav_data, nav_levels[i]);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
return {
|
|
352
|
+
c() {
|
|
353
|
+
nav = element("nav");
|
|
354
|
+
if_block0.c();
|
|
355
|
+
t0 = space();
|
|
356
|
+
if (if_block1) if_block1.c();
|
|
357
|
+
t1 = space();
|
|
358
|
+
if_block2.c();
|
|
359
|
+
this.c = noop;
|
|
360
|
+
set_attributes(nav, nav_data);
|
|
361
|
+
},
|
|
362
|
+
m(target, anchor) {
|
|
363
|
+
insert(target, nav, anchor);
|
|
364
|
+
if_block0.m(nav, null);
|
|
365
|
+
append(nav, t0);
|
|
366
|
+
if (if_block1) if_block1.m(nav, null);
|
|
367
|
+
append(nav, t1);
|
|
368
|
+
if_block2.m(nav, null);
|
|
369
|
+
},
|
|
370
|
+
p(ctx, [dirty]) {
|
|
371
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block0) {
|
|
372
|
+
if_block0.p(ctx, dirty);
|
|
373
|
+
} else {
|
|
374
|
+
if_block0.d(1);
|
|
375
|
+
if_block0 = current_block_type(ctx);
|
|
376
|
+
|
|
377
|
+
if (if_block0) {
|
|
378
|
+
if_block0.c();
|
|
379
|
+
if_block0.m(nav, t0);
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
if (!/*light*/ ctx[2]) {
|
|
384
|
+
if (if_block1) {
|
|
385
|
+
if_block1.p(ctx, dirty);
|
|
386
|
+
} else {
|
|
387
|
+
if_block1 = create_if_block_1(ctx);
|
|
388
|
+
if_block1.c();
|
|
389
|
+
if_block1.m(nav, t1);
|
|
390
|
+
}
|
|
391
|
+
} else if (if_block1) {
|
|
392
|
+
if_block1.d(1);
|
|
393
|
+
if_block1 = null;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx)) && if_block2) {
|
|
397
|
+
if_block2.p(ctx, dirty);
|
|
398
|
+
} else {
|
|
399
|
+
if_block2.d(1);
|
|
400
|
+
if_block2 = current_block_type_1(ctx);
|
|
401
|
+
|
|
402
|
+
if (if_block2) {
|
|
403
|
+
if_block2.c();
|
|
404
|
+
if_block2.m(nav, null);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
set_attributes(nav, nav_data = get_spread_update(nav_levels, [
|
|
409
|
+
dirty & /*light*/ 4 && nav_class_value !== (nav_class_value = "mc-pagination " + (/*light*/ ctx[2] ? 'mc-pagination--light' : '')) && { class: nav_class_value },
|
|
410
|
+
{ role: "navigation" },
|
|
411
|
+
{ "aria-label": "pagination" },
|
|
412
|
+
dirty & /*$$restProps*/ 1024 && /*$$restProps*/ ctx[10]
|
|
413
|
+
]));
|
|
414
|
+
},
|
|
415
|
+
i: noop,
|
|
416
|
+
o: noop,
|
|
417
|
+
d(detaching) {
|
|
418
|
+
if (detaching) detach(nav);
|
|
419
|
+
if_block0.d();
|
|
420
|
+
if (if_block1) if_block1.d();
|
|
421
|
+
if_block2.d();
|
|
422
|
+
}
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
function instance($$self, $$props, $$invalidate) {
|
|
427
|
+
const omit_props_names = ["total","value","light","pagelabel","prefixlabel","hrefprev","hrefnext"];
|
|
428
|
+
let $$restProps = compute_rest_props($$props, omit_props_names);
|
|
429
|
+
let { total = 1 } = $$props;
|
|
430
|
+
let { value = 1 } = $$props;
|
|
431
|
+
let { light = false } = $$props;
|
|
432
|
+
let { pagelabel } = $$props;
|
|
433
|
+
let { prefixlabel = 'Page' } = $$props;
|
|
434
|
+
let { hrefprev = '' } = $$props;
|
|
435
|
+
let { hrefnext = '' } = $$props;
|
|
436
|
+
let eventHandler = new EventHandler();
|
|
437
|
+
const component = get_current_component();
|
|
438
|
+
|
|
439
|
+
onMount(() => {
|
|
440
|
+
const select = component.shadowRoot.querySelector('.mc-select');
|
|
441
|
+
const options = select.options;
|
|
442
|
+
const selectedOption = options.namedItem(value);
|
|
443
|
+
|
|
444
|
+
if (selectedOption) {
|
|
445
|
+
selectedOption.selected = true;
|
|
446
|
+
}
|
|
447
|
+
});
|
|
448
|
+
|
|
449
|
+
function dispatchPreviousPageEvent() {
|
|
450
|
+
$$invalidate(0, value--, value);
|
|
451
|
+
eventHandler.dispatch('on-previous-page', value);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
function dispatchNextPageEvent() {
|
|
455
|
+
$$invalidate(0, value++, value);
|
|
456
|
+
eventHandler.dispatch('on-next-page', value);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
function dispatchChangePageEvent() {
|
|
460
|
+
eventHandler.dispatch('on-update-page', value);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
function select_change_handler() {
|
|
464
|
+
value = select_value(this);
|
|
465
|
+
$$invalidate(0, value);
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
$$self.$$set = $$new_props => {
|
|
469
|
+
$$props = assign(assign({}, $$props), exclude_internal_props($$new_props));
|
|
470
|
+
$$invalidate(10, $$restProps = compute_rest_props($$props, omit_props_names));
|
|
471
|
+
if ('total' in $$new_props) $$invalidate(1, total = $$new_props.total);
|
|
472
|
+
if ('value' in $$new_props) $$invalidate(0, value = $$new_props.value);
|
|
473
|
+
if ('light' in $$new_props) $$invalidate(2, light = $$new_props.light);
|
|
474
|
+
if ('pagelabel' in $$new_props) $$invalidate(3, pagelabel = $$new_props.pagelabel);
|
|
475
|
+
if ('prefixlabel' in $$new_props) $$invalidate(4, prefixlabel = $$new_props.prefixlabel);
|
|
476
|
+
if ('hrefprev' in $$new_props) $$invalidate(5, hrefprev = $$new_props.hrefprev);
|
|
477
|
+
if ('hrefnext' in $$new_props) $$invalidate(6, hrefnext = $$new_props.hrefnext);
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
return [
|
|
481
|
+
value,
|
|
482
|
+
total,
|
|
483
|
+
light,
|
|
484
|
+
pagelabel,
|
|
485
|
+
prefixlabel,
|
|
486
|
+
hrefprev,
|
|
487
|
+
hrefnext,
|
|
488
|
+
dispatchPreviousPageEvent,
|
|
489
|
+
dispatchNextPageEvent,
|
|
490
|
+
dispatchChangePageEvent,
|
|
491
|
+
$$restProps,
|
|
492
|
+
select_change_handler
|
|
493
|
+
];
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
class Pagination extends SvelteElement {
|
|
497
|
+
constructor(options) {
|
|
498
|
+
super();
|
|
499
|
+
const style = document.createElement('style');
|
|
500
|
+
style.textContent = `.mc-button{margin:0;-webkit-box-shadow:none;box-shadow:none;text-decoration:none;outline:none;border:none;cursor:pointer;padding:0;color:#ffffff;background-color:#188803;font-family:"LeroyMerlin", sans-serif;font-weight:600;font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem;cursor:pointer;border-radius:4px;text-align:center;border:2px solid transparent;-webkit-transition:all ease 200ms;-o-transition:all ease 200ms;transition:all ease 200ms;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;vertical-align:middle;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;fill:currentColor}.mc-button.is-hover,.mc-button:hover{background-color:#006902;color:#ffffff}.mc-button.is-active,.mc-button:active{background-color:#006902}.mc-button:disabled,.mc-button.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button .mc-button__icon:first-child,.mc-button .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button.is-focus,.mc-button:focus{-webkit-box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #0b96cc;box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #0b96cc}.mc-button--s{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s .mc-button__icon:first-child,.mc-button--s .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m .mc-button__icon:first-child,.mc-button--m .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l .mc-button__icon{width:2rem;height:2rem}.mc-button--l .mc-button__icon:first-child,.mc-button--l .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full{width:-webkit-fill-available;width:-moz-available;width:stretch}}.mc-button--square{-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:0;padding:0}.mc-button__icon{-ms-flex-negative:0;flex-shrink:0}.mc-button__icon:last-child{margin-left:0.5rem;margin-right:-0.25rem}.mc-button__icon:first-child{margin-right:0.5rem;margin-left:-0.25rem}.mc-button__icon:only-child{margin:0}.mc-button__label{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;pointer-events:none}a.mc-button:disabled{pointer-events:none}.mc-button--solid-primary-02{background-color:#6a7081}.mc-button--solid-primary-02.is-hover,.mc-button--solid-primary-02:hover{background-color:#242938}.mc-button--solid-primary-02.is-active,.mc-button--solid-primary-02:active{background-color:#171b26}.mc-button--solid-primary-02:disabled,.mc-button--solid-primary-02.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--solid-neutral{background-color:#333333}.mc-button--solid-neutral.is-hover,.mc-button--solid-neutral:hover{background-color:#191919}.mc-button--solid-neutral.is-active,.mc-button--solid-neutral:active{background-color:#333333}.mc-button--solid-neutral:disabled,.mc-button--solid-neutral.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--solid-danger{background-color:#c61112}.mc-button--solid-danger.is-hover,.mc-button--solid-danger:hover{background-color:#8c0003}.mc-button--solid-danger.is-active,.mc-button--solid-danger:active{background-color:#8c0003}.mc-button--solid-danger:disabled,.mc-button--solid-danger.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered{color:#188803;border-color:#188803;background-color:#ffffff}.mc-button--bordered.is-hover,.mc-button--bordered:hover{background-color:#ebf5de;color:#006902}.mc-button--bordered.is-active,.mc-button--bordered:active{background-color:#c5e39e;color:#035010}.mc-button--bordered.is-active,.mc-button--bordered:active{background-color:#c5e39e;color:#035010}.mc-button--bordered:disabled,.mc-button--bordered.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-primary-02{color:#6a7081;border-color:#6a7081;background-color:#ffffff}.mc-button--bordered-primary-02.is-hover,.mc-button--bordered-primary-02:hover{background-color:#eeeff1;color:#6a7081}.mc-button--bordered-primary-02.is-active,.mc-button--bordered-primary-02:active{background-color:#cfd2d8}.mc-button--bordered-primary-02:disabled,.mc-button--bordered-primary-02.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-neutral{color:#333333;border-color:#333333;background-color:#ffffff}.mc-button--bordered-neutral.is-hover,.mc-button--bordered-neutral:hover{background-color:#e6e6e6;color:#333333}.mc-button--bordered-neutral.is-active,.mc-button--bordered-neutral:active{background-color:#cccccc}.mc-button--bordered-neutral:disabled,.mc-button--bordered-neutral.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}.mc-button--bordered-danger{color:#c61112;border-color:#c61112;background-color:#ffffff}.mc-button--bordered-danger.is-hover,.mc-button--bordered-danger:hover{background-color:#fdeaea;color:#8c0003}.mc-button--bordered-danger.is-active,.mc-button--bordered-danger:active{background-color:#f8bcbb;color:#530000}.mc-button--bordered-danger.is-active,.mc-button--bordered-danger:active{background-color:#f8bcbb;color:#530000}.mc-button--bordered-danger:disabled,.mc-button--bordered-danger.is-disabled{background-color:#cccccc;border-color:transparent;color:#666666;cursor:not-allowed}@media screen and (min-width: 680px){.mc-button--s\\@from-m{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-m .mc-button__icon:first-child,.mc-button--s\\@from-m .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-m{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-m .mc-button__icon:first-child,.mc-button--m\\@from-m .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-m{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-m .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-m .mc-button__icon:first-child,.mc-button--l\\@from-m .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-m{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-m{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-m{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1024px){.mc-button--s\\@from-l{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-l .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-l .mc-button__icon:first-child,.mc-button--s\\@from-l .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-l{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-l .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-l .mc-button__icon:first-child,.mc-button--m\\@from-l .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-l{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-l .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-l .mc-button__icon:first-child,.mc-button--l\\@from-l .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-l{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-l{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-l{width:-webkit-fill-available;width:-moz-available;width:stretch}}.mc-button--square{padding:0}}@media screen and (min-width: 1280px){.mc-button--s\\@from-xl{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-xl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-xl .mc-button__icon:first-child,.mc-button--s\\@from-xl .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-xl{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-xl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-xl .mc-button__icon:first-child,.mc-button--m\\@from-xl .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-xl{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-xl .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-xl .mc-button__icon:first-child,.mc-button--l\\@from-xl .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-xl{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-xl{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-xl{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1920px){.mc-button--s\\@from-xxl{font-size:0.875rem;line-height:1.2857142857;padding:0.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-xxl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-xxl .mc-button__icon:first-child,.mc-button--s\\@from-xxl .mc-button__icon:last-child{margin-bottom:-0.1875rem;margin-top:-0.1875rem}.mc-button--s\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}.mc-button--m\\@from-xxl{font-size:1rem;line-height:1.375;padding:0.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-xxl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-xxl .mc-button__icon:first-child,.mc-button--m\\@from-xxl .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--l\\@from-xxl{font-size:1.125rem;line-height:1.3333333333;padding:0.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-xxl .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-xxl .mc-button__icon:first-child,.mc-button--l\\@from-xxl .mc-button__icon:last-child{margin-bottom:-0.25rem;margin-top:-0.25rem}.mc-button--l\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button--fit\\@from-xxl{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:auto}.mc-button--full\\@from-xxl{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}@supports (width: -webkit-fill-available) or (width: -moz-available) or (width: stretch){.mc-button--full\\@from-xxl{width:-webkit-fill-available;width:-moz-available;width:stretch}}}.mc-select{font-family:"LeroyMerlin", sans-serif;font-weight:400;-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;margin:0;-webkit-box-shadow:none;box-shadow:none;border:none;font-size:1rem;line-height:1.125;background-position:right 1rem center, right 2.5rem center;padding:calc(0.9375rem - 1px) 3rem calc(0.9375rem - 1px) calc(0.75rem - 1px);background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiMxOTE5MTkiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTggMTEuNWExIDEgMCAwMS0uNzEtLjI5bC01LTVhMSAxIDAgMDExLjQyLTEuNDJMOCA5LjA5bDQuMjktNC4zYTEgMSAwIDExMS40MiAxLjQybC01IDVhMSAxIDAgMDEtLjcxLjI5eiIvPjwvc3ZnPg==");background-color:#ffffff;background-repeat:no-repeat;background-size:1rem 1rem, 1.5rem 1.5rem;border:1px solid #666666;border-radius:4px;color:#191919;-webkit-transition:border-color 200ms ease, -webkit-box-shadow 200ms ease;transition:border-color 200ms ease, -webkit-box-shadow 200ms ease;-o-transition:border-color 200ms ease, box-shadow 200ms ease;transition:border-color 200ms ease, box-shadow 200ms ease;transition:border-color 200ms ease, box-shadow 200ms ease, -webkit-box-shadow 200ms ease;width:100%}.mc-select[type=number]::-webkit-inner-spin-button,.mc-select[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-select[type=number]{-moz-appearance:textfield}.mc-select[type=search]::-webkit-search-decoration:hover,.mc-select[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-select::-ms-expand{display:none}.mc-select.is-hover,.mc-select:hover{border-color:#191919}.mc-select.is-focus,.mc-select:focus{-webkit-box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #0b96cc;box-shadow:0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #0b96cc}.mc-select:disabled{background-color:#e6e6e6;border-color:#e6e6e6;color:#666666;cursor:not-allowed;opacity:1}.mc-select.is-invalid{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiMxOTE5MTkiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTggMTEuNWExIDEgMCAwMS0uNzEtLjI5bC01LTVhMSAxIDAgMDExLjQyLTEuNDJMOCA5LjA5bDQuMjktNC4zYTEgMSAwIDExMS40MiAxLjQybC01IDVhMSAxIDAgMDEtLjcxLjI5eiIvPjwvc3ZnPg=="), url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMS41cmVtIiB3aWR0aD0iMS41cmVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9IiNjNjExMTIiPjxwYXRoIGQ9Ik0xMiAyYTEwIDEwIDAgMTAxMCAxMEExMCAxMCAwIDAwMTIgMnptMCAxOGE4IDggMCAxMTgtOCA4IDggMCAwMS04IDh6Ii8+PHBhdGggZD0iTTEyIDdhMSAxIDAgMDAtMSAxdjQuMzhhMSAxIDAgMDAyIDBWOGExIDEgMCAwMC0xLTF6Ii8+PGNpcmNsZSBjeD0iMTIiIGN5PSIxNiIgcj0iMSIvPjwvc3ZnPg==");border-color:#c61112}.mc-select.is-valid{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMXJlbSIgd2lkdGg9IjFyZW0iIGZpbGw9IiMxOTE5MTkiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTggMTEuNWExIDEgMCAwMS0uNzEtLjI5bC01LTVhMSAxIDAgMDExLjQyLTEuNDJMOCA5LjA5bDQuMjktNC4zYTEgMSAwIDExMS40MiAxLjQybC01IDVhMSAxIDAgMDEtLjcxLjI5eiIvPjwvc3ZnPg=="), url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMS41cmVtIiB3aWR0aD0iMS41cmVtIiBmaWxsPSIjNDZhNjEwIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik0xMiA0YTggOCAwIDExLTggOCA4IDggMCAwMTgtOG0wLTJhMTAgMTAgMCAxMDEwIDEwQTEwIDEwIDAgMDAxMiAyeiIvPjxwYXRoIGQ9Ik0xMC43MyAxNS43NWExIDEgMCAwMS0uNjgtLjI2bC0zLTIuNzRhMSAxIDAgMDExLjM2LTEuNDdsMi4yNSAyLjA4IDQuMzYtNC40MmExIDEgMCAxMTEuNDIgMS40MWwtNSA1LjFhMSAxIDAgMDEtLjcxLjN6Ii8+PC9zdmc+");border-color:#46a610}.mc-select--s{font-size:0.875rem;line-height:1.1428571429;background-position:right 0.5rem center, right 2rem center;padding:calc(0.5rem - 1px) 2rem calc(0.5rem - 1px) calc(0.5rem - 1px)}.mc-select--m{font-size:1rem;line-height:1.125;background-position:right 1rem center, right 2.5rem center;padding:calc(0.9375rem - 1px) 3rem calc(0.9375rem - 1px) calc(0.75rem - 1px)}@media screen and (min-width: 680px){.mc-select--s\\@from-m{font-size:0.875rem;line-height:1.1428571429;background-position:right 0.5rem center, right 2rem center;padding:calc(0.5rem - 1px) 2rem calc(0.5rem - 1px) calc(0.5rem - 1px)}.mc-select--m\\@from-m{font-size:1rem;line-height:1.125;background-position:right 1rem center, right 2.5rem center;padding:calc(0.9375rem - 1px) 3rem calc(0.9375rem - 1px) calc(0.75rem - 1px)}}@media screen and (min-width: 1024px){.mc-select--s\\@from-l{font-size:0.875rem;line-height:1.1428571429;background-position:right 0.5rem center, right 2rem center;padding:calc(0.5rem - 1px) 2rem calc(0.5rem - 1px) calc(0.5rem - 1px)}.mc-select--m\\@from-l{font-size:1rem;line-height:1.125;background-position:right 1rem center, right 2.5rem center;padding:calc(0.9375rem - 1px) 3rem calc(0.9375rem - 1px) calc(0.75rem - 1px)}}@media screen and (min-width: 1280px){.mc-select--s\\@from-xl{font-size:0.875rem;line-height:1.1428571429;background-position:right 0.5rem center, right 2rem center;padding:calc(0.5rem - 1px) 2rem calc(0.5rem - 1px) calc(0.5rem - 1px)}.mc-select--m\\@from-xl{font-size:1rem;line-height:1.125;background-position:right 1rem center, right 2.5rem center;padding:calc(0.9375rem - 1px) 3rem calc(0.9375rem - 1px) calc(0.75rem - 1px)}}@media screen and (min-width: 1920px){.mc-select--s\\@from-xxl{font-size:0.875rem;line-height:1.1428571429;background-position:right 0.5rem center, right 2rem center;padding:calc(0.5rem - 1px) 2rem calc(0.5rem - 1px) calc(0.5rem - 1px)}.mc-select--m\\@from-xxl{font-size:1rem;line-height:1.125;background-position:right 1rem center, right 2.5rem center;padding:calc(0.9375rem - 1px) 3rem calc(0.9375rem - 1px) calc(0.75rem - 1px)}}.mc-pagination{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:1rem}.mc-pagination__select{font-size:1rem;line-height:1.125;padding:0.875rem 3rem 0.875rem calc(0.75rem - 1px)}@media screen and (min-width: 1024px){.mc-pagination__select{font-size:0.875rem;line-height:1.1428571429;padding:calc(0.5rem - 1px) 2.25rem calc(0.5rem - 1px) calc(0.5rem - 1px)}}`;
|
|
501
|
+
this.shadowRoot.appendChild(style);
|
|
502
|
+
|
|
503
|
+
init(
|
|
504
|
+
this,
|
|
505
|
+
{
|
|
506
|
+
target: this.shadowRoot,
|
|
507
|
+
props: attribute_to_object(this.attributes),
|
|
508
|
+
customElement: true
|
|
509
|
+
},
|
|
510
|
+
instance,
|
|
511
|
+
create_fragment,
|
|
512
|
+
safe_not_equal,
|
|
513
|
+
{
|
|
514
|
+
total: 1,
|
|
515
|
+
value: 0,
|
|
516
|
+
light: 2,
|
|
517
|
+
pagelabel: 3,
|
|
518
|
+
prefixlabel: 4,
|
|
519
|
+
hrefprev: 5,
|
|
520
|
+
hrefnext: 6
|
|
521
|
+
},
|
|
522
|
+
null
|
|
523
|
+
);
|
|
524
|
+
|
|
525
|
+
if (options) {
|
|
526
|
+
if (options.target) {
|
|
527
|
+
insert(options.target, this, options.anchor);
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
if (options.props) {
|
|
531
|
+
this.$set(options.props);
|
|
532
|
+
flush();
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
static get observedAttributes() {
|
|
538
|
+
return [
|
|
539
|
+
"total",
|
|
540
|
+
"value",
|
|
541
|
+
"light",
|
|
542
|
+
"pagelabel",
|
|
543
|
+
"prefixlabel",
|
|
544
|
+
"hrefprev",
|
|
545
|
+
"hrefnext"
|
|
546
|
+
];
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
get total() {
|
|
550
|
+
return this.$$.ctx[1];
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
set total(total) {
|
|
554
|
+
this.$$set({ total });
|
|
555
|
+
flush();
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
get value() {
|
|
559
|
+
return this.$$.ctx[0];
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
set value(value) {
|
|
563
|
+
this.$$set({ value });
|
|
564
|
+
flush();
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
get light() {
|
|
568
|
+
return this.$$.ctx[2];
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
set light(light) {
|
|
572
|
+
this.$$set({ light });
|
|
573
|
+
flush();
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
get pagelabel() {
|
|
577
|
+
return this.$$.ctx[3];
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
set pagelabel(pagelabel) {
|
|
581
|
+
this.$$set({ pagelabel });
|
|
582
|
+
flush();
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
get prefixlabel() {
|
|
586
|
+
return this.$$.ctx[4];
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
set prefixlabel(prefixlabel) {
|
|
590
|
+
this.$$set({ prefixlabel });
|
|
591
|
+
flush();
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
get hrefprev() {
|
|
595
|
+
return this.$$.ctx[5];
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
set hrefprev(hrefprev) {
|
|
599
|
+
this.$$set({ hrefprev });
|
|
600
|
+
flush();
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
get hrefnext() {
|
|
604
|
+
return this.$$.ctx[6];
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
set hrefnext(hrefnext) {
|
|
608
|
+
this.$$set({ hrefnext });
|
|
609
|
+
flush();
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
export { Pagination as default };
|
|
2
614
|
//# sourceMappingURL=Pagination.js.map
|