inviton-powerduck 0.0.180 → 0.0.182
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.
|
@@ -187,13 +187,13 @@ class DaterangePickerComponent extends TsxComponent<DaterangePickerArgs> impleme
|
|
|
187
187
|
this.getInputElement().parent().on('click', async () => {
|
|
188
188
|
const uuid = `drp-modal-${PortalUtils.randomString(6)}`;
|
|
189
189
|
const handle = await DialogUtils.showDialogEx({
|
|
190
|
-
title: this.label,
|
|
190
|
+
title: this.label || '',
|
|
191
191
|
cssClass: 'daterangepicker-modal pd-modal-mobile-input',
|
|
192
192
|
message: `<div><div id="${uuid}"></div></div>`,
|
|
193
193
|
buttons: [],
|
|
194
194
|
onHidden: () => {
|
|
195
195
|
this.tryDestroyPickerInstance();
|
|
196
|
-
}
|
|
196
|
+
},
|
|
197
197
|
});
|
|
198
198
|
|
|
199
199
|
const $modalRoot = $(document.getElementById(uuid));
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
height: 20px;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
.date-range-picker-wrapper .month-wrapper>table {
|
|
172
|
+
.date-range-picker-wrapper .month-wrapper > table {
|
|
173
173
|
padding-top: 15px;
|
|
174
174
|
}
|
|
175
175
|
|
|
@@ -557,7 +557,7 @@
|
|
|
557
557
|
border-right: 0.667px solid #dfe3f1;
|
|
558
558
|
}
|
|
559
559
|
|
|
560
|
-
.date-range-picker-wrapper .month-wrapper table td>div {
|
|
560
|
+
.date-range-picker-wrapper .month-wrapper table td > div {
|
|
561
561
|
background-color: inherit !important;
|
|
562
562
|
line-height: 1.9;
|
|
563
563
|
margin-left: 5px;
|
|
@@ -625,10 +625,22 @@
|
|
|
625
625
|
-moz-appearance: none;
|
|
626
626
|
}
|
|
627
627
|
|
|
628
|
-
|
|
629
628
|
.date-range-picker-wrapper table .caption,
|
|
630
|
-
.daterangepicker-modal
|
|
631
|
-
.
|
|
629
|
+
.daterangepicker-modal
|
|
630
|
+
.date-range-picker-root.inline-wrapper.drpc-inline
|
|
631
|
+
.month-wrapper
|
|
632
|
+
.month-wrapper-inner-common
|
|
633
|
+
table
|
|
634
|
+
th
|
|
635
|
+
> span.select-wrapper,
|
|
636
|
+
.daterangepicker-modal
|
|
637
|
+
.date-range-picker-root.inline-wrapper.drpc-inline
|
|
638
|
+
.month-wrapper
|
|
639
|
+
.month-wrapper-inner-common
|
|
640
|
+
table
|
|
641
|
+
th
|
|
642
|
+
> span.select-wrapper
|
|
643
|
+
select {
|
|
632
644
|
height: 40px;
|
|
633
645
|
color: #393562;
|
|
634
646
|
height: 36px;
|
|
@@ -653,23 +665,67 @@
|
|
|
653
665
|
vertical-align: top;
|
|
654
666
|
}
|
|
655
667
|
|
|
656
|
-
.daterangepicker-
|
|
668
|
+
.daterangepicker-dummy-row-item {
|
|
669
|
+
visibility: hidden;
|
|
670
|
+
pointer-events: none;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.daterangepicker-modal .date-range-picker-root.inline-wrapper.drpc-inline .month-wrapper .month-wrapper-inner-common {
|
|
674
|
+
}
|
|
657
675
|
|
|
658
|
-
.daterangepicker-modal
|
|
676
|
+
.daterangepicker-modal
|
|
677
|
+
.date-range-picker-root.inline-wrapper.drpc-inline
|
|
678
|
+
.month-wrapper
|
|
679
|
+
.month-wrapper-inner-common
|
|
680
|
+
table {
|
|
659
681
|
width: 100%;
|
|
660
682
|
}
|
|
661
683
|
|
|
662
|
-
.daterangepicker-modal
|
|
663
|
-
.
|
|
684
|
+
.daterangepicker-modal
|
|
685
|
+
.date-range-picker-root.inline-wrapper.drpc-inline
|
|
686
|
+
.month-wrapper
|
|
687
|
+
.month-wrapper-inner-common
|
|
688
|
+
table
|
|
689
|
+
td,
|
|
690
|
+
.daterangepicker-modal
|
|
691
|
+
.date-range-picker-root.inline-wrapper.drpc-inline
|
|
692
|
+
.month-wrapper
|
|
693
|
+
.month-wrapper-inner-common
|
|
694
|
+
table
|
|
695
|
+
th {
|
|
664
696
|
width: 99999px;
|
|
665
697
|
text-align: center;
|
|
666
698
|
font-weight: 400;
|
|
667
699
|
}
|
|
668
700
|
|
|
669
|
-
.daterangepicker-modal
|
|
670
|
-
.
|
|
671
|
-
.
|
|
672
|
-
.
|
|
701
|
+
.daterangepicker-modal
|
|
702
|
+
.date-range-picker-root.inline-wrapper.drpc-inline
|
|
703
|
+
.month-wrapper
|
|
704
|
+
.month-wrapper-inner-common
|
|
705
|
+
table
|
|
706
|
+
td
|
|
707
|
+
> div,
|
|
708
|
+
.daterangepicker-modal
|
|
709
|
+
.date-range-picker-root.inline-wrapper.drpc-inline
|
|
710
|
+
.month-wrapper
|
|
711
|
+
.month-wrapper-inner-common
|
|
712
|
+
table
|
|
713
|
+
th
|
|
714
|
+
> div,
|
|
715
|
+
.daterangepicker-modal
|
|
716
|
+
.date-range-picker-root.inline-wrapper.drpc-inline
|
|
717
|
+
.month-wrapper
|
|
718
|
+
.month-wrapper-inner-common
|
|
719
|
+
table
|
|
720
|
+
td
|
|
721
|
+
> span,
|
|
722
|
+
.daterangepicker-modal
|
|
723
|
+
.date-range-picker-root.inline-wrapper.drpc-inline
|
|
724
|
+
.month-wrapper
|
|
725
|
+
.month-wrapper-inner-common
|
|
726
|
+
table
|
|
727
|
+
th
|
|
728
|
+
> span {
|
|
673
729
|
margin: 0;
|
|
674
730
|
margin: auto;
|
|
675
731
|
font-size: 14px;
|
|
@@ -680,7 +736,6 @@
|
|
|
680
736
|
position: relative;
|
|
681
737
|
}
|
|
682
738
|
|
|
683
|
-
|
|
684
739
|
.daterangepicker-modal .date-range-picker-root .select-wrapper-selected-month {
|
|
685
740
|
display: inline-block;
|
|
686
741
|
}
|
|
@@ -693,4 +748,4 @@
|
|
|
693
748
|
bottom: 0;
|
|
694
749
|
height: auto !important;
|
|
695
750
|
opacity: 0.001;
|
|
696
|
-
}
|
|
751
|
+
}
|
|
@@ -2960,7 +2960,12 @@ import { globalState } from '../../../../app/global-state';
|
|
|
2960
2960
|
}
|
|
2961
2961
|
|
|
2962
2962
|
while (weekCount < 6) {
|
|
2963
|
-
|
|
2963
|
+
const inner = getInnerDayHtml(
|
|
2964
|
+
{ 'time': String(-1), 'data-tooltip': '', 'class': 'day daterangepicker-dummy-row-item' },
|
|
2965
|
+
{ day: 42, type: 'toMonth', time: -1, valid: false } as any
|
|
2966
|
+
);
|
|
2967
|
+
|
|
2968
|
+
html.push('<tr><td colspan="7">' + inner + '</td></tr>');
|
|
2964
2969
|
weekCount += 1;
|
|
2965
2970
|
}
|
|
2966
2971
|
|