@trackunit/react-compound-components 0.0.164 → 0.0.167

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/index.cjs.js CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var jsxRuntime = require('react/jsx-runtime');
6
4
  var i18nLibraryTranslation = require('@trackunit/i18n-library-translation');
7
5
  var reactCoreHooks = require('@trackunit/react-core-hooks');
@@ -9,8 +7,7 @@ var React = require('react');
9
7
  var reactComponents = require('@trackunit/react-components');
10
8
  var reactModal = require('@trackunit/react-modal');
11
9
 
12
- function _interopNamespace(e) {
13
- if (e && e.__esModule) return e;
10
+ function _interopNamespaceDefault(e) {
14
11
  var n = Object.create(null);
15
12
  if (e) {
16
13
  Object.keys(e).forEach(function (k) {
@@ -23,11 +20,11 @@ function _interopNamespace(e) {
23
20
  }
24
21
  });
25
22
  }
26
- n["default"] = e;
23
+ n.default = e;
27
24
  return Object.freeze(n);
28
25
  }
29
26
 
30
- var React__namespace = /*#__PURE__*/_interopNamespace(React);
27
+ var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
31
28
 
32
29
  var defaultTranslations = {
33
30
  "confirmationDialog.default.message": "Are you certain that you wish to proceed with this course of action?",
@@ -78,54 +75,11 @@ const setupLibraryTranslations = () => {
78
75
  i18nLibraryTranslation.registerTranslations(translations);
79
76
  };
80
77
 
81
- /******************************************************************************
82
- Copyright (c) Microsoft Corporation.
83
-
84
- Permission to use, copy, modify, and/or distribute this software for any
85
- purpose with or without fee is hereby granted.
86
-
87
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
88
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
89
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
90
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
91
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
92
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
93
- PERFORMANCE OF THIS SOFTWARE.
94
- ***************************************************************************** */
95
-
96
- function __rest(s, e) {
97
- var t = {};
98
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
99
- t[p] = s[p];
100
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
101
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
102
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
103
- t[p[i]] = s[p[i]];
104
- }
105
- return t;
106
- }
107
-
108
- function __awaiter(thisArg, _arguments, P, generator) {
109
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
110
- return new (P || (P = Promise))(function (resolve, reject) {
111
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
112
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
113
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
114
- step((generator = generator.apply(thisArg, _arguments || [])).next());
115
- });
116
- }
117
-
118
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
119
- var e = new Error(message);
120
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
121
- };
122
-
123
78
  /**
124
79
  *
125
80
  */
