camunda-bpmn-js 0.15.1 → 0.15.2

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.
@@ -76417,12 +76417,6 @@
76417
76417
  function isArray$4(obj) {
76418
76418
  return nativeToString$2.call(obj) === '[object Array]';
76419
76419
  }
76420
- function isObject$1(obj) {
76421
- return nativeToString$2.call(obj) === '[object Object]';
76422
- }
76423
- function isNumber$1(obj) {
76424
- return nativeToString$2.call(obj) === '[object Number]';
76425
- }
76426
76420
  function isFunction$1(obj) {
76427
76421
  var tag = nativeToString$2.call(obj);
76428
76422
  return tag === '[object Function]' || tag === '[object AsyncFunction]' || tag === '[object GeneratorFunction]' || tag === '[object AsyncGeneratorFunction]' || tag === '[object Proxy]';
@@ -76538,167 +76532,6 @@
76538
76532
  return Number(arg);
76539
76533
  }
76540
76534
 
76541
- /**
76542
- * Is an element of the given BPMN type?
76543
- *
76544
- * @param {djs.model.Base|ModdleElement} element
76545
- * @param {string} type
76546
- *
76547
- * @return {boolean}
76548
- */
76549
- function is$3(element, type) {
76550
- var bo = getBusinessObject$1(element);
76551
-
76552
- return bo && (typeof bo.$instanceOf === 'function') && bo.$instanceOf(type);
76553
- }
76554
-
76555
- /**
76556
- * Return the business object for a given element.
76557
- *
76558
- * @param {djs.model.Base|ModdleElement} element
76559
- *
76560
- * @return {ModdleElement}
76561
- */
76562
- function getBusinessObject$1(element) {
76563
- return (element && element.businessObject) || element;
76564
- }
76565
-
76566
- var DEFAULT_PRIORITY$8 = 1000;
76567
-
76568
- /**
76569
- * A utility that can be used to plug-in into the command execution for
76570
- * extension and/or validation.
76571
- *
76572
- * @param {EventBus} eventBus
76573
- *
76574
- * @example
76575
- *
76576
- * import inherits from 'inherits';
76577
- *
76578
- * import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
76579
- *
76580
- * function CommandLogger(eventBus) {
76581
- * CommandInterceptor.call(this, eventBus);
76582
- *
76583
- * this.preExecute(function(event) {
76584
- * console.log('command pre-execute', event);
76585
- * });
76586
- * }
76587
- *
76588
- * inherits(CommandLogger, CommandInterceptor);
76589
- *
76590
- */
76591
- function CommandInterceptor$1(eventBus) {
76592
- this._eventBus = eventBus;
76593
- }
76594
-
76595
- CommandInterceptor$1.$inject = [ 'eventBus' ];
76596
-
76597
- function unwrapEvent$1(fn, that) {
76598
- return function(event) {
76599
- return fn.call(that || null, event.context, event.command, event);
76600
- };
76601
- }
76602
-
76603
- /**
76604
- * Register an interceptor for a command execution
76605
- *
76606
- * @param {string|Array<string>} [events] list of commands to register on
76607
- * @param {string} [hook] command hook, i.e. preExecute, executed to listen on
76608
- * @param {number} [priority] the priority on which to hook into the execution
76609
- * @param {Function} handlerFn interceptor to be invoked with (event)
76610
- * @param {boolean} unwrap if true, unwrap the event and pass (context, command, event) to the
76611
- * listener instead
76612
- * @param {Object} [that] Pass context (`this`) to the handler function
76613
- */
76614
- CommandInterceptor$1.prototype.on = function(events, hook, priority, handlerFn, unwrap, that) {
76615
-
76616
- if (isFunction$1(hook) || isNumber$1(hook)) {
76617
- that = unwrap;
76618
- unwrap = handlerFn;
76619
- handlerFn = priority;
76620
- priority = hook;
76621
- hook = null;
76622
- }
76623
-
76624
- if (isFunction$1(priority)) {
76625
- that = unwrap;
76626
- unwrap = handlerFn;
76627
- handlerFn = priority;
76628
- priority = DEFAULT_PRIORITY$8;
76629
- }
76630
-
76631
- if (isObject$1(unwrap)) {
76632
- that = unwrap;
76633
- unwrap = false;
76634
- }
76635
-
76636
- if (!isFunction$1(handlerFn)) {
76637
- throw new Error('handlerFn must be a function');
76638
- }
76639
-
76640
- if (!isArray$4(events)) {
76641
- events = [ events ];
76642
- }
76643
-
76644
- var eventBus = this._eventBus;
76645
-
76646
- forEach$2(events, function(event) {
76647
-
76648
- // concat commandStack(.event)?(.hook)?
76649
- var fullEvent = [ 'commandStack', event, hook ].filter(function(e) { return e; }).join('.');
76650
-
76651
- eventBus.on(fullEvent, priority, unwrap ? unwrapEvent$1(handlerFn, that) : handlerFn, that);
76652
- });
76653
- };
76654
-
76655
-
76656
- var hooks$1 = [
76657
- 'canExecute',
76658
- 'preExecute',
76659
- 'preExecuted',
76660
- 'execute',
76661
- 'executed',
76662
- 'postExecute',
76663
- 'postExecuted',
76664
- 'revert',
76665
- 'reverted'
76666
- ];
76667
-
76668
- /*
76669
- * Install hook shortcuts
76670
- *
76671
- * This will generate the CommandInterceptor#(preExecute|...|reverted) methods
76672
- * which will in term forward to CommandInterceptor#on.
76673
- */
76674
- forEach$2(hooks$1, function(hook) {
76675
-
76676
- /**
76677
- * {canExecute|preExecute|preExecuted|execute|executed|postExecute|postExecuted|revert|reverted}
76678
- *
76679
- * A named hook for plugging into the command execution
76680
- *
76681
- * @param {string|Array<string>} [events] list of commands to register on
76682
- * @param {number} [priority] the priority on which to hook into the execution
76683
- * @param {Function} handlerFn interceptor to be invoked with (event)
76684
- * @param {boolean} [unwrap=false] if true, unwrap the event and pass (context, command, event) to the
76685
- * listener instead
76686
- * @param {Object} [that] Pass context (`this`) to the handler function
76687
- */
76688
- CommandInterceptor$1.prototype[hook] = function(events, priority, handlerFn, unwrap, that) {
76689
-
76690
- if (isFunction$1(events) || isNumber$1(events)) {
76691
- that = unwrap;
76692
- unwrap = handlerFn;
76693
- handlerFn = priority;
76694
- priority = events;
76695
- events = null;
76696
- }
76697
-
76698
- this.on(events, hook, priority, handlerFn, unwrap, that);
76699
- };
76700
- });
76701
-
76702
76535
  /**
76703
76536
  * Get extension elements of business object. Optionally filter by type.
76704
76537
  *
@@ -76707,7 +76540,7 @@
76707
76540
  * @returns {Array<ModdleElement>}
76708
76541
  */
