monkey-style-guide 2.0.117 → 2.0.121
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/README.md +1 -1
- package/assets/icons/auction.svg +7 -7
- package/assets/icons/radio.svg +4 -4
- package/assets/icons/trophy.svg +8 -8
- package/assets/icons/waiting.svg +17 -17
- package/assets/scss/partials/_breakpoints.scss +35 -35
- package/assets/scss/partials/components/_badge.scss +55 -55
- package/assets/scss/partials/components/_expansion.scss +5 -0
- package/assets/scss/partials/components/_modal.scss +282 -282
- package/assets/scss/partials/components/_tab.scss +82 -82
- package/assets/scss/partials/components/_table.scss +5 -0
- package/assets/scss/partials/components/_toggle.scss +103 -103
- package/esm2020/lib/components/badge/badge.module.mjs +1 -1
- package/esm2020/lib/components/badge/index.mjs +1 -1
- package/esm2020/lib/components/date-range-picker/date-range-picker.component.mjs +27 -14
- package/esm2020/lib/components/expansion/expansion.component.mjs +5 -5
- package/esm2020/lib/components/expansion/expansion.module.mjs +1 -1
- package/esm2020/lib/components/expansion/index.mjs +1 -1
- package/esm2020/lib/components/icon/icon-auction.component.mjs +3 -3
- package/esm2020/lib/components/icon/icon-radio.component.mjs +3 -3
- package/esm2020/lib/components/icon/icon-trophy.component.mjs +3 -3
- package/esm2020/lib/components/icon/icon-waiting.component.mjs +3 -3
- package/esm2020/lib/components/tab/index.mjs +1 -1
- package/esm2020/lib/components/tab/tab.component.mjs +9 -9
- package/esm2020/lib/components/tab/tab.module.mjs +1 -1
- package/esm2020/lib/components/toggle/index.mjs +1 -1
- package/esm2020/lib/components/toggle/toggle.module.mjs +1 -1
- package/esm2020/lib/core/interfaces/index.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkey-modal-settings.mjs +1 -1
- package/esm2020/lib/core/services/modal/index.mjs +1 -1
- package/esm2020/lib/core/services/modal/monkey-style-guide-modal-fixed.service.mjs +1 -1
- package/esm2020/lib/core/services/modal/monkey-style-guide-modal.service.mjs +1 -1
- package/fesm2015/monkey-style-guide.mjs +45 -32
- package/fesm2015/monkey-style-guide.mjs.map +1 -1
- package/fesm2020/monkey-style-guide.mjs +45 -32
- package/fesm2020/monkey-style-guide.mjs.map +1 -1
- package/lib/components/date-range-picker/date-range-picker.component.d.ts +4 -2
- package/monkey-style-guide-2.0.121.tgz +0 -0
- package/package.json +1 -1
- package/monkey-style-guide-2.0.117.tgz +0 -0
|
@@ -797,10 +797,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
797
797
|
class MonkeyIconAuctionComponent {
|
|
798
798
|
}
|
|
799
799
|
MonkeyIconAuctionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconAuctionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
800
|
-
MonkeyIconAuctionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: MonkeyIconAuctionComponent, selector: "monkey-icon-auction", inputs: { fillColor: "fillColor", size: "size" }, ngImport: i0, template: "<svg width=\"
|
|
800
|
+
MonkeyIconAuctionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: MonkeyIconAuctionComponent, selector: "monkey-icon-auction", inputs: { fillColor: "fillColor", size: "size" }, ngImport: i0, template: "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" [attr.height]=\"size\" [attr.width]=\"size\">\r\n<path d=\"M8.63522 10.4077L8.28166 10.7612L8.98877 11.4683L9.34232 11.1148L8.63522 10.4077ZM13.1136 7.34355L13.4671 6.98999L12.76 6.28289L12.4065 6.63644L13.1136 7.34355ZM9.34232 11.1148L13.1136 7.34355L12.4065 6.63644L8.63522 10.4077L9.34232 11.1148Z\" fill=\"#4B4A53\" [attr.fill]=\"fillColor\"/>\r\n<path d=\"M4.86471 6.63668L4.51115 6.99023L5.21826 7.69734L5.57182 7.34379L4.86471 6.63668ZM9.34305 3.57255L9.69661 3.219L8.9895 2.51189L8.63594 2.86545L9.34305 3.57255ZM5.57182 7.34379L9.34305 3.57255L8.63594 2.86545L4.86471 6.63668L5.57182 7.34379Z\" fill=\"#4B4A53\" [attr.fill]=\"fillColor\"/>\r\n<rect x=\"3.33252\" y=\"5.10449\" width=\"5.33333\" height=\"10.6667\" rx=\"1.33333\" transform=\"rotate(-45 3.33252 5.10449)\" stroke=\"#4B4A53\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M1.31295 13.9799C1.11769 14.1752 1.11769 14.4918 1.31295 14.687C1.50821 14.8823 1.8248 14.8823 2.02006 14.687L1.31295 13.9799ZM7.02006 9.68705C7.21532 9.49179 7.21532 9.1752 7.02006 8.97994C6.8248 8.78468 6.50821 8.78468 6.31295 8.97994L7.02006 9.68705ZM2.02006 14.687L7.02006 9.68705L6.31295 8.97994L1.31295 13.9799L2.02006 14.687Z\" fill=\"#4B4A53\" [attr.fill]=\"fillColor\"/>\r\n<path d=\"M9.3335 14.1665C9.05735 14.1665 8.8335 14.3904 8.8335 14.6665C8.8335 14.9426 9.05735 15.1665 9.3335 15.1665V14.1665ZM14.6668 15.1665C14.943 15.1665 15.1668 14.9426 15.1668 14.6665C15.1668 14.3904 14.943 14.1665 14.6668 14.1665V15.1665ZM9.3335 15.1665H14.6668V14.1665H9.3335V15.1665Z\" fill=\"#4B4A53\" [attr.fill]=\"fillColor\"/>\r\n</svg>\r\n", styles: [":host{display:flex}\n"] });
|
|
801
801
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconAuctionComponent, decorators: [{
|
|
802
802
|
type: Component,
|
|
803
|
-
args: [{ selector: 'monkey-icon-auction', template: "<svg width=\"
|
|
803
|
+
args: [{ selector: 'monkey-icon-auction', template: "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" [attr.height]=\"size\" [attr.width]=\"size\">\r\n<path d=\"M8.63522 10.4077L8.28166 10.7612L8.98877 11.4683L9.34232 11.1148L8.63522 10.4077ZM13.1136 7.34355L13.4671 6.98999L12.76 6.28289L12.4065 6.63644L13.1136 7.34355ZM9.34232 11.1148L13.1136 7.34355L12.4065 6.63644L8.63522 10.4077L9.34232 11.1148Z\" fill=\"#4B4A53\" [attr.fill]=\"fillColor\"/>\r\n<path d=\"M4.86471 6.63668L4.51115 6.99023L5.21826 7.69734L5.57182 7.34379L4.86471 6.63668ZM9.34305 3.57255L9.69661 3.219L8.9895 2.51189L8.63594 2.86545L9.34305 3.57255ZM5.57182 7.34379L9.34305 3.57255L8.63594 2.86545L4.86471 6.63668L5.57182 7.34379Z\" fill=\"#4B4A53\" [attr.fill]=\"fillColor\"/>\r\n<rect x=\"3.33252\" y=\"5.10449\" width=\"5.33333\" height=\"10.6667\" rx=\"1.33333\" transform=\"rotate(-45 3.33252 5.10449)\" stroke=\"#4B4A53\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M1.31295 13.9799C1.11769 14.1752 1.11769 14.4918 1.31295 14.687C1.50821 14.8823 1.8248 14.8823 2.02006 14.687L1.31295 13.9799ZM7.02006 9.68705C7.21532 9.49179 7.21532 9.1752 7.02006 8.97994C6.8248 8.78468 6.50821 8.78468 6.31295 8.97994L7.02006 9.68705ZM2.02006 14.687L7.02006 9.68705L6.31295 8.97994L1.31295 13.9799L2.02006 14.687Z\" fill=\"#4B4A53\" [attr.fill]=\"fillColor\"/>\r\n<path d=\"M9.3335 14.1665C9.05735 14.1665 8.8335 14.3904 8.8335 14.6665C8.8335 14.9426 9.05735 15.1665 9.3335 15.1665V14.1665ZM14.6668 15.1665C14.943 15.1665 15.1668 14.9426 15.1668 14.6665C15.1668 14.3904 14.943 14.1665 14.6668 14.1665V15.1665ZM9.3335 15.1665H14.6668V14.1665H9.3335V15.1665Z\" fill=\"#4B4A53\" [attr.fill]=\"fillColor\"/>\r\n</svg>\r\n", styles: [":host{display:flex}\n"] }]
|
|
804
804
|
}], propDecorators: { fillColor: [{
|
|
805
805
|
type: Input
|
|
806
806
|
}], size: [{
|
|
@@ -1473,10 +1473,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1473
1473
|
class MonkeyIconRadioComponent {
|
|
1474
1474
|
}
|
|
1475
1475
|
MonkeyIconRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1476
|
-
MonkeyIconRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: MonkeyIconRadioComponent, selector: "monkey-icon-radio", inputs: { fillColor: "fillColor", size: "size" }, ngImport: i0, template: "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" [attr.height]=\"size\" [attr.width]=\"size\">\n<path d=\"M20.0003 23.3332C21.8413 23.3332 23.3337 21.8408 23.3337 19.9998C23.3337 18.1589 21.8413 16.6665 20.0003 16.6665C18.1594 16.6665 16.667 18.1589 16.667 19.9998C16.667 21.8408 18.1594 23.3332 20.0003 23.3332Z\" stroke=\"#0273E8\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M27.0667 12.9335C27.9965 13.8622 28.734 14.9651 29.2373 16.1791C29.7405 17.393 29.9996 18.6943 29.9996 20.0085C29.9996 21.3226 29.7405 22.6239 29.2373 23.8379C28.734 25.0518 27.9965 26.1547 27.0667 27.0835M12.9334 27.0668C12.0036 26.1381 11.266 25.0352 10.7628 23.8212C10.2595 22.6072 10.0005 21.306 10.0005 19.9918C10.0005 18.6776 10.2595 17.3764 10.7628 16.1624C11.266 14.9484 12.0036 13.8455 12.9334 12.9168M31.7834 8.2168C34.9079 11.3423 36.6631 15.5807 36.6631 20.0001C36.6631 24.4195 34.9079 28.658 31.7834 31.7835M8.21669 31.7835C5.09217 28.658 3.33691 24.4195 3.33691 20.0001C3.33691 15.5807 5.09217 11.3423 8.21669 8.2168\" stroke=\"#0273E8\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" [attr.stroke]=\"fillColor\"/>\n</svg>\n", styles: [":host{display:flex}\n"] });
|
|
1476
|
+
MonkeyIconRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: MonkeyIconRadioComponent, selector: "monkey-icon-radio", inputs: { fillColor: "fillColor", size: "size" }, ngImport: i0, template: "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" [attr.height]=\"size\" [attr.width]=\"size\">\r\n<path d=\"M20.0003 23.3332C21.8413 23.3332 23.3337 21.8408 23.3337 19.9998C23.3337 18.1589 21.8413 16.6665 20.0003 16.6665C18.1594 16.6665 16.667 18.1589 16.667 19.9998C16.667 21.8408 18.1594 23.3332 20.0003 23.3332Z\" stroke=\"#0273E8\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M27.0667 12.9335C27.9965 13.8622 28.734 14.9651 29.2373 16.1791C29.7405 17.393 29.9996 18.6943 29.9996 20.0085C29.9996 21.3226 29.7405 22.6239 29.2373 23.8379C28.734 25.0518 27.9965 26.1547 27.0667 27.0835M12.9334 27.0668C12.0036 26.1381 11.266 25.0352 10.7628 23.8212C10.2595 22.6072 10.0005 21.306 10.0005 19.9918C10.0005 18.6776 10.2595 17.3764 10.7628 16.1624C11.266 14.9484 12.0036 13.8455 12.9334 12.9168M31.7834 8.2168C34.9079 11.3423 36.6631 15.5807 36.6631 20.0001C36.6631 24.4195 34.9079 28.658 31.7834 31.7835M8.21669 31.7835C5.09217 28.658 3.33691 24.4195 3.33691 20.0001C3.33691 15.5807 5.09217 11.3423 8.21669 8.2168\" stroke=\"#0273E8\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" [attr.stroke]=\"fillColor\"/>\r\n</svg>\r\n", styles: [":host{display:flex}\n"] });
|
|
1477
1477
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconRadioComponent, decorators: [{
|
|
1478
1478
|
type: Component,
|
|
1479
|
-
args: [{ selector: 'monkey-icon-radio', template: "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" [attr.height]=\"size\" [attr.width]=\"size\">\n<path d=\"M20.0003 23.3332C21.8413 23.3332 23.3337 21.8408 23.3337 19.9998C23.3337 18.1589 21.8413 16.6665 20.0003 16.6665C18.1594 16.6665 16.667 18.1589 16.667 19.9998C16.667 21.8408 18.1594 23.3332 20.0003 23.3332Z\" stroke=\"#0273E8\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M27.0667 12.9335C27.9965 13.8622 28.734 14.9651 29.2373 16.1791C29.7405 17.393 29.9996 18.6943 29.9996 20.0085C29.9996 21.3226 29.7405 22.6239 29.2373 23.8379C28.734 25.0518 27.9965 26.1547 27.0667 27.0835M12.9334 27.0668C12.0036 26.1381 11.266 25.0352 10.7628 23.8212C10.2595 22.6072 10.0005 21.306 10.0005 19.9918C10.0005 18.6776 10.2595 17.3764 10.7628 16.1624C11.266 14.9484 12.0036 13.8455 12.9334 12.9168M31.7834 8.2168C34.9079 11.3423 36.6631 15.5807 36.6631 20.0001C36.6631 24.4195 34.9079 28.658 31.7834 31.7835M8.21669 31.7835C5.09217 28.658 3.33691 24.4195 3.33691 20.0001C3.33691 15.5807 5.09217 11.3423 8.21669 8.2168\" stroke=\"#0273E8\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" [attr.stroke]=\"fillColor\"/>\n</svg>\n", styles: [":host{display:flex}\n"] }]
|
|
1479
|
+
args: [{ selector: 'monkey-icon-radio', template: "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" [attr.height]=\"size\" [attr.width]=\"size\">\r\n<path d=\"M20.0003 23.3332C21.8413 23.3332 23.3337 21.8408 23.3337 19.9998C23.3337 18.1589 21.8413 16.6665 20.0003 16.6665C18.1594 16.6665 16.667 18.1589 16.667 19.9998C16.667 21.8408 18.1594 23.3332 20.0003 23.3332Z\" stroke=\"#0273E8\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M27.0667 12.9335C27.9965 13.8622 28.734 14.9651 29.2373 16.1791C29.7405 17.393 29.9996 18.6943 29.9996 20.0085C29.9996 21.3226 29.7405 22.6239 29.2373 23.8379C28.734 25.0518 27.9965 26.1547 27.0667 27.0835M12.9334 27.0668C12.0036 26.1381 11.266 25.0352 10.7628 23.8212C10.2595 22.6072 10.0005 21.306 10.0005 19.9918C10.0005 18.6776 10.2595 17.3764 10.7628 16.1624C11.266 14.9484 12.0036 13.8455 12.9334 12.9168M31.7834 8.2168C34.9079 11.3423 36.6631 15.5807 36.6631 20.0001C36.6631 24.4195 34.9079 28.658 31.7834 31.7835M8.21669 31.7835C5.09217 28.658 3.33691 24.4195 3.33691 20.0001C3.33691 15.5807 5.09217 11.3423 8.21669 8.2168\" stroke=\"#0273E8\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" [attr.stroke]=\"fillColor\"/>\r\n</svg>\r\n", styles: [":host{display:flex}\n"] }]
|
|
1480
1480
|
}], propDecorators: { fillColor: [{
|
|
1481
1481
|
type: Input
|
|
1482
1482
|
}], size: [{
|
|
@@ -1564,10 +1564,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1564
1564
|
class MonkeyIconTrophyComponent {
|
|
1565
1565
|
}
|
|
1566
1566
|
MonkeyIconTrophyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconTrophyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1567
|
-
MonkeyIconTrophyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: MonkeyIconTrophyComponent, selector: "monkey-icon-trophy", inputs: { fillColor: "fillColor", size: "size" }, ngImport: i0, template: "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" [attr.height]=\"size\" [attr.width]=\"size\">\n<path d=\"M10.5 3.72C10.5 3.5985 10.5985 3.5 10.72 3.5H29.28C29.4015 3.5 29.5 3.5985 29.5 3.72V11C29.5 16.2467 25.2467 20.5 20 20.5C14.7533 20.5 10.5 16.2467 10.5 11V3.72Z\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\n<rect x=\"18.5\" y=\"20.5\" width=\"3\" height=\"5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\n<rect x=\"15.5\" y=\"25.5\" width=\"9\" height=\"3\" rx=\"0.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M11 5H9.54138C7.68756 5 6.27743 6.6646 6.5822 8.4932L7.44293 13.6576C7.76439 15.5863 9.43315 17 11.3885 17H12.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M29 5H30.4586C32.3124 5 33.7226 6.6646 33.4178 8.4932L32.5571 13.6576C32.2356 15.5863 30.5668 17 28.6115 17H27.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\n<rect x=\"12.5\" y=\"28.5\" width=\"15\" height=\"8\" rx=\"0.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\n</svg>\n", styles: [":host{display:flex}\n"] });
|
|
1567
|
+
MonkeyIconTrophyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: MonkeyIconTrophyComponent, selector: "monkey-icon-trophy", inputs: { fillColor: "fillColor", size: "size" }, ngImport: i0, template: "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" [attr.height]=\"size\" [attr.width]=\"size\">\r\n<path d=\"M10.5 3.72C10.5 3.5985 10.5985 3.5 10.72 3.5H29.28C29.4015 3.5 29.5 3.5985 29.5 3.72V11C29.5 16.2467 25.2467 20.5 20 20.5C14.7533 20.5 10.5 16.2467 10.5 11V3.72Z\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\r\n<rect x=\"18.5\" y=\"20.5\" width=\"3\" height=\"5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\r\n<rect x=\"15.5\" y=\"25.5\" width=\"9\" height=\"3\" rx=\"0.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M11 5H9.54138C7.68756 5 6.27743 6.6646 6.5822 8.4932L7.44293 13.6576C7.76439 15.5863 9.43315 17 11.3885 17H12.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M29 5H30.4586C32.3124 5 33.7226 6.6646 33.4178 8.4932L32.5571 13.6576C32.2356 15.5863 30.5668 17 28.6115 17H27.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\r\n<rect x=\"12.5\" y=\"28.5\" width=\"15\" height=\"8\" rx=\"0.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\r\n</svg>\r\n", styles: [":host{display:flex}\n"] });
|
|
1568
1568
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconTrophyComponent, decorators: [{
|
|
1569
1569
|
type: Component,
|
|
1570
|
-
args: [{ selector: 'monkey-icon-trophy', template: "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" [attr.height]=\"size\" [attr.width]=\"size\">\n<path d=\"M10.5 3.72C10.5 3.5985 10.5985 3.5 10.72 3.5H29.28C29.4015 3.5 29.5 3.5985 29.5 3.72V11C29.5 16.2467 25.2467 20.5 20 20.5C14.7533 20.5 10.5 16.2467 10.5 11V3.72Z\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\n<rect x=\"18.5\" y=\"20.5\" width=\"3\" height=\"5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\n<rect x=\"15.5\" y=\"25.5\" width=\"9\" height=\"3\" rx=\"0.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M11 5H9.54138C7.68756 5 6.27743 6.6646 6.5822 8.4932L7.44293 13.6576C7.76439 15.5863 9.43315 17 11.3885 17H12.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M29 5H30.4586C32.3124 5 33.7226 6.6646 33.4178 8.4932L32.5571 13.6576C32.2356 15.5863 30.5668 17 28.6115 17H27.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\n<rect x=\"12.5\" y=\"28.5\" width=\"15\" height=\"8\" rx=\"0.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\n</svg>\n", styles: [":host{display:flex}\n"] }]
|
|
1570
|
+
args: [{ selector: 'monkey-icon-trophy', template: "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" [attr.height]=\"size\" [attr.width]=\"size\">\r\n<path d=\"M10.5 3.72C10.5 3.5985 10.5985 3.5 10.72 3.5H29.28C29.4015 3.5 29.5 3.5985 29.5 3.72V11C29.5 16.2467 25.2467 20.5 20 20.5C14.7533 20.5 10.5 16.2467 10.5 11V3.72Z\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\r\n<rect x=\"18.5\" y=\"20.5\" width=\"3\" height=\"5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\r\n<rect x=\"15.5\" y=\"25.5\" width=\"9\" height=\"3\" rx=\"0.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M11 5H9.54138C7.68756 5 6.27743 6.6646 6.5822 8.4932L7.44293 13.6576C7.76439 15.5863 9.43315 17 11.3885 17H12.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M29 5H30.4586C32.3124 5 33.7226 6.6646 33.4178 8.4932L32.5571 13.6576C32.2356 15.5863 30.5668 17 28.6115 17H27.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\r\n<rect x=\"12.5\" y=\"28.5\" width=\"15\" height=\"8\" rx=\"0.5\" stroke=\"black\" [attr.stroke]=\"fillColor\"/>\r\n</svg>\r\n", styles: [":host{display:flex}\n"] }]
|
|
1571
1571
|
}], propDecorators: { fillColor: [{
|
|
1572
1572
|
type: Input
|
|
1573
1573
|
}], size: [{
|
|
@@ -1603,10 +1603,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1603
1603
|
class MonkeyIconWaitingComponent {
|
|
1604
1604
|
}
|
|
1605
1605
|
MonkeyIconWaitingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconWaitingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1606
|
-
MonkeyIconWaitingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: MonkeyIconWaitingComponent, selector: "monkey-icon-waiting", inputs: { fillColor: "fillColor", size: "size" }, ngImport: i0, template: "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" [attr.height]=\"size\" [attr.width]=\"size\">\n<g clip-path=\"url(#clip0_638_12213)\">\n<path d=\"M20 5V13\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M30.6055 9.39355L24.9486 15.0504\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M13 20L6 20\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M15.0508 15.0503L11.5152 11.5148\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M20 35L20 27\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M9.39453 30.6064L15.0514 24.9496\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M35 20L27 20\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M30.6055 30.6064L24.9486 24.9496\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_638_12213\">\n<rect width=\"40\" height=\"40\" fill=\"white\"/>\n</clipPath>\n</defs>\n</svg>\n", styles: [":host{display:flex}\n"] });
|
|
1606
|
+
MonkeyIconWaitingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: MonkeyIconWaitingComponent, selector: "monkey-icon-waiting", inputs: { fillColor: "fillColor", size: "size" }, ngImport: i0, template: "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" [attr.height]=\"size\" [attr.width]=\"size\">\r\n<g clip-path=\"url(#clip0_638_12213)\">\r\n<path d=\"M20 5V13\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M30.6055 9.39355L24.9486 15.0504\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M13 20L6 20\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M15.0508 15.0503L11.5152 11.5148\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M20 35L20 27\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M9.39453 30.6064L15.0514 24.9496\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M35 20L27 20\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M30.6055 30.6064L24.9486 24.9496\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n</g>\r\n<defs>\r\n<clipPath id=\"clip0_638_12213\">\r\n<rect width=\"40\" height=\"40\" fill=\"white\"/>\r\n</clipPath>\r\n</defs>\r\n</svg>\r\n", styles: [":host{display:flex}\n"] });
|
|
1607
1607
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconWaitingComponent, decorators: [{
|
|
1608
1608
|
type: Component,
|
|
1609
|
-
args: [{ selector: 'monkey-icon-waiting', template: "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" [attr.height]=\"size\" [attr.width]=\"size\">\n<g clip-path=\"url(#clip0_638_12213)\">\n<path d=\"M20 5V13\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M30.6055 9.39355L24.9486 15.0504\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M13 20L6 20\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M15.0508 15.0503L11.5152 11.5148\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M20 35L20 27\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M9.39453 30.6064L15.0514 24.9496\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M35 20L27 20\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n<path d=\"M30.6055 30.6064L24.9486 24.9496\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_638_12213\">\n<rect width=\"40\" height=\"40\" fill=\"white\"/>\n</clipPath>\n</defs>\n</svg>\n", styles: [":host{display:flex}\n"] }]
|
|
1609
|
+
args: [{ selector: 'monkey-icon-waiting', template: "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" [attr.height]=\"size\" [attr.width]=\"size\">\r\n<g clip-path=\"url(#clip0_638_12213)\">\r\n<path d=\"M20 5V13\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M30.6055 9.39355L24.9486 15.0504\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M13 20L6 20\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M15.0508 15.0503L11.5152 11.5148\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M20 35L20 27\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M9.39453 30.6064L15.0514 24.9496\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M35 20L27 20\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n<path d=\"M30.6055 30.6064L24.9486 24.9496\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" [attr.stroke]=\"fillColor\"/>\r\n</g>\r\n<defs>\r\n<clipPath id=\"clip0_638_12213\">\r\n<rect width=\"40\" height=\"40\" fill=\"white\"/>\r\n</clipPath>\r\n</defs>\r\n</svg>\r\n", styles: [":host{display:flex}\n"] }]
|
|
1610
1610
|
}], propDecorators: { fillColor: [{
|
|
1611
1611
|
type: Input
|
|
1612
1612
|
}], size: [{
|
|
@@ -3049,7 +3049,7 @@ class MonkeyDateRangePickerComponent {
|
|
|
3049
3049
|
this.fb = fb;
|
|
3050
3050
|
this.cdr = cdr;
|
|
3051
3051
|
this.helperMessage = '';
|
|
3052
|
-
this.
|
|
3052
|
+
this.moveDaysForward = true;
|
|
3053
3053
|
this.onChange = new EventEmitter();
|
|
3054
3054
|
this.today = moment.default().format('YYYY-MM-DD');
|
|
3055
3055
|
this.onModelChange = (value) => { };
|
|
@@ -3060,8 +3060,12 @@ class MonkeyDateRangePickerComponent {
|
|
|
3060
3060
|
this._daysArrFirst = [];
|
|
3061
3061
|
this._daysArrSecond = [];
|
|
3062
3062
|
this._disabled = false;
|
|
3063
|
+
this._minDate = null;
|
|
3063
3064
|
this.initDateRange();
|
|
3064
3065
|
}
|
|
3066
|
+
set minDate(value) {
|
|
3067
|
+
this._minDate = !this.moveDaysForward ? null : value;
|
|
3068
|
+
}
|
|
3065
3069
|
initDateRange() {
|
|
3066
3070
|
return (this._dateForm = this.fb.group({
|
|
3067
3071
|
startDate: [null, Validators.required],
|
|
@@ -3184,9 +3188,9 @@ class MonkeyDateRangePickerComponent {
|
|
|
3184
3188
|
}
|
|
3185
3189
|
}
|
|
3186
3190
|
isDisabled(day) {
|
|
3187
|
-
const {
|
|
3188
|
-
if (
|
|
3189
|
-
const firstDay = moment.default(
|
|
3191
|
+
const { _minDate } = this;
|
|
3192
|
+
if (_minDate) {
|
|
3193
|
+
const firstDay = moment.default(_minDate);
|
|
3190
3194
|
return day.isBefore(firstDay.subtract(1, 'day'));
|
|
3191
3195
|
}
|
|
3192
3196
|
return false;
|
|
@@ -3204,10 +3208,10 @@ class MonkeyDateRangePickerComponent {
|
|
|
3204
3208
|
selectedDate(day) {
|
|
3205
3209
|
if (this._disabled)
|
|
3206
3210
|
return;
|
|
3207
|
-
const { _dateForm,
|
|
3211
|
+
const { _dateForm, _minDate } = this;
|
|
3208
3212
|
let dayFormatted = day.format('YYYY-MM-DD');
|
|
3209
|
-
if (
|
|
3210
|
-
const firstDay = moment.default(
|
|
3213
|
+
if (_minDate) {
|
|
3214
|
+
const firstDay = moment.default(_minDate);
|
|
3211
3215
|
if (day.isBefore(firstDay.subtract(1, 'day')))
|
|
3212
3216
|
return;
|
|
3213
3217
|
}
|
|
@@ -3237,17 +3241,24 @@ class MonkeyDateRangePickerComponent {
|
|
|
3237
3241
|
selectRangeOfDays(days) {
|
|
3238
3242
|
if (this._disabled)
|
|
3239
3243
|
return;
|
|
3240
|
-
const { _dateForm,
|
|
3244
|
+
const { _dateForm, _minDate, today, moveDaysForward } = this;
|
|
3241
3245
|
const { startDate } = _dateForm.value;
|
|
3242
|
-
const firstDay = moment.default(startDate ||
|
|
3243
|
-
const
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
+
const firstDay = moment.default(startDate || _minDate || today).format('YYYY-MM-DD');
|
|
3247
|
+
const method = moveDaysForward ? 'add' : 'subtract';
|
|
3248
|
+
const lastDay = moment.default(firstDay)[method](days, 'day').format('YYYY-MM-DD');
|
|
3249
|
+
if (moveDaysForward) {
|
|
3250
|
+
_dateForm.get('startDate').patchValue(firstDay);
|
|
3251
|
+
_dateForm.get('endDate').patchValue(lastDay);
|
|
3252
|
+
}
|
|
3253
|
+
else {
|
|
3254
|
+
_dateForm.get('startDate').patchValue(lastDay);
|
|
3255
|
+
_dateForm.get('endDate').patchValue(firstDay);
|
|
3256
|
+
}
|
|
3246
3257
|
this.writeValue(_dateForm.value);
|
|
3247
3258
|
}
|
|
3248
3259
|
}
|
|
3249
3260
|
MonkeyDateRangePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyDateRangePickerComponent, deps: [{ token: i1$2.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3250
|
-
MonkeyDateRangePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: MonkeyDateRangePickerComponent, selector: "monkey-date-range-picker", inputs: { label: "label", helperMessage: "helperMessage", i18n: "i18n", infoMessage: "infoMessage", errorMessage: "errorMessage", minDate: "minDate", value: "value" }, outputs: { onChange: "onChange" }, providers: [
|
|
3261
|
+
MonkeyDateRangePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: MonkeyDateRangePickerComponent, selector: "monkey-date-range-picker", inputs: { label: "label", helperMessage: "helperMessage", i18n: "i18n", infoMessage: "infoMessage", errorMessage: "errorMessage", moveDaysForward: "moveDaysForward", minDate: "minDate", value: "value" }, outputs: { onChange: "onChange" }, providers: [
|
|
3251
3262
|
{
|
|
3252
3263
|
provide: NG_VALUE_ACCESSOR,
|
|
3253
3264
|
useExisting: forwardRef(() => MonkeyDateRangePickerComponent),
|
|
@@ -3590,6 +3601,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3590
3601
|
type: Input
|
|
3591
3602
|
}], errorMessage: [{
|
|
3592
3603
|
type: Input
|
|
3604
|
+
}], moveDaysForward: [{
|
|
3605
|
+
type: Input
|
|
3593
3606
|
}], minDate: [{
|
|
3594
3607
|
type: Input
|
|
3595
3608
|
}], onChange: [{
|
|
@@ -7422,7 +7435,7 @@ MonkeyExpansionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
7422
7435
|
</helper>
|
|
7423
7436
|
<monkey-icon icon="arrow-up-16" [color]="'#4B4A53'"></monkey-icon>
|
|
7424
7437
|
</mecx-monkey-expansion-header>
|
|
7425
|
-
<mecx-monkey-expansion-body
|
|
7438
|
+
<mecx-monkey-expansion-body [class.open]="open">
|
|
7426
7439
|
<ng-content></ng-content>
|
|
7427
7440
|
</mecx-monkey-expansion-body>
|
|
7428
7441
|
</mecx-monkey-expansion>
|
|
@@ -7461,12 +7474,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
7461
7474
|
</helper>
|
|
7462
7475
|
<monkey-icon icon="arrow-up-16" [color]="'#4B4A53'"></monkey-icon>
|
|
7463
7476
|
</mecx-monkey-expansion-header>
|
|
7464
|
-
<mecx-monkey-expansion-body
|
|
7477
|
+
<mecx-monkey-expansion-body [class.open]="open">
|
|
7465
7478
|
<ng-content></ng-content>
|
|
7466
7479
|
</mecx-monkey-expansion-body>
|
|
7467
7480
|
</mecx-monkey-expansion>
|
|
7468
7481
|
`,
|
|
7469
|
-
encapsulation: ViewEncapsulation.None
|
|
7482
|
+
encapsulation: ViewEncapsulation.None
|
|
7470
7483
|
}]
|
|
7471
7484
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
7472
7485
|
type: Input
|
|
@@ -7874,19 +7887,19 @@ MonkeyTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
7874
7887
|
useExisting: forwardRef(() => MonkeyTabComponent),
|
|
7875
7888
|
multi: true,
|
|
7876
7889
|
},
|
|
7877
|
-
], queries: [{ propertyName: "options", predicate: MonkeyOptionComponent, descendants: true }], ngImport: i0, template: `
|
|
7878
|
-
<mecx-tab-body [ngClass]="position">
|
|
7879
|
-
<ng-content></ng-content>
|
|
7880
|
-
</mecx-tab-body>
|
|
7890
|
+
], queries: [{ propertyName: "options", predicate: MonkeyOptionComponent, descendants: true }], ngImport: i0, template: `
|
|
7891
|
+
<mecx-tab-body [ngClass]="position">
|
|
7892
|
+
<ng-content></ng-content>
|
|
7893
|
+
</mecx-tab-body>
|
|
7881
7894
|
`, isInline: true, directives: [{ type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
7882
7895
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyTabComponent, decorators: [{
|
|
7883
7896
|
type: Component,
|
|
7884
7897
|
args: [{
|
|
7885
7898
|
selector: 'monkey-tab',
|
|
7886
|
-
template: `
|
|
7887
|
-
<mecx-tab-body [ngClass]="position">
|
|
7888
|
-
<ng-content></ng-content>
|
|
7889
|
-
</mecx-tab-body>
|
|
7899
|
+
template: `
|
|
7900
|
+
<mecx-tab-body [ngClass]="position">
|
|
7901
|
+
<ng-content></ng-content>
|
|
7902
|
+
</mecx-tab-body>
|
|
7890
7903
|
`,
|
|
7891
7904
|
encapsulation: ViewEncapsulation.None,
|
|
7892
7905
|
providers: [
|