@baloise/ds-testing 16.8.0 → 17.0.0-nightly.20241129

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.
@@ -1,4 +1,5 @@
1
1
  import './bal-input-stepper.command.esm.js';
2
2
  import './index.esm2.js';
3
3
  import './helpers.esm.js';
4
+ import '@baloise/ds-core';
4
5
  import './viewports.esm.js';
@@ -1,5 +1,6 @@
1
1
  import { b as byTestId, s as selectors } from './index.esm2.js';
2
- import { w as wrapOptions, l as log, c as checkAriaLabel, a as waitAfterFramePaint, b as waitAfterIdleCallback, d as areComponentsReady, e as deepReady, _ as _extends, f as isDropDown } from './helpers.esm.js';
2
+ import { w as wrapOptions, l as log, c as checkAriaLabel, a as waitAfterFramePaint, b as waitAfterIdleCallback, d as areComponentsReady, e as deepReady, f as isDropDown } from './helpers.esm.js';
3
+ import { waitAfterLargestContentfulPaintCallback } from '@baloise/ds-core';
3
4
  import { balViewport } from './viewports.esm.js';
4
5
 
5
6
  Cypress.Commands.add("getByTestId", function(testID, options) {
@@ -242,7 +243,7 @@ Cypress.Commands.add("waitForDesignSystem", function() {
242
243
  message: "DesignSystem is ready \uD83D\uDE80"
243
244
  });
244
245
  }).then(function() {
245
- return waitAfterFramePaint();
246
+ return waitAfterLargestContentfulPaintCallback();
246
247
  }).then(function() {
247
248
  return waitAfterIdleCallback();
248
249
  });
@@ -303,74 +304,6 @@ Cypress.Commands.add("balAccordionIsClosed", {
303
304
  return cy.wrapComponent(subject, o).should("not.have.class", "bal-accordion--active");
304
305
  });
305
306
 
