@qoretechnologies/reqraft 0.10.78-pr.145.g5fd429d → 0.10.78-pr.145.gd7ed5ee
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.
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export { defaultQorusTypes, getQorusTypes, offeredQorusTypes, qorusTypeDisplayNa
|
|
|
39
39
|
export type { IQorusTypeObject, IUseTypes } from './hooks/useQorusTypes';
|
|
40
40
|
export { templateBaseType, templateType } from './helpers/templateType';
|
|
41
41
|
export { sayTemplateTypesInWords } from './helpers/templateItems';
|
|
42
|
+
export { useTypeLabel, useTypeName, useTypeSentenceForm, } from './components/form/typeSentenceForm';
|
|
42
43
|
export type { ITemplateTypeRow } from './helpers/templateType';
|
|
43
44
|
export * from './tracking';
|
|
44
45
|
export * from './tracking/ui';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAElC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AAEnD,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,4BAA4B,EAC5B,eAAe,EACf,gCAAgC,EAChC,yBAAyB,GAC1B,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,cAAc,4BAA4B,CAA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BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AAIxC,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,GACd,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGzE,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAGxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAGlE,OAAO,EACL,YAAY,EACZ,WAAW,EACX,mBAAmB,GACpB,MAAM,oCAAoC,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAK/D,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.sayTemplateTypesInWords = exports.templateType = exports.templateBaseType = exports.useQorusTypes = exports.UNKNOWN_TYPE_NAME = exports.qorusTypeTakesRecords = exports.qorusTypeSentenceForm = exports.qorusTypeEntry = exports.qorusTypeDisplayName = exports.offeredQorusTypes = exports.getQorusTypes = exports.defaultQorusTypes = exports.ReqraftLspClient = exports.setupFetch = exports.reqraftCacheKey = exports.reqraftApiPath = exports.queryRaw = exports.query = exports.isQueryCancelled = exports.fetchConfig = exports.ReqraftCurrentUserStore = exports.ReqraftQueryClient = exports.ReqraftProvider = exports.initializeReqraft = exports.useReqraftStorage = exports.useFetch = exports.ReqraftMenu = exports.thinScrollbar = exports.unsatisfiedRequiredGroups = exports.validateOptionWithRequiredGroups = exports.parseDependency = exports.hasAllDependenciesFullfilled = exports.maybeParseYaml = exports.getTypeFromValue = exports.isValueSet = exports.validateFieldWithResult = exports.validateField = void 0;
|
|
17
|
+
exports.useTypeSentenceForm = exports.useTypeName = exports.useTypeLabel = exports.sayTemplateTypesInWords = exports.templateType = exports.templateBaseType = exports.useQorusTypes = exports.UNKNOWN_TYPE_NAME = exports.qorusTypeTakesRecords = exports.qorusTypeSentenceForm = exports.qorusTypeEntry = exports.qorusTypeDisplayName = exports.offeredQorusTypes = exports.getQorusTypes = exports.defaultQorusTypes = exports.ReqraftLspClient = exports.setupFetch = exports.reqraftCacheKey = exports.reqraftApiPath = exports.queryRaw = exports.query = exports.isQueryCancelled = exports.fetchConfig = exports.ReqraftCurrentUserStore = exports.ReqraftQueryClient = exports.ReqraftProvider = exports.initializeReqraft = exports.useReqraftStorage = exports.useFetch = exports.ReqraftMenu = exports.thinScrollbar = exports.unsatisfiedRequiredGroups = exports.validateOptionWithRequiredGroups = exports.parseDependency = exports.hasAllDependenciesFullfilled = exports.maybeParseYaml = exports.getTypeFromValue = exports.isValueSet = exports.validateFieldWithResult = exports.validateField = void 0;
|
|
18
18
|
__exportStar(require("./components/form"), exports);
|
|
19
19
|
// the one model of what a field can refer to: its templates and record fields, as a tree (`TemplatePicker`)
|
|
20
20
|
__exportStar(require("./helpers/templateTree"), exports);
|
|
@@ -93,6 +93,12 @@ Object.defineProperty(exports, "templateType", { enumerable: true, get: function
|
|
|
93
93
|
// its own list of a catalogue's values.
|
|
94
94
|
var templateItems_1 = require("./helpers/templateItems");
|
|
95
95
|
Object.defineProperty(exports, "sayTemplateTypesInWords", { enumerable: true, get: function () { return templateItems_1.sayTemplateTypesInWords; } });
|
|
96
|
+
// The words the surrounding form draws types in (the server's catalogue where a form fetched it): for a host that
|
|
97
|
+
// draws its own list of values, with `sayTemplateTypesInWords`.
|
|
98
|
+
var typeSentenceForm_1 = require("./components/form/typeSentenceForm");
|
|
99
|
+
Object.defineProperty(exports, "useTypeLabel", { enumerable: true, get: function () { return typeSentenceForm_1.useTypeLabel; } });
|
|
100
|
+
Object.defineProperty(exports, "useTypeName", { enumerable: true, get: function () { return typeSentenceForm_1.useTypeName; } });
|
|
101
|
+
Object.defineProperty(exports, "useTypeSentenceForm", { enumerable: true, get: function () { return typeSentenceForm_1.useTypeSentenceForm; } });
|
|
96
102
|
// First-party tracking, consent and A/B testing (design/TRACKING.md). Also importable
|
|
97
103
|
// on its own, without the rest of Reqraft: `@qoretechnologies/reqraft/dist/tracking`
|
|
98
104
|
// (the engine, React only) and `@qoretechnologies/reqraft/dist/tracking/ui` (the A/B test UI).
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,4GAA4G;AAC5G,yDAAuC;AACvC,uDAAqC;AACrC,8DAA4C;AAC5C,qEAAmD;AACnD,oHAAoH;AACpH,0DAAwC;AACxC,+DAA6C;AAC7C,qDAU+B;AAT7B,4GAAA,aAAa,OAAA;AACb,sHAAA,uBAAuB,OAAA;AACvB,yGAAA,UAAU,OAAA;AACV,+GAAA,gBAAgB,OAAA;AAChB,6GAAA,cAAc,OAAA;AACd,2HAAA,4BAA4B,OAAA;AAC5B,8GAAA,eAAe,OAAA;AACf,+HAAA,gCAAgC,OAAA;AAChC,wHAAA,yBAAyB,OAAA;AAG3B,iDAAoD;AAA3C,0GAAA,aAAa,OAAA;AACtB,6DAA2C;AAC3C,+CAAqD;AAA5C,mGAAA,WAAW,OAAA;AAQpB,sDAAqD;AAA5C,oGAAA,QAAQ,OAAA;AAEjB,4DAAkE;AAAzD,+GAAA,iBAAiB,OAAA;AAE1B,oEAAkD;AAClD,+DAIqC;AAHnC,oHAAA,iBAAiB,OAAA;AACjB,kHAAA,eAAe,OAAA;AACf,qHAAA,kBA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H;AACjH,mHAAmH;AACnH,uDAAwE;AAA/D,gHAAA,gBAAgB,OAAA;AAAE,4GAAA,YAAY,OAAA;AACvC,kHAAkH;AAClH,wCAAwC;AACxC,yDAAkE;AAAzD,wHAAA,uBAAuB,OAAA;AAChC,kHAAkH;AAClH,gEAAgE;AAChE,uEAI4C;AAH1C,gHAAA,YAAY,OAAA;AACZ,+GAAA,WAAW,OAAA;AACX,uHAAA,mBAAmB,OAAA;AAIrB,sFAAsF;AACtF,qFAAqF;AACrF,+FAA+F;AAC/F,6CAA2B;AAC3B,gDAA8B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qoretechnologies/reqraft",
|
|
3
|
-
"version": "0.10.78-pr.145.
|
|
3
|
+
"version": "0.10.78-pr.145.gd7ed5ee",
|
|
4
4
|
"description": "ReQraft is a collection of React components and hooks that are used across Qore Technologies' products made using the ReQore component library from Qore.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|