@idds/js 1.0.39 → 1.0.40
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.iife.js +7 -0
- package/dist/index.js +7 -0
- package/package.json +1 -1
package/dist/index.iife.js
CHANGED
|
@@ -133,7 +133,14 @@ var InaUI = (() => {
|
|
|
133
133
|
if (!panelContent) {
|
|
134
134
|
panelContent = document.createElement("div");
|
|
135
135
|
panelContent.className = "ina-date-picker__panel-content";
|
|
136
|
+
if (mode === "range" || mode === "multiple") {
|
|
137
|
+
panelContent.classList.add("ina-date-picker__panel-content--dual");
|
|
138
|
+
}
|
|
136
139
|
panel.appendChild(panelContent);
|
|
140
|
+
} else {
|
|
141
|
+
if (mode === "range" || mode === "multiple") {
|
|
142
|
+
panelContent.classList.add("ina-date-picker__panel-content--dual");
|
|
143
|
+
}
|
|
137
144
|
}
|
|
138
145
|
let viewDate = /* @__PURE__ */ new Date();
|
|
139
146
|
let selectedDate = null;
|
package/dist/index.js
CHANGED
|
@@ -121,7 +121,14 @@ function initDatepicker() {
|
|
|
121
121
|
if (!panelContent) {
|
|
122
122
|
panelContent = document.createElement("div");
|
|
123
123
|
panelContent.className = "ina-date-picker__panel-content";
|
|
124
|
+
if (mode === "range" || mode === "multiple") {
|
|
125
|
+
panelContent.classList.add("ina-date-picker__panel-content--dual");
|
|
126
|
+
}
|
|
124
127
|
panel.appendChild(panelContent);
|
|
128
|
+
} else {
|
|
129
|
+
if (mode === "range" || mode === "multiple") {
|
|
130
|
+
panelContent.classList.add("ina-date-picker__panel-content--dual");
|
|
131
|
+
}
|
|
125
132
|
}
|
|
126
133
|
let viewDate = /* @__PURE__ */ new Date();
|
|
127
134
|
let selectedDate = null;
|