@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
package/dist/components/index.js
CHANGED
|
@@ -6739,8 +6739,8 @@ import { useCallback, useState as useState2 } from "react";
|
|
|
6739
6739
|
|
|
6740
6740
|
// src/i18n/translations.ts
|
|
6741
6741
|
import { TranslationGen } from "@helpwave/internationalization";
|
|
6742
|
-
var
|
|
6743
|
-
var
|
|
6742
|
+
var hightideTranslationLocales = ["de-DE", "en-US"];
|
|
6743
|
+
var hightideTranslation = {
|
|
6744
6744
|
"de-DE": {
|
|
6745
6745
|
"add": `Hinzuf\xFCgen`,
|
|
6746
6746
|
"age": `Alter`,
|
|
@@ -7225,7 +7225,7 @@ function localeToLanguage(locale) {
|
|
|
7225
7225
|
return locale.split("-")[0];
|
|
7226
7226
|
}
|
|
7227
7227
|
var LocalizationUtil = {
|
|
7228
|
-
locals:
|
|
7228
|
+
locals: hightideTranslationLocales,
|
|
7229
7229
|
localToLanguage: localeToLanguage,
|
|
7230
7230
|
DEFAULT_LOCALE,
|
|
7231
7231
|
languagesLocalNames: localsNames
|
|
@@ -7772,15 +7772,15 @@ var YearMonthPickerUncontrolled = ({
|
|
|
7772
7772
|
);
|
|
7773
7773
|
};
|
|
7774
7774
|
|
|
7775
|
-
// src/i18n/
|
|
7775
|
+
// src/i18n/useHightideTranslation.ts
|
|
7776
7776
|
import { combineTranslation, ICUUtil } from "@helpwave/internationalization";
|
|
7777
|
-
function
|
|
7777
|
+
function useHightideTranslation(extensions, overwrites) {
|
|
7778
7778
|
const { locale: inferredLocale } = useLocale();
|
|
7779
7779
|
const locale = overwrites?.locale ?? inferredLocale;
|
|
7780
7780
|
const translationExtensions = ArrayUtil.resolveSingleOrArray(extensions);
|
|
7781
7781
|
return combineTranslation([
|
|
7782
7782
|
...translationExtensions,
|
|
7783
|
-
|
|
7783
|
+
hightideTranslation
|
|
7784
7784
|
], locale);
|
|
7785
7785
|
}
|
|
7786
7786
|
|
|
@@ -7797,7 +7797,7 @@ var DatePicker = ({
|
|
|
7797
7797
|
className = ""
|
|
7798
7798
|
}) => {
|
|
7799
7799
|
const { locale } = useLocale();
|
|
7800
|
-
const translation =
|
|
7800
|
+
const translation = useHightideTranslation();
|
|
7801
7801
|
const [displayedMonth, setDisplayedMonth] = useState5(value);
|
|
7802
7802
|
const [displayMode, setDisplayMode] = useState5(initialDisplay);
|
|
7803
7803
|
useEffect5(() => {
|
|
@@ -7908,7 +7908,7 @@ var TimeDisplay = ({
|
|
|
7908
7908
|
date,
|
|
7909
7909
|
mode = "daysFromToday"
|
|
7910
7910
|
}) => {
|
|
7911
|
-
const translation =
|
|
7911
|
+
const translation = useHightideTranslation();
|
|
7912
7912
|
const difference = (/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0).valueOf() - new Date(date).setHours(0, 0, 0, 0).valueOf();
|
|
7913
7913
|
const isBefore = difference > 0;
|
|
7914
7914
|
const differenceInDays = Math.floor(Math.abs(difference) / (1e3 * 3600 * 24));
|
|
@@ -8334,7 +8334,7 @@ var Dialog = ({
|
|
|
8334
8334
|
containerClassName,
|
|
8335
8335
|
...props
|
|
8336
8336
|
}) => {
|
|
8337
|
-
const translation =
|
|
8337
|
+
const translation = useHightideTranslation();
|
|
8338
8338
|
const [visible, setVisible] = useState9(isOpen);
|
|
8339
8339
|
const generatedId = useId3();
|
|
8340
8340
|
const id = props.id ?? generatedId;
|
|
@@ -8459,7 +8459,7 @@ var ConfirmDialog = ({
|
|
|
8459
8459
|
className,
|
|
8460
8460
|
...restProps
|
|
8461
8461
|
}) => {
|
|
8462
|
-
const translation =
|
|
8462
|
+
const translation = useHightideTranslation();
|
|
8463
8463
|
const mapping = {
|
|
8464
8464
|
neutral: "neutral",
|
|
8465
8465
|
negative: "negative",
|
|
@@ -8511,7 +8511,7 @@ var DiscardChangesDialog = ({
|
|
|
8511
8511
|
descriptionOverwrite,
|
|
8512
8512
|
...props
|
|
8513
8513
|
}) => {
|
|
8514
|
-
const translation =
|
|
8514
|
+
const translation = useHightideTranslation();
|
|
8515
8515
|
return /* @__PURE__ */ jsx13(
|
|
8516
8516
|
ConfirmDialog,
|
|
8517
8517
|
{
|
|
@@ -9240,7 +9240,7 @@ var SelectOption = forwardRef4(
|
|
|
9240
9240
|
}
|
|
9241
9241
|
);
|
|
9242
9242
|
var SelectButton = forwardRef4(function SelectButton2({ placeholder, selectedDisplay, ...props }, ref) {
|
|
9243
|
-
const translation =
|
|
9243
|
+
const translation = useHightideTranslation();
|
|
9244
9244
|
const { state, trigger } = useSelectContext();
|
|
9245
9245
|
const { register, unregister, toggleOpen } = trigger;
|
|
9246
9246
|
const innerRef = useRef6(null);
|
|
@@ -9590,7 +9590,7 @@ var LanguageDialog = ({
|
|
|
9590
9590
|
...props
|
|
9591
9591
|
}) => {
|
|
9592
9592
|
const { locale, setLocale } = useLocale();
|
|
9593
|
-
const translation =
|
|
9593
|
+
const translation = useHightideTranslation();
|
|
9594
9594
|
return /* @__PURE__ */ jsx18(
|
|
9595
9595
|
Dialog,
|
|
9596
9596
|
{
|
|
@@ -9655,7 +9655,7 @@ var ThemeDialog = ({
|
|
|
9655
9655
|
...props
|
|
9656
9656
|
}) => {
|
|
9657
9657
|
const { theme, setTheme } = useTheme();
|
|
9658
|
-
const translation =
|
|
9658
|
+
const translation = useHightideTranslation();
|
|
9659
9659
|
return /* @__PURE__ */ jsx20(
|
|
9660
9660
|
Dialog,
|
|
9661
9661
|
{
|
|
@@ -10610,7 +10610,7 @@ var useCarouselContext = () => {
|
|
|
10610
10610
|
function CarouselTabs({
|
|
10611
10611
|
onChange
|
|
10612
10612
|
}) {
|
|
10613
|
-
const translation =
|
|
10613
|
+
const translation = useHightideTranslation();
|
|
10614
10614
|
const { id, slideCount, currentIndex, isLooping } = useCarouselContext();
|
|
10615
10615
|
const tabRefs = useRef9([]);
|
|
10616
10616
|
const handleKeyDown = (event, index) => {
|
|
@@ -10668,7 +10668,7 @@ var CarouselSlide = forwardRef8(
|
|
|
10668
10668
|
isSelected,
|
|
10669
10669
|
...props
|
|
10670
10670
|
}, ref) {
|
|
10671
|
-
const translation =
|
|
10671
|
+
const translation = useHightideTranslation();
|
|
10672
10672
|
const { id, slideCount } = useCarouselContext();
|
|
10673
10673
|
return /* @__PURE__ */ jsx31(
|
|
10674
10674
|
"div",
|
|
@@ -10706,7 +10706,7 @@ var Carousel = ({
|
|
|
10706
10706
|
onSlideChanged,
|
|
10707
10707
|
...props
|
|
10708
10708
|
}) => {
|
|
10709
|
-
const translation =
|
|
10709
|
+
const translation = useHightideTranslation();
|
|
10710
10710
|
const slideRefs = useRef9([]);
|
|
10711
10711
|
const [currentIndex, setCurrentIndex] = useState16(0);
|
|
10712
10712
|
const [hasFocus, setHasFocus] = useState16(false);
|
|
@@ -12510,7 +12510,7 @@ var TextImage = ({
|
|
|
12510
12510
|
contentClassName = "",
|
|
12511
12511
|
className = ""
|
|
12512
12512
|
}) => {
|
|
12513
|
-
const translation =
|
|
12513
|
+
const translation = useHightideTranslation();
|
|
12514
12514
|
const chipColorMapping = {
|
|
12515
12515
|
primary: "text-text-image-primary-background bg-text-image-primary-text",
|
|
12516
12516
|
secondary: "text-text-image-secondary-background bg-text-image-secondary-text",
|
|
@@ -12608,7 +12608,7 @@ var ErrorComponent = ({
|
|
|
12608
12608
|
errorText,
|
|
12609
12609
|
classname
|
|
12610
12610
|
}) => {
|
|
12611
|
-
const translation =
|
|
12611
|
+
const translation = useHightideTranslation();
|
|
12612
12612
|
return /* @__PURE__ */ jsxs23("div", { className: clsx27("flex-col-4 items-center justify-center w-full h-24", classname), children: [
|
|
12613
12613
|
/* @__PURE__ */ jsx42(AlertOctagon, { size: 64, className: "text-warning" }),
|
|
12614
12614
|
errorText ?? `${translation("errorOccurred")} :(`
|
|
@@ -12662,7 +12662,7 @@ var LoadingAnimation = ({
|
|
|
12662
12662
|
loadingText,
|
|
12663
12663
|
classname
|
|
12664
12664
|
}) => {
|
|
12665
|
-
const translation =
|
|
12665
|
+
const translation = useHightideTranslation();
|
|
12666
12666
|
return /* @__PURE__ */ jsxs24("div", { className: clsx30("flex-col-2 items-center justify-center w-full h-24", classname), children: [
|
|
12667
12667
|
/* @__PURE__ */ jsx45(HelpwaveLogo, { animate: "loading" }),
|
|
12668
12668
|
loadingText ?? `${translation("loading")}...`
|
|
@@ -12915,7 +12915,7 @@ var Pagination = ({
|
|
|
12915
12915
|
className,
|
|
12916
12916
|
style
|
|
12917
12917
|
}) => {
|
|
12918
|
-
const translation =
|
|
12918
|
+
const translation = useHightideTranslation();
|
|
12919
12919
|
const [value, setValue] = useState22((pageIndex + 1).toString());
|
|
12920
12920
|
const noPages = pageCount === 0;
|
|
12921
12921
|
const onFirstPage = pageIndex === 0 && !noPages;
|
|
@@ -12990,7 +12990,7 @@ var StepperBar = ({
|
|
|
12990
12990
|
showDots = true,
|
|
12991
12991
|
className = ""
|
|
12992
12992
|
}) => {
|
|
12993
|
-
const translation =
|
|
12993
|
+
const translation = useHightideTranslation();
|
|
12994
12994
|
const dots = range(numberOfSteps + 1);
|
|
12995
12995
|
const { currentStep, seenSteps } = state ?? defaultState;
|
|
12996
12996
|
const update = (newStep) => {
|
|
@@ -13546,7 +13546,7 @@ var PropertyBase = ({
|
|
|
13546
13546
|
onRemove,
|
|
13547
13547
|
className = ""
|
|
13548
13548
|
}) => {
|
|
13549
|
-
const translation =
|
|
13549
|
+
const translation = useHightideTranslation();
|
|
13550
13550
|
const requiredAndNoValue = softRequired && !hasValue;
|
|
13551
13551
|
return /* @__PURE__ */ jsxs33("div", { className: clsx37("flex-row-0 group", className), children: [
|
|
13552
13552
|
/* @__PURE__ */ jsxs33(
|
|
@@ -13605,7 +13605,7 @@ var CheckboxProperty = ({
|
|
|
13605
13605
|
readOnly,
|
|
13606
13606
|
...baseProps
|
|
13607
13607
|
}) => {
|
|
13608
|
-
const translation =
|
|
13608
|
+
const translation = useHightideTranslation();
|
|
13609
13609
|
const id = useId8();
|
|
13610
13610
|
return /* @__PURE__ */ jsx55(
|
|
13611
13611
|
PropertyBase,
|
|
@@ -13727,7 +13727,7 @@ var NumberProperty = ({
|
|
|
13727
13727
|
suffix,
|
|
13728
13728
|
...baseProps
|
|
13729
13729
|
}) => {
|
|
13730
|
-
const translation =
|
|
13730
|
+
const translation = useHightideTranslation();
|
|
13731
13731
|
const hasValue = value !== void 0;
|
|
13732
13732
|
return /* @__PURE__ */ jsx58(
|
|
13733
13733
|
PropertyBase,
|
|
@@ -13939,7 +13939,7 @@ var TextProperty = ({
|
|
|
13939
13939
|
onEditComplete,
|
|
13940
13940
|
...baseProps
|
|
13941
13941
|
}) => {
|
|
13942
|
-
const translation =
|
|
13942
|
+
const translation = useHightideTranslation();
|
|
13943
13943
|
const hasValue = value !== void 0;
|
|
13944
13944
|
return /* @__PURE__ */ jsx61(
|
|
13945
13945
|
PropertyBase,
|
|
@@ -14320,7 +14320,7 @@ var TableFilterButton = ({
|
|
|
14320
14320
|
filterType,
|
|
14321
14321
|
column
|
|
14322
14322
|
}) => {
|
|
14323
|
-
const translation =
|
|
14323
|
+
const translation = useHightideTranslation();
|
|
14324
14324
|
const columnFilterValue = column.getFilterValue();
|
|
14325
14325
|
const [filterValue, setFilterValue] = useState28(columnFilterValue);
|
|
14326
14326
|
const hasFilter = !!filterValue;
|
|
@@ -14842,7 +14842,7 @@ var CopyToClipboardWrapper = ({
|
|
|
14842
14842
|
position = "bottom",
|
|
14843
14843
|
zIndex = 10
|
|
14844
14844
|
}) => {
|
|
14845
|
-
const translation =
|
|
14845
|
+
const translation = useHightideTranslation();
|
|
14846
14846
|
const [isShowingIndication, setIsShowingIndication] = useState30(false);
|
|
14847
14847
|
const [isShowingConfirmation, setIsShowingConfirmation] = useState30(false);
|
|
14848
14848
|
const positionClasses = {
|
|
@@ -14934,7 +14934,7 @@ var DateTimePicker = ({
|
|
|
14934
14934
|
timePickerProps,
|
|
14935
14935
|
datePickerProps
|
|
14936
14936
|
}) => {
|
|
14937
|
-
const translation =
|
|
14937
|
+
const translation = useHightideTranslation();
|
|
14938
14938
|
const useDate = mode === "dateTime" || mode === "date";
|
|
14939
14939
|
const useTime = mode === "dateTime" || mode === "time";
|
|
14940
14940
|
let dateDisplay;
|
|
@@ -15193,7 +15193,7 @@ var SearchBar = ({
|
|
|
15193
15193
|
containerClassName,
|
|
15194
15194
|
...inputProps
|
|
15195
15195
|
}) => {
|
|
15196
|
-
const translation =
|
|
15196
|
+
const translation = useHightideTranslation();
|
|
15197
15197
|
return /* @__PURE__ */ jsxs43("div", { className: clsx52("flex-row-2 justify-between items-center", containerClassName), children: [
|
|
15198
15198
|
/* @__PURE__ */ jsx71(
|
|
15199
15199
|
Input,
|