@amirjalili1374/ui-kit 1.4.43 → 1.4.44
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/components/layout/AppSidebar.vue.d.ts +11 -55
- package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/ui-kit.cjs.js +1 -1
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.es.js +15 -34
- package/dist/ui-kit.es.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-kit.es.js
CHANGED
|
@@ -7,7 +7,7 @@ import axios from "axios";
|
|
|
7
7
|
import { useDebounceFn } from "@vueuse/core";
|
|
8
8
|
import { useRouter as useRouter$1 } from "vue-router";
|
|
9
9
|
import { defineStore } from "pinia";
|
|
10
|
-
import
|
|
10
|
+
import "yup";
|
|
11
11
|
import VueKeycloakJs from "@dsb-norge/vue-keycloak-js";
|
|
12
12
|
function propsFactory(props, source) {
|
|
13
13
|
return (defaults) => {
|
|
@@ -26925,11 +26925,11 @@ var lottie = { exports: {} };
|
|
|
26925
26925
|
}
|
|
26926
26926
|
return this.fonts[0];
|
|
26927
26927
|
}
|
|
26928
|
-
function getCodePoint(
|
|
26928
|
+
function getCodePoint(string) {
|
|
26929
26929
|
var codePoint = 0;
|
|
26930
|
-
var first =
|
|
26930
|
+
var first = string.charCodeAt(0);
|
|
26931
26931
|
if (first >= 55296 && first <= 56319) {
|
|
26932
|
-
var second =
|
|
26932
|
+
var second = string.charCodeAt(1);
|
|
26933
26933
|
if (second >= 56320 && second <= 57343) {
|
|
26934
26934
|
codePoint = (first - 55296) * 1024 + second - 56320 + 65536;
|
|
26935
26935
|
}
|
|
@@ -26946,15 +26946,15 @@ var lottie = { exports: {} };
|
|
|
26946
26946
|
function isVariationSelector(charCode) {
|
|
26947
26947
|
return charCode === VARIATION_SELECTOR_16_CODE_POINT;
|
|
26948
26948
|
}
|
|
26949
|
-
function isRegionalCode(
|
|
26950
|
-
var codePoint = getCodePoint(
|
|
26949
|
+
function isRegionalCode(string) {
|
|
26950
|
+
var codePoint = getCodePoint(string);
|
|
26951
26951
|
if (codePoint >= REGIONAL_CHARACTER_A_CODE_POINT && codePoint <= REGIONAL_CHARACTER_Z_CODE_POINT) {
|
|
26952
26952
|
return true;
|
|
26953
26953
|
}
|
|
26954
26954
|
return false;
|
|
26955
26955
|
}
|
|
26956
|
-
function isFlagEmoji(
|
|
26957
|
-
return isRegionalCode(
|
|
26956
|
+
function isFlagEmoji(string) {
|
|
26957
|
+
return isRegionalCode(string.substr(0, 2)) && isRegionalCode(string.substr(2, 2));
|
|
26958
26958
|
}
|
|
26959
26959
|
function isCombinedCharacter(_char3) {
|
|
26960
26960
|
return combinedCharacters.indexOf(_char3) !== -1;
|
|
@@ -38315,31 +38315,12 @@ const _hoisted_2$1 = {
|
|
|
38315
38315
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
38316
38316
|
__name: "AppSidebar",
|
|
38317
38317
|
props: {
|
|
38318
|
-
sidebarItems: {
|
|
38319
|
-
|
|
38320
|
-
|
|
38321
|
-
},
|
|
38322
|
-
|
|
38323
|
-
|
|
38324
|
-
required: true
|
|
38325
|
-
},
|
|
38326
|
-
logoComponent: {
|
|
38327
|
-
type: Object,
|
|
38328
|
-
// Vue component
|
|
38329
|
-
required: true
|
|
38330
|
-
},
|
|
38331
|
-
sidebarDrawer: {
|
|
38332
|
-
type: Boolean,
|
|
38333
|
-
required: true
|
|
38334
|
-
},
|
|
38335
|
-
miniSidebar: {
|
|
38336
|
-
type: Boolean,
|
|
38337
|
-
required: true
|
|
38338
|
-
},
|
|
38339
|
-
version: {
|
|
38340
|
-
type: string,
|
|
38341
|
-
required: false
|
|
38342
|
-
}
|
|
38318
|
+
sidebarItems: {},
|
|
38319
|
+
getFilteredSidebarItems: { type: Function },
|
|
38320
|
+
logoComponent: {},
|
|
38321
|
+
sidebarDrawer: { type: Boolean },
|
|
38322
|
+
miniSidebar: { type: Boolean },
|
|
38323
|
+
version: {}
|
|
38343
38324
|
},
|
|
38344
38325
|
emits: ["update:sidebarDrawer"],
|
|
38345
38326
|
setup(__props, { emit: __emit }) {
|
|
@@ -38419,7 +38400,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
|
38419
38400
|
};
|
|
38420
38401
|
}
|
|
38421
38402
|
});
|
|
38422
|
-
const AppSidebar = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-
|
|
38403
|
+
const AppSidebar = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-7366086a"]]);
|
|
38423
38404
|
const makeVToolbarTitleProps = propsFactory({
|
|
38424
38405
|
text: String,
|
|
38425
38406
|
...makeComponentProps(),
|