76709
76542
  function getExtensionElementsList$1(element, type = undefined) {
76710
- const businessObject = getBusinessObject$1(element),
76543
+ const businessObject = getBusinessObject(element),
76711
76544
  extensionElements = businessObject.get('extensionElements');
76712
76545
 
76713
76546
  if (!extensionElements) {
@@ -76721,7 +76554,7 @@
76721
76554
  }
76722
76555
 
76723
76556
  if (type) {
76724
- return values.filter(value => is$3(value, type));
76557
+ return values.filter(value => is$1(value, type));
76725
76558
  }
76726
76559
 
76727
76560
  return values;
@@ -76761,7 +76594,7 @@
76761
76594
  * (1) zeebe:CalledDecision
76762
76595
  * (2) zeebe:TaskDefinition and zeebe:TaskHeaders
76763
76596
  */
76764
- class CleanUpBusinessRuleTaskBehavior extends CommandInterceptor$1 {
76597
+ class CleanUpBusinessRuleTaskBehavior extends CommandInterceptor {
76765
76598
  constructor(commandStack, eventBus) {
76766
76599
  super(eventBus);
76767
76600
 
@@ -76776,8 +76609,8 @@
76776
76609
  } = context;
76777
76610
 
76778
76611
  if (
76779
- !is$3(element, 'bpmn:BusinessRuleTask')
76780
- || !is$3(moddleElement, 'bpmn:ExtensionElements')
76612
+ !is$1(element, 'bpmn:BusinessRuleTask')
76613
+ || !is$1(moddleElement, 'bpmn:ExtensionElements')
76781
76614
  || !properties.values
76782
76615
  ) {
76783
76616
  return;
@@ -76789,8 +76622,8 @@
76789
76622
  if (
76790
76623
  calledDecision
76791
76624
  && !taskDefinition
76792
- && properties.values.find(value => is$3(value, 'zeebe:CalledDecision'))
76793
- && properties.values.find(value => is$3(value, 'zeebe:TaskDefinition'))
76625
+ && properties.values.find(value => is$1(value, 'zeebe:CalledDecision'))
76626
+ && properties.values.find(value => is$1(value, 'zeebe:TaskDefinition'))
76794
76627
  ) {
76795
76628
  properties.values = without$1(properties.values, calledDecision);
76796
76629
  }
@@ -76807,8 +76640,8 @@
76807
76640
  } = context;
76808
76641
 
76809
76642
  if (
76810
- !is$3(element, 'bpmn:BusinessRuleTask')
76811
- || !is$3(moddleElement, 'bpmn:ExtensionElements')
76643
+ !is$1(element, 'bpmn:BusinessRuleTask')
76644
+ || !is$1(moddleElement, 'bpmn:ExtensionElements')
76812
76645
  || !properties.values
76813
76646
  ) {
76814
76647
  return;
@@ -76821,8 +76654,8 @@
76821
76654
  if (
76822
76655
  !calledDecision
76823
76656
  && (taskDefinition || taskHeaders)
76824
- && properties.values.find(value => is$3(value, 'zeebe:CalledDecision'))
76825
- && properties.values.find(value => is$3(value, 'zeebe:TaskDefinition') || is$3(value, 'zeebe:TaskHeaders'))
76657
+ && properties.values.find(value => is$1(value, 'zeebe:CalledDecision'))
76658
+ && properties.values.find(value => is$1(value, 'zeebe:TaskDefinition') || is$1(value, 'zeebe:TaskHeaders'))
76826
76659
  ) {
76827
76660
  properties.values = without$1(properties.values, (value) => value === taskDefinition || value === taskHeaders);
76828
76661
  }
@@ -76840,19 +76673,19 @@
76840
76673
  // helpers //////////
76841
76674
 
76842
76675
  function getCalledDecision$2(element) {
76843
- const businessObject = getBusinessObject$1(element);
76676
+ const businessObject = getBusinessObject(element);
76844
76677
 
76845
76678
  return getExtensionElementsList$1(businessObject, 'zeebe:CalledDecision')[ 0 ];
76846
76679
  }
76847
76680
 
76848
76681
  function getTaskDefinition$3(element) {
76849
- const businessObject = getBusinessObject$1(element);
76682
+ const businessObject = getBusinessObject(element);
76850
76683
 
76851
76684
  return getExtensionElementsList$1(businessObject, 'zeebe:TaskDefinition')[ 0 ];
76852
76685
  }
76853
76686
 
76854
76687
  function getTaskHeaders$1(element) {
76855
- const businessObject = getBusinessObject$1(element);
76688
+ const businessObject = getBusinessObject(element);
76856
76689
 
76857
76690
  return getExtensionElementsList$1(businessObject, 'zeebe:TaskHeaders')[ 0 ];
76858
76691
  }
@@ -76884,7 +76717,7 @@
76884
76717
  * @return {ModdleElement}
76885
76718
  */
76886
76719
  function getIoMapping$1(element) {
76887
- const businessObject = getBusinessObject$1(element);
76720
+ const businessObject = getBusinessObject(element);
76888
76721
 
76889
76722
  const extensionElements = businessObject.get('extensionElements');
76890
76723
 
@@ -76893,7 +76726,7 @@
76893
76726
  }
76894
76727
 
76895
76728
  return extensionElements.get('values').find((value) => {
76896
- return is$3(value, 'zeebe:IoMapping');
76729
+ return is$1(value, 'zeebe:IoMapping');
76897
76730
  });
76898
76731
  }
76899
76732
 
@@ -76939,7 +76772,7 @@
76939
76772
  * @returns {boolean}
76940
76773
  */
76941
76774
  function getPropagateAllChildVariablesDefault(element) {
76942
- if (!is$3(element, 'bpmn:CallActivity')) {
76775
+ if (!is$1(element, 'bpmn:CallActivity')) {
76943
76776
  return false;
76944
76777
  }
76945
76778
 
@@ -76964,7 +76797,7 @@
76964
76797
  }
76965
76798
 
76966
76799
  function getCalledElements$1(element) {
76967
- const businessObject = getBusinessObject$1(element);
76800
+ const businessObject = getBusinessObject(element);
76968
76801
 
76969
76802
  return getExtensionElementsList$1(businessObject, 'zeebe:CalledElement');
76970
76803
  }
@@ -76978,11 +76811,11 @@
76978
76811
  * @returns {boolean}
76979
76812
  */
76980
76813
  function isPropagateAllChildVariables$1(element) {
76981
- if (!is$3(element, 'bpmn:CallActivity')) {
76814
+ if (!is$1(element, 'bpmn:CallActivity')) {
76982
76815
  return false;
76983
76816
  }
76984
76817
 
76985
- const businessObject = getBusinessObject$1(element),
76818
+ const businessObject = getBusinessObject(element),
76986
76819
  calledElement = getCalledElement$1(businessObject);
76987
76820
 
76988
76821
  if (calledElement && has$2(calledElement, 'propagateAllChildVariables')) {
@@ -76998,7 +76831,7 @@
76998
76831
  /**
76999
76832
  * Zeebe BPMN specific behavior for creating call activities.
77000
76833
  */
77001
- class CreateZeebeCallActivityBehavior extends CommandInterceptor$1 {
76834
+ class CreateZeebeCallActivityBehavior extends CommandInterceptor {
77002
76835
  constructor(bpmnFactory, eventBus, modeling) {
77003
76836
  super(eventBus);
77004
76837
 
@@ -77009,11 +76842,11 @@
77009
76842
  this.postExecuted('shape.create', HIGH_PRIORITY$o, function(context) {
77010
76843
  const { shape } = context;
77011
76844
 
77012
- if (!is$3(shape, 'bpmn:CallActivity')) {
76845
+ if (!is$1(shape, 'bpmn:CallActivity')) {
77013
76846
  return;
77014
76847
  }
77015
76848
 
77016
- const businessObject = getBusinessObject$1(shape);
76849
+ const businessObject = getBusinessObject(shape);
77017
76850
 
77018
76851
  let calledElement = getCalledElement$1(businessObject);
77019
76852
 
@@ -77278,7 +77111,7 @@
77278
77111
  }
77279
77112
 
77280
77113
  function getFormDefinition(element) {
77281
- const businessObject = getBusinessObject$1(element);
77114
+ const businessObject = getBusinessObject(element);
77282
77115
 
77283
77116
  const formDefinitions = getExtensionElementsList$1(businessObject, 'zeebe:FormDefinition');
77284
77117
 
@@ -77286,10 +77119,10 @@
77286
77119
  }
77287
77120
 
77288
77121
  function getRootElement$1(element) {
77289
- var businessObject = getBusinessObject$1(element),
77122
+ var businessObject = getBusinessObject(element),
77290
77123
  parent = businessObject;
77291
77124
 
77292
- while (parent.$parent && !is$3(parent, 'bpmn:Process')) {
77125
+ while (parent.$parent && !is$1(parent, 'bpmn:Process')) {
77293
77126
  parent = parent.$parent;
77294
77127
  }
77295
77128
 
@@ -77313,7 +77146,7 @@
77313
77146
  /**
77314
77147
  * Zeebe BPMN specific form definition behavior.
77315
77148
  */
77316
- class FormDefinitionBehavior extends CommandInterceptor$1 {
77149
+ class FormDefinitionBehavior extends CommandInterceptor {
77317
77150
  constructor(bpmnFactory, eventBus, modeling) {
77318
77151
  super(eventBus);
77319
77152
 
@@ -77330,7 +77163,7 @@
77330
77163
 
77331
77164
  const userTaskForm = getUserTaskForm(shape, rootElement);
77332
77165
 
77333
- if (!is$3(shape, 'bpmn:UserTask') || !userTaskForm) {
77166
+ if (!is$1(shape, 'bpmn:UserTask') || !userTaskForm) {
77334
77167
  return;
77335
77168
  }
77336
77169
 
@@ -77352,7 +77185,7 @@
77352
77185
 
77353
77186
  const oldFormDefinition = getFormDefinition(shape);
77354
77187
 
77355
- if (!is$3(shape, 'bpmn:UserTask') || !oldFormDefinition) {
77188
+ if (!is$1(shape, 'bpmn:UserTask') || !oldFormDefinition) {
77356
77189
  return;
77357
77190
  }
77358
77191
 
@@ -77360,7 +77193,7 @@
77360
77193
 
77361
77194
  const rootElement = getRootElement$2(shape);
77362
77195
 
77363
- const businessObject = getBusinessObject$1(shape);
77196
+ const businessObject = getBusinessObject(shape);
77364
77197
 
77365
77198
  const extensionElements = businessObject.get('extensionElements');
77366
77199
 
@@ -77419,10 +77252,10 @@
77419
77252
  // helpers //////////////
77420
77253
 
77421
77254
  function getRootElement$2(element) {
77422
- var businessObject = getBusinessObject$1(element),
77255
+ var businessObject = getBusinessObject(element),
77423
77256
  parent = businessObject;
77424
77257
 
77425
- while (parent.$parent && !is$3(parent, 'bpmn:Process')) {
77258
+ while (parent.$parent && !is$1(parent, 'bpmn:Process')) {
77426
77259
  parent = parent.$parent;
77427
77260
  }
77428
77261
 
@@ -77436,7 +77269,7 @@
77436
77269
  * Zeebe BPMN behavior removing zeebe:AssignmentDefinition elements without
77437
77270
  * zeebe:assignee and zeebe:candidateGroups.
77438
77271
  */
77439
- class CleanUpBusinessRuleTaskBehavior$1 extends CommandInterceptor$1 {
77272
+ class CleanUpBusinessRuleTaskBehavior$1 extends CommandInterceptor {
77440
77273
  constructor(commandStack, eventBus) {
77441
77274
  super(eventBus);
77442
77275
 
@@ -77446,18 +77279,18 @@
77446
77279
  moddleElement
77447
77280
  } = context;
77448
77281
 
77449
- if (!is$3(moddleElement, 'zeebe:AssignmentDefinition')) {
77282
+ if (!is$1(moddleElement, 'zeebe:AssignmentDefinition')) {
77450
77283
  return;
77451
77284
  }
77452
77285
 
77453
77286
  const assignmentDefinition = moddleElement;
77454
77287
 
77455
77288
  if (
77456
- is$3(element, 'bpmn:UserTask')
77289
+ is$1(element, 'bpmn:UserTask')
77457
77290
  && isUndefined$4(assignmentDefinition.get('zeebe:assignee'))
77458
77291
  && isUndefined$4(assignmentDefinition.get('zeebe:candidateGroups'))
77459
77292
  ) {
77460
- const businessObject = getBusinessObject$1(element);
77293
+ const businessObject = getBusinessObject(element);
77461
77294
 
77462
77295
  removeExtensionElements$1(element, businessObject, assignmentDefinition, commandStack);
77463
77296
  }
@@ -77481,7 +77314,7 @@
77481
77314
  * (1) zeebe:propagateAllChildVariables of zeebe:CalledElement is set to true
77482
77315
  * (2) zeebe:IoMapping extension element has zeebe:Output elements
77483
77316
  */
77484
- class UpdatePropagateAllChildVariablesBehavior extends CommandInterceptor$1 {
77317
+ class UpdatePropagateAllChildVariablesBehavior extends CommandInterceptor {
77485
77318
  constructor(commandStack, eventBus, modeling) {
77486
77319
  super(eventBus);
77487
77320
 
@@ -77499,8 +77332,8 @@
77499
77332
  const propagateAllChildVariables = properties.propagateAllChildVariables || properties[ 'zeebe:propagateAllChildVariables' ];
77500
77333
 
77501
77334
  if (
77502
- !is$3(element, 'bpmn:CallActivity')
77503
- || !is$3(moddleElement, 'zeebe:CalledElement')
77335
+ !is$1(element, 'bpmn:CallActivity')
77336
+ || !is$1(moddleElement, 'zeebe:CalledElement')
77504
77337
  || !propagateAllChildVariables
77505
77338
  ) {
77506
77339
  return;
@@ -77520,7 +77353,7 @@
77520
77353
  });
77521
77354
 
77522
77355
  if (!inputParameters || !inputParameters.length) {
77523
- removeExtensionElements$1(element, getBusinessObject$1(element), ioMapping, commandStack);
77356
+ removeExtensionElements$1(element, getBusinessObject(element), ioMapping, commandStack);
77524
77357
  }
77525
77358
  }, true);
77526
77359
 
@@ -77537,21 +77370,21 @@
77537
77370
  } = context;
77538
77371
 
77539
77372
  if (
77540
- !is$3(element, 'bpmn:CallActivity')
77373
+ !is$1(element, 'bpmn:CallActivity')
77541
77374
  || !isPropagateAllChildVariables$1(element)
77542
77375
  ) {
77543
77376
  return;
77544
77377
  }
77545
77378
 
77546
- const businessObject = getBusinessObject$1(element),
77379
+ const businessObject = getBusinessObject(element),
77547
77380
  calledElement = getCalledElement$1(businessObject);
77548
77381
 
77549
77382
  // (1) zeebe:IoMapping extension element with zeebe:Output added
77550
77383
  if (
77551
- is$3(moddleElement, 'bpmn:ExtensionElements')
77384
+ is$1(moddleElement, 'bpmn:ExtensionElements')
77552
77385
  && properties.values
77553
77386
  ) {
77554
- const ioMapping = properties.values.find((value) => is$3(value, 'zeebe:IoMapping'));
77387
+ const ioMapping = properties.values.find((value) => is$1(value, 'zeebe:IoMapping'));
77555
77388
 
77556
77389
  if (
77557
77390
  ioMapping
@@ -77565,7 +77398,7 @@
77565
77398
  }
77566
77399
 
77567
77400
  // (2) zeebe:Output added
77568
- if (is$3(moddleElement, 'zeebe:IoMapping')) {
77401
+ if (is$1(moddleElement, 'zeebe:IoMapping')) {
77569
77402
  const outputParameters = properties.outputParameters || properties[ 'zeebe:outputParameters' ];
77570
77403
 
77571
77404
  if (outputParameters && outputParameters.length) {
@@ -77938,7 +77771,7 @@
77938
77771
  };
77939
77772
 
77940
77773
  var isFunction$2 = require$$0.isFunction,
77941
- isObject$2 = require$$0.isObject,
77774
+ isObject$1 = require$$0.isObject,
77942
77775
  some$1 = require$$0.some;
77943
77776
 
77944
77777
  var WILDCARD = '*';
@@ -77962,7 +77795,7 @@
77962
77795
  ZeebeModdleExtension.prototype.canCopyProperty = function(property, parent) {
77963
77796
 
77964
77797
  // (1) check if property is allowed in parent
77965
- if (isObject$2(property) && !isAllowedInParent(property, parent)) {
77798
+ if (isObject$1(property) && !isAllowedInParent(property, parent)) {
77966
77799
  return false;
77967
77800
  }
77968
77801
 
@@ -77990,7 +77823,7 @@
77990
77823
 
77991
77824
  // helpers //////////
77992
77825
 
77993
- function is$4(element, type) {
77826
+ function is$3(element, type) {
77994
77827
  return element && isFunction$2(element.$instanceOf) && element.$instanceOf(type);
77995
77828
  }
77996
77829
 
@@ -77999,7 +77832,7 @@
77999
77832
  return element.$parent;
78000
77833
  }
78001
77834
 
78002
- if (is$4(element, type)) {
77835
+ if (is$3(element, type)) {
78003
77836
  return element;
78004
77837
  }
78005
77838
 
@@ -78035,14 +77868,14 @@
78035
77868
  const eventDefinitions = event.get('eventDefinitions');
78036
77869
 
78037
77870
  return eventDefinitions.some(function(def) {
78038
- return is$4(def, 'bpmn:MessageEventDefinition');
77871
+ return is$3(def, 'bpmn:MessageEventDefinition');
78039
77872
  });
78040
77873
  }
78041
77874
 
78042
77875
  // check if property is allowed in ZeebeServiceTask but not for none events
78043
77876
  function isAllowedInZeebeServiceTask(property) {
78044
77877
  return zeebeServiceTaskProperties.some(function(propertyType) {
78045
- return is$4(property, propertyType);
77878
+ return is$3(property, propertyType);
78046
77879
  });
78047
77880
  }
78048
77881