scb-wc-test 0.1.314 → 0.1.316
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as m,n as
|
|
1
|
+
import{a as m,n as p,i as v,x as r,t as y}from"../../vendor/vendor.js";import"../scb-link/scb-link.js";import"../scb-button/scb-button.js";import"../scb-icon-button/scb-icon-button.js";import"../../vendor/vendor-material.js";import"../../vendor/preload-helper.js";(function(){try{var i=typeof globalThis<"u"?globalThis:window;if(!i.__scb_ce_guard_installed__){i.__scb_ce_guard_installed__=!0;var t=customElements.define.bind(customElements);customElements.define=function(n,a,s){try{customElements.get(n)||t(n,a,s)}catch(d){var c=String(d||"");if(c.indexOf("already been used")===-1&&c.indexOf("NotSupportedError")===-1)throw d}}}}catch{}})();var x=Object.defineProperty,w=Object.getOwnPropertyDescriptor,l=(i,t,n,a)=>{for(var s=a>1?void 0:a?w(t,n):t,c=i.length-1,d;c>=0;c--)(d=i[c])&&(s=(a?d(t,n,s):d(s))||s);return a&&s&&x(t,n,s),s};let o=class extends v{constructor(){super(...arguments),this.variant="icon-text",this.page=1,this.totalPages=0,this.pagingHref="",this.baseUri="",this.paginationAriaLabel="Paginering",this.currentAriaLabel="Nuvarande sida, ",this.pagingNumberAriaLabel="Gå till sida ",this.isNarrow=window.innerWidth<=768,this.spacing=void 0,this.spacingTop=void 0,this.spacingBottom=void 0,this.spacingLeft=void 0,this.spacingRight=void 0,this._onResize=()=>{this.isNarrow=window.innerWidth<=768}}_emitPageChange(i){const t={page:i};this.dispatchEvent(new CustomEvent("page-change",{detail:t,bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("pagechange",{detail:t,bubbles:!0,composed:!0}))}_getPagingHref(i){if(!this.pagingHref)return;const t=(this.baseUri||"").trim().replace(/&+$/,""),n=window.location.search.replace(/&+$/,""),a=new RegExp(`[?&]${this.pagingHref.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}\\d*`,"g"),s=n.replace(a,"").replace(/&+$/,""),c=t||s;return c?`${c}&${this.pagingHref}${i}`:`${this.pagingHref}${i}`}_handlePageSelection(i,t){!this.pagingHref&&t&&t.preventDefault(),this.page=i,this._emitPageChange(i)}_prevPage(i){if(this.page<=1){!this.pagingHref&&i&&i.preventDefault();return}this._handlePageSelection(this.page-1,i)}_nextPage(i){if(this.page>=this.totalPages){!this.pagingHref&&i&&i.preventDefault();return}this._handlePageSelection(this.page+1,i)}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this._onResize),this._onResize()}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this._onResize)}mapSpacingToken(i){if(i==null)return;const t=String(i).trim();if(t)return/^\d+$/.test(t)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(t,10)))})`:t}__applySpacing(){const i=this.mapSpacingToken(this.spacing),t=this.mapSpacingToken(this.spacingTop)??i,n=this.mapSpacingToken(this.spacingBottom)??i,a=this.mapSpacingToken(this.spacingLeft),s=this.mapSpacingToken(this.spacingRight);t?this.style.setProperty("--scb-pagination-spacing-block-start",t):this.style.removeProperty("--scb-pagination-spacing-block-start"),n?this.style.setProperty("--scb-pagination-spacing-block-end",n):this.style.removeProperty("--scb-pagination-spacing-block-end"),a?this.style.setProperty("--scb-pagination-spacing-inline-start",a):this.style.removeProperty("--scb-pagination-spacing-inline-start"),s?this.style.setProperty("--scb-pagination-spacing-inline-end",s):this.style.removeProperty("--scb-pagination-spacing-inline-end")}firstUpdated(){this.__applySpacing()}updated(i){super.updated(i),(i.has("spacing")||i.has("spacingTop")||i.has("spacingBottom")||i.has("spacingLeft")||i.has("spacingRight"))&&this.__applySpacing()}render(){if(this.totalPages===0)return null;const i=this.variant?`${this.variant.toLowerCase()}`:"",t=[],{page:n,totalPages:a}=this,s=window.innerWidth<=768,c=s?1:2,d=this._getPagingHref(Math.max(1,this.page-1)),h=this._getPagingHref(Math.min(this.totalPages,this.page+1)),b=this.pagingHref?this.variant==="icon"?r`<a
|
|
2
2
|
class="paging-action-link"
|
|
3
3
|
href=${d}
|
|
4
4
|
@click=${this._prevPage}
|
|
@@ -99,7 +99,7 @@ import{a as m,n as c,i as v,x as r,t as y}from"../../vendor/vendor.js";import"..
|
|
|
99
99
|
>${e}</scb-link
|
|
100
100
|
>
|
|
101
101
|
</li>
|
|
102
|
-
`;if(a<=8)for(let e=1;e<=a;e++)t.push(g(e));else if(t.push(g(1)),n<=4&&!s){for(let e=2;e<=5;e++)t.push(g(e));a>6?(t.push(r`<li><span class="ellipsis" aria-hidden="true">…</span></li>`),t.push(g(a))):a===6&&t.push(g(a))}else if(n<=3&&s){for(let e=2;e<=3;e++)t.push(g(e));a>4?(t.push(r`<li><span class="ellipsis" aria-hidden="true">…</span></li>`),t.push(g(a))):a===4&&t.push(g(a))}else if(n>=a-(
|
|
102
|
+
`;if(a<=8)for(let e=1;e<=a;e++)t.push(g(e));else if(t.push(g(1)),n<=4&&!s){for(let e=2;e<=5;e++)t.push(g(e));a>6?(t.push(r`<li><span class="ellipsis" aria-hidden="true">…</span></li>`),t.push(g(a))):a===6&&t.push(g(a))}else if(n<=3&&s){for(let e=2;e<=3;e++)t.push(g(e));a>4?(t.push(r`<li><span class="ellipsis" aria-hidden="true">…</span></li>`),t.push(g(a))):a===4&&t.push(g(a))}else if(n>=a-(c+1)){t.push(r`<li><span class="ellipsis" aria-hidden="true">…</span></li>`);for(let e=a-c*2;e<=a;e++)e>1&&t.push(g(e))}else{t.push(r`<li><span class="ellipsis" aria-hidden="true">…</span></li>`);for(let e=n-c;e<=n+c;e++)e>1&&e<a&&t.push(g(e));t.push(r`<li><span class="ellipsis" aria-hidden="true">…</span></li>`),t.push(g(a))}return s?r`
|
|
103
103
|
<nav aria-label="${this.paginationAriaLabel}" class="pagination ${i}">
|
|
104
104
|
<div class="pagination-row">
|
|
105
105
|
<div class="prev">
|
|
@@ -309,4 +309,4 @@ import{a as m,n as c,i as v,x as r,t as y}from"../../vendor/vendor.js";import"..
|
|
|
309
309
|
margin-top: 8px;
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
|
-
`];l([
|
|
312
|
+
`];l([p({type:String})],o.prototype,"variant",2);l([p({type:Number})],o.prototype,"page",2);l([p({type:Number,attribute:"total-pages"})],o.prototype,"totalPages",2);l([p({type:String,attribute:"paging-href"})],o.prototype,"pagingHref",2);l([p({type:String,attribute:"base-uri"})],o.prototype,"baseUri",2);l([p({type:String,attribute:"pagination-aria-label"})],o.prototype,"paginationAriaLabel",2);l([p({type:String,attribute:"current-aria-label"})],o.prototype,"currentAriaLabel",2);l([p({type:String,attribute:"paging-number-aria-label"})],o.prototype,"pagingNumberAriaLabel",2);l([p({type:Boolean})],o.prototype,"isNarrow",2);l([p({type:String})],o.prototype,"spacing",2);l([p({type:String,attribute:"spacing-top"})],o.prototype,"spacingTop",2);l([p({type:String,attribute:"spacing-bottom"})],o.prototype,"spacingBottom",2);l([p({type:String,attribute:"spacing-left"})],o.prototype,"spacingLeft",2);l([p({type:String,attribute:"spacing-right"})],o.prototype,"spacingRight",2);o=l([y("scb-pagination")],o);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scb-wc-test",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.316",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -390,5 +390,5 @@
|
|
|
390
390
|
},
|
|
391
391
|
"./mvc/*": "./mvc/*"
|
|
392
392
|
},
|
|
393
|
-
"buildHash": "
|
|
393
|
+
"buildHash": "9E0B0B983353490A2D93E72675E2E459D82013C3A5079349994961E412607E40"
|
|
394
394
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { css as m, LitElement as v, html as
|
|
1
|
+
import { css as m, LitElement as v, html as r } from "lit";
|
|
2
2
|
import { property as p, customElement as y } from "lit/decorators.js";
|
|
3
3
|
import "../scb-link/scb-link.js";
|
|
4
4
|
import "../scb-button/scb-button.js";
|
|
5
5
|
import "../scb-icon-button/scb-icon-button.js";
|
|
6
6
|
import "@material/web/icon/icon.js";
|
|
7
7
|
import "@material/web/focus/md-focus-ring.js";
|
|
8
|
-
var x = Object.defineProperty,
|
|
9
|
-
for (var
|
|
10
|
-
(d = i[
|
|
11
|
-
return a &&
|
|
8
|
+
var x = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, l = (i, t, n, a) => {
|
|
9
|
+
for (var s = a > 1 ? void 0 : a ? $(t, n) : t, c = i.length - 1, d; c >= 0; c--)
|
|
10
|
+
(d = i[c]) && (s = (a ? d(t, n, s) : d(s)) || s);
|
|
11
|
+
return a && s && x(t, n, s), s;
|
|
12
12
|
};
|
|
13
|
-
let
|
|
13
|
+
let o = class extends v {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(...arguments), this.variant = "icon-text", this.page = 1, this.totalPages = 0, this.pagingHref = "", this.baseUri = "", this.paginationAriaLabel = "Paginering", this.currentAriaLabel = "Nuvarande sida, ", this.pagingNumberAriaLabel = "Gå till sida ", this.isNarrow = window.innerWidth <= 768, this.spacing = void 0, this.spacingTop = void 0, this.spacingBottom = void 0, this.spacingLeft = void 0, this.spacingRight = void 0, this._onResize = () => {
|
|
16
16
|
this.isNarrow = window.innerWidth <= 768;
|
|
@@ -26,8 +26,8 @@ let r = class extends v {
|
|
|
26
26
|
}
|
|
27
27
|
_getPagingHref(i) {
|
|
28
28
|
if (!this.pagingHref) return;
|
|
29
|
-
const t = (this.baseUri || "").trim().replace(
|
|
30
|
-
return
|
|
29
|
+
const t = (this.baseUri || "").trim().replace(/&+$/, ""), n = window.location.search.replace(/&+$/, ""), a = new RegExp(`[?&]${this.pagingHref.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&")}\\d*`, "g"), s = n.replace(a, "").replace(/&+$/, ""), c = t || s;
|
|
30
|
+
return c ? `${c}&${this.pagingHref}${i}` : `${this.pagingHref}${i}`;
|
|
31
31
|
}
|
|
32
32
|
_handlePageSelection(i, t) {
|
|
33
33
|
!this.pagingHref && t && t.preventDefault(), this.page = i, this._emitPageChange(i);
|
|
@@ -59,8 +59,8 @@ let r = class extends v {
|
|
|
59
59
|
return /^\d+$/.test(t) ? `var(--spacing-${Math.max(0, Math.min(14, parseInt(t, 10)))})` : t;
|
|
60
60
|
}
|
|
61
61
|
__applySpacing() {
|
|
62
|
-
const i = this.mapSpacingToken(this.spacing), t = this.mapSpacingToken(this.spacingTop) ?? i, n = this.mapSpacingToken(this.spacingBottom) ?? i, a = this.mapSpacingToken(this.spacingLeft),
|
|
63
|
-
t ? this.style.setProperty("--scb-pagination-spacing-block-start", t) : this.style.removeProperty("--scb-pagination-spacing-block-start"), n ? this.style.setProperty("--scb-pagination-spacing-block-end", n) : this.style.removeProperty("--scb-pagination-spacing-block-end"), a ? this.style.setProperty("--scb-pagination-spacing-inline-start", a) : this.style.removeProperty("--scb-pagination-spacing-inline-start"),
|
|
62
|
+
const i = this.mapSpacingToken(this.spacing), t = this.mapSpacingToken(this.spacingTop) ?? i, n = this.mapSpacingToken(this.spacingBottom) ?? i, a = this.mapSpacingToken(this.spacingLeft), s = this.mapSpacingToken(this.spacingRight);
|
|
63
|
+
t ? this.style.setProperty("--scb-pagination-spacing-block-start", t) : this.style.removeProperty("--scb-pagination-spacing-block-start"), n ? this.style.setProperty("--scb-pagination-spacing-block-end", n) : this.style.removeProperty("--scb-pagination-spacing-block-end"), a ? this.style.setProperty("--scb-pagination-spacing-inline-start", a) : this.style.removeProperty("--scb-pagination-spacing-inline-start"), s ? this.style.setProperty("--scb-pagination-spacing-inline-end", s) : this.style.removeProperty("--scb-pagination-spacing-inline-end");
|
|
64
64
|
}
|
|
65
65
|
firstUpdated() {
|
|
66
66
|
this.__applySpacing();
|
|
@@ -70,7 +70,7 @@ let r = class extends v {
|
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
72
|
if (this.totalPages === 0) return null;
|
|
73
|
-
const i = this.variant ? `${this.variant.toLowerCase()}` : "", t = [], { page: n, totalPages: a } = this,
|
|
73
|
+
const i = this.variant ? `${this.variant.toLowerCase()}` : "", t = [], { page: n, totalPages: a } = this, s = window.innerWidth <= 768, c = s ? 1 : 2, d = this._getPagingHref(Math.max(1, this.page - 1)), h = this._getPagingHref(Math.min(this.totalPages, this.page + 1)), b = this.pagingHref ? this.variant === "icon" ? r`<a
|
|
74
74
|
class="paging-action-link"
|
|
75
75
|
href=${d}
|
|
76
76
|
@click=${this._prevPage}
|
|
@@ -82,7 +82,7 @@ let r = class extends v {
|
|
|
82
82
|
?disabled=${this.page === 1}
|
|
83
83
|
aria-label="Föregående sida"
|
|
84
84
|
></scb-icon-button>
|
|
85
|
-
</a>` :
|
|
85
|
+
</a>` : r`<a
|
|
86
86
|
class="paging-action-link"
|
|
87
87
|
href=${d}
|
|
88
88
|
@click=${this._prevPage}
|
|
@@ -96,19 +96,19 @@ let r = class extends v {
|
|
|
96
96
|
?disabled=${this.page === 1}
|
|
97
97
|
aria-label="Föregående sida"
|
|
98
98
|
></scb-button>
|
|
99
|
-
</a>` : this.variant === "icon" ?
|
|
99
|
+
</a>` : this.variant === "icon" ? r`<scb-icon-button
|
|
100
100
|
icon="chevron_left"
|
|
101
101
|
@click=${this._prevPage}
|
|
102
102
|
?disabled=${this.page === 1}
|
|
103
103
|
aria-label="Föregående sida"
|
|
104
|
-
></scb-icon-button>` :
|
|
104
|
+
></scb-icon-button>` : r`<scb-button
|
|
105
105
|
variant="text"
|
|
106
106
|
label="Föregående"
|
|
107
107
|
icon="chevron_left"
|
|
108
108
|
@click=${this._prevPage}
|
|
109
109
|
?disabled=${this.page === 1}
|
|
110
110
|
aria-label="Föregående sida"
|
|
111
|
-
></scb-button>`, u = this.pagingHref ? this.variant === "icon" ?
|
|
111
|
+
></scb-button>`, u = this.pagingHref ? this.variant === "icon" ? r`<a
|
|
112
112
|
class="paging-action-link"
|
|
113
113
|
href=${h}
|
|
114
114
|
@click=${this._nextPage}
|
|
@@ -120,7 +120,7 @@ let r = class extends v {
|
|
|
120
120
|
?disabled=${this.page === this.totalPages}
|
|
121
121
|
aria-label="Nästa sida"
|
|
122
122
|
></scb-icon-button>
|
|
123
|
-
</a>` :
|
|
123
|
+
</a>` : r`<a
|
|
124
124
|
class="paging-action-link"
|
|
125
125
|
href=${h}
|
|
126
126
|
@click=${this._nextPage}
|
|
@@ -136,12 +136,12 @@ let r = class extends v {
|
|
|
136
136
|
aria-label="Nästa sida"
|
|
137
137
|
trailing-icon
|
|
138
138
|
></scb-button>
|
|
139
|
-
</a>` : this.variant === "icon" ?
|
|
139
|
+
</a>` : this.variant === "icon" ? r`<scb-icon-button
|
|
140
140
|
icon="chevron_right"
|
|
141
141
|
@click=${this._nextPage}
|
|
142
142
|
?disabled=${this.page === this.totalPages}
|
|
143
143
|
aria-label="Nästa sida"
|
|
144
|
-
></scb-icon-button>` :
|
|
144
|
+
></scb-icon-button>` : r`<scb-button
|
|
145
145
|
variant="text"
|
|
146
146
|
label="Nästa"
|
|
147
147
|
icon="chevron_right"
|
|
@@ -150,7 +150,7 @@ let r = class extends v {
|
|
|
150
150
|
?disabled=${this.page === this.totalPages}
|
|
151
151
|
aria-label="Nästa sida"
|
|
152
152
|
trailing-icon
|
|
153
|
-
></scb-button>`,
|
|
153
|
+
></scb-button>`, g = (e) => e === n ? r`
|
|
154
154
|
<li>
|
|
155
155
|
<span
|
|
156
156
|
class="page-number active"
|
|
@@ -159,7 +159,7 @@ let r = class extends v {
|
|
|
159
159
|
>${e}</span
|
|
160
160
|
>
|
|
161
161
|
</li>
|
|
162
|
-
` :
|
|
162
|
+
` : r`
|
|
163
163
|
<li>
|
|
164
164
|
<scb-link
|
|
165
165
|
class="page-number${e === n ? " active" : ""}"
|
|
@@ -174,34 +174,34 @@ let r = class extends v {
|
|
|
174
174
|
`;
|
|
175
175
|
if (a <= 8)
|
|
176
176
|
for (let e = 1; e <= a; e++)
|
|
177
|
-
t.push(
|
|
178
|
-
else if (t.push(
|
|
179
|
-
for (let e = 2; e <= 5; e++) t.push(
|
|
177
|
+
t.push(g(e));
|
|
178
|
+
else if (t.push(g(1)), n <= 4 && !s) {
|
|
179
|
+
for (let e = 2; e <= 5; e++) t.push(g(e));
|
|
180
180
|
a > 6 ? (t.push(
|
|
181
|
-
|
|
182
|
-
), t.push(
|
|
183
|
-
} else if (n <= 3 &&
|
|
184
|
-
for (let e = 2; e <= 3; e++) t.push(
|
|
181
|
+
r`<li><span class="ellipsis" aria-hidden="true">…</span></li>`
|
|
182
|
+
), t.push(g(a))) : a === 6 && t.push(g(a));
|
|
183
|
+
} else if (n <= 3 && s) {
|
|
184
|
+
for (let e = 2; e <= 3; e++) t.push(g(e));
|
|
185
185
|
a > 4 ? (t.push(
|
|
186
|
-
|
|
187
|
-
), t.push(
|
|
188
|
-
} else if (n >= a - (
|
|
186
|
+
r`<li><span class="ellipsis" aria-hidden="true">…</span></li>`
|
|
187
|
+
), t.push(g(a))) : a === 4 && t.push(g(a));
|
|
188
|
+
} else if (n >= a - (c + 1)) {
|
|
189
189
|
t.push(
|
|
190
|
-
|
|
190
|
+
r`<li><span class="ellipsis" aria-hidden="true">…</span></li>`
|
|
191
191
|
);
|
|
192
|
-
for (let e = a -
|
|
193
|
-
e > 1 && t.push(
|
|
192
|
+
for (let e = a - c * 2; e <= a; e++)
|
|
193
|
+
e > 1 && t.push(g(e));
|
|
194
194
|
} else {
|
|
195
195
|
t.push(
|
|
196
|
-
|
|
196
|
+
r`<li><span class="ellipsis" aria-hidden="true">…</span></li>`
|
|
197
197
|
);
|
|
198
|
-
for (let e = n -
|
|
199
|
-
e > 1 && e < a && t.push(
|
|
198
|
+
for (let e = n - c; e <= n + c; e++)
|
|
199
|
+
e > 1 && e < a && t.push(g(e));
|
|
200
200
|
t.push(
|
|
201
|
-
|
|
202
|
-
), t.push(
|
|
201
|
+
r`<li><span class="ellipsis" aria-hidden="true">…</span></li>`
|
|
202
|
+
), t.push(g(a));
|
|
203
203
|
}
|
|
204
|
-
return
|
|
204
|
+
return s ? r`
|
|
205
205
|
<nav aria-label="${this.paginationAriaLabel}" class="pagination ${i}">
|
|
206
206
|
<div class="pagination-row">
|
|
207
207
|
<div class="prev">
|
|
@@ -215,7 +215,7 @@ let r = class extends v {
|
|
|
215
215
|
${u}
|
|
216
216
|
</div>
|
|
217
217
|
</nav>
|
|
218
|
-
` :
|
|
218
|
+
` : r`
|
|
219
219
|
<nav aria-label="${this.paginationAriaLabel}" class="pagination ${i}">
|
|
220
220
|
<div class="pagination-row">
|
|
221
221
|
<div class="prev">
|
|
@@ -232,7 +232,7 @@ let r = class extends v {
|
|
|
232
232
|
`;
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
|
-
|
|
235
|
+
o.styles = [
|
|
236
236
|
m`
|
|
237
237
|
:host {
|
|
238
238
|
display: block;
|
|
@@ -419,49 +419,49 @@ r.styles = [
|
|
|
419
419
|
];
|
|
420
420
|
l([
|
|
421
421
|
p({ type: String })
|
|
422
|
-
],
|
|
422
|
+
], o.prototype, "variant", 2);
|
|
423
423
|
l([
|
|
424
424
|
p({ type: Number })
|
|
425
|
-
],
|
|
425
|
+
], o.prototype, "page", 2);
|
|
426
426
|
l([
|
|
427
427
|
p({ type: Number, attribute: "total-pages" })
|
|
428
|
-
],
|
|
428
|
+
], o.prototype, "totalPages", 2);
|
|
429
429
|
l([
|
|
430
430
|
p({ type: String, attribute: "paging-href" })
|
|
431
|
-
],
|
|
431
|
+
], o.prototype, "pagingHref", 2);
|
|
432
432
|
l([
|
|
433
433
|
p({ type: String, attribute: "base-uri" })
|
|
434
|
-
],
|
|
434
|
+
], o.prototype, "baseUri", 2);
|
|
435
435
|
l([
|
|
436
436
|
p({ type: String, attribute: "pagination-aria-label" })
|
|
437
|
-
],
|
|
437
|
+
], o.prototype, "paginationAriaLabel", 2);
|
|
438
438
|
l([
|
|
439
439
|
p({ type: String, attribute: "current-aria-label" })
|
|
440
|
-
],
|
|
440
|
+
], o.prototype, "currentAriaLabel", 2);
|
|
441
441
|
l([
|
|
442
442
|
p({ type: String, attribute: "paging-number-aria-label" })
|
|
443
|
-
],
|
|
443
|
+
], o.prototype, "pagingNumberAriaLabel", 2);
|
|
444
444
|
l([
|
|
445
445
|
p({ type: Boolean })
|
|
446
|
-
],
|
|
446
|
+
], o.prototype, "isNarrow", 2);
|
|
447
447
|
l([
|
|
448
448
|
p({ type: String })
|
|
449
|
-
],
|
|
449
|
+
], o.prototype, "spacing", 2);
|
|
450
450
|
l([
|
|
451
451
|
p({ type: String, attribute: "spacing-top" })
|
|
452
|
-
],
|
|
452
|
+
], o.prototype, "spacingTop", 2);
|
|
453
453
|
l([
|
|
454
454
|
p({ type: String, attribute: "spacing-bottom" })
|
|
455
|
-
],
|
|
455
|
+
], o.prototype, "spacingBottom", 2);
|
|
456
456
|
l([
|
|
457
457
|
p({ type: String, attribute: "spacing-left" })
|
|
458
|
-
],
|
|
458
|
+
], o.prototype, "spacingLeft", 2);
|
|
459
459
|
l([
|
|
460
460
|
p({ type: String, attribute: "spacing-right" })
|
|
461
|
-
],
|
|
462
|
-
|
|
461
|
+
], o.prototype, "spacingRight", 2);
|
|
462
|
+
o = l([
|
|
463
463
|
y("scb-pagination")
|
|
464
|
-
],
|
|
464
|
+
], o);
|
|
465
465
|
export {
|
|
466
|
-
|
|
466
|
+
o as ScbPagination
|
|
467
467
|
};
|