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
|
@@ -791,10 +791,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
791
791
|
class MonkeyIconAuctionComponent {
|
|
792
792
|
}
|
|
793
793
|
MonkeyIconAuctionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconAuctionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
794
|
-
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=\"
|
|
794
|
+
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"] });
|
|
795
795
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconAuctionComponent, decorators: [{
|
|
796
796
|
type: Component,
|
|
797
|
-
args: [{ selector: 'monkey-icon-auction', template: "<svg width=\"
|
|
797
|
+
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"] }]
|
|
798
798
|
}], propDecorators: { fillColor: [{
|
|
799
799
|
type: Input
|
|
800
800
|
}], size: [{
|
|
@@ -1467,10 +1467,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1467
1467
|
class MonkeyIconRadioComponent {
|
|
1468
1468
|
}
|
|
1469
1469
|
MonkeyIconRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1470
|
-
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"] });
|
|
1470
|
+
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"] });
|
|
1471
1471
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconRadioComponent, decorators: [{
|
|
1472
1472
|
type: Component,
|
|
1473
|
-
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"] }]
|
|
1473
|
+
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"] }]
|
|
1474
1474
|
}], propDecorators: { fillColor: [{
|
|
1475
1475
|
type: Input
|
|
1476
1476
|
}], size: [{
|
|
@@ -1558,10 +1558,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1558
1558
|
class MonkeyIconTrophyComponent {
|
|
1559
1559
|
}
|
|
1560
1560
|
MonkeyIconTrophyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconTrophyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1561
|
-
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"] });
|
|
1561
|
+
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"] });
|
|
1562
1562
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconTrophyComponent, decorators: [{
|
|
1563
1563
|
type: Component,
|
|
1564
|
-
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"] }]
|
|
1564
|
+
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"] }]
|
|
1565
1565
|
}], propDecorators: { fillColor: [{
|
|
1566
1566
|
type: Input
|
|
1567
1567
|
}], size: [{
|
|
@@ -1597,10 +1597,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1597
1597
|
class MonkeyIconWaitingComponent {
|
|
1598
1598
|
}
|
|
1599
1599
|
MonkeyIconWaitingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconWaitingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1600
|
-
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"] });
|
|
1600
|
+
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"] });
|
|
1601
1601
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyIconWaitingComponent, decorators: [{
|
|
1602
1602
|
type: Component,
|
|
1603
|
-
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"] }]
|
|
1603
|
+
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"] }]
|
|
1604
1604
|
}], propDecorators: { fillColor: [{
|
|
1605
1605
|
type: Input
|
|
1606
1606
|
}], size: [{
|
|
@@ -3043,7 +3043,7 @@ class MonkeyDateRangePickerComponent {
|
|
|
3043
3043
|
this.fb = fb;
|
|
3044
3044
|
this.cdr = cdr;
|
|
3045
3045
|
this.helperMessage = '';
|
|
3046
|
-
this.
|
|
3046
|
+
this.moveDaysForward = true;
|
|
3047
3047
|
this.onChange = new EventEmitter();
|
|
3048
3048
|
this.today = moment.default().format('YYYY-MM-DD');
|
|
3049
3049
|
this.onModelChange = (value) => { };
|
|
@@ -3054,8 +3054,12 @@ class MonkeyDateRangePickerComponent {
|
|
|
3054
3054
|
this._daysArrFirst = [];
|
|
3055
3055
|
this._daysArrSecond = [];
|
|
3056
3056
|
this._disabled = false;
|
|
3057
|
+
this._minDate = null;
|
|
3057
3058
|
this.initDateRange();
|
|
3058
3059
|
}
|
|
3060
|
+
set minDate(value) {
|
|
3061
|
+
this._minDate = !this.moveDaysForward ? null : value;
|
|
3062
|
+
}
|
|
3059
3063
|
initDateRange() {
|
|
3060
3064
|
return (this._dateForm = this.fb.group({
|
|
3061
3065
|
startDate: [null, Validators.required],
|
|
@@ -3178,9 +3182,9 @@ class MonkeyDateRangePickerComponent {
|
|
|
3178
3182
|
}
|
|
3179
3183
|
}
|
|
3180
3184
|
isDisabled(day) {
|
|
3181
|
-
const {
|
|
3182
|
-
if (
|
|
3183
|
-
const firstDay = moment.default(
|
|
3185
|
+
const { _minDate } = this;
|
|
3186
|
+
if (_minDate) {
|
|
3187
|
+
const firstDay = moment.default(_minDate);
|
|
3184
3188
|
return day.isBefore(firstDay.subtract(1, 'day'));
|
|
3185
3189
|
}
|
|
3186
3190
|
return false;
|
|
@@ -3198,10 +3202,10 @@ class MonkeyDateRangePickerComponent {
|
|
|
3198
3202
|
selectedDate(day) {
|
|
3199
3203
|
if (this._disabled)
|
|
3200
3204
|
return;
|
|
3201
|
-
const { _dateForm,
|
|
3205
|
+
const { _dateForm, _minDate } = this;
|
|
3202
3206
|
let dayFormatted = day.format('YYYY-MM-DD');
|
|
3203
|
-
if (
|
|
3204
|
-
const firstDay = moment.default(
|
|
3207
|
+
if (_minDate) {
|
|
3208
|
+
const firstDay = moment.default(_minDate);
|
|
3205
3209
|
if (day.isBefore(firstDay.subtract(1, 'day')))
|
|
3206
3210
|
return;
|
|
3207
3211
|
}
|
|
@@ -3231,17 +3235,24 @@ class MonkeyDateRangePickerComponent {
|
|
|
3231
3235
|
selectRangeOfDays(days) {
|
|
3232
3236
|
if (this._disabled)
|
|
3233
3237
|
return;
|
|
3234
|
-
const { _dateForm,
|
|
3238
|
+
const { _dateForm, _minDate, today, moveDaysForward } = this;
|
|
3235
3239
|
const { startDate } = _dateForm.value;
|
|
3236
|
-
const firstDay = moment.default(startDate ||
|
|
3237
|
-
const
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
+
const firstDay = moment.default(startDate || _minDate || today).format('YYYY-MM-DD');
|
|
3241
|
+
const method = moveDaysForward ? 'add' : 'subtract';
|
|
3242
|
+
const lastDay = moment.default(firstDay)[method](days, 'day').format('YYYY-MM-DD');
|
|
3243
|
+
if (moveDaysForward) {
|
|
3244
|
+
_dateForm.get('startDate').patchValue(firstDay);
|
|
3245
|
+
_dateForm.get('endDate').patchValue(lastDay);
|
|
3246
|
+
}
|
|
3247
|
+
else {
|
|
3248
|
+
_dateForm.get('startDate').patchValue(lastDay);
|
|
3249
|
+
_dateForm.get('endDate').patchValue(firstDay);
|
|
3250
|
+
}
|
|
3240
3251
|
this.writeValue(_dateForm.value);
|
|
3241
3252
|
}
|
|
3242
3253
|
}
|
|
3243
3254
|
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 });
|
|
3244
|
-
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: [
|
|
3255
|
+
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: [
|
|
3245
3256
|
{
|
|
3246
3257
|
provide: NG_VALUE_ACCESSOR,
|
|
3247
3258
|
useExisting: forwardRef(() => MonkeyDateRangePickerComponent),
|
|
@@ -3584,6 +3595,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
3584
3595
|
type: Input
|
|
3585
3596
|
}], errorMessage: [{
|
|
3586
3597
|
type: Input
|
|
3598
|
+
}], moveDaysForward: [{
|
|
3599
|
+
type: Input
|
|
3587
3600
|
}], minDate: [{
|
|
3588
3601
|
type: Input
|
|
3589
3602
|
}], onChange: [{
|
|
@@ -7430,7 +7443,7 @@ MonkeyExpansionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
7430
7443
|
</helper>
|
|
7431
7444
|
<monkey-icon icon="arrow-up-16" [color]="'#4B4A53'"></monkey-icon>
|
|
7432
7445
|
</mecx-monkey-expansion-header>
|
|
7433
|
-
<mecx-monkey-expansion-body
|
|
7446
|
+
<mecx-monkey-expansion-body [class.open]="open">
|
|
7434
7447
|
<ng-content></ng-content>
|
|
7435
7448
|
</mecx-monkey-expansion-body>
|
|
7436
7449
|
</mecx-monkey-expansion>
|
|
@@ -7469,12 +7482,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
7469
7482
|
</helper>
|
|
7470
7483
|
<monkey-icon icon="arrow-up-16" [color]="'#4B4A53'"></monkey-icon>
|
|
7471
7484
|
</mecx-monkey-expansion-header>
|
|
7472
|
-
<mecx-monkey-expansion-body
|
|
7485
|
+
<mecx-monkey-expansion-body [class.open]="open">
|
|
7473
7486
|
<ng-content></ng-content>
|
|
7474
7487
|
</mecx-monkey-expansion-body>
|
|
7475
7488
|
</mecx-monkey-expansion>
|
|
7476
7489
|
`,
|
|
7477
|
-
encapsulation: ViewEncapsulation.None
|
|
7490
|
+
encapsulation: ViewEncapsulation.None
|
|
7478
7491
|
}]
|
|
7479
7492
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
7480
7493
|
type: Input
|
|
@@ -7883,19 +7896,19 @@ MonkeyTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
7883
7896
|
useExisting: forwardRef(() => MonkeyTabComponent),
|
|
7884
7897
|
multi: true,
|
|
7885
7898
|
},
|
|
7886
|
-
], queries: [{ propertyName: "options", predicate: MonkeyOptionComponent, descendants: true }], ngImport: i0, template: `
|
|
7887
|
-
<mecx-tab-body [ngClass]="position">
|
|
7888
|
-
<ng-content></ng-content>
|
|
7889
|
-
</mecx-tab-body>
|
|
7899
|
+
], queries: [{ propertyName: "options", predicate: MonkeyOptionComponent, descendants: true }], ngImport: i0, template: `
|
|
7900
|
+
<mecx-tab-body [ngClass]="position">
|
|
7901
|
+
<ng-content></ng-content>
|
|
7902
|
+
</mecx-tab-body>
|
|
7890
7903
|
`, isInline: true, directives: [{ type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
7891
7904
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: MonkeyTabComponent, decorators: [{
|
|
7892
7905
|
type: Component,
|
|
7893
7906
|
args: [{
|
|
7894
7907
|
selector: 'monkey-tab',
|
|
7895
|
-
template: `
|
|
7896
|
-
<mecx-tab-body [ngClass]="position">
|
|
7897
|
-
<ng-content></ng-content>
|
|
7898
|
-
</mecx-tab-body>
|
|
7908
|
+
template: `
|
|
7909
|
+
<mecx-tab-body [ngClass]="position">
|
|
7910
|
+
<ng-content></ng-content>
|
|
7911
|
+
</mecx-tab-body>
|
|
7899
7912
|
`,
|
|
7900
7913
|
encapsulation: ViewEncapsulation.None,
|
|
7901
7914
|
providers: [
|