osmanli-yatirim 0.3.8 → 0.3.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/README.md +323 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,29 +1,340 @@
|
|
|
1
|
-
#
|
|
1
|
+
# osmali-micro-site
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
### 1. Install Package:
|
|
4
|
+
```bash
|
|
5
|
+
npm i osmanli-yatirim
|
|
4
6
|
```
|
|
5
|
-
|
|
7
|
+
|
|
8
|
+
### 2. Store and Router
|
|
9
|
+
`Store` ve `Router` otomatik olarak ilgili projedeki `router.js` ve `store.js` ile birleştirilmiş olacaktır. Haliyle bu konuyla alakalı sizin import işlemi yapmanıza gerek kalmayacaktır.
|
|
10
|
+
|
|
11
|
+
### 3. Package Load:
|
|
12
|
+
`main.js` dosyanızın aşağıdaki gibi olması yeterli olacaktır.
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
import Vue from "vue";
|
|
16
|
+
import OsmanliPackage from "osmanli-yatirim";
|
|
17
|
+
import App from "./App.vue";
|
|
18
|
+
import router from "./router";
|
|
19
|
+
import store from "./store";
|
|
20
|
+
|
|
21
|
+
Vue.use(OsmanliPackage, { store });
|
|
22
|
+
|
|
23
|
+
new Vue({
|
|
24
|
+
router,
|
|
25
|
+
store,
|
|
26
|
+
render: (h) => h(App),
|
|
27
|
+
}).$mount("#app");
|
|
6
28
|
```
|
|
7
29
|
|
|
8
|
-
###
|
|
30
|
+
### 4. How to Use Components
|
|
31
|
+
NPM modülüne dönüştürülmüş olan componentleri aşağıdaki isimleriyle direkt kullanabilirsiniz.
|
|
32
|
+
|
|
33
|
+
#####Örneğin;
|
|
34
|
+
|
|
35
|
+
`App.vue`
|
|
9
36
|
```
|
|
10
|
-
|
|
37
|
+
<template>
|
|
38
|
+
<buy-sell-viop-transactions />
|
|
39
|
+
<transfer-tracking />
|
|
40
|
+
<securities-transfer />
|
|
41
|
+
<defined-bank-accounts />
|
|
42
|
+
<account-definition />
|
|
43
|
+
<transfer-request />
|
|
44
|
+
<fx-viop-warrant-transfer />
|
|
45
|
+
<apply-credit />
|
|
46
|
+
<public-offering-home-page />
|
|
47
|
+
<public-offer-request-entry />
|
|
48
|
+
<buy-sell-stocks />
|
|
49
|
+
<request-tracking />
|
|
50
|
+
</template>
|
|
11
51
|
```
|
|
12
52
|
|
|
13
|
-
|
|
53
|
+
Component'lerin detaylı kullanımlarına aşağıdan ulaşabilirsiniz.
|
|
54
|
+
|
|
55
|
+
### 5. To Use as View (Bonus)
|
|
56
|
+
|
|
57
|
+
#####Hisse Emir Girişi
|
|
58
|
+
|
|
59
|
+
`/views/e-sube/Stock` klasörlerini oluşturun ve içerisine `Stock.vue` adında bir dosya oluşturun. İçerisine aşağıdaki şekilde component register işlemi yapın.
|
|
60
|
+
|
|
14
61
|
```
|
|
15
|
-
|
|
62
|
+
<template>
|
|
63
|
+
<buy-sell-stocks :tabName="this.$route.query.securityNo ? "buy" : this.$route.query.type || 'ozel-emir'" />
|
|
64
|
+
</template>
|
|
16
65
|
```
|
|
17
66
|
|
|
18
|
-
|
|
67
|
+
#####router.js
|
|
68
|
+
```
|
|
69
|
+
{
|
|
70
|
+
path: "/hisse/emir-girisi:type?",
|
|
71
|
+
name: "BuySellStock",
|
|
72
|
+
component: () => import("@/views/e-sube/Stock/Stock.vue"),
|
|
73
|
+
meta: {
|
|
74
|
+
requiresAuth: true
|
|
75
|
+
lyout: "AppLayout",
|
|
76
|
+
breadcrumb: [
|
|
77
|
+
{
|
|
78
|
+
name: "Dashboard",
|
|
79
|
+
icon: "dashboard",
|
|
80
|
+
url: { name: "Home" },
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
},
|
|
84
|
+
}
|
|
85
|
+
```
|
|
86
|
+
---
|
|
87
|
+
#####Vadeli Emir Girişi
|
|
88
|
+
|
|
89
|
+
`/views/e-sube/Viop` klasörlerini oluşturun ve içerisine `Viop.vue` adında bir dosya oluşturun. İçerisine aşağıdaki şekilde component register işlemi yapın.
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
<template>
|
|
93
|
+
<buy-sell-viop-transactions :tabName="this.$route.query.type || 'ozel-emir'" />
|
|
94
|
+
</template>
|
|
95
|
+
```
|
|
96
|
+
#####router.js
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
{
|
|
100
|
+
path: "/vadeli/emir-girisi:type?",
|
|
101
|
+
name: "Viop",
|
|
102
|
+
component: () => import("@/views/e-sube/Viop/Viop.vue"),
|
|
103
|
+
meta: {
|
|
104
|
+
requiresAuth: true
|
|
105
|
+
lyout: "AppLayout",
|
|
106
|
+
breadcrumb: [
|
|
107
|
+
{
|
|
108
|
+
name: "Dashboard",
|
|
109
|
+
icon: "dashboard",
|
|
110
|
+
url: { name: "Home" },
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
},
|
|
114
|
+
}
|
|
115
|
+
```
|
|
116
|
+
---
|
|
117
|
+
#####Halka Arz - Talep Anasayfa
|
|
118
|
+
|
|
119
|
+
`/views/e-sube/PublicOffers/` klasörlerini oluşturun ve içerisine `PublicOfferingHomePage.vue` adında bir dosya oluşturun. İçerisine aşağıdaki şekilde component register işlemi yapın.
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
<template>
|
|
123
|
+
<public-offering-home-page />
|
|
124
|
+
</template>
|
|
125
|
+
```
|
|
126
|
+
#####router.js
|
|
127
|
+
```
|
|
128
|
+
{
|
|
129
|
+
path: "/halka-arz-talep-anasayfa",
|
|
130
|
+
name: "PublicOfferingHomePage",
|
|
131
|
+
component: () => import("@/views/e-sube/PublicOffers/PublicOfferingHomePage.vue"),
|
|
132
|
+
meta: {
|
|
133
|
+
requiresAuth: true
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
```
|
|
137
|
+
---
|
|
138
|
+
#####Halka Arz - Talep Girişi
|
|
139
|
+
|
|
140
|
+
`/views/e-sube/PublicOffers/` klasörlerini oluşturun ve içerisine `PublicOfferRequestEntry.vue` adında bir dosya oluşturun. İçerisine aşağıdaki şekilde component register işlemi yapın.
|
|
141
|
+
|
|
142
|
+
```
|
|
143
|
+
<template>
|
|
144
|
+
<public-offer-request-entry />
|
|
145
|
+
</template>
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
#####router.js
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
{
|
|
152
|
+
path: "/halka-arz-talep-girisi",
|
|
153
|
+
name: "PublicOfferRequestEntry",
|
|
154
|
+
component: () => import("@/views/e-sube/PublicOffers/PublicOfferRequestEntry.vue"),
|
|
155
|
+
meta: {
|
|
156
|
+
requiresAuth: true
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
```
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
#####Halka Arz - Talep İzleme
|
|
163
|
+
|
|
164
|
+
`/views/e-sube/PublicOffers/` klasörlerini oluşturun ve içerisine `PublicOfferRequestTracking.vue` adında bir dosya oluşturun. İçerisine aşağıdaki şekilde component register işlemi yapın.
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
<template>
|
|
168
|
+
<request-tracking :tabName="this.$route.params.tabName || 'requestCollection'"/>
|
|
169
|
+
</template>
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
#####router.js
|
|
173
|
+
```
|
|
174
|
+
{
|
|
175
|
+
path: "/halka-arz-talep-izleme",
|
|
176
|
+
name: "RequestTracking",
|
|
177
|
+
props: true,
|
|
178
|
+
component: () => import("@/views/e-sube/PublicOffers/PublicOfferRequestTracking.vue"),
|
|
179
|
+
meta: {
|
|
180
|
+
requiresAuth: true
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
```
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
#####Tanımlamalar - Kredi Limit Başvur
|
|
187
|
+
|
|
188
|
+
`/views/e-sube/Profile/` klasörlerini oluşturun ve içerisine `ApplyCredit.vue` adında bir dosya oluşturun. İçerisine aşağıdaki şekilde component register işlemi yapın.
|
|
189
|
+
|
|
190
|
+
```
|
|
191
|
+
<template>
|
|
192
|
+
<apply-credit />
|
|
193
|
+
</template>
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
#####router.js
|
|
197
|
+
|
|
198
|
+
```
|
|
199
|
+
{
|
|
200
|
+
path: "/tanimlamalar/kredi-basvur",
|
|
201
|
+
name: "ApplyCredit",
|
|
202
|
+
component: () => import("@/views/e-sube/Profile/ApplyCredit.vue"),
|
|
203
|
+
meta: {
|
|
204
|
+
requiresAuth: true
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
```
|
|
208
|
+
----
|
|
209
|
+
|
|
210
|
+
#####Bankacılık İşlemleri - Para Transferi
|
|
211
|
+
|
|
212
|
+
`/views/e-sube/BankingOperations/` klasörlerini oluşturun ve içerisine `DefinedBankAccounts.vue` adında bir dosya oluşturun. İçerisine aşağıdaki şekilde component register işlemi yapın.
|
|
213
|
+
|
|
214
|
+
```
|
|
215
|
+
<template>
|
|
216
|
+
<defined-bank-accounts />
|
|
217
|
+
</template>
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
#####router.js
|
|
221
|
+
```
|
|
222
|
+
{
|
|
223
|
+
path: "/para-transferi",
|
|
224
|
+
name: "DefinedBankAccounts",
|
|
225
|
+
component: () => import("@/views/e-sube/BankingOperations/DefinedBankAccounts.vue"),
|
|
226
|
+
meta: {
|
|
227
|
+
requiresAuth: true
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
```
|
|
231
|
+
----
|
|
232
|
+
|
|
233
|
+
#####Bankacılık İşlemleri - Menkul Transferi
|
|
234
|
+
|
|
235
|
+
`/views/e-sube/BankingOperations/` klasörlerini oluşturun ve içerisine `SecuritiesTransfer.vue` adında bir dosya oluşturun. İçerisine aşağıdaki şekilde component register işlemi yapın.
|
|
236
|
+
|
|
237
|
+
```
|
|
238
|
+
<template>
|
|
239
|
+
<securities-transfer />
|
|
240
|
+
</template>
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
#####router.js
|
|
244
|
+
```
|
|
245
|
+
{
|
|
246
|
+
path: "/menkul-transferi",
|
|
247
|
+
name: "SecuritiesTransfer",
|
|
248
|
+
component: () => import("@/views/e-sube/BankingOperations/SecuritiesTransfer.vue"),
|
|
249
|
+
meta: {
|
|
250
|
+
requiresAuth: true
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
```
|
|
254
|
+
----
|
|
255
|
+
|
|
256
|
+
#####Bankacılık İşlemleri - Transfer İzleme
|
|
257
|
+
|
|
258
|
+
`/views/e-sube/BankingOperations/` klasörlerini oluşturun ve içerisine `TransferTracking.vue` adında bir dosya oluşturun. İçerisine aşağıdaki şekilde component register işlemi yapın.
|
|
259
|
+
|
|
260
|
+
```
|
|
261
|
+
<template>
|
|
262
|
+
<transfer-tracking :tabName="this.$route.query.tabName || this.$route.params.tabName || 'share'" />
|
|
263
|
+
</template>
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
#####router.js
|
|
267
|
+
|
|
268
|
+
```
|
|
269
|
+
{
|
|
270
|
+
path: "/transfer-izleme/:tabName?",
|
|
271
|
+
name: "TransferTracking",
|
|
272
|
+
component: () => import("@/views/e-sube/BankingOperations/TransferTracking.vue"),
|
|
273
|
+
meta: {
|
|
274
|
+
requiresAuth: true,
|
|
275
|
+
layout: "AppLayout"
|
|
276
|
+
},
|
|
277
|
+
}
|
|
278
|
+
```
|
|
279
|
+
----
|
|
280
|
+
|
|
281
|
+
#####Bankacılık İşlemleri - Ara Ekranlar
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
#####Hesap Tanımlama
|
|
285
|
+
`/e-sube/BankingOperations/AccountDefinition.vue`
|
|
286
|
+
```
|
|
287
|
+
<template>
|
|
288
|
+
<account-definition />
|
|
289
|
+
</template>
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
#####Para Transferi Talebi
|
|
293
|
+
`/e-sube/BankingOperations/TransferRequest.vue`
|
|
294
|
+
|
|
295
|
+
```
|
|
296
|
+
<template>
|
|
297
|
+
<transfer-request />
|
|
298
|
+
</template>
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
#####FX/VİOP Teminat Aktarımı
|
|
303
|
+
`/e-sube/BankingOperations/FxViopWarrantTransfer.vue`
|
|
304
|
+
|
|
19
305
|
```
|
|
20
|
-
|
|
306
|
+
<template>
|
|
307
|
+
<fx-viop-warrant-transfer />
|
|
308
|
+
</template>
|
|
21
309
|
```
|
|
22
310
|
|
|
23
|
-
|
|
311
|
+
#####router.js
|
|
24
312
|
```
|
|
25
|
-
|
|
313
|
+
{
|
|
314
|
+
path: "/hesap-tanimi",
|
|
315
|
+
name: "AccountDefinition",
|
|
316
|
+
component: () => import("@/views/e-sube/BankingOperations/AccountDefinition.vue"),
|
|
317
|
+
meta: {
|
|
318
|
+
requiresAuth: true
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
path: "/para-transferi-talebi",
|
|
323
|
+
name: "TransferRequest",
|
|
324
|
+
component: () => import("@/views/e-sube/BankingOperations/TransferRequest.vue"),
|
|
325
|
+
meta: {
|
|
326
|
+
requiresAuth: true
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
path: "/fx-viop-teminat-aktarimi",
|
|
331
|
+
name: "FxViopWarrantTransfer",
|
|
332
|
+
component: () => import("@/views/e-sube/BankingOperations/FxViopWarrantTransfer.vue"),
|
|
333
|
+
meta: {
|
|
334
|
+
requiresAuth: true
|
|
335
|
+
}
|
|
336
|
+
}
|
|
26
337
|
```
|
|
27
338
|
|
|
28
|
-
|
|
339
|
+
#### Customize configuration
|
|
29
340
|
See [Configuration Reference](https://cli.vuejs.org/config/).
|