@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.common.js
CHANGED
|
@@ -980,22 +980,6 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
|
|
|
980
980
|
};
|
|
981
981
|
|
|
982
982
|
|
|
983
|
-
/***/ }),
|
|
984
|
-
|
|
985
|
-
/***/ "3904":
|
|
986
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
987
|
-
|
|
988
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
989
|
-
|
|
990
|
-
// load the styles
|
|
991
|
-
var content = __webpack_require__("d699");
|
|
992
|
-
if(content.__esModule) content = content.default;
|
|
993
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
994
|
-
if(content.locals) module.exports = content.locals;
|
|
995
|
-
// add the styles to the DOM
|
|
996
|
-
var add = __webpack_require__("499e").default
|
|
997
|
-
var update = add("50b8d1f5", content, true, {"sourceMap":false,"shadowMode":false});
|
|
998
|
-
|
|
999
983
|
/***/ }),
|
|
1000
984
|
|
|
1001
985
|
/***/ "3bbe":
|
|
@@ -1782,17 +1766,6 @@ exports.push([module.i, ".aux-pill[data-v-3724349d]{font-size:12px;line-height:1
|
|
|
1782
1766
|
module.exports = exports;
|
|
1783
1767
|
|
|
1784
1768
|
|
|
1785
|
-
/***/ }),
|
|
1786
|
-
|
|
1787
|
-
/***/ "6226":
|
|
1788
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1789
|
-
|
|
1790
|
-
"use strict";
|
|
1791
|
-
/* 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");
|
|
1792
|
-
/* 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__);
|
|
1793
|
-
/* unused harmony reexport * */
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
1769
|
/***/ }),
|
|
1797
1770
|
|
|
1798
1771
|
/***/ "622f":
|
|
@@ -2004,6 +1977,22 @@ var TEMPLATE = String(String).split('String');
|
|
|
2004
1977
|
});
|
|
2005
1978
|
|
|
2006
1979
|
|
|
1980
|
+
/***/ }),
|
|
1981
|
+
|
|
1982
|
+
/***/ "7005":
|
|
1983
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1984
|
+
|
|
1985
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
1986
|
+
|
|
1987
|
+
// load the styles
|
|
1988
|
+
var content = __webpack_require__("cee5");
|
|
1989
|
+
if(content.__esModule) content = content.default;
|
|
1990
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
1991
|
+
if(content.locals) module.exports = content.locals;
|
|
1992
|
+
// add the styles to the DOM
|
|
1993
|
+
var add = __webpack_require__("499e").default
|
|
1994
|
+
var update = add("3016e708", content, true, {"sourceMap":false,"shadowMode":false});
|
|
1995
|
+
|
|
2007
1996
|
/***/ }),
|
|
2008
1997
|
|
|
2009
1998
|
/***/ "7156":
|
|
@@ -4006,6 +3995,20 @@ module.exports = function (key, value) {
|
|
|
4006
3995
|
};
|
|
4007
3996
|
|
|
4008
3997
|
|
|
3998
|
+
/***/ }),
|
|
3999
|
+
|
|
4000
|
+
/***/ "cee5":
|
|
4001
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4002
|
+
|
|
4003
|
+
// Imports
|
|
4004
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
4005
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4006
|
+
// Module
|
|
4007
|
+
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}", ""]);
|
|
4008
|
+
// Exports
|
|
4009
|
+
module.exports = exports;
|
|
4010
|
+
|
|
4011
|
+
|
|
4009
4012
|
/***/ }),
|
|
4010
4013
|
|
|
4011
4014
|
/***/ "cffd":
|
|
@@ -4172,20 +4175,6 @@ module.exports = function (it, TAG, STATIC) {
|
|
|
4172
4175
|
};
|
|
4173
4176
|
|
|
4174
4177
|
|
|
4175
|
-
/***/ }),
|
|
4176
|
-
|
|
4177
|
-
/***/ "d699":
|
|
4178
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4179
|
-
|
|
4180
|
-
// Imports
|
|
4181
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
4182
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4183
|
-
// Module
|
|
4184
|
-
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}", ""]);
|
|
4185
|
-
// Exports
|
|
4186
|
-
module.exports = exports;
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
4178
|
/***/ }),
|
|
4190
4179
|
|
|
4191
4180
|
/***/ "d935":
|
|
@@ -4670,6 +4659,17 @@ module.exports = function (it) {
|
|
|
4670
4659
|
};
|
|
4671
4660
|
|
|
4672
4661
|
|
|
4662
|
+
/***/ }),
|
|
4663
|
+
|
|
4664
|
+
/***/ "eb71":
|
|
4665
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4666
|
+
|
|
4667
|
+
"use strict";
|
|
4668
|
+
/* 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");
|
|
4669
|
+
/* 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__);
|
|
4670
|
+
/* unused harmony reexport * */
|
|
4671
|
+
|
|
4672
|
+
|
|
4673
4673
|
/***/ }),
|
|
4674
4674
|
|
|
4675
4675
|
/***/ "eefb":
|
|
@@ -7337,44 +7337,71 @@ var Togglevue_type_style_index_0_id_78e59f6f_lang_scss_scoped_true = __webpack_r
|
|
|
7337
7337
|
Togglevue_type_script_setup_true_lang_ts.__scopeId = "data-v-78e59f6f"
|
|
7338
7338
|
|
|
7339
7339
|
/* harmony default export */ var Toggle = (Togglevue_type_script_setup_true_lang_ts);
|
|
7340
|
-
// 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=
|
|
7340
|
+
// 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
|
|
7341
7341
|
|
|
7342
7342
|
|
|
7343
|
-
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
|
7343
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-253b38be");
|
|
7344
7344
|
|
|
7345
|
-
var
|
|
7345
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_1 = {
|
|
7346
7346
|
key: 0,
|
|
7347
|
-
class: "aux-pagination
|
|
7347
|
+
class: "aux-pagination",
|
|
7348
|
+
ref: "auxPaginationWrapper"
|
|
7348
7349
|
};
|
|
7349
7350
|
|
|
7350
|
-
var
|
|
7351
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
7351
7352
|
class: "aux-sr-only"
|
|
7352
7353
|
}, "Gå til forrige side", -1);
|
|
7353
7354
|
|
|
7354
|
-
var
|
|
7355
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_3 = {
|
|
7355
7356
|
key: 0,
|
|
7356
|
-
class: "
|
|
7357
|
+
class: "aux-pagination-small-device",
|
|
7358
|
+
"aria-live": "polite"
|
|
7359
|
+
};
|
|
7360
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_4 = {
|
|
7361
|
+
key: 0,
|
|
7362
|
+
class: "aux-ellipsis aux-pagination-item"
|
|
7363
|
+
};
|
|
7364
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_5 = {
|
|
7365
|
+
key: 0,
|
|
7366
|
+
class: "aux-sr-only",
|
|
7367
|
+
"aria-live": "polite"
|
|
7357
7368
|
};
|
|
7358
7369
|
|
|
7359
|
-
var
|
|
7370
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_6 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
7371
|
+
class: "aux-sr-only"
|
|
7372
|
+
}, "Gå til første side", -1);
|
|
7373
|
+
|
|
7374
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_7 = {
|
|
7375
|
+
"aria-hidden": "true"
|
|
7376
|
+
};
|
|
7377
|
+
|
|
7378
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_8 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
7379
|
+
class: "aux-sr-only"
|
|
7380
|
+
}, "Gå til siste side", -1);
|
|
7381
|
+
|
|
7382
|
+
var Paginationvue_type_template_id_253b38be_scoped_true_hoisted_9 = {
|
|
7383
|
+
"aria-hidden": "true"
|
|
7384
|
+
};
|
|
7385
|
+
|
|
7386
|
+
var _hoisted_10 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
7360
7387
|
class: "aux-sr-only"
|
|
7361
7388
|
}, "Gå til side ", -1);
|
|
7362
7389
|
|
|
7363
|
-
var
|
|
7390
|
+
var _hoisted_11 = {
|
|
7364
7391
|
class: "aux-sr-only"
|
|
7365
7392
|
};
|
|
7366
|
-
var
|
|
7393
|
+
var _hoisted_12 = {
|
|
7367
7394
|
key: 2,
|
|
7368
|
-
class: "ellipsis"
|
|
7395
|
+
class: "aux-ellipsis aux-pagination-item"
|
|
7369
7396
|
};
|
|
7370
7397
|
|
|
7371
|
-
var
|
|
7398
|
+
var _hoisted_13 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
7372
7399
|
class: "aux-sr-only"
|
|
7373
7400
|
}, "Gå til neste side", -1);
|
|
7374
7401
|
|
|
7375
7402
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])();
|
|
7376
7403
|
|
|
7377
|
-
function
|
|
7404
|
+
function Paginationvue_type_template_id_253b38be_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7378
7405
|
var _component_CaretLeftIcon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("CaretLeftIcon");
|
|
7379
7406
|
|
|
7380
7407
|
var _component_Button = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("Button");
|
|
@@ -7383,8 +7410,9 @@ function Paginationvue_type_template_id_aa245378_scoped_true_render(_ctx, _cache
|
|
|
7383
7410
|
|
|
7384
7411
|
var _component_CaretRightIcon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("CaretRightIcon");
|
|
7385
7412
|
|
|
7386
|
-
return _ctx.totalPages > 1 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
7413
|
+
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, {
|
|
7387
7414
|
size: "small",
|
|
7415
|
+
class: "aux-pagination-item",
|
|
7388
7416
|
primary: "",
|
|
7389
7417
|
disabled: _ctx.currentPage === 1,
|
|
7390
7418
|
onClick: _ctx.goToPreviousPage
|
|
@@ -7392,33 +7420,41 @@ function Paginationvue_type_template_id_aa245378_scoped_true_render(_ctx, _cache
|
|
|
7392
7420
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
7393
7421
|
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_CaretLeftIcon, {
|
|
7394
7422
|
class: "icon"
|
|
7395
|
-
}),
|
|
7423
|
+
}), Paginationvue_type_template_id_253b38be_scoped_true_hoisted_2];
|
|
7396
7424
|
}),
|
|
7397
7425
|
_: 1
|
|
7398
|
-
}, 8, ["disabled", "onClick"]), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(
|
|
7426
|
+
}, 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"], {
|
|
7427
|
+
key: 1
|
|
7428
|
+
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(_ctx.generateButtons, function (item, index) {
|
|
7399
7429
|
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"], {
|
|
7400
7430
|
key: index
|
|
7401
|
-
}, [item === 'ellipsis-left' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
7431
|
+
}, [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, {
|
|
7402
7432
|
class: "icon"
|
|
7403
7433
|
})])) : 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, {
|
|
7404
7434
|
key: 1,
|
|
7405
7435
|
size: "small",
|
|
7406
|
-
class:
|
|
7407
|
-
|
|
7408
|
-
}),
|
|
7436
|
+
class: "aux-pagination-item",
|
|
7437
|
+
disabled: _ctx.currentPage === item,
|
|
7409
7438
|
onClick: function onClick($event) {
|
|
7410
7439
|
return _ctx.goToSelectedPage(item);
|
|
7411
7440
|
}
|
|
7412
7441
|
}, {
|
|
7413
7442
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
7414
|
-
return [
|
|
7443
|
+
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"], {
|
|
7444
|
+
key: 1
|
|
7445
|
+
}, [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"], {
|
|
7446
|
+
key: 2
|
|
7447
|
+
}, [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"], {
|
|
7448
|
+
key: 3
|
|
7449
|
+
}, [_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)];
|
|
7415
7450
|
}),
|
|
7416
7451
|
_: 2
|
|
7417
|
-
}, 1032, ["
|
|
7452
|
+
}, 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, {
|
|
7418
7453
|
class: "icon"
|
|
7419
7454
|
})])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64);
|
|
7420
|
-
}), 128)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Button, {
|
|
7455
|
+
}), 128)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_Button, {
|
|
7421
7456
|
size: "small",
|
|
7457
|
+
class: "aux-pagination-item",
|
|
7422
7458
|
primary: "",
|
|
7423
7459
|
disabled: _ctx.currentPage === _ctx.totalPages,
|
|
7424
7460
|
onClick: _ctx.goToNextPage
|
|
@@ -7426,13 +7462,78 @@ function Paginationvue_type_template_id_aa245378_scoped_true_render(_ctx, _cache
|
|
|
7426
7462
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
7427
7463
|
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_CaretRightIcon, {
|
|
7428
7464
|
class: "icon"
|
|
7429
|
-
}),
|
|
7465
|
+
}), _hoisted_13];
|
|
7430
7466
|
}),
|
|
7431
7467
|
_: 1
|
|
7432
|
-
}, 8, ["disabled", "onClick"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
|
|
7468
|
+
}, 8, ["disabled", "onClick"])], 512)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
|
|
7433
7469
|
}
|
|
7434
|
-
// CONCATENATED MODULE: ./src/components/Pagination/Pagination.vue?vue&type=template&id=
|
|
7470
|
+
// CONCATENATED MODULE: ./src/components/Pagination/Pagination.vue?vue&type=template&id=253b38be&scoped=true
|
|
7471
|
+
|
|
7472
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
|
|
7473
|
+
|
|
7474
|
+
|
|
7475
|
+
|
|
7476
|
+
|
|
7477
|
+
|
|
7478
|
+
|
|
7435
7479
|
|
|
7480
|
+
|
|
7481
|
+
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
7482
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
7483
|
+
|
|
7484
|
+
if (!it) {
|
|
7485
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
7486
|
+
if (it) o = it;
|
|
7487
|
+
var i = 0;
|
|
7488
|
+
|
|
7489
|
+
var F = function F() {};
|
|
7490
|
+
|
|
7491
|
+
return {
|
|
7492
|
+
s: F,
|
|
7493
|
+
n: function n() {
|
|
7494
|
+
if (i >= o.length) return {
|
|
7495
|
+
done: true
|
|
7496
|
+
};
|
|
7497
|
+
return {
|
|
7498
|
+
done: false,
|
|
7499
|
+
value: o[i++]
|
|
7500
|
+
};
|
|
7501
|
+
},
|
|
7502
|
+
e: function e(_e) {
|
|
7503
|
+
throw _e;
|
|
7504
|
+
},
|
|
7505
|
+
f: F
|
|
7506
|
+
};
|
|
7507
|
+
}
|
|
7508
|
+
|
|
7509
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7510
|
+
}
|
|
7511
|
+
|
|
7512
|
+
var normalCompletion = true,
|
|
7513
|
+
didErr = false,
|
|
7514
|
+
err;
|
|
7515
|
+
return {
|
|
7516
|
+
s: function s() {
|
|
7517
|
+
it = it.call(o);
|
|
7518
|
+
},
|
|
7519
|
+
n: function n() {
|
|
7520
|
+
var step = it.next();
|
|
7521
|
+
normalCompletion = step.done;
|
|
7522
|
+
return step;
|
|
7523
|
+
},
|
|
7524
|
+
e: function e(_e2) {
|
|
7525
|
+
didErr = true;
|
|
7526
|
+
err = _e2;
|
|
7527
|
+
},
|
|
7528
|
+
f: function f() {
|
|
7529
|
+
try {
|
|
7530
|
+
if (!normalCompletion && it["return"] != null) it["return"]();
|
|
7531
|
+
} finally {
|
|
7532
|
+
if (didErr) throw err;
|
|
7533
|
+
}
|
|
7534
|
+
}
|
|
7535
|
+
};
|
|
7536
|
+
}
|
|
7436
7537
|
// 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
|
|
7437
7538
|
|
|
7438
7539
|
var caret_rightvue_type_template_id_ac882894_hoisted_1 = {
|
|
@@ -7505,6 +7606,7 @@ dots_three_script.render = dots_threevue_type_template_id_e69ce776_render
|
|
|
7505
7606
|
|
|
7506
7607
|
|
|
7507
7608
|
|
|
7609
|
+
|
|
7508
7610
|
/* harmony default export */ var Paginationvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
|
|
7509
7611
|
name: 'aux-pagination',
|
|
7510
7612
|
emits: ['change'],
|
|
@@ -7535,6 +7637,29 @@ dots_three_script.render = dots_threevue_type_template_id_e69ce776_render
|
|
|
7535
7637
|
setup: function setup(props, _ref) {
|
|
7536
7638
|
var emit = _ref.emit;
|
|
7537
7639
|
var offset = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(0);
|
|
7640
|
+
var isSmallScreen = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
|
|
7641
|
+
var auxPaginationWrapper = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])();
|
|
7642
|
+
var resizeObserver = new ResizeObserver(function (entries) {
|
|
7643
|
+
var maxMobileWidth = 470;
|
|
7644
|
+
|
|
7645
|
+
var _iterator = _createForOfIteratorHelper(entries),
|
|
7646
|
+
_step;
|
|
7647
|
+
|
|
7648
|
+
try {
|
|
7649
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
7650
|
+
var entry = _step.value;
|
|
7651
|
+
var inlineSize = entry.contentBoxSize[0].inlineSize;
|
|
7652
|
+
isSmallScreen.value = inlineSize <= maxMobileWidth;
|
|
7653
|
+
}
|
|
7654
|
+
} catch (err) {
|
|
7655
|
+
_iterator.e(err);
|
|
7656
|
+
} finally {
|
|
7657
|
+
_iterator.f();
|
|
7658
|
+
}
|
|
7659
|
+
});
|
|
7660
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["onMounted"])(function () {
|
|
7661
|
+
resizeObserver.observe(auxPaginationWrapper.value);
|
|
7662
|
+
});
|
|
7538
7663
|
|
|
7539
7664
|
var isNearEnd = function isNearEnd() {
|
|
7540
7665
|
return currentPage.value - buttonRowOffset() <= 1;
|
|
@@ -7658,7 +7783,9 @@ dots_three_script.render = dots_threevue_type_template_id_e69ce776_render
|
|
|
7658
7783
|
goToNextPage: goToNextPage,
|
|
7659
7784
|
skipBackward: skipBackward,
|
|
7660
7785
|
skipForward: skipForward,
|
|
7661
|
-
currentPage: currentPage
|
|
7786
|
+
currentPage: currentPage,
|
|
7787
|
+
isSmallScreen: isSmallScreen,
|
|
7788
|
+
auxPaginationWrapper: auxPaginationWrapper
|
|
7662
7789
|
};
|
|
7663
7790
|
},
|
|
7664
7791
|
components: {
|
|
@@ -7670,8 +7797,8 @@ dots_three_script.render = dots_threevue_type_template_id_e69ce776_render
|
|
|
7670
7797
|
}));
|
|
7671
7798
|
// CONCATENATED MODULE: ./src/components/Pagination/Pagination.vue?vue&type=script&lang=ts
|
|
7672
7799
|
|
|
7673
|
-
// EXTERNAL MODULE: ./src/components/Pagination/Pagination.vue?vue&type=style&index=0&id=
|
|
7674
|
-
var
|
|
7800
|
+
// EXTERNAL MODULE: ./src/components/Pagination/Pagination.vue?vue&type=style&index=0&id=253b38be&lang=scss&scoped=true
|
|
7801
|
+
var Paginationvue_type_style_index_0_id_253b38be_lang_scss_scoped_true = __webpack_require__("eb71");
|
|
7675
7802
|
|
|
7676
7803
|
// CONCATENATED MODULE: ./src/components/Pagination/Pagination.vue
|
|
7677
7804
|
|
|
@@ -7679,8 +7806,8 @@ var Paginationvue_type_style_index_0_id_aa245378_lang_scss_scoped_true = __webpa
|
|
|
7679
7806
|
|
|
7680
7807
|
|
|
7681
7808
|
|
|
7682
|
-
Paginationvue_type_script_lang_ts.render =
|
|
7683
|
-
Paginationvue_type_script_lang_ts.__scopeId = "data-v-
|
|
7809
|
+
Paginationvue_type_script_lang_ts.render = Paginationvue_type_template_id_253b38be_scoped_true_render
|
|
7810
|
+
Paginationvue_type_script_lang_ts.__scopeId = "data-v-253b38be"
|
|
7684
7811
|
|
|
7685
7812
|
/* harmony default export */ var Pagination = (Paginationvue_type_script_lang_ts);
|
|
7686
7813
|
// CONCATENATED MODULE: ./src/helpers/formatting.ts
|