@tabler/core 1.1.0 → 1.2.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/css/tabler-flags.css +2 -2
- package/dist/css/tabler-flags.css.map +1 -1
- package/dist/css/tabler-flags.min.css +2 -2
- package/dist/css/tabler-flags.min.css.map +1 -1
- package/dist/css/tabler-flags.rtl.css +2 -2
- package/dist/css/tabler-flags.rtl.css.map +1 -1
- package/dist/css/tabler-flags.rtl.min.css +2 -2
- package/dist/css/tabler-flags.rtl.min.css.map +1 -1
- package/dist/css/tabler-marketing.css +6 -6
- package/dist/css/tabler-marketing.css.map +1 -1
- package/dist/css/tabler-marketing.min.css +2 -2
- package/dist/css/tabler-marketing.min.css.map +1 -1
- package/dist/css/tabler-marketing.rtl.css +6 -6
- package/dist/css/tabler-marketing.rtl.css.map +1 -1
- package/dist/css/tabler-marketing.rtl.min.css +2 -2
- package/dist/css/tabler-marketing.rtl.min.css.map +1 -1
- package/dist/css/tabler-payments.css +1 -1
- package/dist/css/tabler-payments.min.css +1 -1
- package/dist/css/tabler-payments.rtl.css +1 -1
- package/dist/css/tabler-payments.rtl.min.css +1 -1
- package/dist/css/tabler-props.css +448 -0
- package/dist/css/tabler-props.css.map +1 -0
- package/dist/css/tabler-props.min.css +8 -0
- package/dist/css/tabler-props.min.css.map +1 -0
- package/dist/css/tabler-props.rtl.css +447 -0
- package/dist/css/tabler-props.rtl.css.map +1 -0
- package/dist/css/tabler-props.rtl.min.css +8 -0
- package/dist/css/tabler-props.rtl.min.css.map +1 -0
- package/dist/css/tabler-socials.css +1 -1
- package/dist/css/tabler-socials.min.css +1 -1
- package/dist/css/tabler-socials.rtl.css +1 -1
- package/dist/css/tabler-socials.rtl.min.css +1 -1
- package/dist/css/tabler-themes.css +213 -0
- package/dist/css/tabler-themes.css.map +1 -0
- package/dist/css/tabler-themes.min.css +8 -0
- package/dist/css/tabler-themes.min.css.map +1 -0
- package/dist/css/tabler-themes.rtl.css +212 -0
- package/dist/css/tabler-themes.rtl.css.map +1 -0
- package/dist/css/tabler-themes.rtl.min.css +8 -0
- package/dist/css/tabler-themes.rtl.min.css.map +1 -0
- package/dist/css/tabler-vendors.css +31 -16
- package/dist/css/tabler-vendors.css.map +1 -1
- package/dist/css/tabler-vendors.min.css +2 -2
- package/dist/css/tabler-vendors.min.css.map +1 -1
- package/dist/css/tabler-vendors.rtl.css +31 -16
- package/dist/css/tabler-vendors.rtl.css.map +1 -1
- package/dist/css/tabler-vendors.rtl.min.css +2 -2
- package/dist/css/tabler-vendors.rtl.min.css.map +1 -1
- package/dist/css/tabler.css +7662 -8392
- package/dist/css/tabler.css.map +1 -1
- package/dist/css/tabler.min.css +2 -2
- package/dist/css/tabler.min.css.map +1 -1
- package/dist/css/tabler.rtl.css +7751 -8481
- package/dist/css/tabler.rtl.css.map +1 -1
- package/dist/css/tabler.rtl.min.css +2 -2
- package/dist/css/tabler.rtl.min.css.map +1 -1
- package/dist/img/flags/kr.svg +1 -1
- package/dist/js/tabler-theme.esm.js +38 -0
- package/dist/js/tabler-theme.esm.js.map +1 -0
- package/dist/js/tabler-theme.esm.min.js +8 -0
- package/dist/js/tabler-theme.esm.min.js.map +1 -0
- package/dist/js/tabler-theme.js +45 -0
- package/dist/js/tabler-theme.js.map +1 -0
- package/dist/js/tabler-theme.min.js +8 -0
- package/dist/js/tabler-theme.min.js.map +1 -0
- package/dist/js/tabler.esm.js +28 -21
- package/dist/js/tabler.esm.js.map +1 -1
- package/dist/js/tabler.esm.min.js +5 -5
- package/dist/js/tabler.esm.min.js.map +1 -1
- package/dist/js/tabler.js +36 -24
- package/dist/js/tabler.js.map +1 -1
- package/dist/js/tabler.min.js +5 -5
- package/dist/js/tabler.min.js.map +1 -1
- package/js/src/autosize.js +1 -4
- package/js/src/input-mask.js +1 -3
- package/js/tabler-theme.js +35 -0
- package/js/{tabler.esm.js → tabler.js} +16 -0
- package/package.json +15 -13
- package/scss/_bootstrap-components.scss +0 -5
- package/scss/_core.scss +4 -0
- package/scss/_props.scss +91 -0
- package/scss/_utilities.scss +30 -1
- package/scss/_variables-dark.scss +1 -1
- package/scss/_variables.scss +79 -60
- package/scss/helpers/_index.scss +143 -0
- package/scss/layout/_core.scss +1 -0
- package/scss/layout/_dark.scss +33 -38
- package/scss/layout/_navbar.scss +2 -1
- package/scss/layout/_page.scss +1 -0
- package/scss/layout/_root.scss +26 -34
- package/scss/marketing/_core.scss +1 -1
- package/scss/marketing/_pricing.scss +1 -1
- package/scss/mixins/_mixins.scss +6 -6
- package/scss/tabler-props.scss +1 -0
- package/scss/tabler-themes.scss +121 -0
- package/scss/tabler-vendors.scss +3 -1
- package/scss/tabler.scss +0 -1
- package/scss/ui/_accordion.scss +31 -26
- package/scss/ui/_alerts.scss +19 -8
- package/scss/ui/_avatars.scss +35 -9
- package/scss/ui/_badges.scss +1 -1
- package/scss/ui/_buttons.scss +15 -17
- package/scss/ui/_close.scss +55 -2
- package/scss/ui/_dropdowns.scss +1 -0
- package/scss/ui/_forms.scss +12 -2
- package/scss/ui/_markdown.scss +10 -1
- package/scss/ui/_nav.scss +11 -1
- package/scss/ui/_offcanvas.scss +1 -1
- package/scss/ui/_pagination.scss +2 -0
- package/scss/ui/_signature.scss +4 -2
- package/scss/ui/_steps.scss +4 -0
- package/scss/ui/_tables.scss +16 -0
- package/scss/ui/_tags.scss +1 -1
- package/scss/ui/_type.scss +69 -7
- package/scss/ui/forms/_form-colorinput.scss +1 -1
- package/scss/ui/forms/_form-imagecheck.scss +6 -5
- package/scss/ui/forms/_form-selectgroup.scss +1 -1
- package/scss/utils/_colors.scss +58 -11
- package/scss/utils/_scroll.scss +0 -2
- package/scss/vendor/_coloris.scss +6 -1
- package/scss/vendor/_fslightbox.scss +1 -1
- package/scss/vendor/_jsvectormap.scss +2 -3
- package/scss/vendor/_litepicker.scss +1 -0
- package/scss/vendor/_nouislider.scss +0 -2
- package/scss/vendor/_tinymce.scss +3 -3
- package/scss/vendor/_tom-select.scss +7 -4
- package/scss/vendor/_turbo.scss +3 -0
- package/scss/vendor/_wysiwyg.scss +34 -0
- package/js/tabler.umd.js +0 -15
package/dist/img/flags/kr.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="15" fill="none"><
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="15" fill="none"><path d="M0,0V15H20V0Z" fill="#f7fcff" fill-rule="evenodd"/><path d="M13.74,7.58a3.66,3.66,0,1,1-3.66-3.7A3.67,3.67,0,0,1,13.74,7.58Z" fill="#e31d1c" fill-rule="evenodd"/><path d="M6.47,6.93c.12.93.29,2,1.72,2.08a1.82,1.82,0,0,0,1.94-1.6,1.81,1.81,0,0,1,2.86-1,1.71,1.71,0,0,1,.74,1.35,3.64,3.64,0,0,1-1.84,3.08,3.73,3.73,0,0,1-4.16-.34A3.84,3.84,0,0,1,6.47,6.93Z" fill="#3d58db" fill-rule="evenodd"/><path d="M4.56,1.28l.57.52L2.48,4.89l-.57-.51Zm.94.84.58.52L3.52,5.69,3,5.17ZM7,3.48,6.44,3,3.88,6l.57.52L7,3.48Zm8.84-2.41-.57.51,1,1.16.57-.51Zm1.77,2.14L17,3.72l1,1.17.57-.52Zm-4.23,0L14,2.74l1,1.17-.57.51Zm2.34,1.62-.57.52,1,1.16.57-.51ZM14.37,2.39l.57-.51,2.77,3.36-.58.52ZM16.28,8.9l-.57-.52-1,1.17.57.52,1-1.17ZM14.6,11,14,10.44l-1,1.17.57.52,1-1.17ZM17.53,10l.58.52-1,1.17-.58-.52Zm-1,2.62-.58-.52-1,1.17.57.52ZM15,11.24l.58.51L14.51,13l-.58-.52Zm2.29-1.57-.58-.51-1,1.24.57.52ZM4,9.31l.58-.52,2.55,2.93-.57.51Zm.6,2.55.57-.51,1.08,1.18-.57.52ZM2.69,10.43,2.12,11l2.57,3,.57-.51Zm.41-.33.57-.52.94,1.1L4,11.19Z" fill="#272727" fill-rule="evenodd"/></svg>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Tabler v1.2.0 (https://tabler.io)
|
|
3
|
+
* Copyright 2018-2025 The Tabler Authors
|
|
4
|
+
* Copyright 2018-2025 codecalm.net Paweł Kuna
|
|
5
|
+
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* demo-theme is specifically loaded right after the body and not deferred
|
|
9
|
+
* to ensure we switch to the chosen dark/light theme as fast as possible.
|
|
10
|
+
* This will prevent any flashes of the light theme (default) before switching.
|
|
11
|
+
*/
|
|
12
|
+
const themeConfig = {
|
|
13
|
+
"theme": "light",
|
|
14
|
+
"theme-base": "gray",
|
|
15
|
+
"theme-font": "sans-serif",
|
|
16
|
+
"theme-primary": "blue",
|
|
17
|
+
"theme-radius": "1"
|
|
18
|
+
};
|
|
19
|
+
const params = new Proxy(new URLSearchParams(window.location.search), {
|
|
20
|
+
get: (searchParams, prop) => searchParams.get(prop)
|
|
21
|
+
});
|
|
22
|
+
for (const key in themeConfig) {
|
|
23
|
+
const param = params[key];
|
|
24
|
+
let selectedValue;
|
|
25
|
+
if (!!param) {
|
|
26
|
+
localStorage.setItem('tabler-' + key, param);
|
|
27
|
+
selectedValue = param;
|
|
28
|
+
} else {
|
|
29
|
+
const storedTheme = localStorage.getItem('tabler-' + key);
|
|
30
|
+
selectedValue = storedTheme ? storedTheme : themeConfig[key];
|
|
31
|
+
}
|
|
32
|
+
if (selectedValue !== themeConfig[key]) {
|
|
33
|
+
document.documentElement.setAttribute('data-bs-' + key, selectedValue);
|
|
34
|
+
} else {
|
|
35
|
+
document.documentElement.removeAttribute('data-bs-' + key);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=tabler-theme.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabler-theme.esm.js","sources":["../../js/tabler-theme.js"],"sourcesContent":["/**\n * demo-theme is specifically loaded right after the body and not deferred\n * to ensure we switch to the chosen dark/light theme as fast as possible.\n * This will prevent any flashes of the light theme (default) before switching.\n */\nconst themeConfig = {\n\t\"theme\": \"light\",\n\t\"theme-base\": \"gray\",\n\t\"theme-font\": \"sans-serif\",\n\t\"theme-primary\": \"blue\",\n\t\"theme-radius\": \"1\",\n}\n\nconst params = new Proxy(new URLSearchParams(window.location.search), {\n\tget: (searchParams, prop) => searchParams.get(prop),\n})\n\nfor (const key in themeConfig) {\n\tconst param = params[key]\n\tlet selectedValue\n\n\tif (!!param) {\n\t\tlocalStorage.setItem('tabler-' + key, param)\n\t\tselectedValue = param\n\t} else {\n\t\tconst storedTheme = localStorage.getItem('tabler-' + key)\n\t\tselectedValue = storedTheme ? storedTheme : themeConfig[key]\n\t}\n\n\tif (selectedValue !== themeConfig[key]) {\n\t\tdocument.documentElement.setAttribute('data-bs-' + key, selectedValue)\n\t} else {\n\t\tdocument.documentElement.removeAttribute('data-bs-' + key)\n\t}\n}"],"names":["themeConfig","params","Proxy","URLSearchParams","window","location","search","get","searchParams","prop","key","param","selectedValue","localStorage","setItem","storedTheme","getItem","document","documentElement","setAttribute","removeAttribute"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA,MAAMA,WAAW,GAAG;AACnB,EAAA,OAAO,EAAE,OAAO;AAChB,EAAA,YAAY,EAAE,MAAM;AACpB,EAAA,YAAY,EAAE,YAAY;AAC1B,EAAA,eAAe,EAAE,MAAM;AACvB,EAAA,cAAc,EAAE;AACjB,CAAC;AAED,MAAMC,MAAM,GAAG,IAAIC,KAAK,CAAC,IAAIC,eAAe,CAACC,MAAM,CAACC,QAAQ,CAACC,MAAM,CAAC,EAAE;EACrEC,GAAG,EAAEA,CAACC,YAAY,EAAEC,IAAI,KAAKD,YAAY,CAACD,GAAG,CAACE,IAAI;AACnD,CAAC,CAAC;AAEF,KAAK,MAAMC,GAAG,IAAIV,WAAW,EAAE;AAC9B,EAAA,MAAMW,KAAK,GAAGV,MAAM,CAACS,GAAG,CAAC;AACzB,EAAA,IAAIE,aAAa;EAEjB,IAAI,CAAC,CAACD,KAAK,EAAE;IACZE,YAAY,CAACC,OAAO,CAAC,SAAS,GAAGJ,GAAG,EAAEC,KAAK,CAAC;AAC5CC,IAAAA,aAAa,GAAGD,KAAK;AACtB,GAAC,MAAM;IACN,MAAMI,WAAW,GAAGF,YAAY,CAACG,OAAO,CAAC,SAAS,GAAGN,GAAG,CAAC;IACzDE,aAAa,GAAGG,WAAW,GAAGA,WAAW,GAAGf,WAAW,CAACU,GAAG,CAAC;AAC7D;AAEA,EAAA,IAAIE,aAAa,KAAKZ,WAAW,CAACU,GAAG,CAAC,EAAE;IACvCO,QAAQ,CAACC,eAAe,CAACC,YAAY,CAAC,UAAU,GAAGT,GAAG,EAAEE,aAAa,CAAC;AACvE,GAAC,MAAM;IACNK,QAAQ,CAACC,eAAe,CAACE,eAAe,CAAC,UAAU,GAAGV,GAAG,CAAC;AAC3D;AACD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Tabler v1.2.0 (https://tabler.io)
|
|
3
|
+
* Copyright 2018-2025 The Tabler Authors
|
|
4
|
+
* Copyright 2018-2025 codecalm.net Paweł Kuna
|
|
5
|
+
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
|
6
|
+
*/
|
|
7
|
+
const themeConfig={theme:"light","theme-base":"gray","theme-font":"sans-serif","theme-primary":"blue","theme-radius":"1"},params=new Proxy(new URLSearchParams(window.location.search),{get:(e,t)=>e.get(t)});for(const e in themeConfig){const t=params[e];let a;if(t)localStorage.setItem("tabler-"+e,t),a=t;else{a=localStorage.getItem("tabler-"+e)||themeConfig[e]}a!==themeConfig[e]?document.documentElement.setAttribute("data-bs-"+e,a):document.documentElement.removeAttribute("data-bs-"+e)}
|
|
8
|
+
//# sourceMappingURL=tabler-theme.esm.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["themeConfig","theme","params","Proxy","URLSearchParams","window","location","search","get","searchParams","prop","key","param","selectedValue","localStorage","setItem","getItem","document","documentElement","setAttribute","removeAttribute"],"sources":["../../js/tabler-theme.js"],"sourcesContent":["/**\n * demo-theme is specifically loaded right after the body and not deferred\n * to ensure we switch to the chosen dark/light theme as fast as possible.\n * This will prevent any flashes of the light theme (default) before switching.\n */\nconst themeConfig = {\n\t\"theme\": \"light\",\n\t\"theme-base\": \"gray\",\n\t\"theme-font\": \"sans-serif\",\n\t\"theme-primary\": \"blue\",\n\t\"theme-radius\": \"1\",\n}\n\nconst params = new Proxy(new URLSearchParams(window.location.search), {\n\tget: (searchParams, prop) => searchParams.get(prop),\n})\n\nfor (const key in themeConfig) {\n\tconst param = params[key]\n\tlet selectedValue\n\n\tif (!!param) {\n\t\tlocalStorage.setItem('tabler-' + key, param)\n\t\tselectedValue = param\n\t} else {\n\t\tconst storedTheme = localStorage.getItem('tabler-' + key)\n\t\tselectedValue = storedTheme ? storedTheme : themeConfig[key]\n\t}\n\n\tif (selectedValue !== themeConfig[key]) {\n\t\tdocument.documentElement.setAttribute('data-bs-' + key, selectedValue)\n\t} else {\n\t\tdocument.documentElement.removeAttribute('data-bs-' + key)\n\t}\n}"],"mappings":";;;;;;AAKA,MAAMA,YAAc,CACnBC,MAAS,QACT,aAAc,OACd,aAAc,aACd,gBAAiB,OACjB,eAAgB,KAGXC,OAAS,IAAIC,MAAM,IAAIC,gBAAgBC,OAAOC,SAASC,QAAS,CACrEC,IAAKA,CAACC,EAAcC,IAASD,EAAaD,IAAIE,KAG/C,IAAK,MAAMC,KAAOX,YAAa,CAC9B,MAAMY,EAAQV,OAAOS,GACrB,IAAIE,EAEJ,GAAMD,EACLE,aAAaC,QAAQ,UAAYJ,EAAKC,GACtCC,EAAgBD,MACV,CAENC,EADoBC,aAAaE,QAAQ,UAAYL,IACTX,YAAYW,EACzD,CAEIE,IAAkBb,YAAYW,GACjCM,SAASC,gBAAgBC,aAAa,WAAaR,EAAKE,GAExDI,SAASC,gBAAgBE,gBAAgB,WAAaT,EAExD","ignoreList":[]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Tabler v1.2.0 (https://tabler.io)
|
|
3
|
+
* Copyright 2018-2025 The Tabler Authors
|
|
4
|
+
* Copyright 2018-2025 codecalm.net Paweł Kuna
|
|
5
|
+
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
|
6
|
+
*/
|
|
7
|
+
(function (factory) {
|
|
8
|
+
typeof define === 'function' && define.amd ? define(factory) :
|
|
9
|
+
factory();
|
|
10
|
+
})((function () { 'use strict';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* demo-theme is specifically loaded right after the body and not deferred
|
|
14
|
+
* to ensure we switch to the chosen dark/light theme as fast as possible.
|
|
15
|
+
* This will prevent any flashes of the light theme (default) before switching.
|
|
16
|
+
*/
|
|
17
|
+
const themeConfig = {
|
|
18
|
+
"theme": "light",
|
|
19
|
+
"theme-base": "gray",
|
|
20
|
+
"theme-font": "sans-serif",
|
|
21
|
+
"theme-primary": "blue",
|
|
22
|
+
"theme-radius": "1"
|
|
23
|
+
};
|
|
24
|
+
const params = new Proxy(new URLSearchParams(window.location.search), {
|
|
25
|
+
get: (searchParams, prop) => searchParams.get(prop)
|
|
26
|
+
});
|
|
27
|
+
for (const key in themeConfig) {
|
|
28
|
+
const param = params[key];
|
|
29
|
+
let selectedValue;
|
|
30
|
+
if (!!param) {
|
|
31
|
+
localStorage.setItem('tabler-' + key, param);
|
|
32
|
+
selectedValue = param;
|
|
33
|
+
} else {
|
|
34
|
+
const storedTheme = localStorage.getItem('tabler-' + key);
|
|
35
|
+
selectedValue = storedTheme ? storedTheme : themeConfig[key];
|
|
36
|
+
}
|
|
37
|
+
if (selectedValue !== themeConfig[key]) {
|
|
38
|
+
document.documentElement.setAttribute('data-bs-' + key, selectedValue);
|
|
39
|
+
} else {
|
|
40
|
+
document.documentElement.removeAttribute('data-bs-' + key);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
}));
|
|
45
|
+
//# sourceMappingURL=tabler-theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabler-theme.js","sources":["../../js/tabler-theme.js"],"sourcesContent":["/**\n * demo-theme is specifically loaded right after the body and not deferred\n * to ensure we switch to the chosen dark/light theme as fast as possible.\n * This will prevent any flashes of the light theme (default) before switching.\n */\nconst themeConfig = {\n\t\"theme\": \"light\",\n\t\"theme-base\": \"gray\",\n\t\"theme-font\": \"sans-serif\",\n\t\"theme-primary\": \"blue\",\n\t\"theme-radius\": \"1\",\n}\n\nconst params = new Proxy(new URLSearchParams(window.location.search), {\n\tget: (searchParams, prop) => searchParams.get(prop),\n})\n\nfor (const key in themeConfig) {\n\tconst param = params[key]\n\tlet selectedValue\n\n\tif (!!param) {\n\t\tlocalStorage.setItem('tabler-' + key, param)\n\t\tselectedValue = param\n\t} else {\n\t\tconst storedTheme = localStorage.getItem('tabler-' + key)\n\t\tselectedValue = storedTheme ? storedTheme : themeConfig[key]\n\t}\n\n\tif (selectedValue !== themeConfig[key]) {\n\t\tdocument.documentElement.setAttribute('data-bs-' + key, selectedValue)\n\t} else {\n\t\tdocument.documentElement.removeAttribute('data-bs-' + key)\n\t}\n}"],"names":["themeConfig","params","Proxy","URLSearchParams","window","location","search","get","searchParams","prop","key","param","selectedValue","localStorage","setItem","storedTheme","getItem","document","documentElement","setAttribute","removeAttribute"],"mappings":";;;;;;;;;;;CAAA;CACA;CACA;CACA;CACA;CACA,MAAMA,WAAW,GAAG;CACnB,EAAA,OAAO,EAAE,OAAO;CAChB,EAAA,YAAY,EAAE,MAAM;CACpB,EAAA,YAAY,EAAE,YAAY;CAC1B,EAAA,eAAe,EAAE,MAAM;CACvB,EAAA,cAAc,EAAE;CACjB,CAAC;CAED,MAAMC,MAAM,GAAG,IAAIC,KAAK,CAAC,IAAIC,eAAe,CAACC,MAAM,CAACC,QAAQ,CAACC,MAAM,CAAC,EAAE;GACrEC,GAAG,EAAEA,CAACC,YAAY,EAAEC,IAAI,KAAKD,YAAY,CAACD,GAAG,CAACE,IAAI;CACnD,CAAC,CAAC;CAEF,KAAK,MAAMC,GAAG,IAAIV,WAAW,EAAE;CAC9B,EAAA,MAAMW,KAAK,GAAGV,MAAM,CAACS,GAAG,CAAC;CACzB,EAAA,IAAIE,aAAa;GAEjB,IAAI,CAAC,CAACD,KAAK,EAAE;KACZE,YAAY,CAACC,OAAO,CAAC,SAAS,GAAGJ,GAAG,EAAEC,KAAK,CAAC;CAC5CC,IAAAA,aAAa,GAAGD,KAAK;CACtB,GAAC,MAAM;KACN,MAAMI,WAAW,GAAGF,YAAY,CAACG,OAAO,CAAC,SAAS,GAAGN,GAAG,CAAC;KACzDE,aAAa,GAAGG,WAAW,GAAGA,WAAW,GAAGf,WAAW,CAACU,GAAG,CAAC;CAC7D;CAEA,EAAA,IAAIE,aAAa,KAAKZ,WAAW,CAACU,GAAG,CAAC,EAAE;KACvCO,QAAQ,CAACC,eAAe,CAACC,YAAY,CAAC,UAAU,GAAGT,GAAG,EAAEE,aAAa,CAAC;CACvE,GAAC,MAAM;KACNK,QAAQ,CAACC,eAAe,CAACE,eAAe,CAAC,UAAU,GAAGV,GAAG,CAAC;CAC3D;CACD;;;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Tabler v1.2.0 (https://tabler.io)
|
|
3
|
+
* Copyright 2018-2025 The Tabler Authors
|
|
4
|
+
* Copyright 2018-2025 codecalm.net Paweł Kuna
|
|
5
|
+
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
|
6
|
+
*/
|
|
7
|
+
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";const e={theme:"light","theme-base":"gray","theme-font":"sans-serif","theme-primary":"blue","theme-radius":"1"},t=new Proxy(new URLSearchParams(window.location.search),{get:(e,t)=>e.get(t)});for(const n in e){const o=t[n];let a;if(o)localStorage.setItem("tabler-"+n,o),a=o;else{a=localStorage.getItem("tabler-"+n)||e[n]}a!==e[n]?document.documentElement.setAttribute("data-bs-"+n,a):document.documentElement.removeAttribute("data-bs-"+n)}}));
|
|
8
|
+
//# sourceMappingURL=tabler-theme.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["themeConfig","theme","params","Proxy","URLSearchParams","window","location","search","get","searchParams","prop","key","param","selectedValue","localStorage","setItem","getItem","document","documentElement","setAttribute","removeAttribute"],"sources":["../../js/tabler-theme.js"],"sourcesContent":["/**\n * demo-theme is specifically loaded right after the body and not deferred\n * to ensure we switch to the chosen dark/light theme as fast as possible.\n * This will prevent any flashes of the light theme (default) before switching.\n */\nconst themeConfig = {\n\t\"theme\": \"light\",\n\t\"theme-base\": \"gray\",\n\t\"theme-font\": \"sans-serif\",\n\t\"theme-primary\": \"blue\",\n\t\"theme-radius\": \"1\",\n}\n\nconst params = new Proxy(new URLSearchParams(window.location.search), {\n\tget: (searchParams, prop) => searchParams.get(prop),\n})\n\nfor (const key in themeConfig) {\n\tconst param = params[key]\n\tlet selectedValue\n\n\tif (!!param) {\n\t\tlocalStorage.setItem('tabler-' + key, param)\n\t\tselectedValue = param\n\t} else {\n\t\tconst storedTheme = localStorage.getItem('tabler-' + key)\n\t\tselectedValue = storedTheme ? storedTheme : themeConfig[key]\n\t}\n\n\tif (selectedValue !== themeConfig[key]) {\n\t\tdocument.documentElement.setAttribute('data-bs-' + key, selectedValue)\n\t} else {\n\t\tdocument.documentElement.removeAttribute('data-bs-' + key)\n\t}\n}"],"mappings":";;;;;;2FAKA,MAAMA,EAAc,CACnBC,MAAS,QACT,aAAc,OACd,aAAc,aACd,gBAAiB,OACjB,eAAgB,KAGXC,EAAS,IAAIC,MAAM,IAAIC,gBAAgBC,OAAOC,SAASC,QAAS,CACrEC,IAAKA,CAACC,EAAcC,IAASD,EAAaD,IAAIE,KAG/C,IAAK,MAAMC,KAAOX,EAAa,CAC9B,MAAMY,EAAQV,EAAOS,GACrB,IAAIE,EAEJ,GAAMD,EACLE,aAAaC,QAAQ,UAAYJ,EAAKC,GACtCC,EAAgBD,MACV,CAENC,EADoBC,aAAaE,QAAQ,UAAYL,IACTX,EAAYW,EACzD,CAEIE,IAAkBb,EAAYW,GACjCM,SAASC,gBAAgBC,aAAa,WAAaR,EAAKE,GAExDI,SAASC,gBAAgBE,gBAAgB,WAAaT,EAExD,C","ignoreList":[]}
|
package/dist/js/tabler.esm.js
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Tabler v1.
|
|
2
|
+
* Tabler v1.2.0 (https://tabler.io)
|
|
3
3
|
* Copyright 2018-2025 The Tabler Authors
|
|
4
4
|
* Copyright 2018-2025 codecalm.net Paweł Kuna
|
|
5
5
|
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
|
6
6
|
*/
|
|
7
|
-
import autosize from 'autosize';
|
|
8
|
-
import IMask from 'imask';
|
|
9
|
-
|
|
10
7
|
// Autosize plugin
|
|
11
|
-
|
|
12
8
|
const elements$1 = document.querySelectorAll('[data-bs-toggle="autosize"]');
|
|
13
9
|
if (elements$1.length) {
|
|
14
10
|
elements$1.forEach(function (element) {
|
|
15
|
-
autosize && autosize(element);
|
|
11
|
+
window.autosize && window.autosize(element);
|
|
16
12
|
});
|
|
17
13
|
}
|
|
18
14
|
|
|
@@ -38,7 +34,7 @@ if (elements.length) {
|
|
|
38
34
|
|
|
39
35
|
var maskElementList = [].slice.call(document.querySelectorAll('[data-mask]'));
|
|
40
36
|
maskElementList.map(function (maskEl) {
|
|
41
|
-
IMask && new IMask(maskEl, {
|
|
37
|
+
window.IMask && new window.IMask(maskEl, {
|
|
42
38
|
mask: maskEl.dataset.mask,
|
|
43
39
|
lazy: maskEl.dataset['mask-visible'] === 'true'
|
|
44
40
|
});
|
|
@@ -1708,8 +1704,8 @@ const Popper = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
1708
1704
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1709
1705
|
|
|
1710
1706
|
/*!
|
|
1711
|
-
* Bootstrap v5.3.
|
|
1712
|
-
* Copyright 2011-
|
|
1707
|
+
* Bootstrap v5.3.5 (https://getbootstrap.com/)
|
|
1708
|
+
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
1713
1709
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
1714
1710
|
*/
|
|
1715
1711
|
|
|
@@ -1909,7 +1905,7 @@ const noop = () => {};
|
|
|
1909
1905
|
* @param {HTMLElement} element
|
|
1910
1906
|
* @return void
|
|
1911
1907
|
*
|
|
1912
|
-
* @see https://www.
|
|
1908
|
+
* @see https://www.harrytheo.com/blog/2021/02/restart-a-css-animation-with-javascript/#restarting-a-css-animation
|
|
1913
1909
|
*/
|
|
1914
1910
|
const reflow = element => {
|
|
1915
1911
|
element.offsetHeight; // eslint-disable-line no-unused-expressions
|
|
@@ -1954,7 +1950,7 @@ const defineJQueryPlugin = plugin => {
|
|
|
1954
1950
|
});
|
|
1955
1951
|
};
|
|
1956
1952
|
const execute = (possibleCallback, args = [], defaultValue = possibleCallback) => {
|
|
1957
|
-
return typeof possibleCallback === 'function' ? possibleCallback(...args) : defaultValue;
|
|
1953
|
+
return typeof possibleCallback === 'function' ? possibleCallback.call(...args) : defaultValue;
|
|
1958
1954
|
};
|
|
1959
1955
|
const executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {
|
|
1960
1956
|
if (!waitForTransition) {
|
|
@@ -2275,7 +2271,7 @@ const Manipulator = {
|
|
|
2275
2271
|
const bsKeys = Object.keys(element.dataset).filter(key => key.startsWith('bs') && !key.startsWith('bsConfig'));
|
|
2276
2272
|
for (const key of bsKeys) {
|
|
2277
2273
|
let pureKey = key.replace(/^bs/, '');
|
|
2278
|
-
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1
|
|
2274
|
+
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1);
|
|
2279
2275
|
attributes[pureKey] = normalizeData(element.dataset[key]);
|
|
2280
2276
|
}
|
|
2281
2277
|
return attributes;
|
|
@@ -2348,7 +2344,7 @@ class Config {
|
|
|
2348
2344
|
* Constants
|
|
2349
2345
|
*/
|
|
2350
2346
|
|
|
2351
|
-
const VERSION = '5.3.
|
|
2347
|
+
const VERSION = '5.3.5';
|
|
2352
2348
|
|
|
2353
2349
|
/**
|
|
2354
2350
|
* Class definition
|
|
@@ -3557,7 +3553,7 @@ class Dropdown extends BaseComponent {
|
|
|
3557
3553
|
}
|
|
3558
3554
|
_createPopper() {
|
|
3559
3555
|
if (typeof Popper === 'undefined') {
|
|
3560
|
-
throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org)');
|
|
3556
|
+
throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org/docs/v2/)');
|
|
3561
3557
|
}
|
|
3562
3558
|
let referenceElement = this._element;
|
|
3563
3559
|
if (this._config.reference === 'parent') {
|
|
@@ -3636,7 +3632,7 @@ class Dropdown extends BaseComponent {
|
|
|
3636
3632
|
}
|
|
3637
3633
|
return {
|
|
3638
3634
|
...defaultBsPopperConfig,
|
|
3639
|
-
...execute(this._config.popperConfig, [defaultBsPopperConfig])
|
|
3635
|
+
...execute(this._config.popperConfig, [undefined, defaultBsPopperConfig])
|
|
3640
3636
|
};
|
|
3641
3637
|
}
|
|
3642
3638
|
_selectMenuItem({
|
|
@@ -4817,7 +4813,7 @@ class TemplateFactory extends Config {
|
|
|
4817
4813
|
return this._config.sanitize ? sanitizeHtml(arg, this._config.allowList, this._config.sanitizeFn) : arg;
|
|
4818
4814
|
}
|
|
4819
4815
|
_resolvePossibleFunction(arg) {
|
|
4820
|
-
return execute(arg, [this]);
|
|
4816
|
+
return execute(arg, [undefined, this]);
|
|
4821
4817
|
}
|
|
4822
4818
|
_putElementInTemplate(element, templateElement) {
|
|
4823
4819
|
if (this._config.html) {
|
|
@@ -4915,7 +4911,7 @@ const DefaultType$3 = {
|
|
|
4915
4911
|
class Tooltip extends BaseComponent {
|
|
4916
4912
|
constructor(element, config) {
|
|
4917
4913
|
if (typeof Popper === 'undefined') {
|
|
4918
|
-
throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org)');
|
|
4914
|
+
throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org/docs/v2/)');
|
|
4919
4915
|
}
|
|
4920
4916
|
super(element, config);
|
|
4921
4917
|
|
|
@@ -4961,7 +4957,6 @@ class Tooltip extends BaseComponent {
|
|
|
4961
4957
|
if (!this._isEnabled) {
|
|
4962
4958
|
return;
|
|
4963
4959
|
}
|
|
4964
|
-
this._activeTrigger.click = !this._activeTrigger.click;
|
|
4965
4960
|
if (this._isShown()) {
|
|
4966
4961
|
this._leave();
|
|
4967
4962
|
return;
|
|
@@ -5149,7 +5144,7 @@ class Tooltip extends BaseComponent {
|
|
|
5149
5144
|
return offset;
|
|
5150
5145
|
}
|
|
5151
5146
|
_resolvePossibleFunction(arg) {
|
|
5152
|
-
return execute(arg, [this._element]);
|
|
5147
|
+
return execute(arg, [this._element, this._element]);
|
|
5153
5148
|
}
|
|
5154
5149
|
_getPopperConfig(attachment) {
|
|
5155
5150
|
const defaultBsPopperConfig = {
|
|
@@ -5187,7 +5182,7 @@ class Tooltip extends BaseComponent {
|
|
|
5187
5182
|
};
|
|
5188
5183
|
return {
|
|
5189
5184
|
...defaultBsPopperConfig,
|
|
5190
|
-
...execute(this._config.popperConfig, [defaultBsPopperConfig])
|
|
5185
|
+
...execute(this._config.popperConfig, [undefined, defaultBsPopperConfig])
|
|
5191
5186
|
};
|
|
5192
5187
|
}
|
|
5193
5188
|
_setListeners() {
|
|
@@ -6198,6 +6193,18 @@ switchesTriggerList.map(function (switchTriggerEl) {
|
|
|
6198
6193
|
});
|
|
6199
6194
|
});
|
|
6200
6195
|
|
|
6196
|
+
const EnableActivationTabsFromLocationHash = () => {
|
|
6197
|
+
const locationHash = window.location.hash;
|
|
6198
|
+
if (locationHash) {
|
|
6199
|
+
const tabsList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tab"]'));
|
|
6200
|
+
const matchedTabs = tabsList.filter(tab => tab.hash === locationHash);
|
|
6201
|
+
matchedTabs.map(tab => {
|
|
6202
|
+
new Tab(tab).show();
|
|
6203
|
+
});
|
|
6204
|
+
}
|
|
6205
|
+
};
|
|
6206
|
+
EnableActivationTabsFromLocationHash();
|
|
6207
|
+
|
|
6201
6208
|
/*
|
|
6202
6209
|
Toasts
|
|
6203
6210
|
*/
|
|
@@ -6232,5 +6239,5 @@ const tabler = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
6232
6239
|
prefix
|
|
6233
6240
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
6234
6241
|
|
|
6235
|
-
export { bootstrap_esm as bootstrap, tabler };
|
|
6242
|
+
export { Alert, Button, Carousel, Collapse, Dropdown, Modal, Offcanvas, Popover, ScrollSpy, Tab, Toast, Tooltip, bootstrap_esm as bootstrap, tabler };
|
|
6236
6243
|
//# sourceMappingURL=tabler.esm.js.map
|