126
- const ConfirmationDialogModal = (_a) => {
127
- var { isOpen, title, handleDismiss, message, handlePrimaryActionClick, handleSecondaryActionClick, secondaryActionLabel, primaryActionType, primaryActionLabel } = _a, rest = __rest(_a, ["isOpen", "title", "handleDismiss", "message", "handlePrimaryActionClick", "handleSecondaryActionClick", "secondaryActionLabel", "primaryActionType", "primaryActionLabel"]);
128
- return (jsxRuntime.jsx(reactModal.Modal, Object.assign({ className: "max-w-xl", isOpen: isOpen, onDismissClick: handleDismiss }, rest, { children: jsxRuntime.jsxs(reactComponents.Card, { "aria-describedby": "dialogDesc", "aria-labelledby": "dialogTitle", role: "dialog", children: [jsxRuntime.jsx(reactComponents.CardHeader, { id: "dialogTitle", heading: title, headingVariant: "secondary", onClose: handleDismiss }), jsxRuntime.jsx(reactComponents.CardBody, { className: "bg-secondary-50", id: "dialogDesc", children: message }), jsxRuntime.jsxs(reactComponents.CardFooter, { className: "bg-secondary-50", hideSeparator: true, children: [jsxRuntime.jsx(reactComponents.Button, { dataTestId: "secondaryAction", onClick: handleSecondaryActionClick, variant: "secondary", children: secondaryActionLabel }), jsxRuntime.jsx(reactComponents.Button, { dataTestId: "primaryAction", onClick: handlePrimaryActionClick, variant: primaryActionType, children: primaryActionLabel })] })] }) })));
81
+ const ConfirmationDialogModal = ({ isOpen, title, handleDismiss, message, handlePrimaryActionClick, handleSecondaryActionClick, secondaryActionLabel, primaryActionType, primaryActionLabel, ...rest }) => {
82
+ return (jsxRuntime.jsx(reactModal.Modal, { className: "max-w-xl", isOpen: isOpen, onDismissClick: handleDismiss, ...rest, children: jsxRuntime.jsxs(reactComponents.Card, { "aria-describedby": "dialogDesc", "aria-labelledby": "dialogTitle", role: "dialog", children: [jsxRuntime.jsx(reactComponents.CardHeader, { id: "dialogTitle", heading: title, headingVariant: "secondary", onClose: handleDismiss }), jsxRuntime.jsx(reactComponents.CardBody, { className: "bg-secondary-50", id: "dialogDesc", children: message }), jsxRuntime.jsxs(reactComponents.CardFooter, { className: "bg-secondary-50", hideSeparator: true, children: [jsxRuntime.jsx(reactComponents.Button, { dataTestId: "secondaryAction", onClick: handleSecondaryActionClick, variant: "secondary", children: secondaryActionLabel }), jsxRuntime.jsx(reactComponents.Button, { dataTestId: "primaryAction", onClick: handlePrimaryActionClick, variant: primaryActionType, children: primaryActionLabel })] })] }) }));
129
83
  };
130
84
 
131
85
  /**
@@ -145,25 +99,31 @@ const ConfirmationDialogContextProvider = ({ children }) => {
145
99
  const closeModal = React__namespace.useCallback(() => {
146
100
  setIsOpen(false);
147
101
  }, []);
148
- const confirmationDialogModalProps = React__namespace.useMemo(() => (Object.assign(Object.assign({}, confirmationDialogProps), { isOpen, handleDismiss: () => {
102
+ const confirmationDialogModalProps = React__namespace.useMemo(() => ({
103
+ ...confirmationDialogProps,
104
+ isOpen,
105
+ handleDismiss: () => {
149
106
  resolveAction === null || resolveAction === void 0 ? void 0 : resolveAction("CLOSE");
150
107
  closeModal();
151
- }, handlePrimaryActionClick: () => {
108
+ },
109
+ handlePrimaryActionClick: () => {
152
110
  resolveAction === null || resolveAction === void 0 ? void 0 : resolveAction("PRIMARY");
153
111
  closeModal();
154
- }, handleSecondaryActionClick: () => {
112
+ },
113
+ handleSecondaryActionClick: () => {
155
114
  resolveAction === null || resolveAction === void 0 ? void 0 : resolveAction("SECONDARY");
156
115
  closeModal();
157
- } })), [confirmationDialogProps, isOpen, resolveAction, closeModal]);
158
- const confirm = React__namespace.useCallback((props) => __awaiter(void 0, void 0, void 0, function* () {
159
- setConfirmationDialogProps(prev => (Object.assign(Object.assign({}, prev), props)));
116
+ },
117
+ }), [confirmationDialogProps, isOpen, resolveAction, closeModal]);
118
+ const confirm = React__namespace.useCallback(async (props) => {
119
+ setConfirmationDialogProps(prev => ({ ...prev, ...props }));
160
120
  setIsOpen(true);
161
121
  return new Promise(resolve => {
162
122
  setResolveAction(() => resolve);
163
123
  });
164
- }), []);
124
+ }, []);
165
125
  const value = React__namespace.useMemo(() => ({ confirm }), [confirm]);
166
- return (jsxRuntime.jsxs(reactCoreHooks.ConfirmationDialogProvider, { value: value, children: [children, resolveAction ? jsxRuntime.jsx(ConfirmationDialogModal, Object.assign({}, confirmationDialogModalProps)) : null] }));
126
+ return (jsxRuntime.jsxs(reactCoreHooks.ConfirmationDialogProvider, { value: value, children: [children, resolveAction ? jsxRuntime.jsx(ConfirmationDialogModal, { ...confirmationDialogModalProps }) : null] }));
167
127
  };
168
128
 
169
129
  /*
package/index.esm.js CHANGED
@@ -55,54 +55,11 @@ const setupLibraryTranslations = () => {
55
55
  registerTranslations(translations);
56
56
  };
57
57
 
58
- /******************************************************************************
59
- Copyright (c) Microsoft Corporation.
60
-
61
- Permission to use, copy, modify, and/or distribute this software for any
62
- purpose with or without fee is hereby granted.
63
-
64
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
65
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
66
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
67
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
68
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
69
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
70
- PERFORMANCE OF THIS SOFTWARE.
71
- ***************************************************************************** */
72
-
73
- function __rest(s, e) {
74
- var t = {};
75
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
76
- t[p] = s[p];
77
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
78
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
79
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
80
- t[p[i]] = s[p[i]];
81
- }
82
- return t;
83
- }
84
-
85
- function __awaiter(thisArg, _arguments, P, generator) {
86
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
87
- return new (P || (P = Promise))(function (resolve, reject) {
88
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
89
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
90
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
91
- step((generator = generator.apply(thisArg, _arguments || [])).next());
92
- });
93
- }
94
-
95
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
96
- var e = new Error(message);
97
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
98
- };
99
-
100
58
  /**
101
59
  *
102
60
  */
