@startinblox/components-ds4go 3.1.7 → 3.1.9
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/{custom-getter-ZPFnoSjt-BCNOlbJZ-BUlKQ94_.js → custom-getter-ZPFnoSjt-BCNOlbJZ-BYxZRZxe.js} +1 -1
- package/dist/{index-VPaDWRHi.js → index-DSqCAq-S.js} +31902 -30936
- package/dist/index.js +1 -1
- package/locales/en.xlf +180 -0
- package/package.json +1 -1
- package/src/component.d.ts +7 -0
- package/src/components/catalog/ds4go-dsif-explorer-poc-holder.ts +10 -6
- package/src/components/odrl/policy-composer.ts +938 -0
- package/src/components/solid-fact-bundle-creation.ts +203 -44
- package/src/styles/fact-bundle-creation.scss +14 -0
- package/src/styles/odrl/policy-composer.scss +87 -0
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import "./index-
|
|
1
|
+
import "./index-DSqCAq-S.js";
|
package/locales/en.xlf
CHANGED
|
@@ -98,6 +98,186 @@
|
|
|
98
98
|
<trans-unit id="s6de61424bb681993">
|
|
99
99
|
<source>Contract policy</source>
|
|
100
100
|
</trans-unit>
|
|
101
|
+
<trans-unit id="s1a09219b217309cc">
|
|
102
|
+
<source>Search for...</source>
|
|
103
|
+
</trans-unit>
|
|
104
|
+
<trans-unit id="sb34b3dca6ec05933">
|
|
105
|
+
<source>Date after</source>
|
|
106
|
+
</trans-unit>
|
|
107
|
+
<trans-unit id="se2a05e7d1641da65">
|
|
108
|
+
<source>Balance: <x id="0" equiv-text="${displayObj.balance}"/></source>
|
|
109
|
+
</trans-unit>
|
|
110
|
+
<trans-unit id="se5c723fd92e6b3a1">
|
|
111
|
+
<source>Participant ID: <x id="0" equiv-text="${displayObj.participant_id}"/></source>
|
|
112
|
+
</trans-unit>
|
|
113
|
+
<trans-unit id="s711dfc7cf281c17b">
|
|
114
|
+
<source>Contract Agreement</source>
|
|
115
|
+
</trans-unit>
|
|
116
|
+
<trans-unit id="s38be98a354b0a135">
|
|
117
|
+
<source>Signed</source>
|
|
118
|
+
</trans-unit>
|
|
119
|
+
<trans-unit id="s2f06118e5cfd21a9">
|
|
120
|
+
<source>Consumer</source>
|
|
121
|
+
</trans-unit>
|
|
122
|
+
<trans-unit id="s7f5869b3d14d7cbc">
|
|
123
|
+
<source>Provider</source>
|
|
124
|
+
</trans-unit>
|
|
125
|
+
<trans-unit id="sd654d8ccae923c48">
|
|
126
|
+
<source>Related Asset</source>
|
|
127
|
+
</trans-unit>
|
|
128
|
+
<trans-unit id="sd3077f49629e11fa">
|
|
129
|
+
<source>No base URL</source>
|
|
130
|
+
</trans-unit>
|
|
131
|
+
<trans-unit id="sd2223afb7d6b100d">
|
|
132
|
+
<source>Type</source>
|
|
133
|
+
</trans-unit>
|
|
134
|
+
<trans-unit id="sc2b856893ccf1f1d">
|
|
135
|
+
<source>Related Bundle & Facts</source>
|
|
136
|
+
</trans-unit>
|
|
137
|
+
<trans-unit id="sd11fc5474894c6c5">
|
|
138
|
+
<source>Bundle</source>
|
|
139
|
+
</trans-unit>
|
|
140
|
+
<trans-unit id="s7199676e8444c0df">
|
|
141
|
+
<source>Facts in this bundle</source>
|
|
142
|
+
</trans-unit>
|
|
143
|
+
<trans-unit id="s8cb7bb82e96d5d77">
|
|
144
|
+
<source>Policies</source>
|
|
145
|
+
</trans-unit>
|
|
146
|
+
<trans-unit id="s130b53bf70c099db">
|
|
147
|
+
<source>Has Agreement</source>
|
|
148
|
+
</trans-unit>
|
|
149
|
+
<trans-unit id="s4a5cebfdec24864a">
|
|
150
|
+
<source>Provider Negotiations</source>
|
|
151
|
+
</trans-unit>
|
|
152
|
+
<trans-unit id="s5320157737c76bc2">
|
|
153
|
+
<source>No agreement</source>
|
|
154
|
+
</trans-unit>
|
|
155
|
+
<trans-unit id="sd862e53e585c4a91">
|
|
156
|
+
<source>Customer Negotiations</source>
|
|
157
|
+
</trans-unit>
|
|
158
|
+
<trans-unit id="s87caffc3a7530252">
|
|
159
|
+
<source>Customer Agreements</source>
|
|
160
|
+
</trans-unit>
|
|
161
|
+
<trans-unit id="s5eb159aea193d0e2">
|
|
162
|
+
<source>Customer created on</source>
|
|
163
|
+
</trans-unit>
|
|
164
|
+
<trans-unit id="s759d638e91e0b747">
|
|
165
|
+
<source>Customer updated on</source>
|
|
166
|
+
</trans-unit>
|
|
167
|
+
<trans-unit id="sc5184b76094deda1">
|
|
168
|
+
<source>Hide Technical Informations</source>
|
|
169
|
+
</trans-unit>
|
|
170
|
+
<trans-unit id="s56e78b402633ad0a">
|
|
171
|
+
<source>Show Technical Informations</source>
|
|
172
|
+
</trans-unit>
|
|
173
|
+
<trans-unit id="s006ad4ed8e04ecef">
|
|
174
|
+
<source>Technical informations</source>
|
|
175
|
+
</trans-unit>
|
|
176
|
+
<trans-unit id="sda68b7b6b6da0a83">
|
|
177
|
+
<source>Contract</source>
|
|
178
|
+
</trans-unit>
|
|
179
|
+
<trans-unit id="sb41b2cfbbc52565b">
|
|
180
|
+
<source>Created</source>
|
|
181
|
+
</trans-unit>
|
|
182
|
+
<trans-unit id="s2ea91b543c17d318">
|
|
183
|
+
<source>Assets</source>
|
|
184
|
+
</trans-unit>
|
|
185
|
+
<trans-unit id="sdb81c7b9681f5000">
|
|
186
|
+
<source>No associated asset</source>
|
|
187
|
+
</trans-unit>
|
|
188
|
+
<trans-unit id="sddebfd5c5fc403a1">
|
|
189
|
+
<source>Consumer Negotiations</source>
|
|
190
|
+
</trans-unit>
|
|
191
|
+
<trans-unit id="s042baf59902a711f">
|
|
192
|
+
<source>Policy</source>
|
|
193
|
+
</trans-unit>
|
|
194
|
+
<trans-unit id="se8dca0132c66ae03">
|
|
195
|
+
<source>Permissions</source>
|
|
196
|
+
</trans-unit>
|
|
197
|
+
<trans-unit id="sa442044b586ec8bf">
|
|
198
|
+
<source>Action</source>
|
|
199
|
+
</trans-unit>
|
|
200
|
+
<trans-unit id="sff5bb7742c2896c8">
|
|
201
|
+
<source>Target</source>
|
|
202
|
+
</trans-unit>
|
|
203
|
+
<trans-unit id="sbe3e707b57c46ca1">
|
|
204
|
+
<source>Prohibitions</source>
|
|
205
|
+
</trans-unit>
|
|
206
|
+
<trans-unit id="sffb7bb8de238ac4e">
|
|
207
|
+
<source>Obligations</source>
|
|
208
|
+
</trans-unit>
|
|
209
|
+
<trans-unit id="s14859b947195b408">
|
|
210
|
+
<source>Permission <x id="0" equiv-text="${index + 1}"/></source>
|
|
211
|
+
</trans-unit>
|
|
212
|
+
<trans-unit id="s35bf8bb435438a0b">
|
|
213
|
+
<source>Constraints</source>
|
|
214
|
+
</trans-unit>
|
|
215
|
+
<trans-unit id="s132a54c0aec0f79d">
|
|
216
|
+
<source>Left Operand</source>
|
|
217
|
+
</trans-unit>
|
|
218
|
+
<trans-unit id="sc4801f580ac4e73d">
|
|
219
|
+
<source>Operator</source>
|
|
220
|
+
</trans-unit>
|
|
221
|
+
<trans-unit id="scda770139c73e620">
|
|
222
|
+
<source>Right Operand</source>
|
|
223
|
+
</trans-unit>
|
|
224
|
+
<trans-unit id="sd46f8dd8f23143bc">
|
|
225
|
+
<source>Remove Constraint</source>
|
|
226
|
+
</trans-unit>
|
|
227
|
+
<trans-unit id="s2fdbcc7ce7c18d9b">
|
|
228
|
+
<source>Add Constraint</source>
|
|
229
|
+
</trans-unit>
|
|
230
|
+
<trans-unit id="s9d400a027526b9d8">
|
|
231
|
+
<source>Remove Permission</source>
|
|
232
|
+
</trans-unit>
|
|
233
|
+
<trans-unit id="s076b9e9621d4d0b2">
|
|
234
|
+
<source>Prohibition <x id="0" equiv-text="${index + 1}"/></source>
|
|
235
|
+
</trans-unit>
|
|
236
|
+
<trans-unit id="sbe1b941d4910d6ea">
|
|
237
|
+
<source>Remove Prohibition</source>
|
|
238
|
+
</trans-unit>
|
|
239
|
+
<trans-unit id="sbcccc4176562f98f">
|
|
240
|
+
<source>Obligation <x id="0" equiv-text="${index + 1}"/></source>
|
|
241
|
+
</trans-unit>
|
|
242
|
+
<trans-unit id="s93ec9f2c98cc8e3f">
|
|
243
|
+
<source>Remove Obligation</source>
|
|
244
|
+
</trans-unit>
|
|
245
|
+
<trans-unit id="s628bb01dd2b078ad">
|
|
246
|
+
<source>No policy template provided</source>
|
|
247
|
+
</trans-unit>
|
|
248
|
+
<trans-unit id="sa37b24eee1d1bc2b">
|
|
249
|
+
<source>Policy Composer</source>
|
|
250
|
+
</trans-unit>
|
|
251
|
+
<trans-unit id="s23cd949fc2aa86a8">
|
|
252
|
+
<source>Policy Definition</source>
|
|
253
|
+
</trans-unit>
|
|
254
|
+
<trans-unit id="se0f628ee952e5ad8">
|
|
255
|
+
<source>Policy ID</source>
|
|
256
|
+
</trans-unit>
|
|
257
|
+
<trans-unit id="s7d6c4188c395a9a5">
|
|
258
|
+
<source>Policy Type</source>
|
|
259
|
+
</trans-unit>
|
|
260
|
+
<trans-unit id="s275cf91505dc75a3">
|
|
261
|
+
<source>Add Permission</source>
|
|
262
|
+
</trans-unit>
|
|
263
|
+
<trans-unit id="s18c23b99ee3c7cb3">
|
|
264
|
+
<source>Add Prohibition</source>
|
|
265
|
+
</trans-unit>
|
|
266
|
+
<trans-unit id="sc3fc7be063c1cb1c">
|
|
267
|
+
<source>Add Obligation</source>
|
|
268
|
+
</trans-unit>
|
|
269
|
+
<trans-unit id="s0fbf6dc6a1966408">
|
|
270
|
+
<source>Next</source>
|
|
271
|
+
</trans-unit>
|
|
272
|
+
<trans-unit id="s7cde8ae6e5ec185a">
|
|
273
|
+
<source>Cancel bundle creation</source>
|
|
274
|
+
</trans-unit>
|
|
275
|
+
<trans-unit id="s079a052719914d71">
|
|
276
|
+
<source>Category</source>
|
|
277
|
+
</trans-unit>
|
|
278
|
+
<trans-unit id="sef1b3d1d31326b46">
|
|
279
|
+
<source>No category</source>
|
|
280
|
+
</trans-unit>
|
|
101
281
|
</body>
|
|
102
282
|
</file>
|
|
103
283
|
</xliff>
|
package/package.json
CHANGED
package/src/component.d.ts
CHANGED
|
@@ -195,6 +195,7 @@ interface OdrlPermission {
|
|
|
195
195
|
action: string | string[];
|
|
196
196
|
target?: string;
|
|
197
197
|
constraint?: Constraint[];
|
|
198
|
+
duty?: Duty[];
|
|
198
199
|
}
|
|
199
200
|
|
|
200
201
|
interface Prohibition {
|
|
@@ -226,6 +227,12 @@ interface OdrlPolicy {
|
|
|
226
227
|
obligation?: Duty[];
|
|
227
228
|
}
|
|
228
229
|
|
|
230
|
+
export interface PolicyTemplate {
|
|
231
|
+
id: string;
|
|
232
|
+
name: string;
|
|
233
|
+
policy: OdrlPolicy;
|
|
234
|
+
}
|
|
235
|
+
|
|
229
236
|
export interface PolicyDefinition {
|
|
230
237
|
"@type"?: string;
|
|
231
238
|
"@id": string;
|
|
@@ -190,26 +190,30 @@ export class Ds4goDsifExplorerPocHolder extends LitElement {
|
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
+
if (dataset.catalogTitle) {
|
|
194
|
+
tags.push({ name: formatCase(dataset.catalogTitle), type: "information" });
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
if (dataset.sectorName) {
|
|
198
|
+
tags.push({ name: formatCase(dataset.sectorName), type: "neutral" });
|
|
199
|
+
}
|
|
200
|
+
|
|
193
201
|
if (dataset["dspace:assetId"]) {
|
|
194
202
|
tags.push({
|
|
195
203
|
name:
|
|
196
204
|
dataset["dspace:assetId"].split(":").pop() ||
|
|
197
205
|
dataset["dspace:assetId"],
|
|
198
|
-
type: "
|
|
206
|
+
type: "neutral",
|
|
199
207
|
});
|
|
200
208
|
}
|
|
201
209
|
|
|
202
|
-
if (dataset.sectorName) {
|
|
203
|
-
tags.push({ name: formatCase(dataset.sectorName), type: "neutral" });
|
|
204
|
-
}
|
|
205
|
-
|
|
206
210
|
if (
|
|
207
211
|
dataset["dsif:previewLinks"] &&
|
|
208
212
|
dataset["dsif:previewLinks"].length > 0
|
|
209
213
|
) {
|
|
210
214
|
tags.push({
|
|
211
215
|
name: `${dataset["dsif:previewLinks"].length} previews`,
|
|
212
|
-
type: "
|
|
216
|
+
type: "information",
|
|
213
217
|
});
|
|
214
218
|
}
|
|
215
219
|
|