@ledvance/base 1.3.28 → 1.3.29

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.
@@ -176,7 +176,7 @@ const nativePropsSlice = createSlice({
176
176
  setTimeZone(state, action: PayloadAction<any>) {
177
177
  state.timeZone = action.payload
178
178
  },
179
- setGestrueControlValues(state, action: PayloadAction<any>) {
179
+ setGestureControlValues(state, action: PayloadAction<any>) {
180
180
  const keys = Object.keys(action.payload)
181
181
  keys.forEach(key => {
182
182
  state.gestureControlValues[key] = action.payload[key]
@@ -488,7 +488,7 @@ export const {
488
488
  setSystemTimeFormat,
489
489
  setTimeZone,
490
490
  setEnergieverbrauch,
491
- setGestrueControlValues,
491
+ setGestureControlValues,
492
492
  } = nativePropsSlice.actions
493
493
 
494
494
  export {
@@ -259,6 +259,7 @@ interface DialogProps {
259
259
  confirmText?: string
260
260
  subTitle?: string
261
261
  onConfirm: (data: any, args: { close: () => void }) => void
262
+ onCancel: () => void
262
263
  }
263
264
 
264
265
  export function showDialog(props: DialogProps) {
@@ -271,6 +272,7 @@ export function showDialog(props: DialogProps) {
271
272
  confirmText,
272
273
  subTitle,
273
274
  onConfirm,
275
+ onCancel
274
276
  } = props
275
277
  return (
276
278
  method === 'confirm' ?
@@ -280,6 +282,7 @@ export function showDialog(props: DialogProps) {
280
282
  confirmText: showConfirmText && (confirmText || I18n.getLang('conflict_dialog_save_item_fixedtimecycle_answer_yes_text')) || '',
281
283
  subTitle,
282
284
  onConfirm,
285
+ onCancel,
283
286
  motionConfig: {
284
287
  hideDuration: 0,
285
288
  showDuration: 100