@bwg-ui/core 1.2.9 → 1.2.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.
Files changed (122) hide show
  1. package/dist/chunks/{MenuReport-CuAfCZbc.cjs → MenuReport-Bqeps5fC.cjs} +1 -1
  2. package/dist/chunks/{MenuReport-iuRC_snf.js → MenuReport-CozV1tpR.js} +28 -28
  3. package/dist/chunks/common-components-B-zgrX-L.cjs +1028 -0
  4. package/dist/chunks/common-components-XA2KG7Pl.js +30179 -0
  5. package/dist/chunks/{layout-components-C-9ATcL9.js → layout-components-MrnKV5g7.js} +548 -478
  6. package/dist/chunks/layout-components-bb0cWC3I.cjs +35 -0
  7. package/dist/components/common/BwgGrid.d.ts +1 -1
  8. package/dist/components/common/BwgGrid.d.ts.map +1 -1
  9. package/dist/components/common/BwgView.d.ts +9 -3
  10. package/dist/components/common/BwgView.d.ts.map +1 -1
  11. package/dist/components/common/index.cjs +1 -1
  12. package/dist/components/common/index.d.ts +1 -1
  13. package/dist/components/common/index.d.ts.map +1 -1
  14. package/dist/components/common/index.js +5 -5
  15. package/dist/components/core/index.cjs +1 -1
  16. package/dist/components/core/index.js +200 -200
  17. package/dist/components/guide/BwgPracticeGuide.d.ts +6 -0
  18. package/dist/components/guide/BwgPracticeGuide.d.ts.map +1 -0
  19. package/dist/components/guide/BwgPracticeGuideS00.d.ts +6 -0
  20. package/dist/components/guide/BwgPracticeGuideS00.d.ts.map +1 -0
  21. package/dist/components/guide/BwgPracticeGuideS01.d.ts +6 -0
  22. package/dist/components/guide/BwgPracticeGuideS01.d.ts.map +1 -0
  23. package/dist/components/guide/CMHldyCfg.d.ts +3 -0
  24. package/dist/components/guide/CMHldyCfg.d.ts.map +1 -0
  25. package/dist/components/guide/index.cjs +1 -1
  26. package/dist/components/guide/index.d.ts +2 -0
  27. package/dist/components/guide/index.d.ts.map +1 -1
  28. package/dist/components/guide/index.js +645 -5
  29. package/dist/components/layout/BwgCoreLogin.d.ts +38 -0
  30. package/dist/components/layout/BwgCoreLogin.d.ts.map +1 -0
  31. package/dist/components/layout/custom/ConfigurableHeader.d.ts.map +1 -1
  32. package/dist/components/layout/index.cjs +1 -1
  33. package/dist/components/layout/index.d.ts +1 -0
  34. package/dist/components/layout/index.d.ts.map +1 -1
  35. package/dist/components/layout/index.js +13 -11
  36. package/dist/components/pages/auth/CMAuthMstrM01.d.ts +6 -0
  37. package/dist/components/pages/auth/CMAuthMstrM01.d.ts.map +1 -0
  38. package/dist/components/pages/auth/CMRoleMstrM01.d.ts +4 -0
  39. package/dist/components/pages/auth/CMRoleMstrM01.d.ts.map +1 -0
  40. package/dist/components/pages/guide/BwgComponentGuideM01.d.ts +3 -0
  41. package/dist/components/pages/guide/BwgComponentGuideM01.d.ts.map +1 -0
  42. package/dist/components/pages/guide/BwgDeveloperGuideM01.d.ts +3 -0
  43. package/dist/components/pages/guide/BwgDeveloperGuideM01.d.ts.map +1 -0
  44. package/dist/components/pages/guide/BwgReactGuideM01.d.ts +3 -0
  45. package/dist/components/pages/guide/BwgReactGuideM01.d.ts.map +1 -0
  46. package/dist/components/pages/index.d.ts +20 -0
  47. package/dist/components/pages/index.d.ts.map +1 -0
  48. package/dist/components/pages/rsrc/CMFileMstrM01.d.ts +4 -0
  49. package/dist/components/pages/rsrc/CMFileMstrM01.d.ts.map +1 -0
  50. package/dist/components/pages/rsrc/CMMenuMstrM01.d.ts +4 -0
  51. package/dist/components/pages/rsrc/CMMenuMstrM01.d.ts.map +1 -0
  52. package/dist/components/pages/rsrc/CMMenuPrgrSelectModal.d.ts +16 -0
  53. package/dist/components/pages/rsrc/CMMenuPrgrSelectModal.d.ts.map +1 -0
  54. package/dist/components/pages/rsrc/CMMenuPrntSelectModal.d.ts +16 -0
  55. package/dist/components/pages/rsrc/CMMenuPrntSelectModal.d.ts.map +1 -0
  56. package/dist/components/pages/rsrc/CMPopuMstrM01.d.ts +4 -0
  57. package/dist/components/pages/rsrc/CMPopuMstrM01.d.ts.map +1 -0
  58. package/dist/components/pages/rsrc/CMPrgrMstrM01.d.ts +4 -0
  59. package/dist/components/pages/rsrc/CMPrgrMstrM01.d.ts.map +1 -0
  60. package/dist/components/pages/syst/CMSystCfgM01.d.ts +4 -0
  61. package/dist/components/pages/syst/CMSystCfgM01.d.ts.map +1 -0
  62. package/dist/components/pages/syst/CMSystCodeM01.d.ts +4 -0
  63. package/dist/components/pages/syst/CMSystCodeM01.d.ts.map +1 -0
  64. package/dist/components/pages/types.d.ts +5 -0
  65. package/dist/components/pages/types.d.ts.map +1 -0
  66. package/dist/components/pages/user/CMUserMstrM01.d.ts +4 -0
  67. package/dist/components/pages/user/CMUserMstrM01.d.ts.map +1 -0
  68. package/dist/components/popup/SearchAddressModalM01.d.ts +7 -0
  69. package/dist/components/popup/SearchAddressModalM01.d.ts.map +1 -0
  70. package/dist/components/popup/SearchHolidayP01.d.ts +4 -0
  71. package/dist/components/popup/SearchHolidayP01.d.ts.map +1 -0
  72. package/dist/components/popup/index.cjs +1 -1
  73. package/dist/components/popup/index.d.ts +2 -1
  74. package/dist/components/popup/index.d.ts.map +1 -1
  75. package/dist/components/popup/index.js +4 -3
  76. package/dist/index.cjs +1 -1
  77. package/dist/index.d.ts +1 -0
  78. package/dist/index.d.ts.map +1 -1
  79. package/dist/index.js +256 -238
  80. package/dist/stores/favoriteStore.d.ts +10 -9
  81. package/dist/stores/favoriteStore.d.ts.map +1 -1
  82. package/dist/stores/index.cjs +2 -2
  83. package/dist/stores/index.d.ts +4 -0
  84. package/dist/stores/index.d.ts.map +1 -1
  85. package/dist/stores/index.js +1129 -631
  86. package/dist/stores/loginStore.d.ts +64 -0
  87. package/dist/stores/loginStore.d.ts.map +1 -0
  88. package/dist/stores/menuModelStore.d.ts +1 -1
  89. package/dist/stores/menuViewStore.d.ts +1 -0
  90. package/dist/stores/menuViewStore.d.ts.map +1 -1
  91. package/dist/stores/systemStore.d.ts +32 -0
  92. package/dist/stores/systemStore.d.ts.map +1 -0
  93. package/dist/stores/userStore.d.ts +5 -5
  94. package/dist/stores/userStore.d.ts.map +1 -1
  95. package/dist/styles/assets/images/header/icon/ico-bell.svg +3 -3
  96. package/dist/styles/assets/images/header/icon/ico-logout.svg +10 -10
  97. package/dist/styles/assets/images/header/icon/ico-setting.svg +4 -4
  98. package/dist/styles/assets/images/header/icon/ico-sidebar-arrow.svg +3 -3
  99. package/dist/types/bwg-global.d.ts +2 -1
  100. package/dist/utils/apiUtils.d.ts +27 -60
  101. package/dist/utils/apiUtils.d.ts.map +1 -1
  102. package/dist/utils/commonUtils.d.ts +0 -6
  103. package/dist/utils/commonUtils.d.ts.map +1 -1
  104. package/dist/utils/gwUtils.d.ts +3 -2
  105. package/dist/utils/gwUtils.d.ts.map +1 -1
  106. package/dist/utils/index.cjs +1 -1
  107. package/dist/utils/index.d.ts +3 -7
  108. package/dist/utils/index.d.ts.map +1 -1
  109. package/dist/utils/index.js +1628 -1017
  110. package/dist/utils/serviceConfig.d.ts +1 -0
  111. package/dist/utils/serviceConfig.d.ts.map +1 -1
  112. package/dist/utils/userUtils.d.ts.map +1 -1
  113. package/package.json +1 -1
  114. package/dist/chunks/common-components-CFIJNFN0.js +0 -16236
  115. package/dist/chunks/common-components-CioS_8Bi.cjs +0 -183
  116. package/dist/chunks/core-CA7iRgyb.cjs +0 -1
  117. package/dist/chunks/core-D18HD1It.js +0 -513
  118. package/dist/chunks/enc-base64-CdWu8KMI.js +0 -101
  119. package/dist/chunks/enc-base64-DSIiAsI5.cjs +0 -1
  120. package/dist/chunks/layout-components-DMR4tl9_.cjs +0 -35
  121. package/dist/chunks/sha256-D5iKSlK6.cjs +0 -1
  122. package/dist/chunks/sha256-DQcqzuys.js +0 -78
