@warp-drive/legacy 5.8.0-alpha.4 → 5.8.0-alpha.41
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/README.md +14 -27
- package/declarations/adapter/error.d.ts +7 -7
- package/declarations/adapter/json-api.d.ts +6 -8
- package/declarations/adapter/rest.d.ts +26 -112
- package/declarations/adapter.d.ts +6 -8
- package/declarations/compat/-private.d.ts +1 -1
- package/declarations/compat/builders/find-all.d.ts +6 -6
- package/declarations/compat/builders/find-record.d.ts +8 -8
- package/declarations/compat/builders/query.d.ts +12 -12
- package/declarations/compat/extensions.d.ts +1 -1
- package/declarations/compat/legacy-network-handler/minimum-adapter-interface.d.ts +7 -9
- package/declarations/compat/legacy-network-handler/minimum-serializer-interface.d.ts +20 -30
- package/declarations/compat/utils.d.ts +17 -17
- package/declarations/compat.d.ts +35 -11
- package/declarations/index.d.ts +70 -0
- package/declarations/model/-private/attr.d.ts +5 -6
- package/declarations/model/-private/belongs-to.d.ts +4 -5
- package/declarations/model/-private/has-many.d.ts +4 -5
- package/declarations/model/-private/hooks.d.ts +1 -1
- package/declarations/model/-private/legacy-relationships-support.d.ts +2 -2
- package/declarations/model/-private/model.d.ts +18 -59
- package/declarations/model/-private/promise-many-array.d.ts +0 -18
- package/declarations/model/-private/record-state.d.ts +1 -1
- package/declarations/model/-private/references/belongs-to.d.ts +19 -29
- package/declarations/model/-private/references/has-many.d.ts +14 -16
- package/declarations/model/migration-support.d.ts +46 -21
- package/declarations/model-fragments/extensions/fragment-array.d.ts +16 -0
- package/declarations/model-fragments/extensions/fragment.d.ts +15 -0
- package/declarations/model-fragments/hooks/model-for.d.ts +20 -0
- package/declarations/model-fragments/index.d.ts +5 -0
- package/declarations/model-fragments/instance-initializers/fragment-extensions.d.ts +9 -0
- package/declarations/model-fragments/utilities/with-array-defaults.d.ts +15 -0
- package/declarations/model-fragments/utilities/with-fragment-array-defaults.d.ts +20 -0
- package/declarations/model-fragments/utilities/with-fragment-defaults.d.ts +19 -0
- package/declarations/model-fragments/utilities/with-legacy.d.ts +3 -0
- package/declarations/model-fragments.d.ts +9 -0
- package/declarations/model.d.ts +2 -2
- package/declarations/serializer/-private/embedded-records-mixin.d.ts +1 -6
- package/declarations/serializer/-private/transforms/boolean.d.ts +2 -2
- package/declarations/serializer/-private/transforms/date.d.ts +2 -2
- package/declarations/serializer/-private/transforms/number.d.ts +1 -1
- package/declarations/serializer/-private/transforms/string.d.ts +1 -1
- package/declarations/serializer/json-api.d.ts +11 -12
- package/declarations/serializer/json.d.ts +9 -11
- package/declarations/serializer/rest.d.ts +4 -6
- package/declarations/serializer.d.ts +9 -12
- package/dist/{-private-8UmnAf9J.js → -private-BG3bMiKp.js} +3 -2
- package/dist/adapter/-private.js +1 -1
- package/dist/adapter/error.js +14 -15
- package/dist/adapter/json-api.js +4 -1
- package/dist/adapter/rest.js +38 -125
- package/dist/adapter.js +6 -8
- package/dist/compat/-private.js +1 -1
- package/dist/compat/builders.js +26 -26
- package/dist/compat/utils.js +17 -18
- package/dist/compat.js +61 -43
- package/dist/{errors-8kD2mSe_.js → errors-Cz5KrzBk.js} +115 -122
- package/dist/hooks-D6diaM34.js +74 -0
- package/dist/index.js +195 -0
- package/dist/{json-DziiodPf.js → json-ChdEfB0X.js} +18 -35
- package/dist/model/-private.js +1 -1
- package/dist/model/migration-support.js +57 -25
- package/dist/model-for-CqXsIKws.js +221 -0
- package/dist/model-fragments.js +76 -0
- package/dist/model.js +18 -90
- package/dist/{schema-provider-DQu4Rjco.js → schema-provider-DJCV_6AF.js} +50 -95
- package/dist/{serialize-into-hash-CS0MIv4F.js → serialize-into-hash-DPZYoF-i.js} +1 -1
- package/dist/serializer/json-api.js +18 -45
- package/dist/serializer/json.js +1 -1
- package/dist/serializer/rest.js +14 -21
- package/dist/serializer/transform.js +15 -6
- package/dist/serializer.js +9 -13
- package/dist/store.js +5 -1
- package/dist/unpkg/dev/-private-DtjBbEgy.js +1206 -0
- package/dist/unpkg/dev/adapter/-private.js +1 -0
- package/dist/unpkg/dev/adapter/error.js +335 -0
- package/dist/unpkg/dev/adapter/json-api.js +271 -0
- package/dist/unpkg/dev/adapter/rest.js +1171 -0
- package/dist/unpkg/dev/adapter.js +1252 -0
- package/dist/unpkg/dev/compat/-private.js +1 -0
- package/dist/unpkg/dev/compat/builders.js +275 -0
- package/dist/unpkg/dev/compat/extensions.js +242 -0
- package/dist/unpkg/dev/compat/utils.js +223 -0
- package/dist/unpkg/dev/compat.js +1147 -0
- package/dist/unpkg/dev/errors-DmGGJr3T.js +2562 -0
- package/dist/unpkg/dev/hooks-CkYiE6Ud.js +73 -0
- package/dist/unpkg/dev/index.js +197 -0
- package/dist/unpkg/dev/json-Cu1LNgmQ.js +1256 -0
- package/dist/unpkg/dev/model/-private.js +1 -0
- package/dist/unpkg/dev/model/migration-support.js +553 -0
- package/dist/unpkg/dev/model-for-CqXsIKws.js +221 -0
- package/dist/unpkg/dev/model-fragments.js +76 -0
- package/dist/unpkg/dev/model.js +678 -0
- package/dist/unpkg/dev/runtime-BPCpkOf1-BKOwiRJp.js +65 -0
- package/dist/unpkg/dev/schema-provider-DDVYxmUV.js +2186 -0
- package/dist/unpkg/dev/serialize-into-hash-B2xDbuo5.js +259 -0
- package/dist/unpkg/dev/serializer/json-api.js +649 -0
- package/dist/unpkg/dev/serializer/json.js +4 -0
- package/dist/unpkg/dev/serializer/rest.js +1242 -0
- package/dist/unpkg/dev/serializer/transform.js +278 -0
- package/dist/unpkg/dev/serializer.js +248 -0
- package/dist/unpkg/dev/store.js +637 -0
- package/dist/unpkg/dev/util-DvanW33H.js +20 -0
- package/dist/unpkg/dev/utils-BhvS1iTS.js +8 -0
- package/dist/unpkg/dev-deprecated/-private-DtjBbEgy.js +1206 -0
- package/dist/unpkg/dev-deprecated/adapter/-private.js +1 -0
- package/dist/unpkg/dev-deprecated/adapter/error.js +335 -0
- package/dist/unpkg/dev-deprecated/adapter/json-api.js +271 -0
- package/dist/unpkg/dev-deprecated/adapter/rest.js +1171 -0
- package/dist/unpkg/dev-deprecated/adapter.js +1252 -0
- package/dist/unpkg/dev-deprecated/compat/-private.js +1 -0
- package/dist/unpkg/dev-deprecated/compat/builders.js +275 -0
- package/dist/unpkg/dev-deprecated/compat/extensions.js +242 -0
- package/dist/unpkg/dev-deprecated/compat/utils.js +223 -0
- package/dist/unpkg/dev-deprecated/compat.js +1147 -0
- package/dist/unpkg/dev-deprecated/errors-Spt6ubMd.js +2565 -0
- package/dist/unpkg/dev-deprecated/hooks-DOXegvhL.js +73 -0
- package/dist/unpkg/dev-deprecated/index.js +196 -0
- package/dist/unpkg/dev-deprecated/json-Cu1LNgmQ.js +1256 -0
- package/dist/unpkg/dev-deprecated/model/-private.js +1 -0
- package/dist/unpkg/dev-deprecated/model/migration-support.js +570 -0
- package/dist/unpkg/dev-deprecated/model-for-CqXsIKws.js +221 -0
- package/dist/unpkg/dev-deprecated/model-fragments.js +76 -0
- package/dist/unpkg/dev-deprecated/model.js +682 -0
- package/dist/unpkg/dev-deprecated/runtime-BPCpkOf1-BKOwiRJp.js +65 -0
- package/dist/unpkg/dev-deprecated/schema-provider-BP6_8N-V.js +2211 -0
- package/dist/unpkg/dev-deprecated/serialize-into-hash-B2xDbuo5.js +259 -0
- package/dist/unpkg/dev-deprecated/serializer/json-api.js +649 -0
- package/dist/unpkg/dev-deprecated/serializer/json.js +4 -0
- package/dist/unpkg/dev-deprecated/serializer/rest.js +1242 -0
- package/dist/unpkg/dev-deprecated/serializer/transform.js +278 -0
- package/dist/unpkg/dev-deprecated/serializer.js +248 -0
- package/dist/unpkg/dev-deprecated/store.js +637 -0
- package/dist/unpkg/dev-deprecated/util-CWr5WQOT.js +24 -0
- package/dist/unpkg/dev-deprecated/utils-C9PJehtL.js +12 -0
- package/dist/unpkg/prod/-private-BdyZaGEh.js +971 -0
- package/dist/unpkg/prod/adapter/-private.js +1 -0
- package/dist/unpkg/prod/adapter/error.js +330 -0
- package/dist/unpkg/prod/adapter/json-api.js +266 -0
- package/dist/unpkg/prod/adapter/rest.js +1134 -0
- package/dist/unpkg/prod/adapter.js +1219 -0
- package/dist/unpkg/prod/compat/-private.js +1 -0
- package/dist/unpkg/prod/compat/builders.js +210 -0
- package/dist/unpkg/prod/compat/extensions.js +232 -0
- package/dist/unpkg/prod/compat/utils.js +218 -0
- package/dist/unpkg/prod/compat.js +727 -0
- package/dist/unpkg/prod/errors-BGVFCBmi.js +2314 -0
- package/dist/unpkg/prod/hooks-BztVA_x0.js +41 -0
- package/dist/unpkg/prod/index.js +151 -0
- package/dist/unpkg/prod/json-BWrZ5546.js +1243 -0
- package/dist/unpkg/prod/model/-private.js +1 -0
- package/dist/unpkg/prod/model/migration-support.js +546 -0
- package/dist/unpkg/prod/model-for-CqXsIKws.js +221 -0
- package/dist/unpkg/prod/model-fragments.js +76 -0
- package/dist/unpkg/prod/model.js +593 -0
- package/dist/unpkg/prod/runtime-BPCpkOf1-BKOwiRJp.js +65 -0
- package/dist/unpkg/prod/schema-provider-DJtD_8jZ.js +1861 -0
- package/dist/unpkg/prod/serialize-into-hash-DGlzQteF.js +215 -0
- package/dist/unpkg/prod/serializer/json-api.js +592 -0
- package/dist/unpkg/prod/serializer/json.js +4 -0
- package/dist/unpkg/prod/serializer/rest.js +1210 -0
- package/dist/unpkg/prod/serializer/transform.js +278 -0
- package/dist/unpkg/prod/serializer.js +248 -0
- package/dist/unpkg/prod/store.js +505 -0
- package/dist/unpkg/prod/util-DvanW33H.js +20 -0
- package/dist/unpkg/prod/utils-BhvS1iTS.js +8 -0
- package/dist/unpkg/prod-deprecated/-private-BdyZaGEh.js +971 -0
- package/dist/unpkg/prod-deprecated/adapter/-private.js +1 -0
- package/dist/unpkg/prod-deprecated/adapter/error.js +330 -0
- package/dist/unpkg/prod-deprecated/adapter/json-api.js +266 -0
- package/dist/unpkg/prod-deprecated/adapter/rest.js +1134 -0
- package/dist/unpkg/prod-deprecated/adapter.js +1219 -0
- package/dist/unpkg/prod-deprecated/compat/-private.js +1 -0
- package/dist/unpkg/prod-deprecated/compat/builders.js +210 -0
- package/dist/unpkg/prod-deprecated/compat/extensions.js +232 -0
- package/dist/unpkg/prod-deprecated/compat/utils.js +218 -0
- package/dist/unpkg/prod-deprecated/compat.js +727 -0
- package/dist/unpkg/prod-deprecated/errors-CdDaK81x.js +2317 -0
- package/dist/unpkg/prod-deprecated/hooks-yId87yyG.js +41 -0
- package/dist/unpkg/prod-deprecated/index.js +150 -0
- package/dist/unpkg/prod-deprecated/json-BWrZ5546.js +1243 -0
- package/dist/unpkg/prod-deprecated/model/-private.js +1 -0
- package/dist/unpkg/prod-deprecated/model/migration-support.js +563 -0
- package/dist/unpkg/prod-deprecated/model-for-CqXsIKws.js +221 -0
- package/dist/unpkg/prod-deprecated/model-fragments.js +76 -0
- package/dist/unpkg/prod-deprecated/model.js +596 -0
- package/dist/unpkg/prod-deprecated/runtime-BPCpkOf1-BKOwiRJp.js +65 -0
- package/dist/unpkg/prod-deprecated/schema-provider-CjX55uSY.js +1904 -0
- package/dist/unpkg/prod-deprecated/serialize-into-hash-DGlzQteF.js +215 -0
- package/dist/unpkg/prod-deprecated/serializer/json-api.js +592 -0
- package/dist/unpkg/prod-deprecated/serializer/json.js +4 -0
- package/dist/unpkg/prod-deprecated/serializer/rest.js +1210 -0
- package/dist/unpkg/prod-deprecated/serializer/transform.js +278 -0
- package/dist/unpkg/prod-deprecated/serializer.js +248 -0
- package/dist/unpkg/prod-deprecated/store.js +505 -0
- package/dist/unpkg/prod-deprecated/util-B6cn-i93.js +23 -0
- package/dist/unpkg/prod-deprecated/utils-BUWwQwCh.js +11 -0
- package/logos/README.md +2 -2
- package/logos/logo-yellow-slab.svg +1 -0
- package/logos/word-mark-black.svg +1 -0
- package/logos/word-mark-white.svg +1 -0
- package/package.json +14 -6
- package/logos/NCC-1701-a-blue.svg +0 -4
- package/logos/NCC-1701-a-gold.svg +0 -4
- package/logos/NCC-1701-a-gold_100.svg +0 -1
- package/logos/NCC-1701-a-gold_base-64.txt +0 -1
- package/logos/NCC-1701-a.svg +0 -4
- package/logos/docs-badge.svg +0 -2
- package/logos/ember-data-logo-dark.svg +0 -12
- package/logos/ember-data-logo-light.svg +0 -12
- package/logos/social1.png +0 -0
- package/logos/social2.png +0 -0
- package/logos/warp-drive-logo-dark.svg +0 -4
- package/logos/warp-drive-logo-gold.svg +0 -4
|
@@ -0,0 +1,505 @@
|
|
|
1
|
+
import { assertPrivateStore, ensureStringId, recordIdentifierFor, constructResource } from '@warp-drive/core/store/-private';
|
|
2
|
+
import { SkipCache } from '@warp-drive/core/types/request';
|
|
3
|
+
import { i as isMaybeIdentifier } from "./utils-BUWwQwCh.js";
|
|
4
|
+
import { n as normalizeModelName } from "./util-B6cn-i93.js";
|
|
5
|
+
import { defineSignal } from '@warp-drive/core/signals/-leaked';
|
|
6
|
+
import { getOrSetGlobal } from '@warp-drive/core/types/-private';
|
|
7
|
+
|
|
8
|
+
/*
|
|
9
|
+
When a find request is triggered on the store, the user can optionally pass in
|
|
10
|
+
attributes and relationships to be preloaded. These are meant to behave as if they
|
|
11
|
+
came back from the server, except the user obtained them out of band and is informing
|
|
12
|
+
the store of their existence. The most common use case is for supporting client side
|
|
13
|
+
nested URLs, such as `/posts/1/comments/2` so the user can do
|
|
14
|
+
`store.findRecord('comment', 2, { preload: { post: 1 } })` without having to fetch the post.
|
|
15
|
+
|
|
16
|
+
Preloaded data can be attributes and relationships passed in either as IDs or as actual
|
|
17
|
+
models.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
function preloadData(store, identifier, preload) {
|
|
21
|
+
const jsonPayload = {};
|
|
22
|
+
//TODO(Igor) consider the polymorphic case
|
|
23
|
+
const schemas = store.schema;
|
|
24
|
+
const fields = schemas.fields(identifier);
|
|
25
|
+
Object.keys(preload).forEach(key => {
|
|
26
|
+
const preloadValue = preload[key];
|
|
27
|
+
const field = fields.get(key);
|
|
28
|
+
if (field && (field.kind === 'hasMany' || field.kind === 'belongsTo')) {
|
|
29
|
+
if (!jsonPayload.relationships) {
|
|
30
|
+
jsonPayload.relationships = {};
|
|
31
|
+
}
|
|
32
|
+
jsonPayload.relationships[key] = preloadRelationship(field, preloadValue);
|
|
33
|
+
} else {
|
|
34
|
+
if (!jsonPayload.attributes) {
|
|
35
|
+
jsonPayload.attributes = {};
|
|
36
|
+
}
|
|
37
|
+
jsonPayload.attributes[key] = preloadValue;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
const cache = store.cache;
|
|
41
|
+
assertPrivateStore(store);
|
|
42
|
+
const hasRecord = Boolean(store._instanceCache.peek(identifier));
|
|
43
|
+
cache.upsert(identifier, jsonPayload, hasRecord);
|
|
44
|
+
}
|
|
45
|
+
function preloadRelationship(schema, preloadValue) {
|
|
46
|
+
const relatedType = schema.type;
|
|
47
|
+
if (schema.kind === 'hasMany') {
|
|
48
|
+
return {
|
|
49
|
+
data: preloadValue.map(value => _convertPreloadRelationshipToJSON(value, relatedType))
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
data: preloadValue ? _convertPreloadRelationshipToJSON(preloadValue, relatedType) : null
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/*
|
|
58
|
+
findRecord('user', '1', { preload: { friends: ['1'] }});
|
|
59
|
+
findRecord('user', '1', { preload: { friends: [record] }});
|
|
60
|
+
*/
|
|
61
|
+
function _convertPreloadRelationshipToJSON(value, type) {
|
|
62
|
+
if (typeof value === 'string' || typeof value === 'number') {
|
|
63
|
+
return {
|
|
64
|
+
type,
|
|
65
|
+
id: ensureStringId(value)
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
// TODO if not a record instance assert it's an identifier
|
|
69
|
+
// and allow identifiers to be used
|
|
70
|
+
return recordIdentifierFor(value);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Minimum subset of static schema methods and properties on the
|
|
75
|
+
* "model" class.
|
|
76
|
+
*
|
|
77
|
+
* Only used when using the legacy schema-service implementation
|
|
78
|
+
* for @ember-data/model or when wrapping schema for legacy
|
|
79
|
+
* Adapters/Serializers.
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
|
|
83
|
+
function _resourceIsFullDeleted(identifier, cache) {
|
|
84
|
+
return cache.isDeletionCommitted(identifier) || cache.isNew(identifier) && cache.isDeleted(identifier);
|
|
85
|
+
}
|
|
86
|
+
function resourceIsFullyDeleted(instanceCache, identifier) {
|
|
87
|
+
const cache = instanceCache.cache;
|
|
88
|
+
return !cache || _resourceIsFullDeleted(identifier, cache);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
A `RecordReference` is a low-level API that allows users and
|
|
93
|
+
addon authors to perform meta-operations on a record.
|
|
94
|
+
|
|
95
|
+
@hideconstructor
|
|
96
|
+
@public
|
|
97
|
+
*/
|
|
98
|
+
class RecordReference {
|
|
99
|
+
/** @internal */
|
|
100
|
+
|
|
101
|
+
/** @internal */
|
|
102
|
+
// unsubscribe token given to us by the notification manager
|
|
103
|
+
___token;
|
|
104
|
+
/** @internal */
|
|
105
|
+
___identifier;
|
|
106
|
+
|
|
107
|
+
/** @internal */
|
|
108
|
+
|
|
109
|
+
constructor(store, identifier) {
|
|
110
|
+
this.store = store;
|
|
111
|
+
this.___identifier = identifier;
|
|
112
|
+
this.___token = store.notifications.subscribe(identifier, (_, bucket, notifiedKey) => {
|
|
113
|
+
if (bucket === 'identity' || bucket === 'attributes' && notifiedKey === 'id') {
|
|
114
|
+
this._ref++;
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/** @internal */
|
|
120
|
+
destroy() {
|
|
121
|
+
this.store.notifications.unsubscribe(this.___token);
|
|
122
|
+
}
|
|
123
|
+
get type() {
|
|
124
|
+
return this.identifier().type;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
The `id` of the record that this reference refers to.
|
|
129
|
+
Together, the `type` and `id` properties form a composite key for
|
|
130
|
+
the identity map.
|
|
131
|
+
Example
|
|
132
|
+
```javascript
|
|
133
|
+
let userRef = store.getReference('user', 1);
|
|
134
|
+
userRef.id(); // '1'
|
|
135
|
+
```
|
|
136
|
+
@public
|
|
137
|
+
@return The id of the record.
|
|
138
|
+
*/
|
|
139
|
+
id() {
|
|
140
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
141
|
+
this._ref; // consume the tracked prop
|
|
142
|
+
return this.___identifier.id;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
The `identifier` of the record that this reference refers to.
|
|
147
|
+
Together, the `type` and `id` properties form a composite key for
|
|
148
|
+
the identity map.
|
|
149
|
+
Example
|
|
150
|
+
```javascript
|
|
151
|
+
let userRef = store.getReference('user', 1);
|
|
152
|
+
userRef.identifier(); // '1'
|
|
153
|
+
```
|
|
154
|
+
@public
|
|
155
|
+
@return The identifier of the record.
|
|
156
|
+
*/
|
|
157
|
+
identifier() {
|
|
158
|
+
return this.___identifier;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
How the reference will be looked up when it is loaded. Currently
|
|
163
|
+
this always returns `identity` to signify that a record will be
|
|
164
|
+
loaded by its `type` and `id`.
|
|
165
|
+
Example
|
|
166
|
+
```javascript
|
|
167
|
+
const userRef = store.getReference('user', 1);
|
|
168
|
+
userRef.remoteType(); // 'identity'
|
|
169
|
+
```
|
|
170
|
+
@public
|
|
171
|
+
*/
|
|
172
|
+
remoteType() {
|
|
173
|
+
return 'identity';
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
This API allows you to provide a reference with new data. The
|
|
178
|
+
simplest usage of this API is similar to `store.push`: you provide a
|
|
179
|
+
normalized hash of data and the object represented by the reference
|
|
180
|
+
will update.
|
|
181
|
+
If you pass a promise to `push`, Ember Data will not ask the adapter
|
|
182
|
+
for the data if another attempt to fetch it is made in the
|
|
183
|
+
interim. When the promise resolves, the underlying object is updated
|
|
184
|
+
with the new data, and the promise returned by *this function* is resolved
|
|
185
|
+
with that object.
|
|
186
|
+
For example, `recordReference.push(promise)` will be resolved with a
|
|
187
|
+
record.
|
|
188
|
+
Example
|
|
189
|
+
```javascript
|
|
190
|
+
let userRef = store.getReference('user', 1);
|
|
191
|
+
// provide data for reference
|
|
192
|
+
userRef.push({
|
|
193
|
+
data: {
|
|
194
|
+
id: "1",
|
|
195
|
+
type: "user",
|
|
196
|
+
attributes: {
|
|
197
|
+
username: "@user"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}).then(function(user) {
|
|
201
|
+
userRef.value() === user;
|
|
202
|
+
});
|
|
203
|
+
```
|
|
204
|
+
@public
|
|
205
|
+
@param objectOrPromise a JSON:API ResourceDocument or a promise resolving to one
|
|
206
|
+
@return a promise for the value (record or relationship)
|
|
207
|
+
*/
|
|
208
|
+
push(objectOrPromise) {
|
|
209
|
+
// TODO @deprecate pushing unresolved payloads
|
|
210
|
+
return Promise.resolve(objectOrPromise).then(data => {
|
|
211
|
+
return this.store.push(data);
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
If the entity referred to by the reference is already loaded, it is
|
|
217
|
+
present as `reference.value`. Otherwise the value returned by this function
|
|
218
|
+
is `null`.
|
|
219
|
+
Example
|
|
220
|
+
```javascript
|
|
221
|
+
let userRef = store.getReference('user', 1);
|
|
222
|
+
userRef.value(); // user
|
|
223
|
+
```
|
|
224
|
+
@public
|
|
225
|
+
@return {Model} the record for this RecordReference
|
|
226
|
+
*/
|
|
227
|
+
value() {
|
|
228
|
+
return this.store.peekRecord(this.___identifier);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
Triggers a fetch for the backing entity based on its `remoteType`
|
|
233
|
+
(see `remoteType` definitions per reference type).
|
|
234
|
+
Example
|
|
235
|
+
```javascript
|
|
236
|
+
let userRef = store.getReference('user', 1);
|
|
237
|
+
// load user (via store.find)
|
|
238
|
+
userRef.load().then(...)
|
|
239
|
+
```
|
|
240
|
+
@public
|
|
241
|
+
@return the record for this RecordReference
|
|
242
|
+
*/
|
|
243
|
+
load() {
|
|
244
|
+
const id = this.id();
|
|
245
|
+
if (id !== null) {
|
|
246
|
+
return this.store.findRecord(this.type, id);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
Reloads the record if it is already loaded. If the record is not
|
|
252
|
+
loaded it will load the record via `store.findRecord`
|
|
253
|
+
Example
|
|
254
|
+
```javascript
|
|
255
|
+
let userRef = store.getReference('user', 1);
|
|
256
|
+
// or trigger a reload
|
|
257
|
+
userRef.reload().then(...)
|
|
258
|
+
```
|
|
259
|
+
@public
|
|
260
|
+
@return the record for this RecordReference
|
|
261
|
+
*/
|
|
262
|
+
reload() {
|
|
263
|
+
const id = this.id();
|
|
264
|
+
if (id !== null) {
|
|
265
|
+
return this.store.findRecord(this.type, id, {
|
|
266
|
+
reload: true
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
defineSignal(RecordReference.prototype, '_ref');
|
|
272
|
+
|
|
273
|
+
// if modelFor turns out to be a bottleneck we should replace with a Map
|
|
274
|
+
// and clear it during store teardown.
|
|
275
|
+
const AvailableShims = getOrSetGlobal('AvailableShims', new WeakMap());
|
|
276
|
+
function getShimClass(store, modelName) {
|
|
277
|
+
let shims = AvailableShims.get(store);
|
|
278
|
+
if (!shims) {
|
|
279
|
+
shims = Object.create(null);
|
|
280
|
+
AvailableShims.set(store, shims);
|
|
281
|
+
}
|
|
282
|
+
let shim = shims[modelName];
|
|
283
|
+
if (shim === undefined) {
|
|
284
|
+
shim = shims[modelName] = new ShimModelClass(store, modelName);
|
|
285
|
+
}
|
|
286
|
+
return shim;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
// Mimics the static apis of @ember-data/model
|
|
290
|
+
class ShimModelClass {
|
|
291
|
+
constructor(store, modelName) {
|
|
292
|
+
this.__store = store;
|
|
293
|
+
this.modelName = modelName;
|
|
294
|
+
}
|
|
295
|
+
get fields() {
|
|
296
|
+
const fields = new Map();
|
|
297
|
+
const fieldSchemas = this.__store.schema.fields({
|
|
298
|
+
type: this.modelName
|
|
299
|
+
});
|
|
300
|
+
fieldSchemas.forEach((schema, key) => {
|
|
301
|
+
if (schema.kind === 'attribute' || schema.kind === 'belongsTo' || schema.kind === 'hasMany') {
|
|
302
|
+
fields.set(key, schema.kind);
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
return fields;
|
|
306
|
+
}
|
|
307
|
+
get attributes() {
|
|
308
|
+
const attrs = new Map();
|
|
309
|
+
const fields = this.__store.schema.fields({
|
|
310
|
+
type: this.modelName
|
|
311
|
+
});
|
|
312
|
+
fields.forEach((schema, key) => {
|
|
313
|
+
if (schema.kind === 'attribute') {
|
|
314
|
+
attrs.set(key, schema);
|
|
315
|
+
}
|
|
316
|
+
});
|
|
317
|
+
return attrs;
|
|
318
|
+
}
|
|
319
|
+
get relationshipsByName() {
|
|
320
|
+
const rels = new Map();
|
|
321
|
+
const fields = this.__store.schema.fields({
|
|
322
|
+
type: this.modelName
|
|
323
|
+
});
|
|
324
|
+
fields.forEach((schema, key) => {
|
|
325
|
+
if (schema.kind === 'belongsTo' || schema.kind === 'hasMany') {
|
|
326
|
+
rels.set(key, schema);
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
return rels;
|
|
330
|
+
}
|
|
331
|
+
eachAttribute(callback, binding) {
|
|
332
|
+
this.__store.schema.fields({
|
|
333
|
+
type: this.modelName
|
|
334
|
+
}).forEach((schema, key) => {
|
|
335
|
+
if (schema.kind === 'attribute') {
|
|
336
|
+
callback.call(binding, key, schema);
|
|
337
|
+
}
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
eachRelationship(callback, binding) {
|
|
341
|
+
this.__store.schema.fields({
|
|
342
|
+
type: this.modelName
|
|
343
|
+
}).forEach((schema, key) => {
|
|
344
|
+
if (schema.kind === 'belongsTo' || schema.kind === 'hasMany') {
|
|
345
|
+
callback.call(binding, key, schema);
|
|
346
|
+
}
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
eachTransformedAttribute(callback, binding) {
|
|
350
|
+
this.__store.schema.fields({
|
|
351
|
+
type: this.modelName
|
|
352
|
+
}).forEach((schema, key) => {
|
|
353
|
+
if (schema.kind === 'attribute') {
|
|
354
|
+
const type = schema.type;
|
|
355
|
+
if (type) callback.call(binding, key, type);
|
|
356
|
+
}
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
function restoreDeprecatedStoreBehaviors(StoreKlass) {
|
|
361
|
+
StoreKlass.prototype.findRecord = function (resource, id, options) {
|
|
362
|
+
if (isMaybeIdentifier(resource)) {
|
|
363
|
+
options = id;
|
|
364
|
+
} else {
|
|
365
|
+
const type = normalizeModelName(resource);
|
|
366
|
+
const normalizedId = ensureStringId(id);
|
|
367
|
+
resource = constructResource(type, normalizedId);
|
|
368
|
+
}
|
|
369
|
+
const identifier = this.cacheKeyManager.getOrCreateRecordIdentifier(resource);
|
|
370
|
+
options = options || {};
|
|
371
|
+
assertPrivateStore(this);
|
|
372
|
+
if (options.preload) {
|
|
373
|
+
// force reload if we preload to ensure we don't resolve the promise
|
|
374
|
+
// until we are complete, else we will end up background-reloading
|
|
375
|
+
// even for initial load.
|
|
376
|
+
if (!this._instanceCache.recordIsLoaded(identifier)) {
|
|
377
|
+
options.reload = true;
|
|
378
|
+
}
|
|
379
|
+
this._join(() => {
|
|
380
|
+
preloadData(this, identifier, options.preload);
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
const promise = this.request({
|
|
384
|
+
op: 'findRecord',
|
|
385
|
+
data: {
|
|
386
|
+
record: identifier,
|
|
387
|
+
options
|
|
388
|
+
},
|
|
389
|
+
cacheOptions: {
|
|
390
|
+
[SkipCache]: true
|
|
391
|
+
}
|
|
392
|
+
});
|
|
393
|
+
return promise.then(document => {
|
|
394
|
+
return document.content;
|
|
395
|
+
});
|
|
396
|
+
};
|
|
397
|
+
StoreKlass.prototype.findAll = function (type, options = {}) {
|
|
398
|
+
const promise = this.request({
|
|
399
|
+
op: 'findAll',
|
|
400
|
+
data: {
|
|
401
|
+
type: normalizeModelName(type),
|
|
402
|
+
options: options || {}
|
|
403
|
+
},
|
|
404
|
+
cacheOptions: {
|
|
405
|
+
[SkipCache]: true
|
|
406
|
+
}
|
|
407
|
+
});
|
|
408
|
+
return promise.then(document => document.content);
|
|
409
|
+
};
|
|
410
|
+
StoreKlass.prototype.query = function (type, query, options = {}) {
|
|
411
|
+
const promise = this.request({
|
|
412
|
+
op: 'query',
|
|
413
|
+
data: {
|
|
414
|
+
type: normalizeModelName(type),
|
|
415
|
+
query,
|
|
416
|
+
options: options
|
|
417
|
+
},
|
|
418
|
+
cacheOptions: {
|
|
419
|
+
[SkipCache]: true
|
|
420
|
+
}
|
|
421
|
+
});
|
|
422
|
+
return promise.then(document => document.content);
|
|
423
|
+
};
|
|
424
|
+
StoreKlass.prototype.queryRecord = function (type, query, options) {
|
|
425
|
+
const promise = this.request({
|
|
426
|
+
op: 'queryRecord',
|
|
427
|
+
data: {
|
|
428
|
+
type: normalizeModelName(type),
|
|
429
|
+
query,
|
|
430
|
+
options: options || {}
|
|
431
|
+
},
|
|
432
|
+
cacheOptions: {
|
|
433
|
+
[SkipCache]: true
|
|
434
|
+
}
|
|
435
|
+
});
|
|
436
|
+
return promise.then(document => document.content);
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
// do not put a ts-expect-error here, because typedoc will fail to
|
|
440
|
+
// build due to this error only occurring when references are in use in the editor
|
|
441
|
+
StoreKlass.prototype.getReference = function (resource, id) {
|
|
442
|
+
let resourceIdentifier;
|
|
443
|
+
if (arguments.length === 1 && isMaybeIdentifier(resource)) {
|
|
444
|
+
resourceIdentifier = resource;
|
|
445
|
+
} else {
|
|
446
|
+
const type = normalizeModelName(resource);
|
|
447
|
+
const normalizedId = ensureStringId(id);
|
|
448
|
+
resourceIdentifier = constructResource(type, normalizedId);
|
|
449
|
+
}
|
|
450
|
+
const identifier = this.cacheKeyManager.getOrCreateRecordIdentifier(resourceIdentifier);
|
|
451
|
+
assertPrivateStore(this);
|
|
452
|
+
const cache = upgradeInstanceCaches(this._instanceCache.__instances).reference;
|
|
453
|
+
let reference = cache.get(identifier);
|
|
454
|
+
if (!reference) {
|
|
455
|
+
reference = new RecordReference(this, identifier);
|
|
456
|
+
cache.set(identifier, reference);
|
|
457
|
+
}
|
|
458
|
+
return reference;
|
|
459
|
+
};
|
|
460
|
+
StoreKlass.prototype.modelFor = function (type) {
|
|
461
|
+
return getShimClass(this, type);
|
|
462
|
+
};
|
|
463
|
+
StoreKlass.prototype.saveRecord = function (record, options = {}) {
|
|
464
|
+
const identifier = recordIdentifierFor(record);
|
|
465
|
+
const cache = this.cache;
|
|
466
|
+
if (!identifier) {
|
|
467
|
+
// this commonly means we're disconnected
|
|
468
|
+
// but just in case we reject here to prevent bad things.
|
|
469
|
+
return Promise.reject(new Error(`Record Is Disconnected`));
|
|
470
|
+
}
|
|
471
|
+
assertPrivateStore(this);
|
|
472
|
+
if (resourceIsFullyDeleted(this._instanceCache, identifier)) {
|
|
473
|
+
return Promise.resolve(record);
|
|
474
|
+
}
|
|
475
|
+
if (!options) {
|
|
476
|
+
options = {};
|
|
477
|
+
}
|
|
478
|
+
let operation = 'updateRecord';
|
|
479
|
+
if (cache.isNew(identifier)) {
|
|
480
|
+
operation = 'createRecord';
|
|
481
|
+
} else if (cache.isDeleted(identifier)) {
|
|
482
|
+
operation = 'deleteRecord';
|
|
483
|
+
}
|
|
484
|
+
const request = {
|
|
485
|
+
op: operation,
|
|
486
|
+
data: {
|
|
487
|
+
options,
|
|
488
|
+
record: identifier
|
|
489
|
+
},
|
|
490
|
+
records: [identifier],
|
|
491
|
+
cacheOptions: {
|
|
492
|
+
[SkipCache]: true
|
|
493
|
+
}
|
|
494
|
+
};
|
|
495
|
+
return this.request(request).then(document => document.content);
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
function upgradeInstanceCaches(cache) {
|
|
499
|
+
const withReferences = cache;
|
|
500
|
+
if (!withReferences.reference) {
|
|
501
|
+
withReferences.reference = new WeakMap();
|
|
502
|
+
}
|
|
503
|
+
return withReferences;
|
|
504
|
+
}
|
|
505
|
+
export { restoreDeprecatedStoreBehaviors };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { dasherize } from '@warp-drive/utilities/string';
|
|
2
|
+
function isElementDescriptor(args) {
|
|
3
|
+
const [maybeTarget, maybeKey, maybeDesc] = args;
|
|
4
|
+
return (
|
|
5
|
+
// Ensure we have the right number of args
|
|
6
|
+
args.length === 3 && (
|
|
7
|
+
// Make sure the target is a class or object (prototype)
|
|
8
|
+
typeof maybeTarget === 'function' || typeof maybeTarget === 'object' && maybeTarget !== null) &&
|
|
9
|
+
// Make sure the key is a string
|
|
10
|
+
typeof maybeKey === 'string' && (
|
|
11
|
+
// Make sure the descriptor is the right shape
|
|
12
|
+
typeof maybeDesc === 'object' && maybeDesc !== null && 'enumerable' in maybeDesc && 'configurable' in maybeDesc ||
|
|
13
|
+
// TS compatibility
|
|
14
|
+
maybeDesc === undefined)
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
function normalizeModelName(type) {
|
|
18
|
+
{
|
|
19
|
+
const result = dasherize(type);
|
|
20
|
+
return result;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export { isElementDescriptor as i, normalizeModelName as n };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { dasherize } from '@warp-drive/utilities/string';
|
|
2
|
+
function isMaybeIdentifier(maybeIdentifier) {
|
|
3
|
+
return Boolean(maybeIdentifier !== null && typeof maybeIdentifier === 'object' && ('id' in maybeIdentifier && 'type' in maybeIdentifier && maybeIdentifier.id && maybeIdentifier.type || maybeIdentifier.lid));
|
|
4
|
+
}
|
|
5
|
+
function normalizeModelName(type) {
|
|
6
|
+
{
|
|
7
|
+
const result = dasherize(type);
|
|
8
|
+
return result;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export { isMaybeIdentifier as i, normalizeModelName as n };
|
package/logos/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
# Autogeneration Notice
|
|
2
2
|
|
|
3
|
-
This directory is maintained in the root of the monorepo and sync'd
|
|
4
|
-
repositories by running `bun sync-logos`
|
|
3
|
+
This directory is maintained in the root of the monorepo in `/logos/synced` and sync'd
|
|
4
|
+
to public repositories by running `bun sync-logos`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1498" height="1047" fill="none" viewBox="0 0 1498 1047"><g filter="url(#a)"><path fill="url(#b)" d="M132 175.075C132 149.076 153.138 128 179.213 128H1318.23c26.08 0 47.22 21.076 47.22 47.075v688.85c0 25.999-21.14 47.075-47.22 47.075H179.213C153.138 911 132 889.924 132 863.925z"/><path fill="#201328" d="M1043.4 587.312c0-39.962 30.84-72.357 68.87-72.357h53.09c38.04 0 68.88-32.395 68.88-72.357v-92.651c0-39.962-30.84-72.358-68.88-72.358h-53.09c-38.01 0-68.82 32.351-68.87 72.275v92.734c0 39.962-30.83 72.357-68.869 72.357h-53.089c-38.036 0-68.871-32.395-68.871-72.357v-87.409c0-39.962-30.835-72.358-68.872-72.358h-51.654c-38.037 0-68.872 32.396-68.872 72.358v87.409c0 39.962-30.835 72.357-68.872 72.357h-53.088c-38.037 0-68.872-32.395-68.872-72.357v-92.652c0-39.961-30.835-72.357-68.872-72.357h-53.088c-38.037 0-68.872 32.396-68.872 72.357v92.652c0 39.962 30.835 72.357 68.872 72.357h53.088c38.037 0 68.872 32.395 68.872 72.357v101.741c0 39.962 30.835 72.358 68.872 72.358h53.088c38.037 0 68.872-32.396 68.872-72.358V587.312c0-39.962 30.835-72.357 68.872-72.357h51.654c38.037 0 68.872 32.395 68.872 72.357v101.741c0 39.962 30.835 72.358 68.871 72.358h53.089c38.039 0 68.869-32.396 68.869-72.358z"/></g><defs><linearGradient id="b" x1="748.724" x2="1167.5" y1="128" y2="1070.23" gradientUnits="userSpaceOnUse"><stop stop-color="#ffc474"/><stop offset="1" stop-color="#ff9809"/></linearGradient><filter id="a" width="1497.45" height="1047" x="0" y="0" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="4"/><feGaussianBlur stdDeviation="66"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_757_188"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="4"/><feGaussianBlur stdDeviation="18"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend in2="effect1_dropShadow_757_188" result="effect2_dropShadow_757_188"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="4"/><feGaussianBlur stdDeviation="2"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend in2="effect2_dropShadow_757_188" result="effect3_dropShadow_757_188"/><feBlend in="SourceGraphic" in2="effect3_dropShadow_757_188" result="shape"/></filter></defs></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="2081" height="200" fill="none" viewBox="0 0 2081 200"><path fill="#000" d="M2064.89 185.359c-15.57 5.16-31.15 8.846-46.72 11.058q-23.22 3.456-47.55 3.456c-20.73 0-39.21-2.212-55.43-6.635q-24.18-6.773-40.77-19.49c-11.06-8.478-19.49-18.844-25.3-31.1-5.8-12.256-8.71-26.125-8.71-41.606 0-14.375 2.91-27.69 8.71-39.947 5.9-12.348 14.19-23.037 24.88-32.068 10.78-9.123 23.78-16.218 38.98-21.286C1928.19 2.58 1945.14 0 1963.85 0c17.23 0 32.99 2.35 47.27 7.05 14.38 4.607 26.68 11.472 36.91 20.595q15.48 13.684 23.91 33.727c5.71 13.361 8.57 28.75 8.57 46.167v12.716h-187.16a48.3 48.3 0 0 0 8.16 16.449c3.87 4.976 9.08 9.215 15.62 12.717 6.54 3.501 14.56 6.22 24.05 8.155 9.58 1.935 21.01 2.903 34.28 2.903 9.4 0 18.61-.553 27.64-1.659 9.04-1.198 17.47-2.719 25.3-4.562q11.745-2.902 21.15-6.358c6.36-2.304 11.47-4.607 15.34-6.911zm-35.38-102.7c-.47-4.7-1.89-9.538-4.29-14.514-2.3-5.069-5.99-9.63-11.06-13.685s-11.7-7.371-19.9-9.952q-12.3-4.008-30.69-4.008-17.28 0-29.85 4.285-12.585 4.284-21.15 10.643c-5.62 4.239-10 8.8-13.13 13.684-3.14 4.884-5.16 9.4-6.09 13.546zm-284.63 112.099h-59.71l-96.06-189.92h57.22l69.11 142.924 68.98-142.924h57.22zm-238.29 0V4.838h51.28v189.92zm-32.63-146.932c-1.38-.461-3.4-1.06-6.08-1.797q-3.87-1.245-9.12-2.35-5.25-1.244-11.61-2.073c-4.15-.553-8.43-.83-12.86-.83-9.21 0-17.83 1.152-25.84 3.456q-11.895 3.317-22.26 8.984a125.3 125.3 0 0 0-19.35 12.717c-5.9 4.7-11.33 9.537-16.31 14.514v114.311h-51.28V4.838h51.28v30.824c6.17-4.608 12.49-9.03 18.94-13.27a163 163 0 0 1 20.32-11.472c7.09-3.318 14.56-5.944 22.39-7.88 7.83-2.026 16.12-3.04 24.88-3.04 3.32 0 6.68.184 10.09.553 3.5.276 6.86.645 10.09 1.106 3.32.46 6.4.967 9.26 1.52s5.35 1.106 7.46 1.659zM1263.71 99.66c0 12.164-1.33 22.991-4 32.483-2.68 9.399-6.45 17.6-11.34 24.604-4.79 7.003-10.6 12.947-17.42 17.831q-10.08 7.325-22.53 11.749c-8.29 2.948-17.23 5.114-26.81 6.496q-14.37 1.935-30 1.935h-120.53V4.838h120.26c10.41 0 20.41.691 29.99 2.073 9.59 1.29 18.52 3.41 26.82 6.359 8.38 2.948 15.99 6.865 22.8 11.749 6.82 4.791 12.63 10.735 17.42 17.83 4.89 7.004 8.66 15.205 11.34 24.605 2.67 9.399 4 20.134 4 32.206m-51.69 0q0-13.685-3.6-23.775c-2.3-6.727-6.08-12.256-11.33-16.587-5.16-4.423-11.93-7.694-20.32-9.814-8.38-2.211-18.61-3.317-30.68-3.317h-63.73v107.262h63.73c12.07 0 22.3-1.06 30.68-3.179 8.39-2.212 15.16-5.529 20.32-9.952 5.25-4.515 9.03-10.137 11.33-16.864q3.6-10.09 3.6-23.774M986.574 63.169q0 14.237-4.699 25.157-4.562 10.92-14.514 18.383-9.952 7.464-25.71 11.335-15.62 3.732-37.735 3.732h-85.285v72.982h-17.278V4.838h102.563q22.116 0 37.735 3.87 15.758 3.732 25.71 11.058t14.514 18.246q4.7 10.92 4.699 25.157m-17.831 0q0-13.546-4.561-21.84-4.423-8.294-13.823-12.716-9.26-4.562-23.636-6.082-14.237-1.52-33.865-1.52h-74.227v84.593h74.227q7.602 0 16.172.138 8.709 0 17.14-.83 8.432-.967 16.034-3.179 7.74-2.349 13.546-7.05 5.945-4.699 9.399-12.301 3.594-7.602 3.594-19.213M766.455 19.49q-4.01-1.244-11.197-2.627-7.049-1.52-18.245-1.52-15.481 0-29.166 3.87-13.545 3.732-25.295 10.229a126.3 126.3 0 0 0-21.563 15.205q-9.951 8.57-17.969 18.245v131.866h-17.278V4.838h17.278V43.54a166 166 0 0 1 20.043-17.555q10.92-8.017 22.945-13.684a125.8 125.8 0 0 1 25.157-8.985Q724.435 0 738.533 0q4.839 0 8.708.276 3.87.14 7.05.553 3.317.277 6.22.691 2.902.416 5.944.968zm-220.33 175.268v-21.01q-9.952 5.39-22.669 9.952-12.579 4.562-26.677 7.879-13.96 3.318-28.751 5.114-14.79 1.797-29.027 1.797-18.522 0-33.312-3.317-14.652-3.318-24.881-9.814-10.228-6.635-15.757-16.31-5.529-9.814-5.529-22.669 0-12.717 6.358-22.393 6.497-9.813 18.384-17.001 11.887-7.326 28.612-12.302 16.864-5.115 37.598-8.57 20.733-3.594 44.784-5.806 24.19-2.349 50.867-3.87V61.925q0-8.846-3.318-15.62-3.317-6.772-9.261-11.749-5.943-5.115-13.96-8.431-8.017-3.456-17.416-5.53-9.262-2.074-19.628-2.902a219 219 0 0 0-20.596-.968q-13.96 0-25.433 1.383-11.473 1.381-21.425 3.87-9.952 2.35-19.075 5.529a563 563 0 0 0-18.384 6.773V14.099q19.213-5.114 40.915-8.846 21.839-3.87 46.305-3.87 20.733 0 38.703 3.593 17.969 3.456 31.238 11.196 13.27 7.74 20.872 20.043 7.603 12.164 7.603 29.718v128.825zm0-102.977q-45.2 2.489-77.268 7.05-31.929 4.561-52.248 11.196-20.32 6.634-29.857 15.481-9.399 8.846-9.399 20.042 0 9.123 4.561 16.173 4.7 7.049 13.408 11.887 8.708 4.7 21.148 7.188 12.44 2.349 27.922 2.349 9.123 0 18.798-.967a276 276 0 0 0 19.49-2.903 319 319 0 0 0 19.075-4.423q9.4-2.627 17.693-5.667t15.066-6.497q6.912-3.455 11.611-7.049zM180.245 4.838l67.73 176.098L318.193 4.838h19.213l-76.438 189.92h-25.71L168.634 23.222l-66.486 171.536h-25.71L0 4.838h19.213l70.218 176.098L157.023 4.838z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="2081" height="200" fill="none" viewBox="0 0 2081 200"><path fill="#fff" d="M2064.89 185.359c-15.57 5.16-31.15 8.846-46.72 11.058q-23.22 3.456-47.55 3.456c-20.73 0-39.21-2.212-55.43-6.635q-24.18-6.773-40.77-19.49c-11.06-8.478-19.49-18.844-25.3-31.1-5.8-12.256-8.71-26.125-8.71-41.606 0-14.375 2.91-27.69 8.71-39.947 5.9-12.348 14.19-23.037 24.88-32.068 10.78-9.123 23.78-16.218 38.98-21.286C1928.19 2.58 1945.14 0 1963.85 0c17.23 0 32.99 2.35 47.27 7.05 14.38 4.607 26.68 11.472 36.91 20.595q15.48 13.684 23.91 33.727c5.71 13.361 8.57 28.75 8.57 46.167v12.716h-187.16a48.3 48.3 0 0 0 8.16 16.449c3.87 4.976 9.08 9.215 15.62 12.717 6.54 3.501 14.56 6.22 24.05 8.155 9.58 1.935 21.01 2.903 34.28 2.903 9.4 0 18.61-.553 27.64-1.659 9.04-1.198 17.47-2.719 25.3-4.562q11.745-2.902 21.15-6.358c6.36-2.304 11.47-4.607 15.34-6.911zm-35.38-102.7c-.47-4.7-1.89-9.538-4.29-14.514-2.3-5.069-5.99-9.63-11.06-13.685s-11.7-7.371-19.9-9.952q-12.3-4.008-30.69-4.008-17.28 0-29.85 4.285-12.585 4.284-21.15 10.643c-5.62 4.239-10 8.8-13.13 13.684-3.14 4.884-5.16 9.4-6.09 13.546zm-284.63 112.099h-59.71l-96.06-189.92h57.22l69.11 142.924 68.98-142.924h57.22zm-238.29 0V4.838h51.28v189.92zm-32.63-146.932c-1.38-.461-3.4-1.06-6.08-1.797q-3.87-1.245-9.12-2.35-5.25-1.244-11.61-2.073c-4.15-.553-8.43-.83-12.86-.83-9.21 0-17.83 1.152-25.84 3.456q-11.895 3.317-22.26 8.984a125.3 125.3 0 0 0-19.35 12.717c-5.9 4.7-11.33 9.537-16.31 14.514v114.311h-51.28V4.838h51.28v30.824c6.17-4.608 12.49-9.03 18.94-13.27a163 163 0 0 1 20.32-11.472c7.09-3.318 14.56-5.944 22.39-7.88 7.83-2.026 16.12-3.04 24.88-3.04 3.32 0 6.68.184 10.09.553 3.5.276 6.86.645 10.09 1.106 3.32.46 6.4.967 9.26 1.52s5.35 1.106 7.46 1.659zM1263.71 99.66c0 12.164-1.33 22.991-4 32.483-2.68 9.399-6.45 17.6-11.34 24.604-4.79 7.003-10.6 12.947-17.42 17.831q-10.08 7.325-22.53 11.749c-8.29 2.948-17.23 5.114-26.81 6.496q-14.37 1.935-30 1.935h-120.53V4.838h120.26c10.41 0 20.41.691 29.99 2.073 9.59 1.29 18.52 3.41 26.82 6.359 8.38 2.948 15.99 6.865 22.8 11.749 6.82 4.791 12.63 10.735 17.42 17.83 4.89 7.004 8.66 15.205 11.34 24.605 2.67 9.399 4 20.134 4 32.206m-51.69 0q0-13.685-3.6-23.775c-2.3-6.727-6.08-12.256-11.33-16.587-5.16-4.423-11.93-7.694-20.32-9.814-8.38-2.211-18.61-3.317-30.68-3.317h-63.73v107.262h63.73c12.07 0 22.3-1.06 30.68-3.179 8.39-2.212 15.16-5.529 20.32-9.952 5.25-4.515 9.03-10.137 11.33-16.864q3.6-10.09 3.6-23.774M986.574 63.169q0 14.237-4.699 25.157-4.562 10.92-14.514 18.383-9.952 7.464-25.71 11.335-15.62 3.732-37.735 3.732h-85.285v72.982h-17.278V4.838h102.563q22.116 0 37.735 3.87 15.758 3.732 25.71 11.058t14.514 18.246q4.7 10.92 4.699 25.157m-17.831 0q0-13.546-4.561-21.84-4.423-8.294-13.823-12.716-9.26-4.562-23.636-6.082-14.237-1.52-33.865-1.52h-74.227v84.593h74.227q7.602 0 16.172.138 8.709 0 17.14-.83 8.432-.967 16.034-3.179 7.74-2.349 13.546-7.05 5.945-4.699 9.399-12.301 3.594-7.602 3.594-19.213M766.455 19.49q-4.01-1.244-11.197-2.627-7.049-1.52-18.245-1.52-15.481 0-29.166 3.87-13.545 3.732-25.295 10.229a126.3 126.3 0 0 0-21.563 15.205q-9.951 8.57-17.969 18.245v131.866h-17.278V4.838h17.278V43.54a166 166 0 0 1 20.043-17.555q10.92-8.017 22.945-13.684a125.8 125.8 0 0 1 25.157-8.985Q724.435 0 738.533 0q4.839 0 8.708.276 3.87.14 7.05.553 3.317.277 6.22.691 2.902.416 5.944.968zm-220.33 175.268v-21.01q-9.952 5.39-22.669 9.952-12.579 4.562-26.677 7.879-13.96 3.318-28.751 5.114-14.79 1.797-29.027 1.797-18.522 0-33.312-3.317-14.652-3.318-24.881-9.814-10.228-6.635-15.757-16.31-5.529-9.814-5.529-22.669 0-12.717 6.358-22.393 6.497-9.813 18.384-17.001 11.887-7.326 28.612-12.302 16.864-5.115 37.598-8.57 20.733-3.594 44.784-5.806 24.19-2.349 50.867-3.87V61.925q0-8.846-3.318-15.62-3.317-6.772-9.261-11.749-5.943-5.115-13.96-8.431-8.017-3.456-17.416-5.53-9.262-2.074-19.628-2.902a219 219 0 0 0-20.596-.968q-13.96 0-25.433 1.383-11.473 1.381-21.425 3.87-9.952 2.35-19.075 5.529a563 563 0 0 0-18.384 6.773V14.099q19.213-5.114 40.915-8.846 21.839-3.87 46.305-3.87 20.733 0 38.703 3.593 17.969 3.456 31.238 11.196 13.27 7.74 20.872 20.043 7.603 12.164 7.603 29.718v128.825zm0-102.977q-45.2 2.489-77.268 7.05-31.929 4.561-52.248 11.196-20.32 6.634-29.857 15.481-9.399 8.846-9.399 20.042 0 9.123 4.561 16.173 4.7 7.049 13.408 11.887 8.708 4.7 21.148 7.188 12.44 2.349 27.922 2.349 9.123 0 18.798-.967a276 276 0 0 0 19.49-2.903 319 319 0 0 0 19.075-4.423q9.4-2.627 17.693-5.667t15.066-6.497q6.912-3.455 11.611-7.049zM180.245 4.838l67.73 176.098L318.193 4.838h19.213l-76.438 189.92h-25.71L168.634 23.222l-66.486 171.536h-25.71L0 4.838h19.213l70.218 176.098L157.023 4.838z"/></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-drive/legacy",
|
|
3
|
-
"version": "5.8.0-alpha.
|
|
3
|
+
"version": "5.8.0-alpha.41",
|
|
4
4
|
"description": "Decommissioned Packages for WarpDrive | Things your app might still want to maintain use of for a little longer.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -23,17 +23,25 @@
|
|
|
23
23
|
],
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
26
|
+
"unpkg-dev-deprecated": "./dist/unpkg/dev-deprecated/index.js",
|
|
27
|
+
"unpkg-dev": "./dist/unpkg/dev/index.js",
|
|
28
|
+
"unpkg-deprecated": "./dist/unpkg/prod-deprecated/index.js",
|
|
29
|
+
"unpkg": "./dist/unpkg/prod/index.js",
|
|
26
30
|
"types": "./declarations/index.d.ts",
|
|
27
31
|
"default": "./dist/index.js"
|
|
28
32
|
},
|
|
29
33
|
"./*": {
|
|
34
|
+
"unpkg-dev-deprecated": "./dist/unpkg/dev-deprecated/*.js",
|
|
35
|
+
"unpkg-dev": "./dist/unpkg/dev/*.js",
|
|
36
|
+
"unpkg-deprecated": "./dist/unpkg/prod-deprecated/*.js",
|
|
37
|
+
"unpkg": "./dist/unpkg/prod/*.js",
|
|
30
38
|
"types": "./declarations/*.d.ts",
|
|
31
39
|
"default": "./dist/*.js"
|
|
32
40
|
}
|
|
33
41
|
},
|
|
34
42
|
"peerDependencies": {
|
|
35
|
-
"@warp-drive/core": "5.8.0-alpha.
|
|
36
|
-
"@warp-drive/utilities": "5.8.0-alpha.
|
|
43
|
+
"@warp-drive/core": "5.8.0-alpha.41",
|
|
44
|
+
"@warp-drive/utilities": "5.8.0-alpha.41"
|
|
37
45
|
},
|
|
38
46
|
"dependencies": {
|
|
39
47
|
"@embroider/macros": "^1.18.1"
|
|
@@ -43,9 +51,9 @@
|
|
|
43
51
|
"@babel/plugin-transform-typescript": "^7.28.0",
|
|
44
52
|
"@babel/preset-typescript": "^7.27.1",
|
|
45
53
|
"@types/jquery": "^3.5.33",
|
|
46
|
-
"@warp-drive/internal-config": "5.8.0-alpha.
|
|
47
|
-
"@warp-drive/core": "5.8.0-alpha.
|
|
48
|
-
"@warp-drive/utilities": "5.8.0-alpha.
|
|
54
|
+
"@warp-drive/internal-config": "5.8.0-alpha.41",
|
|
55
|
+
"@warp-drive/core": "5.8.0-alpha.41",
|
|
56
|
+
"@warp-drive/utilities": "5.8.0-alpha.41",
|
|
49
57
|
"ember-source": "~6.6.0",
|
|
50
58
|
"decorator-transforms": "^2.3.0",
|
|
51
59
|
"expect-type": "^1.2.2",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="1200pt" height="1200pt" version="1.1" viewBox="0 0 1200 1200" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path fill="#0969da" d="m1096.3 402.82c-53.148-53.008-117.12-79.516-191.93-79.516-67.488 0-126.55 21.938-177.16 65.805-50.617 43.871-80.988 98.285-91.113 163.25l53.57 4.2188c14.625 0.28125 25.449 6.75 32.48 19.406h18.984c11.809 0 17.715 5.7617 17.715 17.293s-5.9062 17.293-17.715 17.293h-17.297c-6.75 14.344-18.137 21.797-34.168 22.359l-53.57 4.6406c10.125 64.68 40.496 118.95 91.113 162.82 50.617 43.871 109.68 65.805 177.16 65.805 74.805 0 138.78-26.574 191.93-79.723 53.152-53.148 79.727-116.98 79.727-191.51 0-75.086-26.574-139.13-79.727-192.14zm-79.422 185.27c0 2.9531 2.3906 5.3477 5.3438 5.3477 2.9531 0 5.3477-2.3945 5.3477-5.3477 0-2.9492-2.3945-5.3438-5.3477-5.3438-2.9531 0-5.3438 2.3945-5.3438 5.3438zm-104.54-111.07c0 2.9531 2.3945 5.3477 5.3438 5.3477 2.9531 0 5.3477-2.3945 5.3477-5.3477s-2.3945-5.3438-5.3477-5.3438c-2.9492 0-5.3438 2.3906-5.3438 5.3438zm-12.473 0c0 2.9531 2.3906 5.3477 5.3438 5.3477s5.3477-2.3945 5.3477-5.3477-2.3945-5.3438-5.3477-5.3438-5.3438 2.3906-5.3438 5.3438zm117.01 123.55c0 2.9492 2.3906 5.3438 5.3438 5.3438 2.9531 0 5.3477-2.3945 5.3477-5.3438 0-2.9531-2.3945-5.3477-5.3477-5.3477-2.9531 0-5.3438 2.3945-5.3438 5.3477zm-104.54 111.66c0 2.9531 2.3945 5.3477 5.3438 5.3477 2.9531 0 5.3477-2.3945 5.3477-5.3477s-2.3945-5.3438-5.3477-5.3438c-2.9492 0-5.3438 2.3906-5.3438 5.3438zm-12.473 0c0 2.9531 2.3906 5.3477 5.3438 5.3477s5.3477-2.3945 5.3477-5.3477-2.3945-5.3438-5.3477-5.3438-5.3438 2.3906-5.3438 5.3438zm-848-318.48c14.062-2.5312 30.934-4.5 50.621-5.9062l-46.402-0.84375zm499.86 169.15c-8.7188-2.25-18.141-8.7188-28.266-19.402l-101.23-103.35h-111.36l173.79 126.12v4.2188c21.652 6.1836 44.008 3.6562 67.07-7.5938zm47.664-148.48c-0.84375 3.3711-2.8125 6.6055-5.9062 9.6992h-5.0625l-6.3242-5.0625h-79.305v-4.6367zm-5.9062-16.031c3.0938 3.0938 5.0625 6.4688 5.9062 10.125h-96.598v-4.6406h79.305l6.3242-5.4844zm-541.62 397.78 4.2188 6.7461 46.402-0.84375c-22.5-2.2461-39.371-4.2148-50.621-5.9023zm499.86-169.15c-23.062-11.531-45.418-14.062-67.07-7.5938v4.2188l-173.79 126.12h111.36l101.23-103.77c10.406-10.684 19.828-17.012 28.266-18.98zm47.664 148.48h-96.598v-4.6406h79.305l6.3242-5.4805h5.0625c3.0938 3.6523 5.0625 7.0273 5.9062 10.121zm-5.9062 15.609h-5.0625l-6.3242-5.0625h-79.305v-4.6406h96.598c-0.84375 3.0938-2.8125 6.3281-5.9062 9.7031zm-102.5 9.6992c3.6562 1.4062 7.4531 2.1094 11.391 2.1094h64.961c24.746 0 37.121-8.4336 37.121-25.309 0-8.4375-4.6406-14.691-13.922-18.77-9.2773-4.0781-17.012-6.1172-23.199-6.1172h-64.961c-4.7812 0-8.5781 0.5625-11.391 1.6875h-333.66c-5.0625 0-28.543 1.6172-70.445 4.8516-41.902 3.2344-62.852 7.3828-62.852 12.441v11.812c0 4.5 20.949 8.5078 62.852 12.023 41.902 3.5156 65.383 5.2695 70.445 5.2695zm125.28-207.54h-42.602c-3.375 1.125-3.375 2.25 0 3.375h42.602zm-43.445 8.4375h-5.4844v-13.5h5.4844c17.152-6.1875 33.605-9.9844 49.352-11.391l4.6406-25.309 4.6406 0.42188c0.5625-4.2188 1.6875-10.262 3.375-18.137-28.684-0.5625-64.398 1.6875-107.14 6.75 3.6562 4.2148 7.4531 7.8711 11.391 10.965 4.7812 3.375 9.4219 5.625 13.918 6.75l12.656 2.9531-11.812 5.9062c-13.496 6.75-30.23 10.121-50.195 10.121-5.0625 0-8.5781-0.14062-10.547-0.42188-4.2188-0.5625-7.5898-1.1211-10.121-1.6836l-3.375-1.2656v-5.4844l-24.043-17.297c-41.34 5.625-69.32 8.5781-83.945 8.8594-31.496 0.28125-47.242 11.953-47.242 35.012 0 22.215 15.746 33.887 47.242 35.012 18.844 0.28125 46.824 3.2344 83.945 8.8594l24.043-17.297v-5.4844l3.375-1.2656c2.5312-0.84375 5.9023-1.4062 10.121-1.6875 1.9688-0.28125 5.4844-0.42187 10.547-0.42187 19.965 0 36.699 3.375 50.195 10.125l11.812 5.4844-12.656 3.375c-4.4961 0.84375-9.1367 3.0938-13.918 6.75-3.6562 2.2461-7.4531 5.7617-11.391 10.543 40.777 5.0625 76.492 7.4531 107.14 7.1719-1.6875-7.3125-2.8125-13.359-3.375-18.137h-4.6406l-4.6406-24.891c-17.434-2.25-33.887-6.043-49.352-11.387zm48.508-20.25c-12.652 1.6875-23.762 3.9375-33.324 6.75h29.105l3.7969-4.2188zm-4.2188 20.25h-29.105c9.5625 2.5312 20.672 4.7812 33.324 6.7461l-0.42188-2.5273zm136.67-8.4375c0-8.4375-4.2188-12.656-12.652-12.656h-21.516c-6.4688-12.652-16.59-18.98-30.371-18.98l-58.211-5.0625-5.9062 29.527-4.2188 5.0625v7.5938l4.2188 5.0625 5.9062 29.105 58.211-5.0625c15.469 0 26.012-7.3125 31.637-21.934h20.25c8.4336 0 12.652-4.2188 12.652-12.656zm-46.82 1.6875c0-11.531-5.9062-17.297-17.719-17.297-11.527 0-17.293 5.7656-17.293 17.297 0 11.812 5.7656 17.715 17.293 17.715 11.812 0 17.719-5.9023 17.719-17.715zm4.6406 0c0 14.902-7.4531 22.355-22.359 22.355-14.902 0-22.355-7.4531-22.355-22.355 0-14.906 7.4531-22.355 22.355-22.355 14.906 0 22.359 7.4492 22.359 22.355zm-13.922 0c0-5.625-2.8125-8.4375-8.4375-8.4375-5.3438 0-8.0156 2.8125-8.0156 8.4375s2.6719 8.4375 8.0156 8.4375c5.625 0 8.4375-2.8125 8.4375-8.4375zm4.6406 0c0 8.7188-4.3594 13.078-13.078 13.078-8.4375 0-12.652-4.3594-12.652-13.078s4.2148-13.078 12.652-13.078c8.7188 0 13.078 4.3594 13.078 13.078zm-43.871-2.1094v4.2188h-35.012v-4.2188zm258.58 2.1094c-0.5625-8.4375-4.7812-12.656-12.656-12.656-8.4336 0-12.652 4.2188-12.652 12.656s4.2188 12.656 12.652 12.656c8.4375 0 12.656-4.2188 12.656-12.656zm4.6406 0c0 11.531-5.7656 17.293-17.297 17.293-11.527 0-17.293-5.7617-17.293-17.293s5.7656-17.297 17.293-17.297c11.531 0 17.297 5.7656 17.297 17.297zm32.48 0c0-13.781-4.9219-25.59-14.766-35.434-9.5586-9.5625-21.23-14.344-35.012-14.344-15.184 0-31.777 5.7656-49.773 17.297-18.559 11.531-27.84 22.355-27.84 32.48 0 9.8438 9.2812 20.668 27.84 32.48 17.996 11.531 34.59 17.293 49.773 17.293 13.781 0 25.453-4.918 35.012-14.762 9.8438-9.5625 14.766-21.234 14.766-35.012zm5.0625 0c0 14.902-5.3438 27.699-16.031 38.387-10.684 10.684-23.621 16.027-38.809 16.027-15.746 0-33.18-6.0469-52.305-18.137-20.246-12.656-30.371-24.746-30.371-36.277s10.125-23.762 30.371-36.699c19.125-12.094 36.559-18.137 52.305-18.137 14.625 0 27.562 5.3398 38.809 16.027 10.688 10.969 16.031 23.902 16.031 38.809zm-54.418-29.105c-3.9336 0-10.262 1.6875-18.98 5.0625-7.875 3.9375-11.812 6.4648-11.812 7.5898v32.48c0 3.0938 3.9375 5.625 11.812 7.5938 7.875 3.375 14.203 5.0625 18.98 5.0625 19.406 0 29.391-9.2812 29.953-27.84 0-19.688-9.9844-29.668-29.953-29.949zm34.59 29.105v0.84375c0 21.371-11.527 32.34-34.59 32.902-4.4961 0-11.527-1.8281-21.09-5.4844-7.0312-3.9375-10.969-6.3281-11.809-7.1719-1.6875-1.4062-2.5312-3.0938-2.5312-5.0625v-32.48c0-1.4062 0.70312-2.9492 2.1094-4.6367 3.0898-2.8125 7.168-5.2031 12.23-7.1719 9-3.6562 16.031-5.4844 21.09-5.4844 22.5 0.28125 34.027 11.531 34.59 33.746zm-448.4-206.27h-333.66c-5.0625 0-28.543 1.6875-70.445 5.0625-41.902 3.375-62.852 7.5938-62.852 12.656v11.387c0 4.7812 20.949 8.8594 62.852 12.234 41.902 3.375 65.383 5.0625 70.445 5.0625h333.66c3.6562 1.4062 7.4531 2.1094 11.391 2.1094h64.961c5.3438 0 12.867-2.25 22.566-6.75 9.7031-4.5 14.555-10.547 14.555-18.137 0.28125-16.875-12.094-25.312-37.121-25.312h-64.961c-4.7812 0-8.5781 0.5625-11.391 1.6875z" fill-rule="evenodd"/>
|
|
4
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="1200pt" height="1200pt" version="1.1" viewBox="0 0 1200 1200" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path fill="#FFC474" d="m1096.3 402.82c-53.148-53.008-117.12-79.516-191.93-79.516-67.488 0-126.55 21.938-177.16 65.805-50.617 43.871-80.988 98.285-91.113 163.25l53.57 4.2188c14.625 0.28125 25.449 6.75 32.48 19.406h18.984c11.809 0 17.715 5.7617 17.715 17.293s-5.9062 17.293-17.715 17.293h-17.297c-6.75 14.344-18.137 21.797-34.168 22.359l-53.57 4.6406c10.125 64.68 40.496 118.95 91.113 162.82 50.617 43.871 109.68 65.805 177.16 65.805 74.805 0 138.78-26.574 191.93-79.723 53.152-53.148 79.727-116.98 79.727-191.51 0-75.086-26.574-139.13-79.727-192.14zm-79.422 185.27c0 2.9531 2.3906 5.3477 5.3438 5.3477 2.9531 0 5.3477-2.3945 5.3477-5.3477 0-2.9492-2.3945-5.3438-5.3477-5.3438-2.9531 0-5.3438 2.3945-5.3438 5.3438zm-104.54-111.07c0 2.9531 2.3945 5.3477 5.3438 5.3477 2.9531 0 5.3477-2.3945 5.3477-5.3477s-2.3945-5.3438-5.3477-5.3438c-2.9492 0-5.3438 2.3906-5.3438 5.3438zm-12.473 0c0 2.9531 2.3906 5.3477 5.3438 5.3477s5.3477-2.3945 5.3477-5.3477-2.3945-5.3438-5.3477-5.3438-5.3438 2.3906-5.3438 5.3438zm117.01 123.55c0 2.9492 2.3906 5.3438 5.3438 5.3438 2.9531 0 5.3477-2.3945 5.3477-5.3438 0-2.9531-2.3945-5.3477-5.3477-5.3477-2.9531 0-5.3438 2.3945-5.3438 5.3477zm-104.54 111.66c0 2.9531 2.3945 5.3477 5.3438 5.3477 2.9531 0 5.3477-2.3945 5.3477-5.3477s-2.3945-5.3438-5.3477-5.3438c-2.9492 0-5.3438 2.3906-5.3438 5.3438zm-12.473 0c0 2.9531 2.3906 5.3477 5.3438 5.3477s5.3477-2.3945 5.3477-5.3477-2.3945-5.3438-5.3477-5.3438-5.3438 2.3906-5.3438 5.3438zm-848-318.48c14.062-2.5312 30.934-4.5 50.621-5.9062l-46.402-0.84375zm499.86 169.15c-8.7188-2.25-18.141-8.7188-28.266-19.402l-101.23-103.35h-111.36l173.79 126.12v4.2188c21.652 6.1836 44.008 3.6562 67.07-7.5938zm47.664-148.48c-0.84375 3.3711-2.8125 6.6055-5.9062 9.6992h-5.0625l-6.3242-5.0625h-79.305v-4.6367zm-5.9062-16.031c3.0938 3.0938 5.0625 6.4688 5.9062 10.125h-96.598v-4.6406h79.305l6.3242-5.4844zm-541.62 397.78 4.2188 6.7461 46.402-0.84375c-22.5-2.2461-39.371-4.2148-50.621-5.9023zm499.86-169.15c-23.062-11.531-45.418-14.062-67.07-7.5938v4.2188l-173.79 126.12h111.36l101.23-103.77c10.406-10.684 19.828-17.012 28.266-18.98zm47.664 148.48h-96.598v-4.6406h79.305l6.3242-5.4805h5.0625c3.0938 3.6523 5.0625 7.0273 5.9062 10.121zm-5.9062 15.609h-5.0625l-6.3242-5.0625h-79.305v-4.6406h96.598c-0.84375 3.0938-2.8125 6.3281-5.9062 9.7031zm-102.5 9.6992c3.6562 1.4062 7.4531 2.1094 11.391 2.1094h64.961c24.746 0 37.121-8.4336 37.121-25.309 0-8.4375-4.6406-14.691-13.922-18.77-9.2773-4.0781-17.012-6.1172-23.199-6.1172h-64.961c-4.7812 0-8.5781 0.5625-11.391 1.6875h-333.66c-5.0625 0-28.543 1.6172-70.445 4.8516-41.902 3.2344-62.852 7.3828-62.852 12.441v11.812c0 4.5 20.949 8.5078 62.852 12.023 41.902 3.5156 65.383 5.2695 70.445 5.2695zm125.28-207.54h-42.602c-3.375 1.125-3.375 2.25 0 3.375h42.602zm-43.445 8.4375h-5.4844v-13.5h5.4844c17.152-6.1875 33.605-9.9844 49.352-11.391l4.6406-25.309 4.6406 0.42188c0.5625-4.2188 1.6875-10.262 3.375-18.137-28.684-0.5625-64.398 1.6875-107.14 6.75 3.6562 4.2148 7.4531 7.8711 11.391 10.965 4.7812 3.375 9.4219 5.625 13.918 6.75l12.656 2.9531-11.812 5.9062c-13.496 6.75-30.23 10.121-50.195 10.121-5.0625 0-8.5781-0.14062-10.547-0.42188-4.2188-0.5625-7.5898-1.1211-10.121-1.6836l-3.375-1.2656v-5.4844l-24.043-17.297c-41.34 5.625-69.32 8.5781-83.945 8.8594-31.496 0.28125-47.242 11.953-47.242 35.012 0 22.215 15.746 33.887 47.242 35.012 18.844 0.28125 46.824 3.2344 83.945 8.8594l24.043-17.297v-5.4844l3.375-1.2656c2.5312-0.84375 5.9023-1.4062 10.121-1.6875 1.9688-0.28125 5.4844-0.42187 10.547-0.42187 19.965 0 36.699 3.375 50.195 10.125l11.812 5.4844-12.656 3.375c-4.4961 0.84375-9.1367 3.0938-13.918 6.75-3.6562 2.2461-7.4531 5.7617-11.391 10.543 40.777 5.0625 76.492 7.4531 107.14 7.1719-1.6875-7.3125-2.8125-13.359-3.375-18.137h-4.6406l-4.6406-24.891c-17.434-2.25-33.887-6.043-49.352-11.387zm48.508-20.25c-12.652 1.6875-23.762 3.9375-33.324 6.75h29.105l3.7969-4.2188zm-4.2188 20.25h-29.105c9.5625 2.5312 20.672 4.7812 33.324 6.7461l-0.42188-2.5273zm136.67-8.4375c0-8.4375-4.2188-12.656-12.652-12.656h-21.516c-6.4688-12.652-16.59-18.98-30.371-18.98l-58.211-5.0625-5.9062 29.527-4.2188 5.0625v7.5938l4.2188 5.0625 5.9062 29.105 58.211-5.0625c15.469 0 26.012-7.3125 31.637-21.934h20.25c8.4336 0 12.652-4.2188 12.652-12.656zm-46.82 1.6875c0-11.531-5.9062-17.297-17.719-17.297-11.527 0-17.293 5.7656-17.293 17.297 0 11.812 5.7656 17.715 17.293 17.715 11.812 0 17.719-5.9023 17.719-17.715zm4.6406 0c0 14.902-7.4531 22.355-22.359 22.355-14.902 0-22.355-7.4531-22.355-22.355 0-14.906 7.4531-22.355 22.355-22.355 14.906 0 22.359 7.4492 22.359 22.355zm-13.922 0c0-5.625-2.8125-8.4375-8.4375-8.4375-5.3438 0-8.0156 2.8125-8.0156 8.4375s2.6719 8.4375 8.0156 8.4375c5.625 0 8.4375-2.8125 8.4375-8.4375zm4.6406 0c0 8.7188-4.3594 13.078-13.078 13.078-8.4375 0-12.652-4.3594-12.652-13.078s4.2148-13.078 12.652-13.078c8.7188 0 13.078 4.3594 13.078 13.078zm-43.871-2.1094v4.2188h-35.012v-4.2188zm258.58 2.1094c-0.5625-8.4375-4.7812-12.656-12.656-12.656-8.4336 0-12.652 4.2188-12.652 12.656s4.2188 12.656 12.652 12.656c8.4375 0 12.656-4.2188 12.656-12.656zm4.6406 0c0 11.531-5.7656 17.293-17.297 17.293-11.527 0-17.293-5.7617-17.293-17.293s5.7656-17.297 17.293-17.297c11.531 0 17.297 5.7656 17.297 17.297zm32.48 0c0-13.781-4.9219-25.59-14.766-35.434-9.5586-9.5625-21.23-14.344-35.012-14.344-15.184 0-31.777 5.7656-49.773 17.297-18.559 11.531-27.84 22.355-27.84 32.48 0 9.8438 9.2812 20.668 27.84 32.48 17.996 11.531 34.59 17.293 49.773 17.293 13.781 0 25.453-4.918 35.012-14.762 9.8438-9.5625 14.766-21.234 14.766-35.012zm5.0625 0c0 14.902-5.3438 27.699-16.031 38.387-10.684 10.684-23.621 16.027-38.809 16.027-15.746 0-33.18-6.0469-52.305-18.137-20.246-12.656-30.371-24.746-30.371-36.277s10.125-23.762 30.371-36.699c19.125-12.094 36.559-18.137 52.305-18.137 14.625 0 27.562 5.3398 38.809 16.027 10.688 10.969 16.031 23.902 16.031 38.809zm-54.418-29.105c-3.9336 0-10.262 1.6875-18.98 5.0625-7.875 3.9375-11.812 6.4648-11.812 7.5898v32.48c0 3.0938 3.9375 5.625 11.812 7.5938 7.875 3.375 14.203 5.0625 18.98 5.0625 19.406 0 29.391-9.2812 29.953-27.84 0-19.688-9.9844-29.668-29.953-29.949zm34.59 29.105v0.84375c0 21.371-11.527 32.34-34.59 32.902-4.4961 0-11.527-1.8281-21.09-5.4844-7.0312-3.9375-10.969-6.3281-11.809-7.1719-1.6875-1.4062-2.5312-3.0938-2.5312-5.0625v-32.48c0-1.4062 0.70312-2.9492 2.1094-4.6367 3.0898-2.8125 7.168-5.2031 12.23-7.1719 9-3.6562 16.031-5.4844 21.09-5.4844 22.5 0.28125 34.027 11.531 34.59 33.746zm-448.4-206.27h-333.66c-5.0625 0-28.543 1.6875-70.445 5.0625-41.902 3.375-62.852 7.5938-62.852 12.656v11.387c0 4.7812 20.949 8.8594 62.852 12.234 41.902 3.375 65.383 5.0625 70.445 5.0625h333.66c3.6562 1.4062 7.4531 2.1094 11.391 2.1094h64.961c5.3438 0 12.867-2.25 22.566-6.75 9.7031-4.5 14.555-10.547 14.555-18.137 0.28125-16.875-12.094-25.312-37.121-25.312h-64.961c-4.7812 0-8.5781 0.5625-11.391 1.6875z" fill-rule="evenodd"/>
|
|
4
|
-
</svg>
|