306
- var getYear = function(date) {
307
- return date.getFullYear();
308
- };
309
- var getMonth = function(date) {
310
- return date.getMonth();
311
- };
312
- var formatDateString = function(date) {
313
- var day = "" + date.getDate();
314
- var month = "" + (date.getMonth() + 1);
315
- var pad = function(text) {
316
- return text.length === 1 ? "0" + text : text;
317
- };
318
- return date.getFullYear() + "-" + pad(month) + "-" + pad(day);
319
- };
320
- var selectorDayBox = function(date) {
321
- return '[data-date="' + formatDateString(date) + '"]';
322
- };
323
- Cypress.Commands.add("balDatepickerToggle", {
324
- prevSubject: true
325
- }, function(subject, options) {
326
- log("balDatepickerToggle", "", subject, options);
327
- var o = wrapOptions(options);
328
- return cy.wrapComponent(subject, o).find(".datepicker-trigger-icon", o).click(o).wrapComponent(subject, o);
329
- });
330
- Cypress.Commands.add("balDatepickerIsOpen", {
331
- prevSubject: true
332
- }, function(subject, options) {
333
- log("balDatepickerIsOpen", "", subject, options);
334
- var o = wrapOptions(options);
335
- return cy.wrapComponent(subject, o).find("bal-popover", o).should("have.attr", "aria-presented", "true").wrapComponent(subject, o);
336
- });
337
- Cypress.Commands.add("balDatepickerIsClosed", {
338
- prevSubject: true
339
- }, function(subject, options) {
340
- log("balDatepickerIsClosed", "", subject, options);
341
- var o = wrapOptions(options);
342
- return cy.wrapComponent(subject, o).find("bal-popover", o).should("not.have.attr", "aria-presented").wrapComponent(subject, o);
343
- });
344
- Cypress.Commands.add("balDatepickerPick", {
345
- prevSubject: true
346
- }, function(subject, date, options) {
347
- log("balDatepickerPick", formatDateString(date), subject, options);
348
- var o = wrapOptions(options);
349
- return cy.wrapComponent(subject, o).balDatepickerIsOpen(o).within(function() {
350
- cy.get(".bal-datepicker-pagination__month-and-year__select--month select", o).first(o).select(getMonth(date).toString(), o);
351
- cy.get(".bal-datepicker-pagination__month-and-year__select--year select", o).first(o).select(getYear(date).toString(), o);
352
- cy.get(selectorDayBox(date), o).click(o);
353
- }).wrapComponent(subject, o);
354
- });
355
- Cypress.Commands.add("balDatepickerIsDateInRange", {
356
- prevSubject: true
357
- }, function(subject, date, options) {
358
- log("balDatepickerIsDateInRange", formatDateString(date), subject, options);
359
- var o = wrapOptions(options);
360
- return cy.wrapComponent(subject, o).find(selectorDayBox(date), _extends({}, o, {
361
- force: true
362
- })).should("not.have.class", "is-disabled").wrapComponent(subject, o);
363
- });
364
- Cypress.Commands.add("balDatepickerIsDateNotInRange", {
365
- prevSubject: true
366
- }, function(subject, date, options) {
367
- log("balDatepickerIsDateNotInRange", formatDateString(date), subject, options);
368
- var o = wrapOptions(options);
369
- return cy.wrapComponent(subject, o).find(selectorDayBox(date), _extends({}, o, {
370
- force: true
371
- })).should("have.class", "is-disabled").wrapComponent(subject, o);
372
- });
373
-
374
307
  Cypress.Commands.add("balPopoverToggle", {
375
308
  prevSubject: true
376
309
  }, function(subject, options) {
package/helpers.esm.js CHANGED
@@ -247,9 +247,6 @@ var isButton = function(el) {
247
247
  var isCheckbox = function(el) {
248
248
  return isElement(el, "BAL-CHECKBOX");
249
249
  };
250
- var isDatepicker = function(el) {
251
- return isElement(el, "BAL-DATEPICKER");
252
- };
253
250
  var isNumberInput = function(el) {
254
251
  return isElement(el, "BAL-NUMBER-INPUT");
255
252
  };
@@ -368,4 +365,4 @@ function checkAriaLabel(element, label) {
368
365
  ].includes(label.trim());
369
366
  }
370
367
 
371
- export { isTabs as A, hasTestId as B, isSteps as C, _extends as _, waitAfterFramePaint as a, waitAfterIdleCallback as b, checkAriaLabel as c, areComponentsReady as d, deepReady as e, isDropDown as f, isAccordion as g, isCheckbox as h, isButton as i, isDatepicker as j, isInput as k, log as l, isInputDate as m, isNumberInput as n, isTextarea as o, isSlider as p, isRadio as q, isSelect as r, wrapCommand as s, testOnPlatforms as t, isTag as u, isHint as v, wrapOptions as w, hasClass as x, isLabel as y, isInputStepper as z };
368
+ export { hasTestId as A, isSteps as B, _extends as _, waitAfterFramePaint as a, waitAfterIdleCallback as b, checkAriaLabel as c, areComponentsReady as d, deepReady as e, isDropDown as f, isAccordion as g, isCheckbox as h, isButton as i, isInput as j, isInputDate as k, log as l, isNumberInput as m, isTextarea as n, isSlider as o, isRadio as p, isSelect as q, wrapCommand as r, isTag as s, testOnPlatforms as t, isHint as u, hasClass as v, wrapOptions as w, isLabel as x, isInputStepper as y, isTabs as z };
package/index.esm.js CHANGED
@@ -5,6 +5,7 @@ export { t as testOnPlatforms } from './helpers.esm.js';
5
5
  import 'cypress-file-upload';
6
6
  import './bal-input-stepper.command.esm.js';
7
7
  import './type.command.esm.js';
8
+ import '@baloise/ds-core';
8
9
 
9
10
  /// <reference types="cypress" />
10
11
  var hasPrintedDeprecation = false;
@@ -414,94 +415,6 @@ var CheckboxContainableMixin = function(param) {
414
415
  };
415
416
  var CheckboxAccessor = createAccessor(AndableMixin, CheckboxClickableMixin, CheckboxContainableMixin, ExistableMixin, VisibleMixin, NthSelectableMixin, BlurableMixin, ShouldableMixin, AttributableMixin, UrlableMixin, WaitableMixin, FindableMixin, InvokableMixin, ThenableMixin, LengthableMixin, EachableMixin);
416
417
 
417
- /// <reference types="cypress" />
418
- var DatePickerWriteMixin = function(param) {
419
- var selector = param.selector, creator = param.creator;
420
- return {
421
- write: function(date) {
422
- cy.get(selector).type(date);
423
- return creator();
424
- }
425
- };
426
- };
427
- var DatePickerPickableMixin = function(param) {
428
- var selector = param.selector, creator = param.creator;
429
- return {
430
- pick: function(date) {
431
- if (cy.get(selector).balDatepickerIsClosed()) {
432
- cy.get(selector).balDatepickerToggle();
433
- }
434
- cy.get(selector).balDatepickerPick(date);
435
- return creator();
436
- }
437
- };
438
- };
439
- var DatePickerOpenableMixin = function(param) {
440
- var selector = param.selector, creator = param.creator;
441
- return {
442
- open: function() {
443
- if (cy.get(selector).balDatepickerIsClosed()) {
444
- cy.get(selector).balDatepickerToggle();
445
- }
446
- return creator();
447
- }
448
- };
449
- };
450
- var DatePickerShouldHaveValueAssertableMixin = function(param) {
451
- var selector = param.selector, creator = param.creator;
452
- return {
453
- shouldHaveValue: function(date) {
454
- var day = "" + date.getDate();
455
- var month = "" + (date.getMonth() + 1);
456
- var pad = function(text) {
457
- return text.length === 1 ? "0" + text : text;
458
- };
459
- cy.get(selector).should("have.value", pad(day) + "." + pad(month) + "." + date.getFullYear());
460
- return creator();
461
- }
462
- };
463
- };
464
- /**
465
- * TODO: need to rework
466
- */ var DatePickerErrorAssertableMixin = function(param) {
467
- var element = param.element, creator = param.creator;
468
- return {
469
- errorCheck: function(name, error) {
470
- element.clear();
471
- var message = cy.get("cip-error[ng-reflect-control-name=" + name + "]");
472
- message.should("contain", error);
473
- return creator();
474
- }
475
- };
476
- };
477
- /**
478
- * TODO: need to rework
479
- */ var DatePickerNoErrorAssertableMixin = function(param) {
480
- var creator = param.creator;
481
- return {
482
- noErrorCheck: function(name) {
483
- var noMessage = cy.get("cip-error[ng-reflect-control-name=" + name + "]");
484
- noMessage.should("be.empty");
485
- return creator();
486
- }
487
- };
488
- };
489
- var DatePickerMinMaxRangeAssertableMixin = function(param) {
490
- var selector = param.selector, creator = param.creator;
491
- return {
492
- assertDateInRange: function(date, shouldBeInRange) {
493
- if (shouldBeInRange === void 0) shouldBeInRange = true;
494
- if (shouldBeInRange) {
495
- cy.get(selector).balDatepickerIsDateInRange(date);
496
- } else {
497
- cy.get(selector).balDatepickerIsDateNotInRange(date);
498
- }
499
- return creator();
500
- }
501
- };
502
- };
503
- var DatePickerAccessor = createAccessor(DatePickerWriteMixin, DatePickerPickableMixin, DatePickerShouldHaveValueAssertableMixin, DatePickerErrorAssertableMixin, DatePickerNoErrorAssertableMixin, DatePickerMinMaxRangeAssertableMixin, DatePickerOpenableMixin);
504
-
505
418
  /// <reference types="cypress" />
506
419
  var DropDownClickableMixin = function(param) {
507
420
  var selector = param.selector, creator = param.creator;
@@ -888,4 +801,4 @@ var TooltipAccessor = createAccessor(AndableMixin, HoverMixin, HoverContainableM
888
801
  /// <reference types="cypress" />
889
802
  var TypeaheadAccessor = createAccessor(AndableMixin, ClickableMixin, TypeableMixin, BlurableMixin, ClearableMixin, ContainableMixin, InputValueAssertableMixin, ErrorAssertableMixin, ShouldableMixin, NthSelectableMixin, SiblingDropDownAssertableOptionsMixin(), SiblingDropDownContainableMixin(), SiblingDropDownSelectableMixin(), AttributableMixin, UrlableMixin, FindableMixin, WaitableMixin, InvokableMixin, ThenableMixin, LengthableMixin, EachableMixin);
890
803
 
891
- export { AccordionAccessor, AccordionAssertableMixin, AccordionClickableMixin, AccordionContainableMixin, AccordionTileClickableMixin, AndableMixin, AttachableMixin, AttributableMixin, BlurableMixin, ButtonAccessor, CheckableMixin, CheckboxAccessor, CheckboxClickableMixin, CheckboxContainableMixin, ClearableMixin, ClickableMixin, ContainableMixin, DatePickerAccessor, DatePickerErrorAssertableMixin, DatePickerMinMaxRangeAssertableMixin, DatePickerNoErrorAssertableMixin, DatePickerOpenableMixin, DatePickerPickableMixin, DatePickerShouldHaveValueAssertableMixin, DatePickerWriteMixin, DisableableMixin, DropDownAccessor, DropDownAssertableOptionsMixin, DropDownClickableMixin, DropDownContainableMixin, DropDownSelectableMixin, EachableMixin, ErrorAccessor, ErrorAssertableMixin, ExistableMixin, FindableMixin, HoverContainableMixin, HoverMixin, IconAccessor, InputAccessor, InputValueAssertableMixin, InvokableMixin, LengthableMixin, LibIconAssertableMixin, LinkAccessor, LinkClickableMixin, LinkHrefContainsAssertableMixin, LinkHrefEqualsAssertableMixin, LinkWithTargetAttribute, LinkWithoutTargetAttribute, ListAccessor, ListAssertableMixin, ListSelectableMixin, MultiSelectButtonAccessor, MultiSelectButtonSelectableMixin, NavigationAccessor, NthSelectableMixin, RadioAccessor, SelectButtonAccessor, SelectButtonSelectableMixin, ShouldableMixin, SiblingDropDownAssertableOptionsMixin, SiblingDropDownContainableMixin, SiblingDropDownSelectableMixin, SuccessToastableMixin, TableAccessor, TableRowClickableMixin, TableRowContainableMixin, TabsAccessor, TabsAssertVisibleMixin, Target, TextAccessor, ThenableMixin, TileAccessor, TileClickableMixin, TileContainableMixin, ToastAccessor, TooltipAccessor, TypeableMixin, TypeaheadAccessor, UrlableMixin, VisibleMixin, WaitableMixin, createAccessor };
804
+ export { AccordionAccessor, AccordionAssertableMixin, AccordionClickableMixin, AccordionContainableMixin, AccordionTileClickableMixin, AndableMixin, AttachableMixin, AttributableMixin, BlurableMixin, ButtonAccessor, CheckableMixin, CheckboxAccessor, CheckboxClickableMixin, CheckboxContainableMixin, ClearableMixin, ClickableMixin, ContainableMixin, DisableableMixin, DropDownAccessor, DropDownAssertableOptionsMixin, DropDownClickableMixin, DropDownContainableMixin, DropDownSelectableMixin, EachableMixin, ErrorAccessor, ErrorAssertableMixin, ExistableMixin, FindableMixin, HoverContainableMixin, HoverMixin, IconAccessor, InputAccessor, InputValueAssertableMixin, InvokableMixin, LengthableMixin, LibIconAssertableMixin, LinkAccessor, LinkClickableMixin, LinkHrefContainsAssertableMixin, LinkHrefEqualsAssertableMixin, LinkWithTargetAttribute, LinkWithoutTargetAttribute, ListAccessor, ListAssertableMixin, ListSelectableMixin, MultiSelectButtonAccessor, MultiSelectButtonSelectableMixin, NavigationAccessor, NthSelectableMixin, RadioAccessor, SelectButtonAccessor, SelectButtonSelectableMixin, ShouldableMixin, SiblingDropDownAssertableOptionsMixin, SiblingDropDownContainableMixin, SiblingDropDownSelectableMixin, SuccessToastableMixin, TableAccessor, TableRowClickableMixin, TableRowContainableMixin, TabsAccessor, TabsAssertVisibleMixin, Target, TextAccessor, ThenableMixin, TileAccessor, TileClickableMixin, TileContainableMixin, ToastAccessor, TooltipAccessor, TypeableMixin, TypeaheadAccessor, UrlableMixin, VisibleMixin, WaitableMixin, createAccessor };
package/index.esm2.js CHANGED
@@ -142,11 +142,6 @@ var byDataSelectors = function(dateTestId, dataSelectors, value) {
142
142
  * Label span element.
143
143
  */ text: byTestId("bal-checkbox-text")
144
144
  },
145
- datepicker: {
146
- /**
147
- * Native input element.
148
- */ input: byTestId("bal-datepicker-input")
149
- },
150
145
  field: {
151
146
  /**
152
147
  * Hint element.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baloise/ds-testing",
3
- "version": "16.8.0",
3
+ "version": "17.0.0-nightly.20241129",
4
4
  "description": "The Baloise Design-System is an open source project for styling awesome web applications that follow the Baloise corporate styling guidelines.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  "homepage": "https://design.baloise.dev",
13
13
  "license": "Apache-2.0",
14
14
  "dependencies": {
15
- "@baloise/ds-core": "16.8.0",
15
+ "@baloise/ds-core": "17.0.0-nightly.20241129",
16
16
  "cypress-file-upload": "~5.0.8"
17
17
  },
18
18
  "module": "./index.esm.js",
@@ -7,7 +7,6 @@ import './commands/custom/component.command';
7
7
  import './commands/custom/platform.command';
8
8
  import './commands/custom/visit.command';
9
9
  import './commands/custom/bal-accordion.types';
10
- import './commands/custom/bal-datepicker.types';
11
10
  import './commands/custom/bal-popover.types';
12
11
  import './commands/custom/bal-popup.types';
13
12
  import './commands/custom/bal-hint.types';
@@ -21,7 +20,6 @@ import './commands/custom/bal-toast.types';
21
20
  import './commands/custom/bal-field.types';
22
21
  import './commands/custom/bal-input-stepper.types';
23
22
  import './commands/custom/bal-accordion.command';
24
- import './commands/custom/bal-datepicker.command';
25
23
  import './commands/custom/bal-popover.command';
26
24
  import './commands/custom/bal-popup.command';
27
25
  import './commands/custom/bal-hint.command';
@@ -27,6 +27,10 @@ declare namespace Cypress {
27
27
  * Waits until the Design System is fully loaded and rendered
28
28
  */
29
29
  waitForDesignSystem(): Chainable<JQuery>;
30
+ /**
31
+ * Waits until the browser goes into idle mode
32
+ */
33
+ waitAfterLastCallback(): Chainable<JQuery>;
30
34
  /**
31
35
  * Waits until the browser goes into idle mode
32
36
  */
@@ -18,7 +18,6 @@ export declare const isLabel: isElementType;
18
18
  export declare const isAccordion: isElementType;
19
19
  export declare const isButton: isElementType;
20
20
  export declare const isCheckbox: isElementType;
21
- export declare const isDatepicker: isElementType;
22
21
  export declare const isNumberInput: isElementType;
23
22
  export declare const isModal: isElementType;
24
23
  export declare const isRadioGroup: isElementType;
@@ -24,7 +24,6 @@ export * from './accessors/mixins/waitable';
24
24
  export * from './accessors/accordion.accessor';
25
25
  export * from './accessors/button.accessor';
26
26
  export * from './accessors/checkbox.accessor';
27
- export * from './accessors/date-picker.accessor';
28
27
  export * from './accessors/drop-down.accessor';
29
28
  export * from './accessors/error.accessor';
30
29
  export * from './accessors/icon-accessor';
@@ -137,12 +137,6 @@ export declare const selectors: {
137
137
  */
138
138
  text: string;
139
139
  };
140
- datepicker: {
141
- /**
142
- * Native input element.
143
- */
144
- input: string;
145
- };
146
140
  field: {
147
141
  /**
148
142
  * Hint element.
@@ -1,5 +1,5 @@
1
1
  import { s as selectors, p as parseDataTestID, a as byDataSelectors } from './index.esm2.js';
2
- import { g as isAccordion, i as isButton, h as isCheckbox, j as isDatepicker, k as isInput, m as isInputDate, n as isNumberInput, o as isTextarea, p as isSlider, q as isRadio, r as isSelect, f as isDropDown, s as wrapCommand, w as wrapOptions, u as isTag, v as isHint, l as log, x as hasClass, y as isLabel, z as isInputStepper, A as isTabs, B as hasTestId, C as isSteps } from './helpers.esm.js';
2
+ import { g as isAccordion, i as isButton, h as isCheckbox, j as isInput, k as isInputDate, m as isNumberInput, n as isTextarea, o as isSlider, p as isRadio, q as isSelect, f as isDropDown, r as wrapCommand, w as wrapOptions, s as isTag, u as isHint, l as log, v as hasClass, x as isLabel, y as isInputStepper, z as isTabs, A as hasTestId, B as isSteps } from './helpers.esm.js';
3
3
 
4
4
  Cypress.Commands.overwrite("blur", function(originalFn, element, options) {
5
5
  var command = wrapCommand("blur", element, "", function($el) {
@@ -14,9 +14,6 @@ Cypress.Commands.overwrite("blur", function(originalFn, element, options) {
14
14
  if (isCheckbox(element)) {
15
15
  return command(selectors.checkbox.input);
16
16
  }
17
- if (isDatepicker(element)) {
18
- return command(selectors.datepicker.input);
19
- }
20
17
  if (isInput(element)) {
21
18
  return command(selectors.input.native);
22
19
  }
@@ -69,9 +66,6 @@ Cypress.Commands.overwrite("clear", function(originalFn, element, options) {
69
66
  if (isCheckbox(element)) {
70
67
  return command(selectors.checkbox.input);
71
68
  }
72
- if (isDatepicker(element)) {
73
- return command(selectors.datepicker.input);
74
- }
75
69
  if (isInput(element)) {
76
70
  return command(selectors.input.native);
77
71
  }
@@ -125,9 +119,6 @@ Cypress.Commands.overwrite("click", function(originalFn, element, options) {
125
119
  if (isCheckbox(element)) {
126
120
  return command(selectors.checkbox.label);
127
121
  }
128
- if (isDatepicker(element)) {
129
- return command(selectors.datepicker.input);
130
- }
131
122
  if (isRadio(element)) {
132
123
  return command(selectors.radio.label);
133
124
  }
@@ -156,9 +147,6 @@ Cypress.Commands.overwrite("focus", function(originalFn, element, options) {
156
147
  if (isCheckbox(element)) {
157
148
  return command(selectors.checkbox.input);
158
149
  }
159
- if (isDatepicker(element)) {
160
- return command(selectors.datepicker.input);
161
- }
162
150
  if (isInput(element)) {
163
151
  return command(selectors.input.native);
164
152
  }
@@ -256,19 +244,6 @@ var shouldAndAndCommand = function(originalFn, element, condition, key, value, o
256
244
  return originalFn(element.find("input"), condition, key, value, options);
257
245
  }
258
246
  }
259
- if (isDatepicker(element)) {
260
- switch(condition){
261
- case "have.focus":
262
- case "not.have.focus":
263
- case "have.value":
264
- case "not.have.value":
265
- case "be.disabled":
266
- case "not.be.disabled":
267
- return originalFn(element.find(selectors.datepicker.input, {
268
- log: false
269
- }), condition, key, value, options);
270
- }
271
- }
272
247
  if (isInput(element)) {
273
248
  if ([
274
249
  "be.disabled",
@@ -1 +0,0 @@
1
- export {};
@@ -1,31 +0,0 @@
1
- /// <reference types="cypress" />
2
- /// <reference types="cypress" />
3
- /// <reference types="cypress" />
4
- declare namespace Cypress {
5
- interface Chainable {
6
- /**
7
- * Opens and closes the datepicker popover.
8
- */
9
- balDatepickerToggle(options?: Partial<Loggable>): Chainable<JQuery>;
10
- /**
11
- * Assert if the datepicker popover is open.
12
- */
13
- balDatepickerIsOpen(options?: Partial<Loggable>): Chainable<JQuery>;
14
- /**
15
- * Assert if the datepicker popover is closed.
16
- */
17
- balDatepickerIsClosed(options?: Partial<Loggable>): Chainable<JQuery>;
18
- /**
19
- * Picks the date in the datepicker like a human.
20
- */
21
- balDatepickerPick(date: Date, options?: Partial<Loggable>): Chainable<JQuery>;
22
- /**
23
- * Asserts if the given date is in range in the datepicker popover.
24
- */
25
- balDatepickerIsDateInRange(date: Date, options?: Partial<Loggable>): Chainable<JQuery>;
26
- /**
27
- * Asserts if the given date is not in range in the datepicker popover.
28
- */
29
- balDatepickerIsDateNotInRange(date: Date, options?: Partial<Loggable>): Chainable<JQuery>;
30
- }
31
- }
@@ -1,24 +0,0 @@
1
- import { Accessor, Mixin } from './mixins/mixins';
2
- export interface DatePickerAccessorType {
3
- write(date: string): DatePickerAccessorType;
4
- pick(date: Date): DatePickerAccessorType;
5
- open(): DatePickerAccessorType;
6
- shouldHaveValue(date: Date): DatePickerAccessorType;
7
- errorCheck(name: string, error: string): void;
8
- noErrorCheck(name: string): void;
9
- assertDateInRange(date: Date, shouldBeInRange?: boolean): DatePickerAccessorType;
10
- }
11
- export declare const DatePickerWriteMixin: Mixin;
12
- export declare const DatePickerPickableMixin: Mixin;
13
- export declare const DatePickerOpenableMixin: Mixin;
14
- export declare const DatePickerShouldHaveValueAssertableMixin: Mixin;
15
- /**
16
- * TODO: need to rework
17
- */
18
- export declare const DatePickerErrorAssertableMixin: Mixin;
19
- /**
20
- * TODO: need to rework
21
- */
22
- export declare const DatePickerNoErrorAssertableMixin: Mixin;
23
- export declare const DatePickerMinMaxRangeAssertableMixin: Mixin;
24
- export declare const DatePickerAccessor: Accessor<DatePickerAccessorType>;