@mcurros2/microm 1.1.251-0 → 1.1.253-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/index.css +31 -31
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +79 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -343,7 +343,7 @@
|
|
|
343
343
|
font-size: 12px;
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
.w2ui-reset
|
|
346
|
+
.w2ui-reset input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .w2ui-reset select, .w2ui-reset textarea {
|
|
347
347
|
vertical-align: baseline;
|
|
348
348
|
background-color: #f8fafa;
|
|
349
349
|
border: 1px solid #e0e0e0;
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
display: inline-block;
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
.w2ui-reset
|
|
358
|
+
.w2ui-reset input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus, .w2ui-reset select:focus, .w2ui-reset textarea:focus {
|
|
359
359
|
background-color: #fff;
|
|
360
360
|
}
|
|
361
361
|
|
|
@@ -390,7 +390,7 @@ select.w2ui-input:focus, div.w2ui-input:focus {
|
|
|
390
390
|
outline-color: #72b2ff;
|
|
391
391
|
}
|
|
392
392
|
|
|
393
|
-
|
|
393
|
+
input:not([type="button"]):not([type="submit"]).w2ui-input, textarea.w2ui-input {
|
|
394
394
|
color: #000;
|
|
395
395
|
background-color: #f8fafa;
|
|
396
396
|
border: 1px solid #e0e0e0;
|
|
@@ -399,12 +399,12 @@ textarea.w2ui-input, input:not([type="button"]):not([type="submit"]).w2ui-input
|
|
|
399
399
|
line-height: normal;
|
|
400
400
|
}
|
|
401
401
|
|
|
402
|
-
|
|
402
|
+
input:not([type="button"]):not([type="submit"]).w2ui-input:focus, textarea.w2ui-input:focus {
|
|
403
403
|
background-color: #fff;
|
|
404
404
|
outline-color: #72b2ff;
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
|
|
407
|
+
input:not([type="button"]):not([type="submit"]).w2ui-input:disabled, textarea.w2ui-input:disabled, input:not([type="button"]):not([type="submit"]).w2ui-input[readonly], textarea.w2ui-input[readonly] {
|
|
408
408
|
color: #777;
|
|
409
409
|
background-color: #f1f1f1;
|
|
410
410
|
}
|
|
@@ -720,7 +720,7 @@ input[type="checkbox"].w2ui-toggle.green:checked + div > div {
|
|
|
720
720
|
background-color: #fcadad;
|
|
721
721
|
}
|
|
722
722
|
|
|
723
|
-
|
|
723
|
+
input[type="button"].w2ui-btn, button.w2ui-btn {
|
|
724
724
|
color: #666;
|
|
725
725
|
cursor: default;
|
|
726
726
|
-webkit-user-select: none;
|
|
@@ -741,18 +741,18 @@ button.w2ui-btn, input[type="button"].w2ui-btn {
|
|
|
741
741
|
box-shadow: 0 1px #fff;
|
|
742
742
|
}
|
|
743
743
|
|
|
744
|
-
button.w2ui-btn:hover,
|
|
744
|
+
input[type="button"].w2ui-btn:hover, button.w2ui-btn:hover {
|
|
745
745
|
color: #333;
|
|
746
746
|
background-image: linear-gradient(#ddd 0% 100%);
|
|
747
747
|
text-decoration: none;
|
|
748
748
|
}
|
|
749
749
|
|
|
750
|
-
button.w2ui-btn:active, button.w2ui-btn
|
|
750
|
+
input[type="button"].w2ui-btn:active, button.w2ui-btn:active, input[type="button"].w2ui-btn.clicked, button.w2ui-btn.clicked {
|
|
751
751
|
text-shadow: 1px 1px 1px #eee;
|
|
752
752
|
background-image: linear-gradient(#ccc 0% 100%);
|
|
753
753
|
}
|
|
754
754
|
|
|
755
|
-
button.w2ui-btn:focus:before,
|
|
755
|
+
input[type="button"].w2ui-btn:focus:before, button.w2ui-btn:focus:before {
|
|
756
756
|
content: "";
|
|
757
757
|
pointer-events: none;
|
|
758
758
|
border: 1px dashed #aaa;
|
|
@@ -761,119 +761,119 @@ button.w2ui-btn:focus:before, input[type="button"].w2ui-btn:focus:before {
|
|
|
761
761
|
inset: 2px;
|
|
762
762
|
}
|
|
763
763
|
|
|
764
|
-
button.w2ui-btn-blue,
|
|
764
|
+
input[type="button"].w2ui-btn-blue, button.w2ui-btn-blue {
|
|
765
765
|
color: #fff;
|
|
766
766
|
text-shadow: 0 0 1px #111;
|
|
767
767
|
background-image: linear-gradient(#269df0 0% 100%);
|
|
768
768
|
border: 1px solid #269df0;
|
|
769
769
|
}
|
|
770
770
|
|
|
771
|
-
button.w2ui-btn-blue:hover,
|
|
771
|
+
input[type="button"].w2ui-btn-blue:hover, button.w2ui-btn-blue:hover {
|
|
772
772
|
color: #fff;
|
|
773
773
|
text-shadow: 0 0 1px #111;
|
|
774
774
|
background-image: linear-gradient(#2391dd 0% 100%);
|
|
775
775
|
border: 1px solid #2391dd;
|
|
776
776
|
}
|
|
777
777
|
|
|
778
|
-
button.w2ui-btn-blue:active, button.w2ui-btn-blue
|
|
778
|
+
input[type="button"].w2ui-btn-blue:active, button.w2ui-btn-blue:active, input[type="button"].w2ui-btn-blue.clicked, button.w2ui-btn-blue.clicked {
|
|
779
779
|
color: #fff;
|
|
780
780
|
text-shadow: 0 0 1px #111;
|
|
781
781
|
background-image: linear-gradient(#1e83c9 0% 100%);
|
|
782
782
|
border: 1px solid #1268a6;
|
|
783
783
|
}
|
|
784
784
|
|
|
785
|
-
button.w2ui-btn-blue:focus:before,
|
|
785
|
+
input[type="button"].w2ui-btn-blue:focus:before, button.w2ui-btn-blue:focus:before {
|
|
786
786
|
border: 1px dashed #e8e8e8;
|
|
787
787
|
}
|
|
788
788
|
|
|
789
|
-
button.w2ui-btn-green,
|
|
789
|
+
input[type="button"].w2ui-btn-green, button.w2ui-btn-green {
|
|
790
790
|
color: #fff;
|
|
791
791
|
text-shadow: 0 0 1px #111;
|
|
792
792
|
background-image: linear-gradient(#52a452 0% 100%);
|
|
793
793
|
border: 1px solid #52a452;
|
|
794
794
|
}
|
|
795
795
|
|
|
796
|
-
button.w2ui-btn-green:hover,
|
|
796
|
+
input[type="button"].w2ui-btn-green:hover, button.w2ui-btn-green:hover {
|
|
797
797
|
color: #fff;
|
|
798
798
|
text-shadow: 0 0 1px #111;
|
|
799
799
|
background-image: linear-gradient(#3f8f3d 0% 100%);
|
|
800
800
|
border: 1px solid #3f8f3d;
|
|
801
801
|
}
|
|
802
802
|
|
|
803
|
-
button.w2ui-btn-green:active, button.w2ui-btn-green
|
|
803
|
+
input[type="button"].w2ui-btn-green:active, button.w2ui-btn-green:active, input[type="button"].w2ui-btn-green.clicked, button.w2ui-btn-green.clicked {
|
|
804
804
|
color: #fff;
|
|
805
805
|
text-shadow: 0 0 1px #111;
|
|
806
806
|
background-image: linear-gradient(#377d36 0% 100%);
|
|
807
807
|
border: 1px solid #555;
|
|
808
808
|
}
|
|
809
809
|
|
|
810
|
-
button.w2ui-btn-green:focus:before,
|
|
810
|
+
input[type="button"].w2ui-btn-green:focus:before, button.w2ui-btn-green:focus:before {
|
|
811
811
|
border: 1px dashed #e8e8e8;
|
|
812
812
|
}
|
|
813
813
|
|
|
814
|
-
button.w2ui-btn-orange,
|
|
814
|
+
input[type="button"].w2ui-btn-orange, button.w2ui-btn-orange {
|
|
815
815
|
color: #fff;
|
|
816
816
|
text-shadow: 0 0 1px #111;
|
|
817
817
|
background-image: linear-gradient(#fb8822 0% 100%);
|
|
818
818
|
border: 1px solid #fb8822;
|
|
819
819
|
}
|
|
820
820
|
|
|
821
|
-
button.w2ui-btn-orange:hover,
|
|
821
|
+
input[type="button"].w2ui-btn-orange:hover, button.w2ui-btn-orange:hover {
|
|
822
822
|
color: #fff;
|
|
823
823
|
text-shadow: 0 0 1px #111;
|
|
824
824
|
background-image: linear-gradient(#f1731f 0% 100%);
|
|
825
825
|
border: 1px solid #f1731f;
|
|
826
826
|
}
|
|
827
827
|
|
|
828
|
-
button.w2ui-btn-orange:active, button.w2ui-btn-orange
|
|
828
|
+
input[type="button"].w2ui-btn-orange:active, button.w2ui-btn-orange:active, input[type="button"].w2ui-btn-orange.clicked, button.w2ui-btn-orange.clicked {
|
|
829
829
|
color: #fff;
|
|
830
830
|
text-shadow: 0 0 1px #111;
|
|
831
831
|
background-image: linear-gradient(#b98747 0% 100%);
|
|
832
832
|
border: 1px solid #666;
|
|
833
833
|
}
|
|
834
834
|
|
|
835
|
-
button.w2ui-btn-orange:focus:before,
|
|
835
|
+
input[type="button"].w2ui-btn-orange:focus:before, button.w2ui-btn-orange:focus:before {
|
|
836
836
|
border: 1px dashed #f9f9f9;
|
|
837
837
|
}
|
|
838
838
|
|
|
839
|
-
button.w2ui-btn-red,
|
|
839
|
+
input[type="button"].w2ui-btn-red, button.w2ui-btn-red {
|
|
840
840
|
color: #fff;
|
|
841
841
|
text-shadow: 0 0 1px #111;
|
|
842
842
|
background-image: linear-gradient(#f9585a 0% 100%);
|
|
843
843
|
border: 1px solid #f9585a;
|
|
844
844
|
}
|
|
845
845
|
|
|
846
|
-
button.w2ui-btn-red:hover,
|
|
846
|
+
input[type="button"].w2ui-btn-red:hover, button.w2ui-btn-red:hover {
|
|
847
847
|
color: #fff;
|
|
848
848
|
text-shadow: 0 0 1px #111;
|
|
849
849
|
background-image: linear-gradient(#de4446 0% 100%);
|
|
850
850
|
border: 1px solid #de4446;
|
|
851
851
|
}
|
|
852
852
|
|
|
853
|
-
button.w2ui-btn-red:active, button.w2ui-btn-red
|
|
853
|
+
input[type="button"].w2ui-btn-red:active, button.w2ui-btn-red:active, input[type="button"].w2ui-btn-red.clicked, button.w2ui-btn-red.clicked {
|
|
854
854
|
color: #fff;
|
|
855
855
|
text-shadow: 0 0 1px #111;
|
|
856
856
|
background-image: linear-gradient(#9c2123 0% 100%);
|
|
857
857
|
border: 1px solid #861c1e;
|
|
858
858
|
}
|
|
859
859
|
|
|
860
|
-
button.w2ui-btn-red:focus:before,
|
|
860
|
+
input[type="button"].w2ui-btn-red:focus:before, button.w2ui-btn-red:focus:before {
|
|
861
861
|
border: 1px dashed #ddd;
|
|
862
862
|
}
|
|
863
863
|
|
|
864
|
-
button.w2ui-btn-small,
|
|
864
|
+
input[type="button"].w2ui-btn-small, button.w2ui-btn-small {
|
|
865
865
|
border-radius: 4px;
|
|
866
866
|
min-width: 0;
|
|
867
867
|
margin: 0;
|
|
868
868
|
padding: 5px;
|
|
869
869
|
}
|
|
870
870
|
|
|
871
|
-
button.w2ui-btn-small:focus:before,
|
|
871
|
+
input[type="button"].w2ui-btn-small:focus:before, button.w2ui-btn-small:focus:before {
|
|
872
872
|
border-radius: 2px;
|
|
873
873
|
inset: 2px;
|
|
874
874
|
}
|
|
875
875
|
|
|
876
|
-
button.w2ui-btn:disabled,
|
|
876
|
+
input[type="button"].w2ui-btn:disabled, button.w2ui-btn:disabled {
|
|
877
877
|
color: #bdbcbc;
|
|
878
878
|
text-shadow: none;
|
|
879
879
|
background: #f7f7f7;
|
|
@@ -1882,7 +1882,7 @@ button.w2ui-btn:disabled, input[type="button"].w2ui-btn:disabled {
|
|
|
1882
1882
|
right: 0;
|
|
1883
1883
|
}
|
|
1884
1884
|
|
|
1885
|
-
.w2ui-form .w2ui-buttons button, .w2ui-form .w2ui-buttons
|
|
1885
|
+
.w2ui-form .w2ui-buttons input[type="button"], .w2ui-form .w2ui-buttons button {
|
|
1886
1886
|
min-width: 80px;
|
|
1887
1887
|
margin-right: 5px;
|
|
1888
1888
|
}
|
|
@@ -1953,7 +1953,7 @@ button.w2ui-btn:disabled, input[type="button"].w2ui-btn:disabled {
|
|
|
1953
1953
|
background-color: #0000 !important;
|
|
1954
1954
|
}
|
|
1955
1955
|
|
|
1956
|
-
.w2ui-field.w2ui-disabled
|
|
1956
|
+
.w2ui-field.w2ui-disabled input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .w2ui-field.w2ui-disabled select, .w2ui-field.w2ui-disabled textarea {
|
|
1957
1957
|
background-color: #f5f5f5 !important;
|
|
1958
1958
|
border: 1px solid #bdc0c3 !important;
|
|
1959
1959
|
}
|
|
@@ -2087,7 +2087,7 @@ button.w2ui-btn:disabled, input[type="button"].w2ui-btn:disabled {
|
|
|
2087
2087
|
margin: 4px 0 3px;
|
|
2088
2088
|
}
|
|
2089
2089
|
|
|
2090
|
-
|
|
2090
|
+
input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]).w2ui-error, textarea.w2ui-error {
|
|
2091
2091
|
background-color: #fff4eb;
|
|
2092
2092
|
border: 1px solid #ffa8a8;
|
|
2093
2093
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -2624,6 +2624,8 @@ export function RecoverPasswordEmail(props: RecoverPasswordEmailOptions): JSX.El
|
|
|
2624
2624
|
export function useEvent<T extends (...args: any[]) => any>(callback: T): T;
|
|
2625
2625
|
export function moneyFormatter(value: string, currencySymbol: string): string;
|
|
2626
2626
|
export function moneyParser(value: string): string;
|
|
2627
|
+
export function bytesFormatter(value: string): string;
|
|
2628
|
+
export function bytesParser(value: string): string;
|
|
2627
2629
|
export interface MoneyRangeFieldProps extends Omit<NumberFieldProps, 'parser' | 'formatter'> {
|
|
2628
2630
|
currencySymbol?: string;
|
|
2629
2631
|
millionsStep?: number;
|
|
@@ -2667,6 +2669,13 @@ export function useExecuteExportProc(entity: Entity<EntityDefinition>, proc: Ent
|
|
|
2667
2669
|
status: OperationStatus<Blob>;
|
|
2668
2670
|
abort: () => void;
|
|
2669
2671
|
};
|
|
2672
|
+
export interface BytesRangeFieldProps extends Omit<NumberFieldProps, 'parser' | 'formatter'> {
|
|
2673
|
+
gigaBytesStep?: number;
|
|
2674
|
+
megaBytesStep?: number;
|
|
2675
|
+
kiloBytesStep?: number;
|
|
2676
|
+
}
|
|
2677
|
+
export const BytesRangeFieldDefaultProps: Partial<BytesRangeFieldProps>;
|
|
2678
|
+
export function BytesRangeField(props: BytesRangeFieldProps): JSX.Element;
|
|
2670
2679
|
export interface UseLookupSelectOptions {
|
|
2671
2680
|
parentKeys?: ValuesObject;
|
|
2672
2681
|
selectDataState: useStateReturnType<SelectItem[]>;
|