103
- const ConfirmationDialogModal = (_a) => {
104
- var { isOpen, title, handleDismiss, message, handlePrimaryActionClick, handleSecondaryActionClick, secondaryActionLabel, primaryActionType, primaryActionLabel } = _a, rest = __rest(_a, ["isOpen", "title", "handleDismiss", "message", "handlePrimaryActionClick", "handleSecondaryActionClick", "secondaryActionLabel", "primaryActionType", "primaryActionLabel"]);
105
- return (jsx(Modal, Object.assign({ className: "max-w-xl", isOpen: isOpen, onDismissClick: handleDismiss }, rest, { children: jsxs(Card, { "aria-describedby": "dialogDesc", "aria-labelledby": "dialogTitle", role: "dialog", children: [jsx(CardHeader, { id: "dialogTitle", heading: title, headingVariant: "secondary", onClose: handleDismiss }), jsx(CardBody, { className: "bg-secondary-50", id: "dialogDesc", children: message }), jsxs(CardFooter, { className: "bg-secondary-50", hideSeparator: true, children: [jsx(Button, { dataTestId: "secondaryAction", onClick: handleSecondaryActionClick, variant: "secondary", children: secondaryActionLabel }), jsx(Button, { dataTestId: "primaryAction", onClick: handlePrimaryActionClick, variant: primaryActionType, children: primaryActionLabel })] })] }) })));
61
+ const ConfirmationDialogModal = ({ isOpen, title, handleDismiss, message, handlePrimaryActionClick, handleSecondaryActionClick, secondaryActionLabel, primaryActionType, primaryActionLabel, ...rest }) => {
62
+ return (jsx(Modal, { className: "max-w-xl", isOpen: isOpen, onDismissClick: handleDismiss, ...rest, children: jsxs(Card, { "aria-describedby": "dialogDesc", "aria-labelledby": "dialogTitle", role: "dialog", children: [jsx(CardHeader, { id: "dialogTitle", heading: title, headingVariant: "secondary", onClose: handleDismiss }), jsx(CardBody, { className: "bg-secondary-50", id: "dialogDesc", children: message }), jsxs(CardFooter, { className: "bg-secondary-50", hideSeparator: true, children: [jsx(Button, { dataTestId: "secondaryAction", onClick: handleSecondaryActionClick, variant: "secondary", children: secondaryActionLabel }), jsx(Button, { dataTestId: "primaryAction", onClick: handlePrimaryActionClick, variant: primaryActionType, children: primaryActionLabel })] })] }) }));
106
63
  };
107
64
 
108
65
  /**
@@ -122,25 +79,31 @@ const ConfirmationDialogContextProvider = ({ children }) => {
122
79
  const closeModal = React.useCallback(() => {
123
80
  setIsOpen(false);
124
81
  }, []);
125
- const confirmationDialogModalProps = React.useMemo(() => (Object.assign(Object.assign({}, confirmationDialogProps), { isOpen, handleDismiss: () => {
82
+ const confirmationDialogModalProps = React.useMemo(() => ({
83
+ ...confirmationDialogProps,
84
+ isOpen,
85
+ handleDismiss: () => {
126
86
  resolveAction === null || resolveAction === void 0 ? void 0 : resolveAction("CLOSE");
127
87
  closeModal();
128
- }, handlePrimaryActionClick: () => {
88
+ },
89
+ handlePrimaryActionClick: () => {
129
90
  resolveAction === null || resolveAction === void 0 ? void 0 : resolveAction("PRIMARY");
130
91
  closeModal();
131
- }, handleSecondaryActionClick: () => {
92
+ },
93
+ handleSecondaryActionClick: () => {
132
94
  resolveAction === null || resolveAction === void 0 ? void 0 : resolveAction("SECONDARY");
133
95
  closeModal();
134
- } })), [confirmationDialogProps, isOpen, resolveAction, closeModal]);
135
- const confirm = React.useCallback((props) => __awaiter(void 0, void 0, void 0, function* () {
136
- setConfirmationDialogProps(prev => (Object.assign(Object.assign({}, prev), props)));
96
+ },
97
+ }), [confirmationDialogProps, isOpen, resolveAction, closeModal]);
98
+ const confirm = React.useCallback(async (props) => {
99
+ setConfirmationDialogProps(prev => ({ ...prev, ...props }));
137
100
  setIsOpen(true);
138
101
  return new Promise(resolve => {
139
102
  setResolveAction(() => resolve);
140
103
  });
141
- }), []);
104
+ }, []);
142
105
  const value = React.useMemo(() => ({ confirm }), [confirm]);
143
- return (jsxs(ConfirmationDialogProvider, { value: value, children: [children, resolveAction ? jsx(ConfirmationDialogModal, Object.assign({}, confirmationDialogModalProps)) : null] }));
106
+ return (jsxs(ConfirmationDialogProvider, { value: value, children: [children, resolveAction ? jsx(ConfirmationDialogModal, { ...confirmationDialogModalProps }) : null] }));
144
107
  };
145
108
 
146
109
  /*
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@trackunit/react-compound-components",
3
- "version": "0.0.164",
3
+ "version": "0.0.167",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "dependencies": {
7
7
  "@trackunit/react-core-contexts-api": "*",
8
8
  "@trackunit/react-core-hooks": "*",
9
- "react": "^18.2.0",
9
+ "react": "18.3.1",
10
10
  "@trackunit/react-components": "*",
11
11
  "@trackunit/i18n-library-translation": "*",
12
12
  "@trackunit/react-modal": "*"
@@ -16,5 +16,6 @@
16
16
  "yarn": "3.8.2"
17
17
  },
18
18
  "module": "./index.esm.js",
19
- "main": "./index.cjs.js"
20
- }
19
+ "main": "./index.cjs.js",
20
+ "types": "./index.esm.d.ts"
21
+ }
@@ -5,4 +5,4 @@ export interface ConfirmationDialogProviderProps {
5
5
  /**
6
6
  *
7
7
  */
8
- export declare const ConfirmationDialogContextProvider: ({ children }: ConfirmationDialogProviderProps) => JSX.Element;
8
+ export declare const ConfirmationDialogContextProvider: ({ children }: ConfirmationDialogProviderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CommonProps } from "@trackunit/react-components";
3
2
  import { ConfirmationDialogProps } from "./useConfirmationDialog.demo";
4
3
  export interface ConfirmationDialogModalProps extends Pick<ConfirmationDialogProps, "title" | "message" | "primaryActionLabel" | "secondaryActionLabel" | "primaryActionType">, CommonProps {
@@ -10,4 +9,4 @@ export interface ConfirmationDialogModalProps extends Pick<ConfirmationDialogPro
10
9
  /**
11
10
  *
12
11
  */
13
- export declare const ConfirmationDialogModal: ({ isOpen, title, handleDismiss, message, handlePrimaryActionClick, handleSecondaryActionClick, secondaryActionLabel, primaryActionType, primaryActionLabel, ...rest }: ConfirmationDialogModalProps) => JSX.Element;
12
+ export declare const ConfirmationDialogModal: ({ isOpen, title, handleDismiss, message, handlePrimaryActionClick, handleSecondaryActionClick, secondaryActionLabel, primaryActionType, primaryActionLabel, ...rest }: ConfirmationDialogModalProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ConfirmationDialogProps as ConfirmationDialogPropsActual } from "@trackunit/react-core-contexts-api";
3
2
  export interface ConfirmationDialogProps extends ConfirmationDialogPropsActual {
4
3
  /**
@@ -38,4 +37,4 @@ export interface ConfirmationDialogProps extends ConfirmationDialogPropsActual {
38
37
  *
39
38
  * **ATTENTION:** In the Manager and Iris Apps, this hook will "just work". If you are using the hook in a custom setup, you need to wrap your app in the ConfirmationDialogContextProvider.
40
39
  */
41
- export declare const UseConfirmationDialogDemoComponent: (props: ConfirmationDialogProps) => JSX.Element;
40
+ export declare const UseConfirmationDialogDemoComponent: (props: ConfirmationDialogProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  import { Meta, StoryObj } from "@storybook/react";
3
2
  import { useConfirmationDialog } from "@trackunit/react-core-hooks";
4
3
  import { UseConfirmationDialogDemoComponent } from "./useConfirmationDialog.demo";
5
4
  type Story = StoryObj<typeof UseConfirmationDialogDemoComponent>;
6
5
  declare const meta: Meta<typeof useConfirmationDialog>;
7
6
  export default meta;
8
- export declare const packageName: () => JSX.Element;
7
+ export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
9
8
  export declare const Default: Story;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { NamespaceTransProps, TransForLibs, TranslationResource } from "@trackunit/i18n-library-translation";
3
2
  import defaultTranslations from "./locales/en/translation.json";
4
3
  /** A type for all available translation keys in this library */
@@ -27,7 +26,7 @@ export type TranslationFunction = TransForLibs<TranslationKeys>;
27
26
  /**
28
27
  * Trans for this specific library.
29
28
  */
30
- export declare const Trans: (props: NamespaceTransProps<TranslationKeys>) => JSX.Element;
29
+ export declare const Trans: (props: NamespaceTransProps<TranslationKeys>) => import("react/jsx-runtime").JSX.Element;
31
30
  /**
32
31
  * Registers the translations for this library
33
32
  */
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;
@@ -7,4 +7,4 @@ var translation = {
7
7
  "confirmationDialog.default.title": "Please confirm this action"
8
8
  };
9
9
 
10
- exports["default"] = translation;
10
+ exports.default = translation;