@helpwave/hightide 0.1.43 → 0.1.45
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/components/date/DatePicker.cjs +7 -7
- package/dist/components/date/DatePicker.cjs.map +1 -1
- package/dist/components/date/DatePicker.js +7 -7
- package/dist/components/date/DatePicker.js.map +1 -1
- package/dist/components/date/DayPicker.cjs +2 -2
- package/dist/components/date/DayPicker.cjs.map +1 -1
- package/dist/components/date/DayPicker.js +2 -2
- package/dist/components/date/DayPicker.js.map +1 -1
- package/dist/components/date/TimeDisplay.cjs +14 -14
- package/dist/components/date/TimeDisplay.cjs.map +1 -1
- package/dist/components/date/TimeDisplay.js +14 -14
- package/dist/components/date/TimeDisplay.js.map +1 -1
- package/dist/components/date/YearMonthPicker.cjs +2 -2
- package/dist/components/date/YearMonthPicker.cjs.map +1 -1
- package/dist/components/date/YearMonthPicker.js +2 -2
- package/dist/components/date/YearMonthPicker.js.map +1 -1
- package/dist/components/date/index.cjs +8 -8
- package/dist/components/date/index.cjs.map +1 -1
- package/dist/components/date/index.js +8 -8
- package/dist/components/date/index.js.map +1 -1
- package/dist/components/dialog/ConfirmDialog.cjs +15 -15
- package/dist/components/dialog/ConfirmDialog.cjs.map +1 -1
- package/dist/components/dialog/ConfirmDialog.js +15 -15
- package/dist/components/dialog/ConfirmDialog.js.map +1 -1
- package/dist/components/dialog/Dialog.cjs +14 -14
- package/dist/components/dialog/Dialog.cjs.map +1 -1
- package/dist/components/dialog/Dialog.js +14 -14
- package/dist/components/dialog/Dialog.js.map +1 -1
- package/dist/components/dialog/DiscardChangesDialog.cjs +16 -16
- package/dist/components/dialog/DiscardChangesDialog.cjs.map +1 -1
- package/dist/components/dialog/DiscardChangesDialog.js +16 -16
- package/dist/components/dialog/DiscardChangesDialog.js.map +1 -1
- package/dist/components/dialog/InputDialog.cjs +15 -15
- package/dist/components/dialog/InputDialog.cjs.map +1 -1
- package/dist/components/dialog/InputDialog.js +15 -15
- package/dist/components/dialog/InputDialog.js.map +1 -1
- package/dist/components/dialog/LanguageDialog.cjs +21 -21
- package/dist/components/dialog/LanguageDialog.cjs.map +1 -1
- package/dist/components/dialog/LanguageDialog.js +21 -21
- package/dist/components/dialog/LanguageDialog.js.map +1 -1
- package/dist/components/dialog/ThemeDialog.cjs +21 -21
- package/dist/components/dialog/ThemeDialog.cjs.map +1 -1
- package/dist/components/dialog/ThemeDialog.js +21 -21
- package/dist/components/dialog/ThemeDialog.js.map +1 -1
- package/dist/components/dialog/index.cjs +24 -24
- package/dist/components/dialog/index.cjs.map +1 -1
- package/dist/components/dialog/index.js +24 -24
- package/dist/components/dialog/index.js.map +1 -1
- package/dist/components/index.cjs +30 -30
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +30 -30
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/Carousel.cjs +15 -15
- package/dist/components/layout/Carousel.cjs.map +1 -1
- package/dist/components/layout/Carousel.js +15 -15
- package/dist/components/layout/Carousel.js.map +1 -1
- package/dist/components/layout/TextImage.cjs +14 -14
- package/dist/components/layout/TextImage.cjs.map +1 -1
- package/dist/components/layout/TextImage.js +14 -14
- package/dist/components/layout/TextImage.js.map +1 -1
- package/dist/components/layout/index.cjs +21 -21
- package/dist/components/layout/index.cjs.map +1 -1
- package/dist/components/layout/index.js +21 -21
- package/dist/components/layout/index.js.map +1 -1
- package/dist/components/loading-states/ErrorComponent.cjs +14 -14
- package/dist/components/loading-states/ErrorComponent.cjs.map +1 -1
- package/dist/components/loading-states/ErrorComponent.js +14 -14
- package/dist/components/loading-states/ErrorComponent.js.map +1 -1
- package/dist/components/loading-states/LoadingAnimation.cjs +14 -14
- package/dist/components/loading-states/LoadingAnimation.cjs.map +1 -1
- package/dist/components/loading-states/LoadingAnimation.js +14 -14
- package/dist/components/loading-states/LoadingAnimation.js.map +1 -1
- package/dist/components/loading-states/index.cjs +15 -15
- package/dist/components/loading-states/index.cjs.map +1 -1
- package/dist/components/loading-states/index.js +15 -15
- package/dist/components/loading-states/index.js.map +1 -1
- package/dist/components/navigation/Pagination.cjs +14 -14
- package/dist/components/navigation/Pagination.cjs.map +1 -1
- package/dist/components/navigation/Pagination.js +14 -14
- package/dist/components/navigation/Pagination.js.map +1 -1
- package/dist/components/navigation/StepperBar.cjs +19 -19
- package/dist/components/navigation/StepperBar.cjs.map +1 -1
- package/dist/components/navigation/StepperBar.js +19 -19
- package/dist/components/navigation/StepperBar.js.map +1 -1
- package/dist/components/navigation/index.cjs +15 -15
- package/dist/components/navigation/index.cjs.map +1 -1
- package/dist/components/navigation/index.js +15 -15
- package/dist/components/navigation/index.js.map +1 -1
- package/dist/components/properties/CheckboxProperty.cjs +15 -15
- package/dist/components/properties/CheckboxProperty.cjs.map +1 -1
- package/dist/components/properties/CheckboxProperty.js +15 -15
- package/dist/components/properties/CheckboxProperty.js.map +1 -1
- package/dist/components/properties/DateProperty.cjs +13 -13
- package/dist/components/properties/DateProperty.cjs.map +1 -1
- package/dist/components/properties/DateProperty.js +13 -13
- package/dist/components/properties/DateProperty.js.map +1 -1
- package/dist/components/properties/MultiSelectProperty.cjs +20 -20
- package/dist/components/properties/MultiSelectProperty.cjs.map +1 -1
- package/dist/components/properties/MultiSelectProperty.js +20 -20
- package/dist/components/properties/MultiSelectProperty.js.map +1 -1
- package/dist/components/properties/NumberProperty.cjs +15 -15
- package/dist/components/properties/NumberProperty.cjs.map +1 -1
- package/dist/components/properties/NumberProperty.js +15 -15
- package/dist/components/properties/NumberProperty.js.map +1 -1
- package/dist/components/properties/PropertyBase.cjs +14 -14
- package/dist/components/properties/PropertyBase.cjs.map +1 -1
- package/dist/components/properties/PropertyBase.js +14 -14
- package/dist/components/properties/PropertyBase.js.map +1 -1
- package/dist/components/properties/SelectProperty.cjs +20 -20
- package/dist/components/properties/SelectProperty.cjs.map +1 -1
- package/dist/components/properties/SelectProperty.js +20 -20
- package/dist/components/properties/SelectProperty.js.map +1 -1
- package/dist/components/properties/TextProperty.cjs +15 -15
- package/dist/components/properties/TextProperty.cjs.map +1 -1
- package/dist/components/properties/TextProperty.js +15 -15
- package/dist/components/properties/TextProperty.js.map +1 -1
- package/dist/components/properties/index.cjs +18 -18
- package/dist/components/properties/index.cjs.map +1 -1
- package/dist/components/properties/index.js +18 -18
- package/dist/components/properties/index.js.map +1 -1
- package/dist/components/table/Table.cjs +14 -14
- package/dist/components/table/Table.cjs.map +1 -1
- package/dist/components/table/Table.js +14 -14
- package/dist/components/table/Table.js.map +1 -1
- package/dist/components/table/TableFilterButton.cjs +14 -14
- package/dist/components/table/TableFilterButton.cjs.map +1 -1
- package/dist/components/table/TableFilterButton.js +14 -14
- package/dist/components/table/TableFilterButton.js.map +1 -1
- package/dist/components/table/index.cjs +14 -14
- package/dist/components/table/index.cjs.map +1 -1
- package/dist/components/table/index.js +14 -14
- package/dist/components/table/index.js.map +1 -1
- package/dist/components/user-action/CopyToClipboardWrapper.cjs +14 -14
- package/dist/components/user-action/CopyToClipboardWrapper.cjs.map +1 -1
- package/dist/components/user-action/CopyToClipboardWrapper.js +14 -14
- package/dist/components/user-action/CopyToClipboardWrapper.js.map +1 -1
- package/dist/components/user-action/DateAndTimePicker.cjs +8 -8
- package/dist/components/user-action/DateAndTimePicker.cjs.map +1 -1
- package/dist/components/user-action/DateAndTimePicker.js +8 -8
- package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
- package/dist/components/user-action/SearchBar.cjs +14 -14
- package/dist/components/user-action/SearchBar.cjs.map +1 -1
- package/dist/components/user-action/SearchBar.js +14 -14
- package/dist/components/user-action/SearchBar.js.map +1 -1
- package/dist/components/user-action/index.cjs +18 -18
- package/dist/components/user-action/index.cjs.map +1 -1
- package/dist/components/user-action/index.js +18 -18
- package/dist/components/user-action/index.js.map +1 -1
- package/dist/components/user-action/select/Select.cjs +19 -19
- package/dist/components/user-action/select/Select.cjs.map +1 -1
- package/dist/components/user-action/select/Select.js +19 -19
- package/dist/components/user-action/select/Select.js.map +1 -1
- package/dist/components/user-action/select/index.cjs +19 -19
- package/dist/components/user-action/select/index.cjs.map +1 -1
- package/dist/components/user-action/select/index.js +19 -19
- package/dist/components/user-action/select/index.js.map +1 -1
- package/dist/hooks/index.cjs +11 -11
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.js +11 -11
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useValidators.cjs +14 -14
- package/dist/hooks/useValidators.cjs.map +1 -1
- package/dist/hooks/useValidators.js +14 -14
- package/dist/hooks/useValidators.js.map +1 -1
- package/dist/i18n/LocaleProvider.cjs +2 -2
- package/dist/i18n/LocaleProvider.cjs.map +1 -1
- package/dist/i18n/LocaleProvider.d.cts +5 -5
- package/dist/i18n/LocaleProvider.d.ts +5 -5
- package/dist/i18n/LocaleProvider.js +2 -2
- package/dist/i18n/LocaleProvider.js.map +1 -1
- package/dist/i18n/index.cjs +15 -15
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.d.cts +2 -2
- package/dist/i18n/index.d.ts +2 -2
- package/dist/i18n/index.js +11 -11
- package/dist/i18n/index.js.map +1 -1
- package/dist/i18n/translations.cjs +6 -6
- package/dist/i18n/translations.cjs.map +1 -1
- package/dist/i18n/translations.d.cts +5 -5
- package/dist/i18n/translations.d.ts +5 -5
- package/dist/i18n/translations.js +4 -4
- package/dist/i18n/translations.js.map +1 -1
- package/dist/i18n/{useTranslation.cjs → useHightideTranslation.cjs} +22 -22
- package/dist/i18n/useHightideTranslation.cjs.map +1 -0
- package/dist/i18n/useHightideTranslation.d.cts +21 -0
- package/dist/i18n/useHightideTranslation.d.ts +21 -0
- package/dist/i18n/{useTranslation.js → useHightideTranslation.js} +16 -16
- package/dist/i18n/useHightideTranslation.js.map +1 -0
- package/dist/i18n/util.cjs +2 -2
- package/dist/i18n/util.cjs.map +1 -1
- package/dist/i18n/util.d.cts +2 -2
- package/dist/i18n/util.d.ts +2 -2
- package/dist/i18n/util.js +2 -2
- package/dist/i18n/util.js.map +1 -1
- package/dist/index.cjs +37 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +34 -34
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/i18n/useTranslation.cjs.map +0 -1
- package/dist/i18n/useTranslation.d.cts +0 -22
- package/dist/i18n/useTranslation.d.ts +0 -22
- package/dist/i18n/useTranslation.js.map +0 -1
|
@@ -6859,8 +6859,8 @@ var import_react2 = require("react");
|
|
|
6859
6859
|
|
|
6860
6860
|
// src/i18n/translations.ts
|
|
6861
6861
|
var import_internationalization = require("@helpwave/internationalization");
|
|
6862
|
-
var
|
|
6863
|
-
var
|
|
6862
|
+
var hightideTranslationLocales = ["de-DE", "en-US"];
|
|
6863
|
+
var hightideTranslation = {
|
|
6864
6864
|
"de-DE": {
|
|
6865
6865
|
"add": `Hinzuf\xFCgen`,
|
|
6866
6866
|
"age": `Alter`,
|
|
@@ -7345,7 +7345,7 @@ function localeToLanguage(locale) {
|
|
|
7345
7345
|
return locale.split("-")[0];
|
|
7346
7346
|
}
|
|
7347
7347
|
var LocalizationUtil = {
|
|
7348
|
-
locals:
|
|
7348
|
+
locals: hightideTranslationLocales,
|
|
7349
7349
|
localToLanguage: localeToLanguage,
|
|
7350
7350
|
DEFAULT_LOCALE,
|
|
7351
7351
|
languagesLocalNames: localsNames
|
|
@@ -7892,15 +7892,15 @@ var YearMonthPickerUncontrolled = ({
|
|
|
7892
7892
|
);
|
|
7893
7893
|
};
|
|
7894
7894
|
|
|
7895
|
-
// src/i18n/
|
|
7895
|
+
// src/i18n/useHightideTranslation.ts
|
|
7896
7896
|
var import_internationalization2 = require("@helpwave/internationalization");
|
|
7897
|
-
function
|
|
7897
|
+
function useHightideTranslation(extensions, overwrites) {
|
|
7898
7898
|
const { locale: inferredLocale } = useLocale();
|
|
7899
7899
|
const locale = overwrites?.locale ?? inferredLocale;
|
|
7900
7900
|
const translationExtensions = ArrayUtil.resolveSingleOrArray(extensions);
|
|
7901
7901
|
return (0, import_internationalization2.combineTranslation)([
|
|
7902
7902
|
...translationExtensions,
|
|
7903
|
-
|
|
7903
|
+
hightideTranslation
|
|
7904
7904
|
], locale);
|
|
7905
7905
|
}
|
|
7906
7906
|
|
|
@@ -7917,7 +7917,7 @@ var DatePicker = ({
|
|
|
7917
7917
|
className = ""
|
|
7918
7918
|
}) => {
|
|
7919
7919
|
const { locale } = useLocale();
|
|
7920
|
-
const translation =
|
|
7920
|
+
const translation = useHightideTranslation();
|
|
7921
7921
|
const [displayedMonth, setDisplayedMonth] = (0, import_react8.useState)(value);
|
|
7922
7922
|
const [displayMode, setDisplayMode] = (0, import_react8.useState)(initialDisplay);
|
|
7923
7923
|
(0, import_react8.useEffect)(() => {
|
|
@@ -8028,7 +8028,7 @@ var TimeDisplay = ({
|
|
|
8028
8028
|
date,
|
|
8029
8029
|
mode = "daysFromToday"
|
|
8030
8030
|
}) => {
|
|
8031
|
-
const translation =
|
|
8031
|
+
const translation = useHightideTranslation();
|
|
8032
8032
|
const difference = (/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0).valueOf() - new Date(date).setHours(0, 0, 0, 0).valueOf();
|
|
8033
8033
|
const isBefore = difference > 0;
|
|
8034
8034
|
const differenceInDays = Math.floor(Math.abs(difference) / (1e3 * 3600 * 24));
|
|
@@ -8454,7 +8454,7 @@ var Dialog = ({
|
|
|
8454
8454
|
containerClassName,
|
|
8455
8455
|
...props
|
|
8456
8456
|
}) => {
|
|
8457
|
-
const translation =
|
|
8457
|
+
const translation = useHightideTranslation();
|
|
8458
8458
|
const [visible, setVisible] = (0, import_react14.useState)(isOpen);
|
|
8459
8459
|
const generatedId = (0, import_react13.useId)();
|
|
8460
8460
|
const id = props.id ?? generatedId;
|
|
@@ -8579,7 +8579,7 @@ var ConfirmDialog = ({
|
|
|
8579
8579
|
className,
|
|
8580
8580
|
...restProps
|
|
8581
8581
|
}) => {
|
|
8582
|
-
const translation =
|
|
8582
|
+
const translation = useHightideTranslation();
|
|
8583
8583
|
const mapping = {
|
|
8584
8584
|
neutral: "neutral",
|
|
8585
8585
|
negative: "negative",
|
|
@@ -8631,7 +8631,7 @@ var DiscardChangesDialog = ({
|
|
|
8631
8631
|
descriptionOverwrite,
|
|
8632
8632
|
...props
|
|
8633
8633
|
}) => {
|
|
8634
|
-
const translation =
|
|
8634
|
+
const translation = useHightideTranslation();
|
|
8635
8635
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
8636
8636
|
ConfirmDialog,
|
|
8637
8637
|
{
|
|
@@ -9349,7 +9349,7 @@ var SelectOption = (0, import_react19.forwardRef)(
|
|
|
9349
9349
|
}
|
|
9350
9350
|
);
|
|
9351
9351
|
var SelectButton = (0, import_react19.forwardRef)(function SelectButton2({ placeholder, selectedDisplay, ...props }, ref) {
|
|
9352
|
-
const translation =
|
|
9352
|
+
const translation = useHightideTranslation();
|
|
9353
9353
|
const { state, trigger } = useSelectContext();
|
|
9354
9354
|
const { register, unregister, toggleOpen } = trigger;
|
|
9355
9355
|
const innerRef = (0, import_react19.useRef)(null);
|
|
@@ -9699,7 +9699,7 @@ var LanguageDialog = ({
|
|
|
9699
9699
|
...props
|
|
9700
9700
|
}) => {
|
|
9701
9701
|
const { locale, setLocale } = useLocale();
|
|
9702
|
-
const translation =
|
|
9702
|
+
const translation = useHightideTranslation();
|
|
9703
9703
|
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
9704
9704
|
Dialog,
|
|
9705
9705
|
{
|
|
@@ -9764,7 +9764,7 @@ var ThemeDialog = ({
|
|
|
9764
9764
|
...props
|
|
9765
9765
|
}) => {
|
|
9766
9766
|
const { theme, setTheme } = useTheme();
|
|
9767
|
-
const translation =
|
|
9767
|
+
const translation = useHightideTranslation();
|
|
9768
9768
|
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
9769
9769
|
Dialog,
|
|
9770
9770
|
{
|
|
@@ -10709,7 +10709,7 @@ var useCarouselContext = () => {
|
|
|
10709
10709
|
function CarouselTabs({
|
|
10710
10710
|
onChange
|
|
10711
10711
|
}) {
|
|
10712
|
-
const translation =
|
|
10712
|
+
const translation = useHightideTranslation();
|
|
10713
10713
|
const { id, slideCount, currentIndex, isLooping } = useCarouselContext();
|
|
10714
10714
|
const tabRefs = (0, import_react24.useRef)([]);
|
|
10715
10715
|
const handleKeyDown = (event, index) => {
|
|
@@ -10767,7 +10767,7 @@ var CarouselSlide = (0, import_react24.forwardRef)(
|
|
|
10767
10767
|
isSelected,
|
|
10768
10768
|
...props
|
|
10769
10769
|
}, ref) {
|
|
10770
|
-
const translation =
|
|
10770
|
+
const translation = useHightideTranslation();
|
|
10771
10771
|
const { id, slideCount } = useCarouselContext();
|
|
10772
10772
|
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
10773
10773
|
"div",
|
|
@@ -10805,7 +10805,7 @@ var Carousel = ({
|
|
|
10805
10805
|
onSlideChanged,
|
|
10806
10806
|
...props
|
|
10807
10807
|
}) => {
|
|
10808
|
-
const translation =
|
|
10808
|
+
const translation = useHightideTranslation();
|
|
10809
10809
|
const slideRefs = (0, import_react24.useRef)([]);
|
|
10810
10810
|
const [currentIndex, setCurrentIndex] = (0, import_react24.useState)(0);
|
|
10811
10811
|
const [hasFocus, setHasFocus] = (0, import_react24.useState)(false);
|
|
@@ -12609,7 +12609,7 @@ var TextImage = ({
|
|
|
12609
12609
|
contentClassName = "",
|
|
12610
12610
|
className = ""
|
|
12611
12611
|
}) => {
|
|
12612
|
-
const translation =
|
|
12612
|
+
const translation = useHightideTranslation();
|
|
12613
12613
|
const chipColorMapping = {
|
|
12614
12614
|
primary: "text-text-image-primary-background bg-text-image-primary-text",
|
|
12615
12615
|
secondary: "text-text-image-secondary-background bg-text-image-secondary-text",
|
|
@@ -12707,7 +12707,7 @@ var ErrorComponent = ({
|
|
|
12707
12707
|
errorText,
|
|
12708
12708
|
classname
|
|
12709
12709
|
}) => {
|
|
12710
|
-
const translation =
|
|
12710
|
+
const translation = useHightideTranslation();
|
|
12711
12711
|
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: (0, import_clsx27.default)("flex-col-4 items-center justify-center w-full h-24", classname), children: [
|
|
12712
12712
|
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react8.AlertOctagon, { size: 64, className: "text-warning" }),
|
|
12713
12713
|
errorText ?? `${translation("errorOccurred")} :(`
|
|
@@ -12761,7 +12761,7 @@ var LoadingAnimation = ({
|
|
|
12761
12761
|
loadingText,
|
|
12762
12762
|
classname
|
|
12763
12763
|
}) => {
|
|
12764
|
-
const translation =
|
|
12764
|
+
const translation = useHightideTranslation();
|
|
12765
12765
|
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: (0, import_clsx30.default)("flex-col-2 items-center justify-center w-full h-24", classname), children: [
|
|
12766
12766
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(HelpwaveLogo, { animate: "loading" }),
|
|
12767
12767
|
loadingText ?? `${translation("loading")}...`
|
|
@@ -13014,7 +13014,7 @@ var Pagination = ({
|
|
|
13014
13014
|
className,
|
|
13015
13015
|
style
|
|
13016
13016
|
}) => {
|
|
13017
|
-
const translation =
|
|
13017
|
+
const translation = useHightideTranslation();
|
|
13018
13018
|
const [value, setValue] = (0, import_react31.useState)((pageIndex + 1).toString());
|
|
13019
13019
|
const noPages = pageCount === 0;
|
|
13020
13020
|
const onFirstPage = pageIndex === 0 && !noPages;
|
|
@@ -13089,7 +13089,7 @@ var StepperBar = ({
|
|
|
13089
13089
|
showDots = true,
|
|
13090
13090
|
className = ""
|
|
13091
13091
|
}) => {
|
|
13092
|
-
const translation =
|
|
13092
|
+
const translation = useHightideTranslation();
|
|
13093
13093
|
const dots = range(numberOfSteps + 1);
|
|
13094
13094
|
const { currentStep, seenSteps } = state ?? defaultState;
|
|
13095
13095
|
const update = (newStep) => {
|
|
@@ -13645,7 +13645,7 @@ var PropertyBase = ({
|
|
|
13645
13645
|
onRemove,
|
|
13646
13646
|
className = ""
|
|
13647
13647
|
}) => {
|
|
13648
|
-
const translation =
|
|
13648
|
+
const translation = useHightideTranslation();
|
|
13649
13649
|
const requiredAndNoValue = softRequired && !hasValue;
|
|
13650
13650
|
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: (0, import_clsx37.default)("flex-row-0 group", className), children: [
|
|
13651
13651
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
@@ -13704,7 +13704,7 @@ var CheckboxProperty = ({
|
|
|
13704
13704
|
readOnly,
|
|
13705
13705
|
...baseProps
|
|
13706
13706
|
}) => {
|
|
13707
|
-
const translation =
|
|
13707
|
+
const translation = useHightideTranslation();
|
|
13708
13708
|
const id = (0, import_react32.useId)();
|
|
13709
13709
|
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
13710
13710
|
PropertyBase,
|
|
@@ -13826,7 +13826,7 @@ var NumberProperty = ({
|
|
|
13826
13826
|
suffix,
|
|
13827
13827
|
...baseProps
|
|
13828
13828
|
}) => {
|
|
13829
|
-
const translation =
|
|
13829
|
+
const translation = useHightideTranslation();
|
|
13830
13830
|
const hasValue = value !== void 0;
|
|
13831
13831
|
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
13832
13832
|
PropertyBase,
|
|
@@ -14038,7 +14038,7 @@ var TextProperty = ({
|
|
|
14038
14038
|
onEditComplete,
|
|
14039
14039
|
...baseProps
|
|
14040
14040
|
}) => {
|
|
14041
|
-
const translation =
|
|
14041
|
+
const translation = useHightideTranslation();
|
|
14042
14042
|
const hasValue = value !== void 0;
|
|
14043
14043
|
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
14044
14044
|
PropertyBase,
|
|
@@ -14412,7 +14412,7 @@ var TableFilterButton = ({
|
|
|
14412
14412
|
filterType,
|
|
14413
14413
|
column
|
|
14414
14414
|
}) => {
|
|
14415
|
-
const translation =
|
|
14415
|
+
const translation = useHightideTranslation();
|
|
14416
14416
|
const columnFilterValue = column.getFilterValue();
|
|
14417
14417
|
const [filterValue, setFilterValue] = (0, import_react38.useState)(columnFilterValue);
|
|
14418
14418
|
const hasFilter = !!filterValue;
|
|
@@ -14934,7 +14934,7 @@ var CopyToClipboardWrapper = ({
|
|
|
14934
14934
|
position = "bottom",
|
|
14935
14935
|
zIndex = 10
|
|
14936
14936
|
}) => {
|
|
14937
|
-
const translation =
|
|
14937
|
+
const translation = useHightideTranslation();
|
|
14938
14938
|
const [isShowingIndication, setIsShowingIndication] = (0, import_react40.useState)(false);
|
|
14939
14939
|
const [isShowingConfirmation, setIsShowingConfirmation] = (0, import_react40.useState)(false);
|
|
14940
14940
|
const positionClasses = {
|
|
@@ -15026,7 +15026,7 @@ var DateTimePicker = ({
|
|
|
15026
15026
|
timePickerProps,
|
|
15027
15027
|
datePickerProps
|
|
15028
15028
|
}) => {
|
|
15029
|
-
const translation =
|
|
15029
|
+
const translation = useHightideTranslation();
|
|
15030
15030
|
const useDate = mode === "dateTime" || mode === "date";
|
|
15031
15031
|
const useTime = mode === "dateTime" || mode === "time";
|
|
15032
15032
|
let dateDisplay;
|
|
@@ -15285,7 +15285,7 @@ var SearchBar = ({
|
|
|
15285
15285
|
containerClassName,
|
|
15286
15286
|
...inputProps
|
|
15287
15287
|
}) => {
|
|
15288
|
-
const translation =
|
|
15288
|
+
const translation = useHightideTranslation();
|
|
15289
15289
|
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: (0, import_clsx52.clsx)("flex-row-2 justify-between items-center", containerClassName), children: [
|
|
15290
15290
|
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
15291
15291
|
Input,
|