@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260519044944 → 0.8.1-dev.20260519071902
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.
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
DateViewClient_default
|
|
4
|
+
} from "./chunk-XG6SXZWP.mjs";
|
|
5
|
+
|
|
6
|
+
// src/components/controls/view/DateTimeViewClient.tsx
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
var DateTimeViewClient = (props) => {
|
|
9
|
+
return /* @__PURE__ */ jsx(DateViewClient_default, { ...props, controlType: "datetime" });
|
|
10
|
+
};
|
|
11
|
+
var DateTimeViewClient_default = DateTimeViewClient;
|
|
12
|
+
export {
|
|
13
|
+
DateTimeViewClient_default as default
|
|
14
|
+
};
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
1
|
// src/components/controls/view/DateViewClient.tsx
|
|
4
2
|
import { useEffect, useState } from "react";
|
|
5
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -107,10 +105,11 @@ var DateViewClient = (props) => {
|
|
|
107
105
|
}
|
|
108
106
|
return /* @__PURE__ */ jsxs("div", { className: "inline-flex flex-wrap gap-1", children: [
|
|
109
107
|
/* @__PURE__ */ jsx("span", { children: localDateTime }),
|
|
110
|
-
!props.format && props.controlType !== "date" && timeZoneAbbr && /* @__PURE__ */ jsx("span", { children: timeZoneAbbr })
|
|
108
|
+
!props.format && props.controlType !== "date" && props.controlType !== "datetime" && timeZoneAbbr && /* @__PURE__ */ jsx("span", { children: timeZoneAbbr })
|
|
111
109
|
] });
|
|
112
110
|
};
|
|
113
111
|
var DateViewClient_default = DateViewClient;
|
|
112
|
+
|
|
114
113
|
export {
|
|
115
|
-
DateViewClient_default
|
|
114
|
+
DateViewClient_default
|
|
116
115
|
};
|