@docupace/ihub-config 1.1.11 → 1.1.12

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.
@@ -2,6 +2,7 @@ export var ActionButtonVariant;
2
2
  (function (ActionButtonVariant) {
3
3
  ActionButtonVariant["Dropdown"] = "DROPDOWN";
4
4
  ActionButtonVariant["Inline"] = "INLINE";
5
+ ActionButtonVariant["InlineDropdown"] = "INLINE_DROPDOWN";
5
6
  })(ActionButtonVariant || (ActionButtonVariant = {}));
6
7
  export var FieldValueType;
7
8
  (function (FieldValueType) {
@@ -18,9 +19,9 @@ export var TableFilterVariant;
18
19
  TableFilterVariant["Modal"] = "MODAL";
19
20
  TableFilterVariant["Sidebar"] = "SIDEBAR";
20
21
  })(TableFilterVariant || (TableFilterVariant = {}));
21
- export var TableSelectionPosition;
22
- (function (TableSelectionPosition) {
23
- TableSelectionPosition["Left"] = "LEFT";
24
- TableSelectionPosition["Right"] = "RIGHT";
25
- })(TableSelectionPosition || (TableSelectionPosition = {}));
22
+ export var TablePinnedPosition;
23
+ (function (TablePinnedPosition) {
24
+ TablePinnedPosition["Left"] = "LEFT";
25
+ TablePinnedPosition["Right"] = "RIGHT";
26
+ })(TablePinnedPosition || (TablePinnedPosition = {}));
26
27
  //# sourceMappingURL=graphql.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"graphql.js","sourceRoot":"","sources":["../../src/types/graphql.ts"],"names":[],"mappings":"AAuCA,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,4CAAqB,CAAA;IACrB,wCAAiB,CAAA;AACnB,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B;AAwXD,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,iCAAe,CAAA;IACf,6BAAW,CAAA;AACb,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AAyRD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAoVD,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,qCAAe,CAAA;IACf,yCAAmB,CAAA;AACrB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;AAkCD,MAAM,CAAN,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,uCAAa,CAAA;IACb,yCAAe,CAAA;AACjB,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,QAGjC"}
1
+ {"version":3,"file":"graphql.js","sourceRoot":"","sources":["../../src/types/graphql.ts"],"names":[],"mappings":"AAuCA,MAAM,CAAN,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,4CAAqB,CAAA;IACrB,wCAAiB,CAAA;IACjB,yDAAkC,CAAA;AACpC,CAAC,EAJW,mBAAmB,KAAnB,mBAAmB,QAI9B;AAgZD,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,iCAAe,CAAA;IACf,6BAAW,CAAA;AACb,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AA0RD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA4VD,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,qCAAe,CAAA;IACf,yCAAmB,CAAA;AACrB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;AAwBD,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,oCAAa,CAAA;IACb,sCAAe,CAAA;AACjB,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B"}
@@ -235,6 +235,7 @@ type ChipSelectWithInputField implements IField & IRowElement & IElement {
235
235
  visibilityCondition: String
236
236
  disabledCondition: String
237
237
  linkedFields: [String!]
238
+ validation: ChipSelectValidation
238
239
  }
239
240
 
240
241
  type CustomField implements IField & IRowElement & IElement {
@@ -319,6 +320,34 @@ type InputValidation {
319
320
  max: FloatValidationRule
320
321
  }
321
322
 
323
+ type ChipSelectValidation {
324
+ compatibleWith: CompatibleWithRule
325
+ uniqueInList: UniqueInListRule
326
+ }
327
+
328
+ type CompatibleWithRule {
329
+ field: String!
330
+ rules: [CompatibleWithRuleEntry!]!
331
+ }
332
+
333
+ type CompatibleWithRuleEntry {
334
+ when: WhenClause!
335
+ allowed: [String!]!
336
+ message: String!
337
+ }
338
+
339
+ type WhenClause {
340
+ equals: String
341
+ in: [String!]
342
+ }
343
+
344
+ type UniqueInListRule {
345
+ listPaths: [String!]!
346
+ itemValuePath: String!
347
+ value: String
348
+ message: String!
349
+ }
350
+
322
351
  # see more https://s-yadav.github.io/react-number-format/docs/props
323
352
  type PatternMasking {
324
353
  dynamic: Boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/ihub-config",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "Reusable config GraphQL extension and standalone server",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",