arengibook 2.4.23 → 2.4.24
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.js +35 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12711,6 +12711,36 @@ var LOCALES = {
|
|
|
12711
12711
|
}
|
|
12712
12712
|
};
|
|
12713
12713
|
|
|
12714
|
+
function styleInject(css, ref) {
|
|
12715
|
+
if ( ref === void 0 ) ref = {};
|
|
12716
|
+
var insertAt = ref.insertAt;
|
|
12717
|
+
|
|
12718
|
+
if (typeof document === 'undefined') { return; }
|
|
12719
|
+
|
|
12720
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
12721
|
+
var style = document.createElement('style');
|
|
12722
|
+
style.type = 'text/css';
|
|
12723
|
+
|
|
12724
|
+
if (insertAt === 'top') {
|
|
12725
|
+
if (head.firstChild) {
|
|
12726
|
+
head.insertBefore(style, head.firstChild);
|
|
12727
|
+
} else {
|
|
12728
|
+
head.appendChild(style);
|
|
12729
|
+
}
|
|
12730
|
+
} else {
|
|
12731
|
+
head.appendChild(style);
|
|
12732
|
+
}
|
|
12733
|
+
|
|
12734
|
+
if (style.styleSheet) {
|
|
12735
|
+
style.styleSheet.cssText = css;
|
|
12736
|
+
} else {
|
|
12737
|
+
style.appendChild(document.createTextNode(css));
|
|
12738
|
+
}
|
|
12739
|
+
}
|
|
12740
|
+
|
|
12741
|
+
var css_248z = ".patate input {\n background-color: blueviolet;\n}";
|
|
12742
|
+
styleInject(css_248z);
|
|
12743
|
+
|
|
12714
12744
|
var normalizeDate = function normalizeDate(v) {
|
|
12715
12745
|
if (!v) return null;
|
|
12716
12746
|
return v instanceof Date ? v : new Date(v);
|
|
@@ -12775,7 +12805,7 @@ var DatePicker = function DatePicker(_ref) {
|
|
|
12775
12805
|
};
|
|
12776
12806
|
addLocale(localLanguage, LOCALES[localLanguage]);
|
|
12777
12807
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
12778
|
-
className: "flex flex-col gap-1",
|
|
12808
|
+
className: "patate flex flex-col gap-1",
|
|
12779
12809
|
style: {
|
|
12780
12810
|
width: '100%'
|
|
12781
12811
|
}
|
|
@@ -12793,7 +12823,10 @@ var DatePicker = function DatePicker(_ref) {
|
|
|
12793
12823
|
icon: icon,
|
|
12794
12824
|
iconPos: iconPos,
|
|
12795
12825
|
inputId: id,
|
|
12796
|
-
name: name
|
|
12826
|
+
name: name,
|
|
12827
|
+
inputProps: {
|
|
12828
|
+
required: true
|
|
12829
|
+
}
|
|
12797
12830
|
}), invalid && /*#__PURE__*/React__default.createElement("small", {
|
|
12798
12831
|
style: {
|
|
12799
12832
|
color: 'red',
|