@@ -1 +0,0 @@
1
- "use strict";const p=require("./common-components-CioS_8Bi.cjs");function H(v){throw new Error('Could not dynamically require "'+v+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var y={exports:{}};const I={},W=Object.freeze(Object.defineProperty({__proto__:null,default:I},Symbol.toStringTag,{value:"Module"})),E=p.getAugmentedNamespace(W);var O=y.exports,C;function P(){return C||(C=1,(function(v,T){(function(g,c){v.exports=c()})(O,function(){var g=g||(function(c,S){var s;if(typeof window<"u"&&window.crypto&&(s=window.crypto),typeof self<"u"&&self.crypto&&(s=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(s=globalThis.crypto),!s&&typeof window<"u"&&window.msCrypto&&(s=window.msCrypto),!s&&typeof p.commonjsGlobal<"u"&&p.commonjsGlobal.crypto&&(s=p.commonjsGlobal.crypto),!s&&typeof H=="function")try{s=E}catch{}var R=function(){if(s){if(typeof s.getRandomValues=="function")try{return s.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof s.randomBytes=="function")try{return s.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},z=Object.create||(function(){function t(){}return function(r){var e;return t.prototype=r,e=new t,t.prototype=null,e}})(),l={},d=l.lib={},f=d.Base=(function(){return{extend:function(t){var r=z(this);return t&&r.mixIn(t),(!r.hasOwnProperty("init")||this.init===r.init)&&(r.init=function(){r.$super.init.apply(this,arguments)}),r.init.prototype=r,r.$super=this,r},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var r in t)t.hasOwnProperty(r)&&(this[r]=t[r]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),u=d.WordArray=f.extend({init:function(t,r){t=this.words=t||[],r!=S?this.sigBytes=r:this.sigBytes=t.length*4},toString:function(t){return(t||q).stringify(this)},concat:function(t){var r=this.words,e=t.words,n=this.sigBytes,i=t.sigBytes;if(this.clamp(),n%4)for(var o=0;o<i;o++){var w=e[o>>>2]>>>24-o%4*8&255;r[n+o>>>2]|=w<<24-(n+o)%4*8}else for(var a=0;a<i;a+=4)r[n+a>>>2]=e[a>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=c.ceil(r/4)},clone:function(){var t=f.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var r=[],e=0;e<t;e+=4)r.push(R());return new u.init(r,t)}}),m=l.enc={},q=m.Hex={stringify:function(t){for(var r=t.words,e=t.sigBytes,n=[],i=0;i<e;i++){var o=r[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((o&15).toString(16))}return n.join("")},parse:function(t){for(var r=t.length,e=[],n=0;n<r;n+=2)e[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new u.init(e,r/2)}},_=m.Latin1={stringify:function(t){for(var r=t.words,e=t.sigBytes,n=[],i=0;i<e;i++){var o=r[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(t){for(var r=t.length,e=[],n=0;n<r;n++)e[n>>>2]|=(t.charCodeAt(n)&255)<<24-n%4*8;return new u.init(e,r)}},k=m.Utf8={stringify:function(t){try{return decodeURIComponent(escape(_.stringify(t)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(t){return _.parse(unescape(encodeURIComponent(t)))}},x=d.BufferedBlockAlgorithm=f.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(t){typeof t=="string"&&(t=k.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var r,e=this._data,n=e.words,i=e.sigBytes,o=this.blockSize,w=o*4,a=i/w;t?a=c.ceil(a):a=c.max((a|0)-this._minBufferSize,0);var h=a*o,b=c.min(h*4,i);if(h){for(var B=0;B<h;B+=o)this._doProcessBlock(n,B);r=n.splice(0,h),e.sigBytes-=b}return new u.init(r,b)},clone:function(){var t=f.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});d.Hasher=x.extend({cfg:f.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){x.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var r=this._doFinalize();return r},blockSize:16,_createHelper:function(t){return function(r,e){return new t.init(e).finalize(r)}},_createHmacHelper:function(t){return function(r,e){return new j.HMAC.init(t,e).finalize(r)}}});var j=l.algo={};return l})(Math);return g})})(y)),y.exports}exports.requireCore=P;
@@ -1,513 +0,0 @@
1
- import { b as I, c as B } from "./common-components-CFIJNFN0.js";
2
- function W(y) {
3
- throw new Error('Could not dynamically require "' + y + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
- }
5
- var p = { exports: {} };
6
- const E = {}, O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
- __proto__: null,
8
- default: E
9
- }, Symbol.toStringTag, { value: "Module" })), P = /* @__PURE__ */ I(O);
10
- var T = p.exports, b;
11
- function A() {
12
- return b || (b = 1, (function(y, $) {
13
- (function(v, c) {
14
- y.exports = c();
15
- })(T, function() {
16
- var v = v || (function(c, C) {
17
- var s;
18
- if (typeof window < "u" && window.crypto && (s = window.crypto), typeof self < "u" && self.crypto && (s = self.crypto), typeof globalThis < "u" && globalThis.crypto && (s = globalThis.crypto), !s && typeof window < "u" && window.msCrypto && (s = window.msCrypto), !s && typeof B < "u" && B.crypto && (s = B.crypto), !s && typeof W == "function")
19
- try {
20
- s = P;
21
- } catch {
22
- }
23
- var R = function() {
24
- if (s) {
25
- if (typeof s.getRandomValues == "function")
26
- try {
27
- return s.getRandomValues(new Uint32Array(1))[0];
28
- } catch {
29
- }
30
- if (typeof s.randomBytes == "function")
31
- try {
32
- return s.randomBytes(4).readInt32LE();
33
- } catch {
34
- }
35
- }
36
- throw new Error("Native crypto module could not be used to get secure random number.");
37
- }, z = Object.create || /* @__PURE__ */ (function() {
38
- function t() {
39
- }
40
- return function(r) {
41
- var e;
42
- return t.prototype = r, e = new t(), t.prototype = null, e;
43
- };
44
- })(), l = {}, d = l.lib = {}, f = d.Base = /* @__PURE__ */ (function() {
45
- return {
46
- /**
47
- * Creates a new object that inherits from this object.
48
- *
49
- * @param {Object} overrides Properties to copy into the new object.
50
- *
51
- * @return {Object} The new object.
52
- *
53
- * @static
54
- *
55
- * @example
56
- *
57
- * var MyType = CryptoJS.lib.Base.extend({
58
- * field: 'value',
59
- *
60
- * method: function () {
61
- * }
62
- * });
63
- */
64
- extend: function(t) {
65
- var r = z(this);
66
- return t && r.mixIn(t), (!r.hasOwnProperty("init") || this.init === r.init) && (r.init = function() {
67
- r.$super.init.apply(this, arguments);
68
- }), r.init.prototype = r, r.$super = this, r;
69
- },
70
- /**
71
- * Extends this object and runs the init method.
72
- * Arguments to create() will be passed to init().
73
- *
74
- * @return {Object} The new object.
75
- *
76
- * @static
77
- *
78
- * @example
79
- *
80
- * var instance = MyType.create();
81
- */
82
- create: function() {
83
- var t = this.extend();
84
- return t.init.apply(t, arguments), t;
85
- },
86
- /**
87
- * Initializes a newly created object.
88
- * Override this method to add some logic when your objects are created.
89
- *
90
- * @example
91
- *
92
- * var MyType = CryptoJS.lib.Base.extend({
93
- * init: function () {
94
- * // ...
95
- * }
96
- * });
97
- */
98
- init: function() {
99
- },
100
- /**
101
- * Copies properties into this object.
102
- *
103
- * @param {Object} properties The properties to mix in.
104
- *
105
- * @example
106
- *
107
- * MyType.mixIn({
108
- * field: 'value'
109
- * });
110
- */
111
- mixIn: function(t) {
112
- for (var r in t)
113
- t.hasOwnProperty(r) && (this[r] = t[r]);
114
- t.hasOwnProperty("toString") && (this.toString = t.toString);
115
- },
116
- /**
117
- * Creates a copy of this object.
118
- *
119
- * @return {Object} The clone.
120
- *
121
- * @example
122
- *
123
- * var clone = instance.clone();
124
- */
125
- clone: function() {
126
- return this.init.prototype.extend(this);
127
- }
128
- };
129
- })(), u = d.WordArray = f.extend({
130
- /**
131
- * Initializes a newly created word array.
132
- *
133
- * @param {Array} words (Optional) An array of 32-bit words.
134
- * @param {number} sigBytes (Optional) The number of significant bytes in the words.
135
- *
136
- * @example
137
- *
138
- * var wordArray = CryptoJS.lib.WordArray.create();
139
- * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
140
- * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
141
- */
142
- init: function(t, r) {
143
- t = this.words = t || [], r != C ? this.sigBytes = r : this.sigBytes = t.length * 4;
144
- },
145
- /**
146
- * Converts this word array to a string.
147
- *
148
- * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex
149
- *
150
- * @return {string} The stringified word array.
151
- *
152
- * @example
153
- *
154
- * var string = wordArray + '';
155
- * var string = wordArray.toString();
156
- * var string = wordArray.toString(CryptoJS.enc.Utf8);
157
- */
158
- toString: function(t) {
159
- return (t || k).stringify(this);
160
- },
161
- /**
162
- * Concatenates a word array to this word array.
163
- *
164
- * @param {WordArray} wordArray The word array to append.
165
- *
166
- * @return {WordArray} This word array.
167
- *
168
- * @example
169
- *
170
- * wordArray1.concat(wordArray2);
171
- */
172
- concat: function(t) {
173
- var r = this.words, e = t.words, n = this.sigBytes, i = t.sigBytes;
174
- if (this.clamp(), n % 4)
175
- for (var o = 0; o < i; o++) {
176
- var w = e[o >>> 2] >>> 24 - o % 4 * 8 & 255;
177
- r[n + o >>> 2] |= w << 24 - (n + o) % 4 * 8;
178
- }
179
- else
180
- for (var a = 0; a < i; a += 4)
181
- r[n + a >>> 2] = e[a >>> 2];
182
- return this.sigBytes += i, this;
183
- },
184
- /**
185
- * Removes insignificant bits.
186
- *
187
- * @example
188
- *
189
- * wordArray.clamp();
190
- */
191
- clamp: function() {
192
- var t = this.words, r = this.sigBytes;
193
- t[r >>> 2] &= 4294967295 << 32 - r % 4 * 8, t.length = c.ceil(r / 4);
194
- },
195
- /**
196
- * Creates a copy of this word array.
197
- *
198
- * @return {WordArray} The clone.
199
- *
200
- * @example
201
- *
202
- * var clone = wordArray.clone();
203
- */
204
- clone: function() {
205
- var t = f.clone.call(this);
206
- return t.words = this.words.slice(0), t;
207
- },
208
- /**
209
- * Creates a word array filled with random bytes.
210
- *
211
- * @param {number} nBytes The number of random bytes to generate.
212
- *
213
- * @return {WordArray} The random word array.
214
- *
215
- * @static
216
- *
217
- * @example
218
- *
219
- * var wordArray = CryptoJS.lib.WordArray.random(16);
220
- */
221
- random: function(t) {
222
- for (var r = [], e = 0; e < t; e += 4)
223
- r.push(R());
224
- return new u.init(r, t);
225
- }
226
- }), g = l.enc = {}, k = g.Hex = {
227
- /**
228
- * Converts a word array to a hex string.
229
- *
230
- * @param {WordArray} wordArray The word array.
231
- *
232
- * @return {string} The hex string.
233
- *
234
- * @static
235
- *
236
- * @example
237
- *
238
- * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
239
- */
240
- stringify: function(t) {
241
- for (var r = t.words, e = t.sigBytes, n = [], i = 0; i < e; i++) {
242
- var o = r[i >>> 2] >>> 24 - i % 4 * 8 & 255;
243
- n.push((o >>> 4).toString(16)), n.push((o & 15).toString(16));
244
- }
245
- return n.join("");
246
- },
247
- /**
248
- * Converts a hex string to a word array.
249
- *
250
- * @param {string} hexStr The hex string.
251
- *
252
- * @return {WordArray} The word array.
253
- *
254
- * @static
255
- *
256
- * @example
257
- *
258
- * var wordArray = CryptoJS.enc.Hex.parse(hexString);
259
- */
260
- parse: function(t) {
261
- for (var r = t.length, e = [], n = 0; n < r; n += 2)
262
- e[n >>> 3] |= parseInt(t.substr(n, 2), 16) << 24 - n % 8 * 4;
263
- return new u.init(e, r / 2);
264
- }
265
- }, _ = g.Latin1 = {
266
- /**
267
- * Converts a word array to a Latin1 string.
268
- *
269
- * @param {WordArray} wordArray The word array.
270
- *
271
- * @return {string} The Latin1 string.
272
- *
273
- * @static
274
- *
275
- * @example
276
- *
277
- * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
278
- */
279
- stringify: function(t) {
280
- for (var r = t.words, e = t.sigBytes, n = [], i = 0; i < e; i++) {
281
- var o = r[i >>> 2] >>> 24 - i % 4 * 8 & 255;
282
- n.push(String.fromCharCode(o));
283
- }
284
- return n.join("");
285
- },
286
- /**
287
- * Converts a Latin1 string to a word array.
288
- *
289
- * @param {string} latin1Str The Latin1 string.
290
- *
291
- * @return {WordArray} The word array.
292
- *
293
- * @static
294
- *
295
- * @example
296
- *
297
- * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
298
- */
299
- parse: function(t) {
300
- for (var r = t.length, e = [], n = 0; n < r; n++)
301
- e[n >>> 2] |= (t.charCodeAt(n) & 255) << 24 - n % 4 * 8;
302
- return new u.init(e, r);
303
- }
304
- }, q = g.Utf8 = {
305
- /**
306
- * Converts a word array to a UTF-8 string.
307
- *
308
- * @param {WordArray} wordArray The word array.
309
- *
310
- * @return {string} The UTF-8 string.
311
- *
312
- * @static
313
- *
314
- * @example
315
- *
316
- * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
317
- */
318
- stringify: function(t) {
319
- try {
320
- return decodeURIComponent(escape(_.stringify(t)));
321
- } catch {
322
- throw new Error("Malformed UTF-8 data");
323
- }
324
- },
325
- /**
326
- * Converts a UTF-8 string to a word array.
327
- *
328
- * @param {string} utf8Str The UTF-8 string.
329
- *
330
- * @return {WordArray} The word array.
331
- *
332
- * @static
333
- *
334
- * @example
335
- *
336
- * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
337
- */
338
- parse: function(t) {
339
- return _.parse(unescape(encodeURIComponent(t)));
340
- }
341
- }, x = d.BufferedBlockAlgorithm = f.extend({
342
- /**
343
- * Resets this block algorithm's data buffer to its initial state.
344
- *
345
- * @example
346
- *
347
- * bufferedBlockAlgorithm.reset();
348
- */
349
- reset: function() {
350
- this._data = new u.init(), this._nDataBytes = 0;
351
- },
352
- /**
353
- * Adds new data to this block algorithm's buffer.
354
- *
355
- * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.
356
- *
357
- * @example
358
- *
359
- * bufferedBlockAlgorithm._append('data');
360
- * bufferedBlockAlgorithm._append(wordArray);
361
- */
362
- _append: function(t) {
363
- typeof t == "string" && (t = q.parse(t)), this._data.concat(t), this._nDataBytes += t.sigBytes;
364
- },
365
- /**
366
- * Processes available data blocks.
367
- *
368
- * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.
369
- *
370
- * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.
371
- *
372
- * @return {WordArray} The processed data.
373
- *
374
- * @example
375
- *
376
- * var processedData = bufferedBlockAlgorithm._process();
377
- * var processedData = bufferedBlockAlgorithm._process(!!'flush');
378
- */
379
- _process: function(t) {
380
- var r, e = this._data, n = e.words, i = e.sigBytes, o = this.blockSize, w = o * 4, a = i / w;
381
- t ? a = c.ceil(a) : a = c.max((a | 0) - this._minBufferSize, 0);
382
- var h = a * o, S = c.min(h * 4, i);
383
- if (h) {
384
- for (var m = 0; m < h; m += o)
385
- this._doProcessBlock(n, m);
386
- r = n.splice(0, h), e.sigBytes -= S;
387
- }
388
- return new u.init(r, S);
389
- },
390
- /**
391
- * Creates a copy of this object.
392
- *
393
- * @return {Object} The clone.
394
- *
395
- * @example
396
- *
397
- * var clone = bufferedBlockAlgorithm.clone();
398
- */
399
- clone: function() {
400
- var t = f.clone.call(this);
401
- return t._data = this._data.clone(), t;
402
- },
403
- _minBufferSize: 0
404
- });
405
- d.Hasher = x.extend({
406
- /**
407
- * Configuration options.
408
- */
409
- cfg: f.extend(),
410
- /**
411
- * Initializes a newly created hasher.
412
- *
413
- * @param {Object} cfg (Optional) The configuration options to use for this hash computation.
414
- *
415
- * @example
416
- *
417
- * var hasher = CryptoJS.algo.SHA256.create();
418
- */
419
- init: function(t) {
420
- this.cfg = this.cfg.extend(t), this.reset();
421
- },
422
- /**
423
- * Resets this hasher to its initial state.
424
- *
425
- * @example
426
- *
427
- * hasher.reset();
428
- */
429
- reset: function() {
430
- x.reset.call(this), this._doReset();
431
- },
432
- /**
433
- * Updates this hasher with a message.
434
- *
435
- * @param {WordArray|string} messageUpdate The message to append.
436
- *
437
- * @return {Hasher} This hasher.
438
- *
439
- * @example
440
- *
441
- * hasher.update('message');
442
- * hasher.update(wordArray);
443
- */
444
- update: function(t) {
445
- return this._append(t), this._process(), this;
446
- },
447
- /**
448
- * Finalizes the hash computation.
449
- * Note that the finalize operation is effectively a destructive, read-once operation.
450
- *
451
- * @param {WordArray|string} messageUpdate (Optional) A final message update.
452
- *
453
- * @return {WordArray} The hash.
454
- *
455
- * @example
456
- *
457
- * var hash = hasher.finalize();
458
- * var hash = hasher.finalize('message');
459
- * var hash = hasher.finalize(wordArray);
460
- */
461
- finalize: function(t) {
462
- t && this._append(t);
463
- var r = this._doFinalize();
464
- return r;
465
- },
466
- blockSize: 16,
467
- /**
468
- * Creates a shortcut function to a hasher's object interface.
469
- *
470
- * @param {Hasher} hasher The hasher to create a helper for.
471
- *
472
- * @return {Function} The shortcut function.
473
- *
474
- * @static
475
- *
476
- * @example
477
- *
478
- * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
479
- */
480
- _createHelper: function(t) {
481
- return function(r, e) {
482
- return new t.init(e).finalize(r);
483
- };
484
- },
485
- /**
486
- * Creates a shortcut function to the HMAC's object interface.
487
- *
488
- * @param {Hasher} hasher The hasher to use in this HMAC helper.
489
- *
490
- * @return {Function} The shortcut function.
491
- *
492
- * @static
493
- *
494
- * @example
495
- *
496
- * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
497
- */
498
- _createHmacHelper: function(t) {
499
- return function(r, e) {
500
- return new H.HMAC.init(t, e).finalize(r);
501
- };
502
- }
503
- });
504
- var H = l.algo = {};
505
- return l;
506
- })(Math);
507
- return v;
508
- });
509
- })(p)), p.exports;
510
- }
511
- export {
512
- A as r
513
- };
@@ -1,101 +0,0 @@
1
- import { g as A } from "./common-components-CFIJNFN0.js";
2
- import { r as b } from "./core-D18HD1It.js";
3
- function O(p, g) {
4
- for (var f = 0; f < g.length; f++) {
5
- const a = g[f];
6
- if (typeof a != "string" && !Array.isArray(a)) {
7
- for (const c in a)
8
- if (c !== "default" && !(c in p)) {
9
- const i = Object.getOwnPropertyDescriptor(a, c);
10
- i && Object.defineProperty(p, c, i.get ? i : {
11
- enumerable: !0,
12
- get: () => a[c]
13
- });
14
- }
15
- }
16
- }
17
- return Object.freeze(Object.defineProperty(p, Symbol.toStringTag, { value: "Module" }));
18
- }
19
- var h = { exports: {} }, E = h.exports, x;
20
- function q() {
21
- return x || (x = 1, (function(p, g) {
22
- (function(f, a) {
23
- p.exports = a(/* @__PURE__ */ b());
24
- })(E, function(f) {
25
- return (function() {
26
- var a = f, c = a.lib, i = c.WordArray, _ = a.enc;
27
- _.Base64 = {
28
- /**
29
- * Converts a word array to a Base64 string.
30
- *
31
- * @param {WordArray} wordArray The word array.
32
- *
33
- * @return {string} The Base64 string.
34
- *
35
- * @static
36
- *
37
- * @example
38
- *
39
- * var base64String = CryptoJS.enc.Base64.stringify(wordArray);
40
- */
41
- stringify: function(t) {
42
- var s = t.words, o = t.sigBytes, n = this._map;
43
- t.clamp();
44
- for (var e = [], r = 0; r < o; r += 3)
45
- for (var v = s[r >>> 2] >>> 24 - r % 4 * 8 & 255, l = s[r + 1 >>> 2] >>> 24 - (r + 1) % 4 * 8 & 255, d = s[r + 2 >>> 2] >>> 24 - (r + 2) % 4 * 8 & 255, C = v << 16 | l << 8 | d, u = 0; u < 4 && r + u * 0.75 < o; u++)
46
- e.push(n.charAt(C >>> 6 * (3 - u) & 63));
47
- var m = n.charAt(64);
48
- if (m)
49
- for (; e.length % 4; )
50
- e.push(m);
51
- return e.join("");
52
- },
53
- /**
54
- * Converts a Base64 string to a word array.
55
- *
56
- * @param {string} base64Str The Base64 string.
57
- *
58
- * @return {WordArray} The word array.
59
- *
60
- * @static
61
- *
62
- * @example
63
- *
64
- * var wordArray = CryptoJS.enc.Base64.parse(base64String);
65
- */
66
- parse: function(t) {
67
- var s = t.length, o = this._map, n = this._reverseMap;
68
- if (!n) {
69
- n = this._reverseMap = [];
70
- for (var e = 0; e < o.length; e++)
71
- n[o.charCodeAt(e)] = e;
72
- }
73
- var r = o.charAt(64);
74
- if (r) {
75
- var v = t.indexOf(r);
76
- v !== -1 && (s = v);
77
- }
78
- return y(t, s, n);
79
- },
80
- _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
81
- };
82
- function y(t, s, o) {
83
- for (var n = [], e = 0, r = 0; r < s; r++)
84
- if (r % 4) {
85
- var v = o[t.charCodeAt(r - 1)] << r % 4 * 2, l = o[t.charCodeAt(r)] >>> 6 - r % 4 * 2, d = v | l;
86
- n[e >>> 2] |= d << 24 - e % 4 * 8, e++;
87
- }
88
- return i.create(n, e);
89
- }
90
- })(), f.enc.Base64;
91
- });
92
- })(h)), h.exports;
93
- }
94
- var B = /* @__PURE__ */ q();
95
- const w = /* @__PURE__ */ A(B), D = /* @__PURE__ */ O({
96
- __proto__: null,
97
- default: w
98
- }, [B]);
99
- export {
100
- D as e
101
- };
@@ -1 +0,0 @@
1
- "use strict";const A=require("./common-components-CioS_8Bi.cjs"),b=require("./core-CA7iRgyb.cjs");function O(u,g){for(var c=0;c<g.length;c++){const a=g[c];if(typeof a!="string"&&!Array.isArray(a)){for(const f in a)if(f!=="default"&&!(f in u)){const i=Object.getOwnPropertyDescriptor(a,f);i&&Object.defineProperty(u,f,i.get?i:{enumerable:!0,get:()=>a[f]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var h={exports:{}},q=h.exports,B;function E(){return B||(B=1,(function(u,g){(function(c,a){u.exports=a(b.requireCore())})(q,function(c){return(function(){var a=c,f=a.lib,i=f.WordArray,C=a.enc;C.Base64={stringify:function(t){var s=t.words,o=t.sigBytes,n=this._map;t.clamp();for(var e=[],r=0;r<o;r+=3)for(var v=s[r>>>2]>>>24-r%4*8&255,l=s[r+1>>>2]>>>24-(r+1)%4*8&255,d=s[r+2>>>2]>>>24-(r+2)%4*8&255,y=v<<16|l<<8|d,p=0;p<4&&r+p*.75<o;p++)e.push(n.charAt(y>>>6*(3-p)&63));var m=n.charAt(64);if(m)for(;e.length%4;)e.push(m);return e.join("")},parse:function(t){var s=t.length,o=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var e=0;e<o.length;e++)n[o.charCodeAt(e)]=e}var r=o.charAt(64);if(r){var v=t.indexOf(r);v!==-1&&(s=v)}return _(t,s,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function _(t,s,o){for(var n=[],e=0,r=0;r<s;r++)if(r%4){var v=o[t.charCodeAt(r-1)]<<r%4*2,l=o[t.charCodeAt(r)]>>>6-r%4*2,d=v|l;n[e>>>2]|=d<<24-e%4*8,e++}return i.create(n,e)}})(),c.enc.Base64})})(h)),h.exports}var x=E();const w=A.getDefaultExportFromCjs(x),M=O({__proto__:null,default:w},[x]);exports.encBase64=M;