@ambita/design-system 3.0.24-220.0 → 3.0.24-227.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aux.common.js +199 -72
- package/dist/aux.common.js.map +1 -1
- package/dist/aux.umd.js +199 -72
- package/dist/aux.umd.js.map +1 -1
- package/dist/aux.umd.min.js +1 -1
- package/dist/aux.umd.min.js.map +1 -1
- package/dist/types/components/Checkbox/Checkbox.vue.d.ts +3 -3
- package/dist/types/components/Definition/Definition.vue.d.ts +1 -1
- package/dist/types/components/Input/Input.vue.d.ts +2 -2
- package/dist/types/components/Modal/Modal.vue.d.ts +2 -2
- package/dist/types/components/Pagination/Pagination.vue.d.ts +2 -0
- package/dist/types/components/Radio/Radio.vue.d.ts +2 -2
- package/dist/types/components/Select/Select.vue.d.ts +3 -3
- package/dist/types/components/TextArea/TextArea.vue.d.ts +5 -5
- package/dist/types/components/Upload/File/File.vue.d.ts +1 -1
- package/dist/types/components/Upload/Upload.vue.d.ts +1 -1
- package/package.json +1 -1
package/dist/aux.umd.js
CHANGED
|
@@ -989,22 +989,6 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
|
|
|
989
989
|
};
|
|
990
990
|
|
|
991
991
|
|
|
992
|
-
/***/ }),
|
|
993
|
-
|
|
994
|
-
/***/ "3904":
|
|
995
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
996
|
-
|
|
997
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
998
|
-
|
|
999
|
-
// load the styles
|
|
1000
|
-
var content = __webpack_require__("d699");
|
|
1001
|
-
if(content.__esModule) content = content.default;
|
|
1002
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
1003
|
-
if(content.locals) module.exports = content.locals;
|
|
1004
|
-
// add the styles to the DOM
|
|
1005
|
-
var add = __webpack_require__("499e").default
|
|
1006
|
-
var update = add("50b8d1f5", content, true, {"sourceMap":false,"shadowMode":false});
|
|
1007
|
-
|
|
1008
992
|
/***/ }),
|
|
1009
993
|
|
|
1010
994
|
/***/ "3bbe":
|
|
@@ -1791,17 +1775,6 @@ exports.push([module.i, ".aux-pill[data-v-3724349d]{font-size:12px;line-height:1
|
|
|
1791
1775
|
module.exports = exports;
|
|
1792
1776
|
|
|
1793
1777
|
|
|
1794
|
-
/***/ }),
|
|
1795
|
-
|
|
1796
|
-
/***/ "6226":
|
|
1797
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1798
|
-
|
|
1799
|
-
"use strict";
|
|
1800
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Pagination_vue_vue_type_style_index_0_id_aa245378_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3904");
|
|
1801
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Pagination_vue_vue_type_style_index_0_id_aa245378_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Pagination_vue_vue_type_style_index_0_id_aa245378_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
1802
|
-
/* unused harmony reexport * */
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
1778
|
/***/ }),
|
|
1806
1779
|
|
|
1807
1780
|
/***/ "622f":
|
|
@@ -2013,6 +1986,22 @@ var TEMPLATE = String(String).split('String');
|
|
|
2013
1986
|
});
|
|
2014
1987
|
|
|
2015
1988
|
|
|
1989
|
+
/***/ }),
|
|
1990
|
+
|
|
1991
|
+
/***/ "7005":
|
|
1992
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1993
|
+
|
|
1994
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
1995
|
+
|
|
1996
|
+
// load the styles
|
|
1997
|
+
var content = __webpack_require__("cee5");
|
|
1998
|
+
if(content.__esModule) content = content.default;
|
|
1999
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2000
|
+
if(content.locals) module.exports = content.locals;
|
|
2001
|
+
// add the styles to the DOM
|
|
2002
|
+
var add = __webpack_require__("499e").default
|
|
2003
|
+
var update = add("3016e708", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2004
|
+
|
|
2016
2005
|
/***/ }),
|
|
2017
2006
|
|
|
2018
2007
|
/***/ "7156":
|
|
@@ -4015,6 +4004,20 @@ module.exports = function (key, value) {
|
|
|
4015
4004
|
};
|
|
4016
4005
|
|
|
4017
4006
|
|
|
4007
|
+
/***/ }),
|
|
4008
|
+
|
|
4009
|
+
/***/ "cee5":
|
|
4010
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4011
|
+
|
|
4012
|
+
// Imports
|
|
4013
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
4014
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4015
|
+
// Module
|
|
4016
|
+
exports.push([module.i, ".aux-pagination[data-v-253b38be]{display:flex;justify-content:center}.aux-ellipsis[data-v-253b38be]{width:45px;height:45px;color:#333;background:#fff}.aux-pagination-small-device[data-v-253b38be]{margin:0 20px;padding-top:12px;font-weight:500}.aux-button[data-v-253b38be]{min-width:45px;height:45px;border:none;padding:0}.aux-button[data-v-253b38be]:hover{background-color:#8666ac;color:#fff}.aux-button--secondary[data-v-253b38be]:disabled{background:#fff;border:1px solid #360076;color:#360076}.aux-pagination-item+.aux-pagination-item[data-v-253b38be]{margin-left:8px}.aux-sr-only[data-v-253b38be]:not(:focus):not(:active){clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}", ""]);
|
|
4017
|
+
// Exports
|
|
4018
|
+
module.exports = exports;
|
|
4019
|
+
|
|
4020
|
+
|
|
4018
4021
|
/***/ }),
|
|
4019
4022
|
|
|
4020
4023
|
/***/ "cffd":
|
|
@@ -4181,20 +4184,6 @@ module.exports = function (it, TAG, STATIC) {
|
|
|
4181
4184
|
};
|
|
4182
4185
|
|
|
4183
4186
|
|
|
4184
|
-
/***/ }),
|
|
4185
|
-
|
|
4186
|
-
/***/ "d699":
|
|
4187
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4188
|
-
|
|
4189
|
-
// Imports
|
|
4190
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
4191
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4192
|
-
// Module
|
|
4193
|
-
exports.push([module.i, ".ellipsis[data-v-aa245378]{width:30px;height:40px;margin:0 5px;padding-top:4px;background-color:#fff}.aux-pagination-row[data-v-aa245378]{display:flex;justify-content:center}.aux-button[data-v-aa245378]{min-width:40px;padding:10px;height:40px;margin:0 5px;border:none}.aux-button[data-v-aa245378]:hover{background-color:#8666ac;color:#fff}.aux-button+.aux-button[data-v-aa245378]{margin-left:0}.aux-ellipsis[data-v-aa245378]{color:#333;line-height:34px;width:40px;font-weight:500;text-align:center}.aux-active-button[data-v-aa245378]{background-color:#fff;border:1px solid #360076;color:#360076}.aux-sr-only[data-v-aa245378]:not(:focus):not(:active){clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}", ""]);
|
|
4194
|
-
// Exports
|
|
4195
|
-
module.exports = exports;
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
4187
|
/***/ }),
|
|
4199
4188
|
|
|
4200
4189
|
/***/ "d935":
|
|
@@ -4679,6 +4668,17 @@ module.exports = function (it) {
|
|
|
4679
4668
|
};
|
|
4680
4669
|
|
|
4681
4670
|
|
|
4671
|
+
/***/ }),
|
|
4672
|
+
|
|
4673
|
+
/***/ "eb71":
|
|
4674
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4675
|
+
|
|
4676
|
+
"use strict";
|
|
4677
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Pagination_vue_vue_type_style_index_0_id_253b38be_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7005");
|
|
4678
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Pagination_vue_vue_type_style_index_0_id_253b38be_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_v16_dist_index_js_ref_0_1_Pagination_vue_vue_type_style_index_0_id_253b38be_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
4679
|
+
/* unused harmony reexport * */
|
|
4680
|
+
|
|
4681
|
+
|
|
4682
4682
|
/***/ }),
|
|
4683
4683
|
|
|
4684
4684
|
/***/ "eefb":
|
|
@@ -7346,44 +7346,71 @@ var Togglevue_type_style_index_0_id_78e59f6f_lang_scss_scoped_true = __webpack_r
|
|
|
7346
7346
|
Togglevue_type_script_setup_true_lang_ts.__scopeId = "data-v-78e59f6f"
|
|
7347
7347
|
|
|
7348
7348
|
/* harmony default export */ var Toggle = (Togglevue_type_script_setup_true_lang_ts);
|
|
7349
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Pagination/Pagination.vue?vue&type=template&id=
|
|
7349
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/Pagination/Pagination.vue?vue&type=template&id=253b38be&scoped=true
|
|
7350
7350
|
|
|
7351
7351
|
|
|
7352
|
-
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
|
7352
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-253b38be");
|
|
7353
7353
|
|
|
7354
|
-
var
|
|
7354
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_1 = {
|
|
7355
7355
|
key: 0,
|
|
7356
|
-
class: "aux-pagination
|
|
7356
|
+
class: "aux-pagination",
|
|
7357
|
+
ref: "auxPaginationWrapper"
|
|
7357
7358
|
};
|
|
7358
7359
|
|
|
7359
|
-
var
|
|
7360
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
7360
7361
|
class: "aux-sr-only"
|
|
7361
7362
|
}, "Gå til forrige side", -1);
|
|
7362
7363
|
|
|
7363
|
-
var
|
|
7364
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_3 = {
|
|
7364
7365
|
key: 0,
|
|
7365
|
-
class: "
|
|
7366
|
+
class: "aux-pagination-small-device",
|
|
7367
|
+
"aria-live": "polite"
|
|
7368
|
+
};
|
|
7369
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_4 = {
|
|
7370
|
+
key: 0,
|
|
7371
|
+
class: "aux-ellipsis aux-pagination-item"
|
|
7372
|
+
};
|
|
7373
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_5 = {
|
|
7374
|
+
key: 0,
|
|
7375
|
+
class: "aux-sr-only",
|
|
7376
|
+
"aria-live": "polite"
|
|
7366
7377
|
};
|
|
7367
7378
|
|
|
7368
|
-
var
|
|
7379
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_6 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
7380
|
+
class: "aux-sr-only"
|
|
7381
|
+
}, "Gå til første side", -1);
|
|
7382
|
+
|
|
7383
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_7 = {
|
|
7384
|
+
"aria-hidden": "true"
|
|
7385
|
+
};
|
|
7386
|
+
|
|
7387
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_8 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
7388
|
+
class: "aux-sr-only"
|
|
7389
|
+
}, "Gå til siste side", -1);
|
|
7390
|
+
|
|
7391
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_9 = {
|
|
7392
|
+
"aria-hidden": "true"
|
|
7393
|
+
};
|
|
7394
|
+
|
|
7395
|
+
var _hoisted_10 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
7369
7396
|
class: "aux-sr-only"
|
|
7370
7397
|
}, "Gå til side ", -1);
|
|
7371
7398
|
|
|
7372
|
-
var
|
|
7399
|
+
var _hoisted_11 = {
|
|
7373
7400
|
class: "aux-sr-only"
|
|
7374
7401
|
};
|
|
7375
|
-
var
|
|
7402
|
+
var _hoisted_12 = {
|
|
7376
7403
|
key: 2,
|
|
7377
|
-
class: "ellipsis"
|
|
7404
|
+
class: "aux-ellipsis aux-pagination-item"
|
|
7378
7405
|
};
|
|
7379
7406
|
|
|
7380
|
-
var
|
|
7407
|
+
var _hoisted_13 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
7381
7408
|
class: "aux-sr-only"
|
|
7382
7409
|
}, "Gå til neste side", -1);
|
|
7383
7410
|
|
|
7384
7411
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])();
|
|
7385
7412
|
|
|
7386
|
-
function
|
|
7413
|
+
function Paginationvue_type_template_id_253b38be_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7387
7414
|
var _component_CaretLeftIcon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("CaretLeftIcon");
|
|
7388
7415
|
|
|
7389
7416
|
var _component_Button = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Button");
|
|
@@ -7392,8 +7419,9 @@ function Paginationvue_type_template_id_aa245378_scoped_true_render(_ctx, _cache
|
|
|
7392
7419
|
|
|
7393
7420
|
var _component_CaretRightIcon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("CaretRightIcon");
|
|
7394
7421
|
|
|
7395
|
-
return _ctx.totalPages > 1 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
7422
|
+
return _ctx.totalPages > 1 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", Paginationvue_type_template_id_253b38be_scoped_true_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Button, {
|
|
7396
7423
|
size: "small",
|
|
7424
|
+
class: "aux-pagination-item",
|
|
7397
7425
|
primary: "",
|
|
7398
7426
|
disabled: _ctx.currentPage === 1,
|
|
7399
7427
|
onClick: _ctx.goToPreviousPage
|
|
@@ -7401,33 +7429,41 @@ function Paginationvue_type_template_id_aa245378_scoped_true_render(_ctx, _cache
|
|
|
7401
7429
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
7402
7430
|
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_CaretLeftIcon, {
|
|
7403
7431
|
class: "icon"
|
|
7404
|
-
}),
|
|
7432
|
+
}), Paginationvue_type_template_id_253b38be_scoped_true_hoisted_2];
|
|
7405
7433
|
}),
|
|
7406
7434
|
_: 1
|
|
7407
|
-
}, 8, ["disabled", "onClick"]), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(
|
|
7435
|
+
}, 8, ["disabled", "onClick"]), _ctx.isSmallScreen ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", Paginationvue_type_template_id_253b38be_scoped_true_hoisted_3, " Side " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.currentPage) + " av " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.totalPages), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), !_ctx.isSmallScreen ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], {
|
|
7436
|
+
key: 1
|
|
7437
|
+
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(_ctx.generateButtons, function (item, index) {
|
|
7408
7438
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], {
|
|
7409
7439
|
key: index
|
|
7410
|
-
}, [item === 'ellipsis-left' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
7440
|
+
}, [item === 'ellipsis-left' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", Paginationvue_type_template_id_253b38be_scoped_true_hoisted_4, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_EllipsisIcon, {
|
|
7411
7441
|
class: "icon"
|
|
7412
7442
|
})])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), typeof item === 'number' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_Button, {
|
|
7413
7443
|
key: 1,
|
|
7414
7444
|
size: "small",
|
|
7415
|
-
class:
|
|
7416
|
-
|
|
7417
|
-
}),
|
|
7445
|
+
class: "aux-pagination-item",
|
|
7446
|
+
disabled: _ctx.currentPage === item,
|
|
7418
7447
|
onClick: function onClick($event) {
|
|
7419
7448
|
return _ctx.goToSelectedPage(item);
|
|
7420
7449
|
}
|
|
7421
7450
|
}, {
|
|
7422
7451
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
7423
|
-
return [
|
|
7452
|
+
return [_ctx.currentPage === item ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", Paginationvue_type_template_id_253b38be_scoped_true_hoisted_5, " Du er på side " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), item === 1 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], {
|
|
7453
|
+
key: 1
|
|
7454
|
+
}, [Paginationvue_type_template_id_253b38be_scoped_true_hoisted_6, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", Paginationvue_type_template_id_253b38be_scoped_true_hoisted_7, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item), 1)], 64)) : item === _ctx.totalPages ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], {
|
|
7455
|
+
key: 2
|
|
7456
|
+
}, [Paginationvue_type_template_id_253b38be_scoped_true_hoisted_8, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", Paginationvue_type_template_id_253b38be_scoped_true_hoisted_9, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item), 1)], 64)) : item !== 1 && item !== _ctx.totalPages ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], {
|
|
7457
|
+
key: 3
|
|
7458
|
+
}, [_hoisted_10, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item) + " ", 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", _hoisted_11, " av totalt " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.totalPages), 1)], 64)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)];
|
|
7424
7459
|
}),
|
|
7425
7460
|
_: 2
|
|
7426
|
-
}, 1032, ["
|
|
7461
|
+
}, 1032, ["disabled", "onClick"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), item === 'ellipsis-right' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", _hoisted_12, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_EllipsisIcon, {
|
|
7427
7462
|
class: "icon"
|
|
7428
7463
|
})])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64);
|
|
7429
|
-
}), 128)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Button, {
|
|
7464
|
+
}), 128)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Button, {
|
|
7430
7465
|
size: "small",
|
|
7466
|
+
class: "aux-pagination-item",
|
|
7431
7467
|
primary: "",
|
|
7432
7468
|
disabled: _ctx.currentPage === _ctx.totalPages,
|
|
7433
7469
|
onClick: _ctx.goToNextPage
|
|
@@ -7435,13 +7471,78 @@ function Paginationvue_type_template_id_aa245378_scoped_true_render(_ctx, _cache
|
|
|
7435
7471
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
7436
7472
|
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_CaretRightIcon, {
|
|
7437
7473
|
class: "icon"
|
|
7438
|
-
}),
|
|
7474
|
+
}), _hoisted_13];
|
|
7439
7475
|
}),
|
|
7440
7476
|
_: 1
|
|
7441
|
-
}, 8, ["disabled", "onClick"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
|
|
7477
|
+
}, 8, ["disabled", "onClick"])], 512)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
|
|
7442
7478
|
}
|
|
7443
|
-
// CONCATENATED MODULE: ./src/components/Pagination/Pagination.vue?vue&type=template&id=
|
|
7479
|
+
// CONCATENATED MODULE: ./src/components/Pagination/Pagination.vue?vue&type=template&id=253b38be&scoped=true
|
|
7480
|
+
|
|
7481
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
|
|
7482
|
+
|
|
7483
|
+
|
|
7484
|
+
|
|
7485
|
+
|
|
7486
|
+
|
|
7487
|
+
|
|
7444
7488
|
|
|
7489
|
+
|
|
7490
|
+
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
7491
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
7492
|
+
|
|
7493
|
+
if (!it) {
|
|
7494
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
7495
|
+
if (it) o = it;
|
|
7496
|
+
var i = 0;
|
|
7497
|
+
|
|
7498
|
+
var F = function F() {};
|
|
7499
|
+
|
|
7500
|
+
return {
|
|
7501
|
+
s: F,
|
|
7502
|
+
n: function n() {
|
|
7503
|
+
if (i >= o.length) return {
|
|
7504
|
+
done: true
|
|
7505
|
+
};
|
|
7506
|
+
return {
|
|
7507
|
+
done: false,
|
|
7508
|
+
value: o[i++]
|
|
7509
|
+
};
|
|
7510
|
+
},
|
|
7511
|
+
e: function e(_e) {
|
|
7512
|
+
throw _e;
|
|
7513
|
+
},
|
|
7514
|
+
f: F
|
|
7515
|
+
};
|
|
7516
|
+
}
|
|
7517
|
+
|
|
7518
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7519
|
+
}
|
|
7520
|
+
|
|
7521
|
+
var normalCompletion = true,
|
|
7522
|
+
didErr = false,
|
|
7523
|
+
err;
|
|
7524
|
+
return {
|
|
7525
|
+
s: function s() {
|
|
7526
|
+
it = it.call(o);
|
|
7527
|
+
},
|
|
7528
|
+
n: function n() {
|
|
7529
|
+
var step = it.next();
|
|
7530
|
+
normalCompletion = step.done;
|
|
7531
|
+
return step;
|
|
7532
|
+
},
|
|
7533
|
+
e: function e(_e2) {
|
|
7534
|
+
didErr = true;
|
|
7535
|
+
err = _e2;
|
|
7536
|
+
},
|
|
7537
|
+
f: function f() {
|
|
7538
|
+
try {
|
|
7539
|
+
if (!normalCompletion && it["return"] != null) it["return"]();
|
|
7540
|
+
} finally {
|
|
7541
|
+
if (didErr) throw err;
|
|
7542
|
+
}
|
|
7543
|
+
}
|
|
7544
|
+
};
|
|
7545
|
+
}
|
|
7445
7546
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/vue-loader-v16/dist!./node_modules/vue-svg-loader!./src/assets/icons/regular/caret-right.svg?vue&type=template&id=ac882894
|
|
7446
7547
|
|
|
7447
7548
|
var caret_rightvue_type_template_id_ac882894_hoisted_1 = {
|
|
@@ -7514,6 +7615,7 @@ dots_three_script.render = dots_threevue_type_template_id_e69ce776_render
|
|
|
7514
7615
|
|
|
7515
7616
|
|
|
7516
7617
|
|
|
7618
|
+
|
|
7517
7619
|
/* harmony default export */ var Paginationvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
|
|
7518
7620
|
name: 'aux-pagination',
|
|
7519
7621
|
emits: ['change'],
|
|
@@ -7544,6 +7646,29 @@ dots_three_script.render = dots_threevue_type_template_id_e69ce776_render
|
|
|
7544
7646
|
setup: function setup(props, _ref) {
|
|
7545
7647
|
var emit = _ref.emit;
|
|
7546
7648
|
var offset = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(0);
|
|
7649
|
+
var isSmallScreen = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
|
|
7650
|
+
var auxPaginationWrapper = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])();
|
|
7651
|
+
var resizeObserver = new ResizeObserver(function (entries) {
|
|
7652
|
+
var maxMobileWidth = 470;
|
|
7653
|
+
|
|
7654
|
+
var _iterator = _createForOfIteratorHelper(entries),
|
|
7655
|
+
_step;
|
|
7656
|
+
|
|
7657
|
+
try {
|
|
7658
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
7659
|
+
var entry = _step.value;
|
|
7660
|
+
var inlineSize = entry.contentBoxSize[0].inlineSize;
|
|
7661
|
+
isSmallScreen.value = inlineSize <= maxMobileWidth;
|
|
7662
|
+
}
|
|
7663
|
+
} catch (err) {
|
|
7664
|
+
_iterator.e(err);
|
|
7665
|
+
} finally {
|
|
7666
|
+
_iterator.f();
|
|
7667
|
+
}
|
|
7668
|
+
});
|
|
7669
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["onMounted"])(function () {
|
|
7670
|
+
resizeObserver.observe(auxPaginationWrapper.value);
|
|
7671
|
+
});
|
|
7547
7672
|
|
|
7548
7673
|
var isNearEnd = function isNearEnd() {
|
|
7549
7674
|
return currentPage.value - buttonRowOffset() <= 1;
|
|
@@ -7667,7 +7792,9 @@ dots_three_script.render = dots_threevue_type_template_id_e69ce776_render
|
|
|
7667
7792
|
goToNextPage: goToNextPage,
|
|
7668
7793
|
skipBackward: skipBackward,
|
|
7669
7794
|
skipForward: skipForward,
|
|
7670
|
-
currentPage: currentPage
|
|
7795
|
+
currentPage: currentPage,
|
|
7796
|
+
isSmallScreen: isSmallScreen,
|
|
7797
|
+
auxPaginationWrapper: auxPaginationWrapper
|
|
7671
7798
|
};
|
|
7672
7799
|
},
|
|
7673
7800
|
components: {
|
|
@@ -7679,8 +7806,8 @@ dots_three_script.render = dots_threevue_type_template_id_e69ce776_render
|
|
|
7679
7806
|
}));
|
|
7680
7807
|
// CONCATENATED MODULE: ./src/components/Pagination/Pagination.vue?vue&type=script&lang=ts
|
|
7681
7808
|
|
|
7682
|
-
// EXTERNAL MODULE: ./src/components/Pagination/Pagination.vue?vue&type=style&index=0&id=
|
|
7683
|
-
var
|
|
7809
|
+
// EXTERNAL MODULE: ./src/components/Pagination/Pagination.vue?vue&type=style&index=0&id=253b38be&lang=scss&scoped=true
|
|
7810
|
+
var Paginationvue_type_style_index_0_id_253b38be_lang_scss_scoped_true = __webpack_require__("eb71");
|
|
7684
7811
|
|
|
7685
7812
|
// CONCATENATED MODULE: ./src/components/Pagination/Pagination.vue
|
|
7686
7813
|
|
|
@@ -7688,8 +7815,8 @@ var Paginationvue_type_style_index_0_id_aa245378_lang_scss_scoped_true = __webpa
|
|
|
7688
7815
|
|
|
7689
7816
|
|
|
7690
7817
|
|
|
7691
|
-
Paginationvue_type_script_lang_ts.render =
|
|
7692
|
-
Paginationvue_type_script_lang_ts.__scopeId = "data-v-
|
|
7818
|
+
Paginationvue_type_script_lang_ts.render = Paginationvue_type_template_id_253b38be_scoped_true_render
|
|
7819
|
+
Paginationvue_type_script_lang_ts.__scopeId = "data-v-253b38be"
|
|
7693
7820
|
|
|
7694
7821
|
/* harmony default export */ var Pagination = (Paginationvue_type_script_lang_ts);
|
|
7695
7822
|
// CONCATENATED MODULE: ./src/helpers/formatting.ts
|