Conditions.js 746 B

123456789101112131415161718192021222324252627
  1. 'use strict';
  2. /**
  3. * Licensed Materials - Property of IBM
  4. * IBM Cognos Products: BI
  5. * (C) Copyright IBM Corp. 2016, 2019
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. */
  8. define(['../../lib/@waca/dashboard-common/dist/core/Model', './ConditionalPalette'], function (Model, ConditionalPalette) {
  9. /**
  10. * The conditional attributes of the widget
  11. */
  12. // Declare the class
  13. var Conditions = Model.extend({
  14. nestedModels: {
  15. palette: ConditionalPalette
  16. },
  17. whitelistAttrs: ['palette'],
  18. init: function init() /*values, options */{
  19. Conditions.inherited('init', this, arguments);
  20. }
  21. });
  22. return Conditions;
  23. });
  24. //# sourceMappingURL=Conditions.js.map