@porscheinformatik/clr-addons 13.5.0 → 13.5.2
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/datagrid/datagrid-state-persistence/state-persistence-key.directive.d.ts +6 -0
- package/esm2020/datagrid/datagrid-state-persistence/state-persistence-key.directive.mjs +11 -1
- package/esm2020/icons/shapes.mjs +35 -48
- package/fesm2015/clr-addons.mjs +44 -47
- package/fesm2015/clr-addons.mjs.map +1 -1
- package/fesm2020/clr-addons.mjs +44 -47
- package/fesm2020/clr-addons.mjs.map +1 -1
- package/package.json +1 -1
package/fesm2020/clr-addons.mjs
CHANGED
|
@@ -4656,6 +4656,16 @@ class StatePersistenceKeyDirective {
|
|
|
4656
4656
|
}
|
|
4657
4657
|
this.canShowPaginationDescription = true;
|
|
4658
4658
|
}
|
|
4659
|
+
/**
|
|
4660
|
+
* With this method filters can be cleared
|
|
4661
|
+
* @param key The key for clrStatePersistenceKey
|
|
4662
|
+
* @param useLocalStoreOnly The clrUseLocalStoreOnly indicator
|
|
4663
|
+
*/
|
|
4664
|
+
static clearFilters(key, useLocalStoreOnly) {
|
|
4665
|
+
const data = JSON.parse((useLocalStoreOnly ? localStorage : sessionStorage).getItem(key)) || {};
|
|
4666
|
+
data.columns = {};
|
|
4667
|
+
(useLocalStoreOnly ? localStorage : sessionStorage).setItem(key, JSON.stringify(data));
|
|
4668
|
+
}
|
|
4659
4669
|
initPageSizePersister(savedState) {
|
|
4660
4670
|
/* persist page size changes in local storage */
|
|
4661
4671
|
this.pagination.page.sizeChange.pipe(takeUntil(this.destroy$)).subscribe(pageSize => {
|
|
@@ -5617,53 +5627,40 @@ function clrIconSVG(content, viewBox = '0 0 24 24') {
|
|
|
5617
5627
|
* No licence or other right of use is granted by the availability of the icons.
|
|
5618
5628
|
*/
|
|
5619
5629
|
// To support badges, alerts or the is-solid, the SVGs would need to be extended.
|
|
5620
|
-
const CampaignOutdatedShape = clrIconSVG(
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
id="
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
ry="6.2510548" />
|
|
5655
|
-
<ellipse
|
|
5656
|
-
style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0.9;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"
|
|
5657
|
-
id="path1679-7"
|
|
5658
|
-
cx="11.355979"
|
|
5659
|
-
cy="9.73281"
|
|
5660
|
-
rx="6.3786268"
|
|
5661
|
-
ry="6.2510548" />
|
|
5662
|
-
<path
|
|
5663
|
-
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0.9;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"
|
|
5664
|
-
d="M 6.8098732,29.944302 29.190127,6.0556978"
|
|
5665
|
-
id="path4763" />
|
|
5666
|
-
</g>`);
|
|
5630
|
+
const CampaignOutdatedShape = clrIconSVG(` <path
|
|
5631
|
+
d="m 24.664062,20.947266 a 0.85000002,0.85000002 0 0 0 -0.857421,0.84375 l -0.03516,4.699218 a 0.85000002,0.85000002 0 0 0 0.84375,0.857422 0.85000002,0.85000002 0 0 0 0.857422,-0.84375 l 0.03516,-4.701172 a 0.85000002,0.85000002 0 0 0 -0.84375,-0.855468 z"
|
|
5632
|
+
id="path1534" />
|
|
5633
|
+
<path
|
|
5634
|
+
d="m 24.622114,26.496917 0.03513,-4.700373"
|
|
5635
|
+
id="path1536" />
|
|
5636
|
+
<path
|
|
5637
|
+
d="m 24.617187,25.621094 a 0.85693002,0.85693002 0 0 0 -0.859375,0.855468 0.85693002,0.85693002 0 0 0 0.857422,0.857422 l 2.841797,0.0039 A 0.85693002,0.85693002 0 0 0 28.314453,26.482422 0.85693002,0.85693002 0 0 0 27.458984,25.625 Z"
|
|
5638
|
+
id="path1540" />
|
|
5639
|
+
<path
|
|
5640
|
+
d="m 27.457296,26.481217 -2.84178,-0.0041"
|
|
5641
|
+
id="path1542" />
|
|
5642
|
+
<path
|
|
5643
|
+
d="m 24.644531,18.515625 c -4.317261,0 -7.878906,3.472391 -7.878906,7.751953 1e-6,4.279562 3.561646,7.75 7.878906,7.75 1.185221,0 2.354902,-0.262058 3.423828,-0.769531 A 1.5,1.5 0 0 0 28.779297,31.25 1.5,1.5 0 0 0 26.78125,30.537109 c -0.664871,0.315648 -1.395409,0.480469 -2.136719,0.480469 -2.728368,0 -4.878906,-2.124845 -4.878906,-4.75 0,-2.625155 2.150538,-4.751953 4.878906,-4.751953 0.740568,0 1.470412,0.165426 2.134766,0.480469 a 1.5,1.5 0 0 0 1.998047,-0.712891 1.5,1.5 0 0 0 -0.712891,-1.998047 c -1.068084,-0.506494 -2.235887,-0.769531 -3.419922,-0.769531 z"
|
|
5644
|
+
id="path12594" />
|
|
5645
|
+
<path
|
|
5646
|
+
d="m 11.355469,1.9824219 c -4.3172613,0 -7.8789065,3.4704378 -7.8789065,7.75 0,4.2795621 3.5616452,7.7519531 7.8789065,7.7519531 4.317261,0 7.878906,-3.472391 7.878906,-7.7519531 0,-4.2795622 -3.561645,-7.75 -7.878906,-7.75 z m 0,3 c 2.728368,0 4.878906,2.1248446 4.878906,4.75 0,2.6251551 -2.150538,4.7519531 -4.878906,4.7519531 -2.7283688,0 -4.8789065,-2.126798 -4.8789065,-4.7519531 0,-2.6251554 2.1505377,-4.75 4.8789065,-4.75 z"
|
|
5647
|
+
id="path1679-7" />
|
|
5648
|
+
<path
|
|
5649
|
+
d="M 29.140625,4.5566406 A 1.5,1.5 0 0 0 28.095703,5.03125 L 5.7148437,28.919922 a 1.5,1.5 0 0 0 0.068359,2.11914 1.5,1.5 0 0 0 2.1210938,-0.06836 L 30.285156,7.0820312 A 1.5,1.5 0 0 0 30.214844,4.9609375 1.5,1.5 0 0 0 29.140625,4.5566406 Z"
|
|
5650
|
+
id="path1554" />
|
|
5651
|
+
<path
|
|
5652
|
+
style="fill:#000000"
|
|
5653
|
+
d="m 30.658139,28.609324 h 1.551362 l 0.53559,-8.532493 H 30.12255 Z m 0.775681,4.377058 c 0.775681,0 1.422082,-0.664869 1.422082,-1.477488 0,-0.757212 -0.646401,-1.422082 -1.422082,-1.422082 -0.849555,0 -1.477488,0.66487 -1.477488,1.422082 0,0.812619 0.627933,1.477488 1.477488,1.477488 z"
|
|
5654
|
+
id="path27260" />`, '0 0 36 36');
|
|
5655
|
+
const CampaignShape = clrIconSVG(` <path
|
|
5656
|
+
d="m 24.644531,18.515625 c -4.317261,0 -7.878906,3.472391 -7.878906,7.751953 1e-6,4.279562 3.561646,7.75 7.878906,7.75 4.317261,0 7.878906,-3.470438 7.878906,-7.75 10e-7,-4.279562 -3.561645,-7.751952 -7.878906,-7.751953 z m 0,3 c 2.728369,0 4.878907,2.126798 4.878906,4.751953 0,2.625155 -2.150538,4.75 -4.878906,4.75 -2.728368,0 -4.878906,-2.124845 -4.878906,-4.75 0,-2.625155 2.150538,-4.751953 4.878906,-4.751953 z"
|
|
5657
|
+
id="path1679" />
|
|
5658
|
+
<path
|
|
5659
|
+
d="m 11.355469,1.9824219 c -4.3172613,-1e-7 -7.8789064,3.4704378 -7.8789065,7.75 -10e-8,4.2795621 3.5616451,7.7519531 7.8789065,7.7519531 4.317261,0 7.878906,-3.472391 7.878906,-7.7519531 0,-4.2795622 -3.561645,-7.7500002 -7.878906,-7.75 z m 0,3 c 2.728368,-1e-7 4.878906,2.1248445 4.878906,4.75 0,2.6251551 -2.150538,4.7519531 -4.878906,4.7519531 -2.7283689,0 -4.8789066,-2.126798 -4.8789065,-4.7519531 0,-2.6251554 2.1505377,-4.7500001 4.8789065,-4.75 z"
|
|
5660
|
+
id="path1679-7" />
|
|
5661
|
+
<path
|
|
5662
|
+
d="m 30.214844,4.9609375 a 1.5,1.5 0 0 0 -2.119141,0.068359 L 5.7148437,28.917969 a 1.5,1.5 0 0 0 0.070312,2.121093 1.5,1.5 0 0 0 2.1191407,-0.06836 L 30.285156,7.0820312 a 1.5,1.5 0 0 0 -0.07031,-2.1210937 z"
|
|
5663
|
+
id="path432" />`, '0 0 36 36');
|
|
5667
5664
|
const NewCarCommercialShape = clrIconSVG(`<path d='M17.18,22a1.638,1.638,0,0,1-1.61-1.62v-.5H8.01v.481A1.645,1.645,0,0,1,6.39,22h-3a1.624,1.624,0,0,1-1.61-1.62V10.1l.27-1.69L0,8.25v-.67L.07,6.92H.13l2.13.16L2.5,5.54A6.75,6.75,0,0,1,3.91,2.361L5.42.461A1.245,1.245,0,0,1,6.39,0H17.14a1.259,1.259,0,0,1,1,.5l1.64,2.24a6.811,6.811,0,0,1,1.27,2.92l.229,1.4,2.16-.18.121,1.33L21.5,8.37l.28,1.731v10.28A1.626,1.626,0,0,1,20.18,22ZM6.671,18.551H16.85v1.83a.29.29,0,0,0,.29.29h3a.289.289,0,0,0,.28-.29v-5.94c-1.558.216-3.126.384-4.66.5l-.1-1.319c1.529-.113,3.131-.288,4.76-.52v-2.89l-.26-1.74c-2.946.186-5.829.28-8.57.28-2.718,0-5.48-.087-8.21-.26L3.1,10.211v2.91c1.633.23,3.269.406,4.86.52l-.09,1.32c-1.6-.108-3.209-.277-4.77-.5v5.92a.289.289,0,0,0,.281.29h3a.311.311,0,0,0,.29-.31V18.552h0ZM4.95,3.2A5.376,5.376,0,0,0,3.78,5.75l-.15,1.4c2.705.167,5.459.251,8.18.251s5.469-.085,8.18-.251l-.21-1.27a5.487,5.487,0,0,0-1-2.35L17.1,1.33H6.46Zm5.83,11.41a1,1,0,1,1,1,1A1,1,0,0,1,10.78,14.611Z'/>`);
|
|
5668
5665
|
const NewCarPrivateShape = clrIconSVG(`<path d='M19.24,19a1.658,1.658,0,0,1-1.62-1.7v-.52H6.07v.51A1.673,1.673,0,0,1,4.45,19h-2A1.663,1.663,0,0,1,.84,17.3V10.76a6.3,6.3,0,0,1,.88-3.23L2.3,6.12C1.476,6,.723,5.881,0,5.75L.17,4.44H.24c.9.167,1.753.3,2.6.42L4.16,1.66A3.357,3.357,0,0,1,6.75,0H16.94a3.324,3.324,0,0,1,2.58,1.66L20.84,4.83c.794-.119,1.694-.254,2.6-.42l.24,1.3c-.608.119-1.226.213-1.824.306h-.011l-.475.074.6,1.44a6.388,6.388,0,0,1,.87,3.23V17.3a1.666,1.666,0,0,1-1.6,1.7ZM4.731,15.45H18.96V17.3a.338.338,0,0,0,.29.37h1.98a.35.35,0,0,0,.2-.37V11.2c-1.7.249-3.222.422-4.66.53l-.1-1.319c1.6-.126,3.171-.308,4.68-.54a4.973,4.973,0,0,0-.61-1.71V8l-.83-1.72a66.133,66.133,0,0,1-8.28.54A64.183,64.183,0,0,1,3.57,6.3L2.84,8.04V8.2a5.065,5.065,0,0,0-.6,1.77c1.568.234,3.18.412,4.79.53l-.1,1.329c-1.465-.107-3.025-.281-4.77-.529v6a.342.342,0,0,0,.28.37h2a.36.36,0,0,0,.291-.38V15.451h0ZM5.37,2.27,4.2,5a64.333,64.333,0,0,0,7.635.457A64.223,64.223,0,0,0,19.47,5L18.29,2.27a1.989,1.989,0,0,0-1.45-.94h-10A1.988,1.988,0,0,0,5.37,2.27Zm5.469,9.19a1,1,0,1,1,1,1.06A1.031,1.031,0,0,1,10.84,11.46Z'/>`);
|
|
5669
5666
|
const UsedCarCommercialShape = clrIconSVG(`<path d='M17.12,22a1.619,1.619,0,0,1-1.589-1.62v-.5H7.97v.481A1.641,1.641,0,0,1,6.34,22h-3a1.62,1.62,0,0,1-1.61-1.62V10.1L2,8.5,0,8.34V7H.06c.71.111,1.419.16,2.129.211l.26-1.67A6.741,6.741,0,0,1,3.84,2.361L5.4.461A1.236,1.236,0,0,1,6.4,0h3V1.34h-3L4.89,3.21A5.405,5.405,0,0,0,3.74,5.761L3.5,7.3c1.95.12,3.88.21,5.88.21v1.35c-2.09-.04-4.09-.1-6.089-.23l-.25,1.58V13.3c1.56.22,3.18.4,4.86.52l-.09,1.34q-2.47-.18-4.77-.51v5.73a.291.291,0,0,0,.28.28h3a.311.311,0,0,0,.3-.3v-1.82H16.84v1.84a.291.291,0,0,0,.28.28h3a.291.291,0,0,0,.28-.28v-5.76c-1.51.22-3.07.4-4.66.51l-.1-1.33c1.62-.12,3.22-.3,4.76-.53V11.78H21.73v8.6A1.62,1.62,0,0,1,20.12,22Zm-6.39-7.22a1,1,0,1,1,1,1A1,1,0,0,1,10.73,14.781Zm2.177-7.9a4.17,4.17,0,0,1,.833-5.055l.44-.43.94.94-.46.45a2.874,2.874,0,0,0-.92,2.091,2.84,2.84,0,1,0,5.67,0V2.59l-2.05,2-.941-.94L20.08,0l3.65,3.65-.941.9-2.05-2v2.32a4.17,4.17,0,0,1-7.833,2.005Z'/>`);
|