@simplysm/angular 14.0.61 → 14.0.62

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.
@@ -1 +1 @@
1
- {"version":3,"file":"sd-permission-table.d.ts","sourceRoot":"","sources":["../../../src/data/permission-table/sd-permission-table.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;;AAMpF,qBAiMa,iBAAiB,CAAC,OAAO;IACpC,KAAK,+DAAsC;IAE3C,KAAK,+DAAsC;IAC3C,QAAQ,qEAAiD;IAEzD,cAAc,sDAA6B;IAE3C,WAAW,yCAER;IAEH,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CA6B9B;IAEH,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAgC/B;IAEH,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CA6ChC;IAEH,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA+B;IAEzD,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE;IAW1B,kBAAkB,CAAC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,GAAG,OAAO;IAIxD,cAAc,CAAC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,GAAG,YAAY,CAAC,OAAO,CAAC,EAAE;IAIpE,eAAe,CAAC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,GAAG,OAAO;IAIrD,eAAe,CAAC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO;IAI3E,gBAAgB,CAAC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO;IAI5E,oBAAoB,CAAC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC;IAiBhD,iBAAiB,CAAC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,K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O;IAI3E,gBAAgB,CAAC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO;IAI5E,oBAAoB,CAAC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC;IAiBhD,iBAAiB,CAAC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,GAAG,MAAM,EAAE,GAAG,EAAE,OAAO;IAQjF,OAAO,CAAC,gBAAgB;IAkDxB,OAAO,CAAC,eAAe;IAYvB,SAAS,CAAC,QAAQ,CAAC,gBAAgB,EAAG;QACpC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5B,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,YAAY,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;KAC3C,CAAC;yCAxQS,iBAAiB;2CAAjB,iBAAiB;CAyQ7B"}
@@ -149,6 +149,11 @@ export class SdPermissionTable {
149
149
  if (cached != null)
150
150
  return cached;
151
151
  if (item.perms) {
152
+ if (item.children) {
153
+ for (const child of item.children) {
154
+ walk(child, type);
155
+ }
156
+ }
152
157
  const result = item.perms.includes(type);
153
158
  cache.set(key, result);
154
159
  return result;
@@ -179,6 +184,11 @@ export class SdPermissionTable {
179
184
  if (cached != null)
180
185
  return cached;
181
186
  if (item.perms) {
187
+ if (item.children) {
188
+ for (const child of item.children) {
189
+ walk(child, type);
190
+ }
191
+ }
182
192
  const permCode = item.codeChain.join(".");
183
193
  const result = value[permCode + "." + type] ?? false;
184
194
  cache.set(key, result);
@@ -212,6 +222,11 @@ export class SdPermissionTable {
212
222
  if (cached != null)
213
223
  return cached;
214
224
  if (isDisabled) {
225
+ if (item.children) {
226
+ for (const child of item.children) {
227
+ walk(child);
228
+ }
229
+ }
215
230
  cache.set(key, true);
216
231
  return true;
217
232
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplysm/angular",
3
- "version": "14.0.61",
3
+ "version": "14.0.62",
4
4
  "description": "심플리즘 패키지 - Angular",
5
5
  "author": "심플리즘",
6
6
  "license": "Apache-2.0",
@@ -50,10 +50,10 @@
50
50
  "jspdf": "^4.2.1",
51
51
  "rxjs": "^7.8.2",
52
52
  "tabbable": "^6.4.0",
53
- "@simplysm/core-browser": "14.0.61",
54
- "@simplysm/core-common": "14.0.61",
55
- "@simplysm/service-client": "14.0.61",
56
- "@simplysm/service-common": "14.0.61"
53
+ "@simplysm/core-browser": "14.0.62",
54
+ "@simplysm/core-common": "14.0.62",
55
+ "@simplysm/service-client": "14.0.62",
56
+ "@simplysm/service-common": "14.0.62"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@angular/compiler": "^21.2.10",
@@ -229,6 +229,11 @@ export class SdPermissionTable<TModule> {
229
229
  if (cached != null) return cached;
230
230
 
231
231
  if (item.perms) {
232
+ if (item.children) {
233
+ for (const child of item.children) {
234
+ walk(child, type);
235
+ }
236
+ }
232
237
  const result = item.perms.includes(type);
233
238
  cache.set(key, result);
234
239
  return result;
@@ -262,6 +267,11 @@ export class SdPermissionTable<TModule> {
262
267
  if (cached != null) return cached;
263
268
 
264
269
  if (item.perms) {
270
+ if (item.children) {
271
+ for (const child of item.children) {
272
+ walk(child, type);
273
+ }
274
+ }
265
275
  const permCode = item.codeChain.join(".");
266
276
  const result = value[permCode + "." + type] ?? false;
267
277
  cache.set(key, result);
@@ -298,6 +308,11 @@ export class SdPermissionTable<TModule> {
298
308
  if (cached != null) return cached;
299
309
 
300
310
  if (isDisabled) {
311
+ if (item.children) {
312
+ for (const child of item.children) {
313
+ walk(child);
314
+ }
315
+ }
301
316
  cache.set(key, true);
302
317
  return true;
303
318
  }